yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] DaremoS:
This polish guys have a severe mistake with Gingerbread for RK2818...

There are two version of GB for RK2818:

* 2.3.1 - N3net version which have a problem with Wifi. All version available have this problem. I only know AOC Breeze MW0812 to have solve this (in a very atypical implementation).

* 2.3.7(5) - fun_'s version, which still only have problems with 3D hardware acceleration. Wifi work fine as I've been able to check in my 8.4" tablet, more than that I love this latest version (2.3.7)... so I feel confident in attempt once again in try to solve it. :)

PD... I was practising my Google knowledge of polish reading a forum named http://www.manta.info.pl
[Android Software/Hacking General [Developers Only]] tomaszwiniarski:
WiFi won't start without messing with wpa_supplicant and wlan.ko.

Other RockChip tablet I've tested does not need this 'messing'.

Manta works 'smooth'n'quiet' on every 2.1.x/2.2.x firmware.

GB, 2.3.1, 2.3.5 etc - same backlight effect. I'm almost sure - duplicated symlink in /sys/class will solve the problem.

Another thing is: EVERY CM7 firmware works slow on my tablet.

Slower than original (fake 2.2 - real 2.1).

Tom(asz)

.sry 4 my english - I do not use this language very often ... :D

---------- Post added at 01:50 AM ---------- Previous post was at 01:35 AM ----------

TRUE

Yessss, pls ;-)

Don't even try to GoogleTranslate it.... or call 911 before....

(polish language=strange language)
[Android Software/Hacking General [Developers Only]] fun_:
at first you need to make update.img based on your official/stock rom. there is no "your CM7 port" for Manta MID001 unless someone already made it.

EDIT: (sorry, it was wrong)

if you are using CM7 for your tablet, and still have backlight issue, then please tell me output of "ls -l /sys/class/backlight" and "ls -l /sys/class/backlight/*/" on CM7 for your tablet.
[Android Software/Hacking General [Developers Only]] fun_:
if you flashed CM7 for other tablets, you were wrong. you need to use official/stock rom for your tablet other than boot.img and system.img.

your tablet will be bricked if you flashed rom for really different tablet.
[Android Software/Hacking General [Developers Only]] tomaszwiniarski:
Sure. I know. I'm not a noob :-) I'm testing/messing/flashing/upgrading/unbricking tons of mini/pico/nano devices from years...

I want to be 'someone, who help to made it' ;-)

EDIT: (sorry, it was wrong)

Here You are:

# ls -l /sys/class/backlight
ls -l /sys/class/backlight
lrwxrwxrwx 1 root root 0 Oct 11 13:49 rk28_bl -> ../../devices/platform/rk28_backlight/backlight/rk28_bl
#

# ls -l /sys/class/backlight/*/
ls -l /sys/class/backlight/*/
-r--r--r-- 1 root root 4096 Oct 11 18:53 actual_brightness
-rw-r--r-- 1 root root 4096 Oct 11 18:53 bl_power
-rw-rw---- 1 system system 0 Oct 11 13:53 brightness
lrwxrwxrwx 1 root root 0 Oct 11 18:53 device -> ../../../rk28_backlight
-r--r--r-- 1 root root 4096 Oct 11 18:53 max_brightness
drwxr-xr-x 2 root root 0 Oct 11 13:49 power
lrwxrwxrwx 1 root root 0 Oct 11 18:53 subsystem -> ../../../../../class/backlight
-rw-r--r-- 1 root root 4096 Oct 11 13:49 uevent
#
[Android Software/Hacking General [Developers Only]] fun_:
I see :)

it seems same as mine... please compare values in actual_brightness, bl_power, brightness, and max_brightness on stock rom and on CM7(with dark screen).

EDIT:

about error message for /sys/class/backlight/rk28_button_light/brightness, probably lights.rk28board.so try to use rk28_button_light, then rk28_bl. it should be ok to ignore that message.
[Android Software/Hacking General [Developers Only]] tomaszwiniarski:
Ok, I.ll try tomorrow. Reflashing takes some time... (especially hidding your new

toy from your wife)
[Android Software/Hacking General [Developers Only]] tomaszwiniarski:
Stock ROM:

brightness=180

actual_brightness=181

bl_power=0

max_brightness=255

CM7:

brightness=77

actual_brightness=78

bl_power=0

max_brightness=255

Changing brightness setting (from menu) on the CM7 ROM works not as expected. Dragging knob right from 0 to 50% - display is dark, from 51 to 100% - light goes on. It looks like 0 (zero) should be exactly in the middle.

In both ROMs, values of /sys/class/.../brightness are proportional to value (position of the knob) set from menu.

In our example driver should multiply by 2 values sent to hardware.

Booting: brightness=178 - animation visible

System starts: brightness=102 - for my device this is less than half of 255 and backlight is off :(

I will stay with Froyo...
[Android Software/Hacking General [Developers Only]] fun_:
I see. thanks.
[Android Software/Hacking General [Developers Only]] DaremoS:
If you continue being so tough I'll send a email to your wife telling her that you have a new toy
[Android Software/Hacking General [Developers Only]] fun_:
20111013 is uploaded (OP/site will be updated later)

there are 2 system.img, system_x.img has only "accelerometer.invert_x=1", system_xy.img has "accelerometer.flip_xy=1" and "accelerometer.invert_x=1".

if your tablet needs another setting, please tell me.

I renamed my custom property (just for consistency), from sensor.accelerometer.* to accelerometer.*. please check your custom rom build script ;)

vold was still crashed and status bar was missed, so I replaced vold with one from 20110828 release. both vold and status bar work fine with it.

other changes from 0828 release,

size of some icons in status bar and lockscreen are changed.

new ring lockscreen is added by official cm team and used as default.

this release is built from almost same source as CM7.1 release. now 2.3.7/GWK74. fingerprint is also updated to 2.3.6.

2 new custom properties, accelerometer.hwrotation and input.hwrotation, are added. if you like portrait tablet, or if your favorite portrait app is upside/down, or if you want to play some games which have issue with accelerometer axes, add following properties into /data/local.prop, then reboot.

accelerometer.hwrotation=270
input.hwrotation=270
ro.sf.hwrotation=270

my TScalibration app doesn't work well with above settings. please calibration first, then add above settings after calibration is completed.

qemu.sf.lcd_density is used instead of ro.sf.lcd_density.

previously I override xdpi/ydpi info by patching frameworks/base (because 25.4dpi is set by framebuffer on rockchip tablets, it causes some problem). but qemu.sf.lcd_density can do same thing, so (ab)use it w/o patching.

the way is changed internally but value(160) is not changed. so it should not change anything.

"Enable surface dithering" in CM performance setting is disabled by default.

--

gapps 20110828 works fine. gmail app seems not closed silently, but mail body window isn't updated correctly (=still unusable) :( probably something is silently crashed internally...
[Android Software/Hacking General [Developers Only]] mylostblog:
still no video.. :( There is ant system.img with video support?? (2.2 or 2.3)
[Android Software/Hacking General [Developers Only]] Jostey:
One question, "superuser.apk" and "su" up to date?

Thanks! :) good job!
[Android Software/Hacking General [Developers Only]] fredo57200:
anybody try cm7 on arnova 10b??????
[Android Software/Hacking General [Developers Only]] fun_:
video is always supported in any stock 2.1/2.2/2.3 rom or custom rom based on it.

I wonder why some people think something can be changed without doing something.
[Android Software/Hacking General [Developers Only]] fun_:
you can check it. if it's old, you can update it.
[Android Software/Hacking General [Developers Only]] mylostblog:
I tried to unpack the original image but i get some error.. original rom and the only rom with 2.2 that i found (BirdieBNL) doesn't support my wifi (WPA2 enterprise).. :( Wifi or video??
[Android Software/Hacking General [Developers Only]] JDfense:
I have the strange feeling that you are not interested in the video problem or you have closed, because you see no possibility for a fix.

Question: is the problem somewhere described in detail? Are there any idea for a solution?

Daremos give us the idea to compare two different gingerbread roms. What do you think about this first step?
[Android Software/Hacking General [Developers Only]] fun_:
I think it's not so easy to get everything with low end(price) product.

I have many video files. if I can see them with CM7, I feel very happy. but I also like my CM7 w/o hw video.

I spent some time for CM7, so I can get in some degree working CM7.

please ask any CM7 devs like as "can I get perfect CM7 without doing something?"

or ask any android tablet maker, "can I get perfect tablet for free?"
[Android Software/Hacking General [Developers Only]] fun_:
when did I say "I don't have interest to support hw video"?

at this time I have no idea for fixing hw video. so what? is it wrong thing?

it looks like I have no advanced skill? true. I never said I can do it. so what? is it wrong thing?

if someone already have idea for solution, no need to ask me about it. please do anything freely. why I need to decide something to do for first step?
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
I found the bug in vold (somebody assumed that the boot args are less than 255 chars long which in our case is longer). Attached is the patch.

Yes I'm testing on arnova 10b. Everything works fine so far.

You can use fun_'s system_x.img.

In order to make the touchscreen work you need to open system.img and edit etc/init.d/10pointercal or create a new file like etc/init.d/10tscalibrate with the following lines:

!/system/bin/sh

echo tp_irq > /sys/class/touchpanel/touchcalibration
echo tp_cal > /sys/class/touchpanel/touchcalibration

fun_ can you please add this to your builds so people with capacitive touchscreen can use your images without modifications. Thanks!

Enjoy ;-)
[Android Software/Hacking General [Developers Only]] fun_:
very nice! thank you!

can you upload this change into review.cyanogenmod.com?

or can you make git-format-patch style patch? then I'll upload it. (it keeps author info)

EDIT:

from http://www.kernel.org/doc/Documentation/kernel-parameters.txt,

255 is wrong on any arch ;)

really sorry, I forgot it ;)

probably it can be done in init.rc in boot.img. anyway, I'll do it.

thank you for your cooperation!
[Android Software/Hacking General [Developers Only]] OMFGNuts:
fun_, how can i restore my 2818 device using recovery? plzzz help
[Android Software/Hacking General [Developers Only]] fun_:
what recovery are you talking?

generally official recovery can flash update.img and can restore system partition, but no way to control in recovery mode on most devices.

EDIT:

I remembered your PM. you asked how to unbrick your bricked tablet, right? here is not a place for such a thing. do not post again similar message here. and read my post on slatedroid asap.
[Android Software/Hacking General [Developers Only]] flushback666:
Hi fun,

Nice work! Just wanted you to say that the rom is also working with 4g-systems(debitel) onetab!

Do you need libstagefrighthw.so compiled for gingerbread? Or cant you use one from an eclair rk2818 rom?

Bye flush
[Android Software/Hacking General [Developers Only]] fun_:
I need libstagefrighthw.so but I can't find it. which rom?
[Android Software/Hacking General [Developers Only]] flushback666:
oops, i was wrong.it is libstagefright.so and libstagefright_omx.so in the rom not libstagefrighthw.so . My mistake, sorry. Anyway if you need some files of the system.img of my stock rom.

code.google.com/p/onetab-development/downloads/list
[Android Software/Hacking General [Developers Only]] fun_:
I got a report that wifi doesn't work on Teclast T720. it will also happen on any tablets which uses atheros ar6000 chip.

I'll add necessary files to support it on next release.
[Android Software/Hacking General [Developers Only]] melvie:
Hey guys, anybody an idea if this is going to work on my tablet?

Specs are here:

http://androidfragmentation.com/database/v/dr/459075/oem/unknown/dm/TP-07D8/carrier/Unknown

And i found this:

http://translate.google.com/transla...29_detail.html&rurl=translate.google.nl&twu=1

I have a full .img backup of my tablet. But want to verify before messing things up..
[Android Software/Hacking General [Developers Only]] window88:
Hi, Can it work on my Rockchip RK2816 tablet?

(RK2816: a chip like RK2818, which doesn't have network)
[Android Software/Hacking General [Developers Only]] window88:
RK2816 能用吗？我试了但是卡在开机的那个地方

用rk的都是中国人 何必用鸟文呢？
[Android Software/Hacking General [Developers Only]] skippycentraal:
hello all,

i have a question about image recovery on my tablet i have a pov 7" tablet and i'm normaly using twk7-007 beta 4 image. it's working great but i was exciting about this custom rom of 2.3 so i have tryed it and its nice but i wanna wait a bit longer when it's finish or a better version. So i wanna recover my image back to twk7-007beta 4 normaly i use RKAndroidBatchUpgrade.exe but now i can't use it anymore how can i bring my image back.

Sorry for my bad english because i'm dutch. :D

edit: i have it back, i have many many many tried to use the recovery and suddenly RKAndroidBatchUpgrade saw my tablet pffff yes
[Android Software/Hacking General [Developers Only]] fun_:
hello everyone

I can't promise my images work fine on your tablet because I don't have your tablet. only you can verify it on your tablet. there is no "stable" "complete" "final" ver. of CM7. this is work-in-progress project, as you know, of course.

also you know, my images can't brick your tablet because I only provide boot.img and system.img. you should have official(or working) ROM image for your tablet so back to official rom should be possible. if you can't understand why/how, you should not use my images. I do not force you anything. you can do anything (e.g. use/not use/brick/fix) freely with your will.
[Android Software/Hacking General [Developers Only]] Jostey:
Hello

Tested on a Bq Verne (compatible with Kendo M7)

Internal flash does not work! :)
[Android Software/Hacking General [Developers Only]] bliblablub:
I am also very interested in this build :) Hope you will release soon a stable and working version with e.g. A2SD+ or equivalent

Maybe you could rip some settings from this ROM:

http://www.slatedroid.com/topic/16680-onetab-custom-roms/
[Android Software/Hacking General [Developers Only]] zarko47:
I can confirm it is working very good on my M709 aka TR718D Rockchips 2818 tablet. I have installed also Market and other Google app.
[Android Software/Hacking General [Developers Only]] fun_:
sorry no idea why not work without detail
[Android Software/Hacking General [Developers Only]] fun_:
because of lack of free time, no progress for this project.

anyway I'll try to make new image with latest upstream when I get time.
[Android Software/Hacking General [Developers Only]] DaremoS:
It just require some applications and suddenly it will appear.

To me that happens when I started to install Gapps. (my ROM comes without Gapps)
[Android Software/Hacking General [Developers Only]] fun_:
I have interest http://www.swedroid.se/forum/27581-limited-label-7ck100-44.html#post632165 and following posts but I can't read at all lol
[Android Software/Hacking General [Developers Only]] DaremoS:
To have a recovery you have to plug USB while the device when switched off and pressing some button (for instance down arrow) then the devcie will enter in recovery mode the use RKAndroidBatchUpgrade from tools 1.23. Google this for a more clear explanation.
[Android Software/Hacking General [Developers Only]] DaremoS:
Then use Google Chrome with automatic translation to your language (French?).... and take a chill pill.
[Android Software/Hacking General [Developers Only]] JDfense:
Thanks. I got my answer.:rolleyes:
[Android Software/Hacking General [Developers Only]] Jostey:
thanks, all ok.
[Android Software/Hacking General [Developers Only]] fredo57200:
it s running to you???can you upload your update file???
[Android Software/Hacking General [Developers Only]] birdiebnl:
It seems to me you have to change more than you included in the patch, otherwise vold.fstab won't be read.

Now line 214 of main.cpp goes wrong:

while(fgets(line, sizeof(line), fp)) {

sizeof(line) is now equal to 2, which is to small to fit a line of the config file.

Quick fix which seems to work on my A7HTV2:

line = (char*)malloc(255);
while(fgets(line, 255, fp)) {

and a free(line); in the end.
[Android Software/Hacking General [Developers Only]] fun_:
thanks too.

I'll check carefully myself, then make complete patch & upload for review.

anyway, issue is in latest code, and currently old vold binary is used in latest image. it should be ok for now :)

EDIT:

I see. that line[255] var was used to store only 1 line from vold.fstab. it's ok.

AutoVolume change abused it to store each 1 arg in cmdline :( sizeof(cmdline) should be 1024 on arm, each 1 arg may be longer than 255.

both 2 are totally different, new var should be introduced in later case.
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
Ooops... my bad :confused:

I didn't notice that the same buffer is used in the code below. Yeah I'm getting old :(

Thanks for catching that!
[Android Software/Hacking General [Developers Only]] birdiebnl:
I/ActivityManager( 834): Displayed com.google.android.gm/.HtmlConversationActivity: +1s618ms (total +13m1s442ms)
E/Web Console( 1108): ReferenceError: Can't find variable: gm at undefined:1
I/Gmail ( 1108): Sending notification intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://gmail-ls/unread/^i
(has extras) }
D/dalvikvm( 1108): GC_CONCURRENT freed 398K, 46% free 3558K/6471K, external 317K/514K, paused 9ms+28ms
W/dalvikvm( 1108): JNI WARNING: jarray 0x4058cd90 points to non-array object (Ljava/lang/String;)
I/dalvikvm( 1108): "WebViewCoreThread" prio=5 tid=17 NATIVE
I/dalvikvm( 1108): | group="main" sCount=0 dsCount=0 obj=0x40588598 self=0x1d5078
I/dalvikvm( 1108): | sysTid=1766 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=1921456
I/dalvikvm( 1108): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
I/dalvikvm( 1108): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
I/dalvikvm( 1108): at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:91)
I/dalvikvm( 1108): at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
I/dalvikvm( 1108): at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 1108): at android.os.Looper.loop(Looper.java:130)
I/dalvikvm( 1108): at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:645)
I/dalvikvm( 1108): at java.lang.Thread.run(Thread.java:1019)
I/dalvikvm( 1108):

Looks like this is the crash which happens with gmail mail body.
[Android Software/Hacking General [Developers Only]] fun_:
oops. accelerometer.hwrotation=270 doesn't work well on w/o "accelerometer.flip_xy" tablets, e.g. my ONN N2 with kernel from 2.2 rom ;)

I'll fix this issue (hopefully)soon.

I want to renew my site & I want to add some tips I posted here...

ETOOLONGTODOLIST!
[Android Software/Hacking General [Developers Only]] sega dude:
Is there a way I can install the gapps from the within the os?
[Android Software/Hacking General [Developers Only]] JDfense:
Yes it is.

Open the system.img and add the google apps you like http://wiki.cyanogenmod.com/index.ph...on#Google_Apps

from here the into system\apps- folder.

If you don't know how to assemble a rom, read the beginning of this thread and ask again.
[Android Software/Hacking General [Developers Only]] sega dude:
I do know how to assemble a rom. I just don't know how to extract system.img.
[Android Software/Hacking General [Developers Only]] ^BatVanko^:
Under linux:

$ sudo cramfsck -x system_work system.img
...modify...
$ sudo mkcramfs system_work system-temp.img
$ ./rkcrc system-temp.img system.img

Under windows:

Use newtuxflashtools. (I didn't try it, but it should work.)

...or this tutorial...
[Android Software/Hacking General [Developers Only]] syrkel2:
added gapps.... you can find my thread here:

http://forum.archosfans.com/viewtopic.php?f=80&t=57832
[Android Software/Hacking General [Developers Only]] lisovszki:
Hi!

First of all, thank you!

I have an Alcor e-pad tab and everything work fine except my ZTE HSDPA USB MODEM.

I able to switch usb mode, but I can not setup my mobile network, I like to turn it ON.

My modem led light blue, but the mobile net not on.

Is there any command line option to make it?

Thank you.
[Android Software/Hacking General [Developers Only]] fun_:
thanks. added that URI to OP.
[Android Software/Hacking General [Developers Only]] fun_:
sorry, I forgot to add "3G" to "not work" list :(
[Android Software/Hacking General [Developers Only]] lisovszki:
By the way.

Thank you. I will waiting.

If there some command to make it work, please let me know.

Thanks again.
[Android Software/Hacking General [Developers Only]] lisovszki:
I try to found the way...

I got unpacket original alcore rom, I found usb_modeswitch, in many location, but I dont know what command use the Ui config (turn mobile net on), so I think I only need this command, to found the way out, maybe.

searching..
[Android Software/Hacking General [Developers Only]] fun_:
vold patch was merged, calibration for capacitive was added, hwrotation issue was fixed. thank you for your cooperation!

--

then, now I can see black screen after suspend/resume :(

I'll make new image for test, but probably I have no time to investigate it (at least this week).

I want to update web site too :(

EDIT:

http://androtab.info/files/rk2818/cm7/20111024/

uploaded, not tested
[Android Software/Hacking General [Developers Only]] lisovszki:
Hey.. :)

I very happy to found you, and your rk2818 port.

Keep it up your GREAT work, and relax, I think everybody knows, this is just a hobby...and you and others do this in free time...( like me, but I maintain a Linux system remaster to desktop PC ;))

So I hope I can help, anyhow.
[Android Software/Hacking General [Developers Only]] Ziyan:
Hi all,

I've got an MD701 (HRA702) tablet, based on RK2818, 256MB ram, 2gb flash.

It's got a stock Android 2.1 update, with the following files:

Image/boot.img

Image/kernel.img

Image/misc.img

Image/recovery.img

Image/system.img

RK28xxLoader(L).bin

...

mkupdate.bat

... some more files, and a Chinese flasher tool.

I simply replaced the boot.img and the system.img with the latest images (2011/10/13), and ran mkupdate.bat. This generated an update.img file, which I flashed with RKAndroidBatchUpgrade.

Everything went fine, including formats, etc. However, when it booted up, infinite Force Close messages appeared, with the calibration in the background (see attachments). Btw, i can press every force close button fine, without calibrating... which I can't do because the messages :mad: if i hold the power button, the power menu appears in the background, and the screen turns off itself after 30 sec, so some parts still work... Luckily, adb is also working, so i can turn off the machine to flash back the original rom or investigate the problem.

Can anyone help me with that? I attached some pictures, and the adb log file. I can upload the stock 2.1 rom extracted, if needed.

Sorry for my English, i'm still learning :D
[Android Software/Hacking General [Developers Only]] JoKeR_FaCe:
Where I can find the Shell Scripts for the USB Mode???
[Android Software/Hacking General [Developers Only]] fun_:
hmm? formatting was done automatically after flashing update.img?

I want to see "df" command output around FC happened.
[Android Software/Hacking General [Developers Only]] fun_:
http://xdaforums.com/showpost.php?p=17529884&postcount=291
[Android Software/Hacking General [Developers Only]] fun_:
thank you.

I don't use PM in most cases. please use here if you have something about my CM7 port.

thank you for your help.