yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ziksiver:
Usb works but...

Thanks for all the info, the usb works now but there's still a problem.

In any computer it shows the drive in the computer but you cannot open it.

It just detects as an empty removable disk that you can't open.

When I try to open it, it says "Please insert media on *insert drive letter here*.

Anyway, on the Android notifications it says "Usb connection mode, touch to transfer files from/to your PC", when I touch it, it just crashes and goes back to the homescreen.

This is a bit frustrating, I really like to use a USB connection :(

Do you think there's a workaround?
[Android Software/Hacking General [Developers Only]] JDfense:
Because everybody should built his own rom for his rk2818 tablet with stock rom kernel.
[Android Software/Hacking General [Developers Only]] JDfense:
Oops, you have done it. How could this happen. Congratulations fun_.:)

I will test it, when I have some time.

http://www.youtube.com/watch?v=yCjJyiqpAuU
[Android Software/Hacking General [Developers Only]] fun_:
ah, sorry, that's what I said "sometimes happen". probably just UI has issue. I don't know well but probably there is "switch USB mass storage mode" app on market/net. please check it.
[Android Software/Hacking General [Developers Only]] fun_:
it's impossible to make "generic update.img for everyone". making a lot of complete update.img for every tablets is also impossible due to lack of time and disk space on my web server.

partial update.img which install only boot.img and system.img is possible. but partition layout must be same.

I'm not sure enforcing re-partitioning is acceptable, but it may help some tablet which has small /data, /cache.

EDIT:

anyway I need to make "rkpack" program to make update.img automatically on non-Windows machine!
[Android Software/Hacking General [Developers Only]] fun_:
should I add sample script into system.img until I make app for it?

I'm not sure gscript setup can be done from shell script, so some setup by user is needed.

probably I should make better articles for faq/howto etc!
[Android Software/Hacking General [Developers Only]] fun_:
I tried the way to use stagefright OMXPVCodecsPlugin... it seems libraries are loaded but it crashes immediately when playing media files :(

so I'll continue to use pvplayer(current way) until I get another idea. it seems H.264 and realvideo work fine but I couldn't find good sample files(encoded properly) yet.
[Android Software/Hacking General [Developers Only]] fun_:
btw if you have problem about CM's builtin apps2sd feature / device-mapper, please tell me. I think there was problem to install Angry Bird's, but it seems working for now. (maybe I'm using different kernel on my N2)
[Android Software/Hacking General [Developers Only]] sega dude:
Glad to see this is under active development! How do you install clockwork mod recovery?
[Android Software/Hacking General [Developers Only]] fun_:
at this time clockworkmod for rk2818 is not available. (clockworkmod is not required to install my CM7)
[Android Software/Hacking General [Developers Only]] sega dude:
I cannot install the gapps to save my life!! I tried extracting the system.img and copying all the files from the gapps zip file to their respective folders. After assemblying the update.img the gapps didnt show up AND I couldnt connect to wifi. I also attempted to install them via adb but I didnt what I was doing and ended up making my laptop beep like crazy.... What do I need to do to install the gapps?!
[Android Software/Hacking General [Developers Only]] arctablet:
For anyone interested, I have built a firmware image for Archos 7 HTv2 from latest files from fun_ (20111115) with USB host disabled here:

http://www.arctablet.com/blog/archo...se-cm7-android-2-3-market-root-archos-7-htv2/
[Android Software/Hacking General [Developers Only]] fun_:
I'm regretting why I didn't make my post more arrogant. I must be courageless mouse.

enjoy.
[Android Software/Hacking General [Developers Only]] fun_:
what you need to do is adding files into system.img like as you did. but sorry I couldn't point where is problem. which tool are you using?
[Android Software/Hacking General [Developers Only]] fun_:
thank you. I'm looking forward to your review :)
[Android Software/Hacking General [Developers Only]] surfer63:
Please find attached the usb and recovery scripts I use and provide for my Archos 7htv2 roms. I just add the gscript folder next to the update.img and a releasenotes.txt in a zip for my roms.

And yes: I can confirm that video works! Thank you very much!
[Android Software/Hacking General [Developers Only]] JDfense:
I see you read other threads and between the lines, too.

I like that.;)
[Android Software/Hacking General [Developers Only]] fun_:
unfortunately I can't understand Spanish. so I can be happy even if someone shout "I made perfect rom!" "XDA guy is crazy!" in Spanish.

EDIT:

oops, "fortunately"

EDIT2:

the best humorous sentence of this year: "all that you describe in your GITHUB was done by us"

I realized I need to learn about humor.
[Android Software/Hacking General [Developers Only]] JDfense:
Maybe I missed there some posts. :confused:

The most important thing is not to loose humor. Sometimes it hurts.:)

Now I look into your cm7.

Edit:

Now I see the post you mean. This seems to be a small challange about the best gingerbread with hw video and all other important issues like wifi, etc.

And don't lost your humor, because here comes my first impress about your new rom:

- Installation works fine

- added gapps for calendar and contact are working

- wifi fine

- sd card fine

- performance show some latency, older roms of you were better

- market installer failed, don't know why, maybe a second factory start could help

- hd video work with the player unstable

But respect for the trial with some progress.:)
[Android Software/Hacking General [Developers Only]] Raef1979:
success port on arnova 7

hi

i succefuly integrate system_x.img + recovery_btn.img + boot.img files of 15-11-2011 on my arnova 7 : video is Ok, youtube HD is Ok, screen rotation also Ok.

USB HOST enabled on BOOT and work.

musik player not so good: plays only 2/3 s and jump to next mp3 track.

only request : my system have 280Mo, nand is 2.6 Go, i search to make system partition to 512Mo, same one have an idea??
[Android Software/Hacking General [Developers Only]] birdiebnl:
Well, here a little app to change USB mode. Just very simple, but works.

Maybe I should integrate this in Settings.apk :)
[Android Software/Hacking General [Developers Only]] fun_:
seriously, still do you think I prevented/stole other people's work? still do you believe words from the person who stole my work?

(I can't imagine how to steal things which is never done by other people)

I tried a lot myself, failed, then I got right answer without anyone's help. right answer is simple at last. after I put it on public, then some person stole my work quickly (actually he doubted at first because there is no RockchipService.apk in my system.img and he believe it's necessary), and start to allege "I did it. he(fun_) stole my work!".

it's not humorous at all. it's not fair at all.

thank you for your report.

EDIT:

you can see there is no problem that the person said "fun_'s rom has bugs!".

he said "I fixed bugs!", but actually, that "bug" didn't happen because he didn't use my new image.

he will say "I fixed other bugs in fun_'s rom!" after he use files in my new image. but it doesn't happen on my images.

that bugs e.g. broken keyboard, wrong accelerometer, are his own bug. he use new properties but he didn't use my new image. it will be fixed if he use files in my new image, or he revert properties.
[Android Software/Hacking General [Developers Only]] ziksiver:
Bump?

bump. Does someone know why this is happening? Again my tablet is archos 7 htv2
[Android Software/Hacking General [Developers Only]] fun_:
you can change partition layout by modifying HWDEF and parameter files in your update.img

there is values for each partition. 1 unit is 512 byte e.g. 0x40000 is 128MiB. if you changed size of some partition, you need to change offsets of following all partitions.

EDIT:

probably you want to enlarge "data" partition for installing many apps, right?

"system" is read-only cramfs area and it's enough large.

please post contents of your HWDEF and parameter.
[Android Software/Hacking General [Developers Only]] fun_:
oh, thanks :)

it seems there is space for device specific setting items in latest CM source. for now I don't know detail. I'll check it.
[Android Software/Hacking General [Developers Only]] JDfense:
I can't decide who took which pieces from anywhere, but everebody who tries to fix a problem in a rom, search for small parts from other roms to do the trick. Is this stealing in androids world? I think this is the system it works for progress without company support. Some respect is for an idea of someone is important, but not guranteed and there are no God Devs around here. You can do a fine rom and get some thanks, but not nearly as much downloads you can count. Better do it for fun or for a challange and don't care much about thankful answers.

Maybe more talking about how an idea for a fix come into life in a non-dev speech helps more to make clear who is the first of an idea.

Anyway this is androids world about cooking some nice roms.
[Android Software/Hacking General [Developers Only]] sega dude:
I used this tutorial and whatever tools it includes.

Also the touch screen calibration is horrible. I have tired to recalibration the screen twice it hasn't helped.
[Android Software/Hacking General [Developers Only]] fun_:
I don't think that someone use my files to make his own custom rom is stealing.

but he want to say "fun_ stealed my work!", so I also use "steal". I sometimes use idea from others with thanks. but what he did is using my files, then shouting "fun_ stealed it!".

what I want to say is, 1. not fair, 2. his words is totally wrong. I think he can't explain about my change in source code.

I don't say I'm great. I just offer fun stuff for everyone, and I wish people feel fun with it.

I can't understand why he so arrogant and attack me.

EDIT:

forgot to say, I and other dev in here is not doing "cooking rom". real dev work, what we are doing in here like add/change source code is completely different from "cooking rom" in android world.

EDIT2:

it seems you think what I did for hw video is not my idea, and all other my work output is also done by other people's idea/help. I really wonder why you think my idea/work in my work is not important.
[Android Software/Hacking General [Developers Only]] ziksiver:
Thanks for all the info, the usb works now but there's still a problem.

In any computer it shows the drive in the computer but you cannot open it.

It just detects as an empty removable disk that you can't open.

When I try to open it, it says "Please insert media on *insert drive letter here*.

Anyway, on the Android notifications it says "Usb connection mode, touch to transfer files from/to your PC", when I touch it, it just crashes and goes back to the homescreen.

I think but touching that it finalizes the usb mode. I don't know.

But it's not working. Really, I just want usb to work and that's it. My computer detects the two drives but then I double click them it says "Insert media into *device letter*".

I even tried with Ubuntu and it doesn't detect it. . . I love this ROM, but I just want USB *cries* buaaah :(
[Android Software/Hacking General [Developers Only]] sega dude:
How did YOU install the gapps?!
[Android Software/Hacking General [Developers Only]] fun_:
http://www.forotablets.com/showthre...-Verne-Plus-bqCyanogenMod-7?p=19722#post19722

finally he start to shout "we are the first ones in the world in putting video HW in Gingerbread 2.3.7!"...

sigh. congrat. should I need to respect such kind of action? is it normal in android world? oh, it may be normal in "cooking rom" world, I saw this kind of people.

really shame.

--

sorry for everyone. I'll not care anymore. I'll continue to do my work, and offer my output for everyone, as I did.

thank you for your cooperation.
[Android Software/Hacking General [Developers Only]] wetware05:
Hello fun_

Congratulations for your achievements. In the end across modifying the file "boot.img" I achieved that it was finding well the multimedia means for the BQ Verne Plus.

If someone (BQ Verne Plus) is interested there I leave the image to them. It has the Dartremor script a2SD and Root of the system.

http://www.mediafire.com/?8q81ljrv8f26fob

Thanks for everything and it is still like that ;)
[Android Software/Hacking General [Developers Only]] fun_:
thanks, and congrat too!

may I add link to your thread on forotablets to OP here?
[Android Software/Hacking General [Developers Only]] fun_:
sorry, I can't post good howto for now. but you can pick boot.img and system.img in custom rom with gapps for other tablets and use them with your stock rom images.

(some custom rom may have different TS calibration app. you may need to place it)

please don't use bootloader (RK28xxLoader(L).bin) in rom for other tablets. it will brick your tablet.
[Android Software/Hacking General [Developers Only]] fun_:
some notes about hw video,

stock movie player supports only few codecs (mp4/3gp). it's just a stock app in android, it can play HQ mp4 with hw but no relation to supported codecs by hw. I have no plan to enhance stock app. for other codecs, please use another media player app in market e.g. MoboPlayer.

you can see YouTube via latest YouTube app in market, and via mobile web streaming on browser(not flash ver.). in YouTube app, portrait mode doesn't work well.
[Android Software/Hacking General [Developers Only]] wetware05:
in agreement, it would be well! :D

the direction is:

http://www.forotablets.com/showthread.php/2190-Nuevo-CyanogenMod-V.7.1

Thank you and be still like that!!! ;)
[Android Software/Hacking General [Developers Only]] fun_:
Muchas gracias :)

link is added to OP.
[Android Software/Hacking General [Developers Only]] fun_:
is this URI is permanent? may I add link to this page in OP here?
[Android Software/Hacking General [Developers Only]] arctablet:
This URI is permanent, you can use it as reference for sure. It will be updated when new firmware releases are made.

There will be eventually a new article on Arctablet blog when the firmware is fully stable and can be used by the widest public, which will hopefully happen. You can include/link the video too, it gives an idea of the whole system running on an Archos 7 HTv2.

I found the CM7 port quite nice on the Archos, but it still needs some tweaking to keep the tablet fast, as I found it way slower than the default Eclair OS. I also noticed some problems like the status bar disapearing (it happened two times, randomly) but so far it's very encouraging.

I'll prepare custom firmwares for other Archos/Arnova devices soon.

Thanks again for all your work.
[Android Software/Hacking General [Developers Only]] wahaj.uddin:
rom needed

Hi fun_ if created rom then please give me link where I can. Download it and it will work on cnm touch pad kind???????
[Android Software/Hacking General [Developers Only]] fun_:
thanks. link is added.

thank you for your cooperation!
[Android Software/Hacking General [Developers Only]] fun_:
please refer post#1, #2, and #3 in this thread. files and procedure are available.
[Android Software/Hacking General [Developers Only]] fun_:
20111118 is uploaded

built from latest source, but no big change is done from previous.

there are 2 boot.img, boot.img is for USB device mode and boot_usbhost.img is for USB host mode on boot. (of course you can change USB mode after boot)

add DSPManager. it was removed due to FC issue with froyo's libaudiopolicy, but now gingerbread libaudiopolicy is used. no need to remove it anymore.

again, no big change is done. no need to use it unless you really want above change.
[Android Software/Hacking General [Developers Only]] fun_:
I confirmed your kernel.img doesn't support device-mapper function.

can you try following kernel modules?

http://files.androtab.info/rk2818/modules/dm-mod.ko

http://files.androtab.info/rk2818/modules/dm-crypt.ko

at first, please try insmod manually on root shell

# insmod /path/to/dm-mod.ko
# insmod /path/to/dm-crypt.ko

nothing is displayed if no error. then please check "lsmod" command. it should report above 2 modules are loaded.

if it's ok, add 2 modules into boot.img or system.img (I think /system/lib/modules/ is better), and add following lines to init.rc just after "write /sys/class/touchpanel/touchcalibration tp_cal" line. (or init.rk28board.rc)

insmod /system/lib/modules/dm-mod.ko
insmod /system/lib/modules/dm-crypt.ko

I'll try tomorrow myself.

for all,

I noticed latest ONN N2 kernel in 2.2 ROM supports device-mapper, but old kernel in 2.1 ROM doesn't support it. I roughty checked 42 kernels in my RK2818 ROM collection, it seems only kernels in 2.2/2.3 ROM support device-mapper.

it's reasonable because apps2sd feature is supported in Android 2.2/2.3 and not in 2.1.

if you are using kernel from 2.1 ROM, please try above modules and try CM's apps2sd feature.

EDIT:

btw which tablets have 2.2/2.3 ROM? fewer than 2.1 tablets?
[Android Software/Hacking General [Developers Only]] JDfense:
You have to add some files to the system.img. Open this file with newtuxflashtool in windows and put the files from here

http://cmw.22aaf3.com/gapps/gapps-gb-20110828-signed.zip

in the \app- folder. After saving the new system.img I use rkcrc.exe, but some devs say that there is no need to do that step.

For further details please read here: http://wiki.archosfans.com/index.php?title=Archos_7HT_Modding_modify_update.img_Windows

At least you need only three google files for sync contacts and calendar: googleserviceframework.apk, googlecalendarsyncadapter.apk and googlecontactsynccalendar.apk. For EMail sync you need extra googlemail.apk from the market. When this is not enough - I can't say that I understand all effect between the gapps, add all gapps and then take them step by step out again to get a smaller rom.

Is the market working in your cm7 rom?
[Android Software/Hacking General [Developers Only]] wetware05:
Hello fun_

I have installed the modules (.ok) and they have not given me error, I use the proper terminal of the Tablets: what command is it necessary to use to see if it has them loaded? insmod from the terminal it does not give me now option to load modules. :confused:

Thanks for your help.
[Android Software/Hacking General [Developers Only]] ivop:
insmod does not give any ouput if there are no errors. You can use

# lsmod

to see if the module(s) is/are loaded. you might see other modules (wlan, ...) too.
[Android Software/Hacking General [Developers Only]] wetware05:
OK fun_

Now everything is correct, the command says to me that yes they are loaded. I will do the changes in the "Boot.img"

thanks. !!! :)
[Android Software/Hacking General [Developers Only]] fun_:
sounds good!

I don't know well about Darktremor Apps2SD. it may conflict CM's apps2sd feature.

if you get bad result with your rom with Darktremor, then please try my plain boot.img and system.img with minimal change.

EDIT:

probably you may know, just for completeness,

insmod order is important. please insmod dm-mod.ko first in init.rc.
[Android Software/Hacking General [Developers Only]] sega dude:
Thank you so much!!!!!!!!!!!! I went threw 3 days of hell trying to figure this out and now I finally have the market!!!!!!! The market works now, but it did right away. It didnt show up in the app drawer even tho it was in /system/app. So I did a google search for an android app and clicked the android market result. I selected market when it asked what to use to complete the action. Market opened and I setup my google account. I couldn't search and the home page wouldn't load. I closed the market and it did a silent market update. Now it mostly works! The homepage still wont load, but I can search for, download and install apps no problem.
[Android Software/Hacking General [Developers Only]] fun_:
thank you for your comment.

oh, yes, almost of all chinese tablet seller don't provide GPLed source :(

archos is better than others a little. they provide kernel source for some(few) of their tablets. I guess they also don't have source for some their tablets.

in general chinese factory don't want to provide it because their neighbors are waiting to make copy of neighbors product ;)

as I did you can make kernel modules from odys source. but it's not perfect solution. without actual kernel source and config for our specific tablets, it results incompatible, unstable, or non-working kernel modules easily. and of course, we can't change non-modularized part.

(probably you may know, so it's for others)

thanks.

--

lately I forgot to check your rkflashtool thread. nice work! I'm happy to know RK2918 also uses same protocol!

I want to make rkunpack for new RK2918 rom format(I know wendal's tool and I know old format is also used on some tablet), and rkpack for RK2[89]18 too :)

ah, at first, I need to get RK2918 tablet :)
[Android Software/Hacking General [Developers Only]] fun_:
ah, probably many of us saw same issue.

Market icon will be popped after wifi setup is done. Google account need to be set before using Market app. (it will be forced if you tapped Market icon)

after setup wizard is completed, you may see grayed contents area. cancel(press BACK) and restart Market app may solve this issue, but as you said, update will be done very quickly after first start of Market app. you can see lags while updating. wait several seconds, then you can start new Market.

I feel lags on new Market. it was terrible, but lately I think it seems to be better than before.

anyway, congrat! enjoy!
[Android Software/Hacking General [Developers Only]] fun_:
I'm asked about HC/ICS from some people. my answer is same, "I don't know" at this time. sorry.

"is it possible to build?" "is there any chance to build?", well, probably possible (try) to build. but I don't know it really runs on our closed-source, low-power tablets.

"do you have no interest?", no, I have interest to try to build it. someday I'll try it to know how bad idea it is. I'll try even if someone will say "fun_ just build source made by others. everyone can do same thing. fun_ is arrogant.". I'll try even if someone will say "fun_ didn't have interest until we did some amount of work. all fun_'s work is done by us!(with using my output)".

I can enjoy myself, but I may not satisfy your hope. I'm arrogant. it's not good idea to ask something to me :)
[Android Software/Hacking General [Developers Only]] wetware05:
Hello fun_

Do you have the module ext4.ko, debug for RK2818?, I do not find it.

Something is of interest on what investigating is the reason the means reader is not capable of reading the information Tag of the music (especially the cover inserted in the tag) or I imagine that of any other way like videos or photos. In my HTC cyanogenMod this works well. Perhaps only does it happen to that we have BQ?

we read to ourselves. :rolleyes:
[Android Software/Hacking General [Developers Only]] fun_:
I'm trying now... I got some error :(

2 modules may not be enough. I'll investigate it...
[Android Software/Hacking General [Developers Only]] fun_:
it seems your kernel supports ext4. please check /proc/filesystems.

but I think it doesn't help media scanning issue on our RK2818 tablets.