yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] flipside101:
OK my bad I thought it was used for hardware video decoding as well.
[Miscellaneous Android Development] Parastie:
SOLVED!

I've edited the PhoneWindowsManager file in order to change my default orientation from landscape to portrait. I'll let you know if it makes any difference to how the device acts while I use it.

I followed this guide, http://jhotmann.blogspot.com/2011/08/how-to-change-default-orientation-of.html incase someone wants to help. I've attached my android.policy.jar file that I've edited. It's based on a stock 2.3.1 ROM as 2.3.3 doesnt work with Wikidroyd.
[Miscellaneous Android Development] fun_:
ah, I see. I misunderstood a bit :)

probably its' line 2399-2409 in CyanogenMod/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java.

thank you for your info!

--

what I (mis)understood is I thought flipping accelerometer X-Y and rotate screen 270 degrees(CW), i.e. make everything "default is portrait". this should fix accelerometer issue on some apps/games.

I'm just trying it. screen rotation is easy (by ro.sf.hwrotation) and input device X-Y is partially fixed. touchscreen range/scaling is not correct yet so I'm investigating it.

EDIT:

almost finished. I can play NFS shift on EM73 now :)

I need to check this fix affects TS calibration or not. I hope I can make new image soon...
[Miscellaneous Android Development] the_kingcmd:
When PhoneWindowManager.java modify the default screen is vertical (default is portrait), but reversed :confused::confused:. Any solution? :confused:Another question, how ro.sf.hwrotation modified? :(

Fact: I have a coby mid7015

thanks;)
[Miscellaneous Android Development] Parastie:
My modification is based on my EM73 tablet which currently is running stock 2.3.1 ROM. I'm not sure how this would translate to your tablet, likely it uses different calls for the screen orientation which you will have to modify yourself.

@Fun. How do you modify ro.sf.hwrotation? I'm guessing you're making changes from the CM7 source right? You'll have to point me to your github when you get your builds done. I'm going to try to modify the stock rom with your changes to try to preserve the HW acceleration.

My change really only changes how the screen is handled once Android is fully booted. It does not translate to how the accelerometers are being handled, but I think I should be move some of your changes into the original firmware.
[Miscellaneous Android Development] fun_:
refer 4th commit in https://github.com/naobsd/cm_frameworks_base/compare/gingerbread-naobsd

in stock rom, changing ro.sf.hwrotation will break touchscreen and accelerometer because it doesn't rotate other than display.

my change for com_android_server_InputManager.cpp may fix TS on stock rom.

for accelerometer, it's already tweaked as "0 degree is landscape" in my CM7, and this change tweak "that tweak". but it must be different in stock rom. I guess it's portrait and orientation is tweaked in another place. so my change for accelerometer must not work on stock rom.

EDIT:

for accelerometer in stock rom, if you can change some code between raw values input point and orientation tweaked point, it will work.
[Miscellaneous Android Development] fun_:
I have no info about your tablet other than name "G15".

can you give me your stock rom?
[Miscellaneous Android Development] fun_:
20111105 is uploaded. OP/site will be updated later.

changes are very little.

try ro.sf.hwrotation=270 if you like portrait tablet and/or if you don't like portrait apps are upside down and/or if you want to play some games which had issue about accelerometer axes.

run following command on root shell, then reboot.

echo ro.sf.hwrotation=270 >> /data/local.prop

neither wipe nor recalibration should not be needed.

I tested touchscreen, accelerometer, keyboard, and mouse with 270.

90 and 180 should work too but not tested. issue about accelerometer axes should not be fixed other than 270.

some graphic performance setting which was defined in compile time is changed to use run time setting. previously it was enabled on my CM7 for TCC8902 tablets but now disabled. please try following setting,

Settings -> CyanogenMod settings -> Performance -> Use 16bit transparency

I'll change default again after test.
[Miscellaneous Android Development] andrewsolo:
Gpad G15 = Pandawill G15 = RoverPad 3W T71 (russian clon)

Dump from my device (system.img & boot.img): dl.dropbox.com/u/40494632/Dump_sys_boot.zip

Link for FWDN update: ftp://ftp.rovercomputers.ru/.bios/3WT71/3WT71-110908.zip

Info about tablet:

1. geekwill.com/gpad-g15-tablet-pc-7-inch-android-22-1080p-4gb-aluminum-shell-capacitive-screen-camera-silver_p4362.html

2. pandawill.com/gpad-g15-tablet-pc-7-inch-android-2-3-1080p-4gb-aluminum-shell-capacitive-screen-camera-silver.html

Thank you!
[Miscellaneous Android Development] Parastie:
I understand, your tweak would only move the display, which in general is all my tweak does just in a different file. I wonder if changing ro.sf.hwrotation would be better. Does this file exist in the stock ROM? I haven't seen it, but I havent decompiled everything yet. :)

I've been digging through the accelerometer codes as much as I can. Sadly, I'm not experienced in what I'm looking for. Do you know where these files exist in the STOCK rom? I can decompile any of the jar and framework files and try to make some changes.

EDIT:

I've found the SensorManager.smali file inside framework.jar. It appears to have the accelerometer information here. I'm going to try to swapping X and Y just to see what happens.

EDIT2:

Well that didn't seem to do anything....
[Miscellaneous Android Development] the_kingcmd:
English version

Fact: In 7015 coby the command should be placed after the installacion of Cnm7 and before the initial calibration. enter the command in the input animation. Because the screen does not respond if done later. I hope this contribution will serve. greeting ;) ;)

Spanish version

Dato: en coby 7015 el comando debe ser colocado despues de de la installacion de Cnm7 y antes de la calibracion inicial. introducir el comando en la animacion de entrada. Porque se no responde la pantalla si se realiza despues. Espero que sirva este aporte. saludo ;) ;)

si alguno habla en español hagalo saber...google translate me tiene cansado..je
[Miscellaneous Android Development] iodak:
m701 4GB

i set ro.sf.hwrotation=270 and everything was upside down then I set sensor.accelerometer.invert_x=0 and sensor.accelerometer.invert_y=0 and it is ok now. default is portrait with button down. Boot animation is portrait button down. I wil try some games.

Settings -> CyanogenMod settings -> Performance -> Use 16bit transparency

No problem for me, dont see any difference. Launcher and browser seems faster. I cant tell for sure.
[Miscellaneous Android Development] the_kingcmd:
7015 coby

try ro.sf.hwrotation=270 if you like portrait tablet and/or if you don't like portrait apps are upside down and/or if you want to play some games which had issue about accelerometer axes.

run following command on root shell, then reboot.

Code:

echo ro.sf.hwrotation=270 >> /data/local.prop

Fact: In 7015 coby the command should be placed after the installacion of Cnm7 and before the initial calibration. enter the command in the input animation. Because the screen does not respond if done later.

How to tweak accelerometer axes

try following properties:

sensor.accelerometer.flip_xy= 0

sensor.accelerometer.invert_x= 0

sensor.accelerometer.invert_y= 0

sensor.accelerometer.invert_z= 0

these can be set from shell e.g. setprop sensor.accelerometer.flip_xy 0. after setprop, auto-rotate off->on to reflect properties. once you get correct settings, add necessary lines into /system/build.prop. in most cases, one of followings will work:

sensor.accelerometer.flip_xy = 0

sensor.accelerometer.invert_x = 0

sensor.accelerometer.invert_y = 0

sensor.accelerometer.invert_z = 0

:D
[Miscellaneous Android Development] fun_:
sorry, I couldn't understand your issue.

if you install CM7 1st time(or 1st boot after wipe), you need to do TS calibration correctly. reboot will be done after calibration.

ro.sf.hwrotation is just an option. you can use CM7 with or without it. you can change at any time. no re-calibration nor tweaking sensor.accelerometer.* is not required at all.
[Miscellaneous Android Development] fun_:
ah. sorry. I found a bug. orientation will be wrong with ro.sf.hwrotation on some tablet :(

I'll fix it asap then no need to tweak sensor.accelerometer.*.

thank you for your report.
[Miscellaneous Android Development] fun_:
sorry? can you clarify your problem?

I tested 1005 image with 7015 and it was no problem.
[Miscellaneous Android Development] fun_:
sorry, 20111005 is removed. 20111006 with ro.sf.hwrotation fix for some tablets will be uploaded soon.
[Miscellaneous Android Development] Parastie:
Hey fun where are you uploading these to? They're not on the androtab.info site.
[Miscellaneous Android Development] iodak:
h x x p://androtab.info/files/telechips/cm7/
[Miscellaneous Android Development] docx:
I have send my device to service and they fixed it . They say that at manufacturing they haven't properly weld wire from wifi and because that wifi signal is low. Now I stand 30m from modem and signal is great :D

They say that this failure is series problem and they know how to fix it. So if it bothers you fix it or send to service :D
[Miscellaneous Android Development] fabricioemmerick:
Hello friend fun_. Good work that has been developing. What is missing to use the encode / decode and HDMI. Best wishes and good job:confused:
[Miscellaneous Android Development] fun_:
sorry, uploading is uploading, not uploaded.

now, uploaded, tested on EM73, 7015, and M1001.

links are not yet updated.
[Miscellaneous Android Development] fun_:
please read my post you quoted.
[Miscellaneous Android Development] fun_:
hi,

still do you have LY-F521 800x480 model? then try this rom: http://xdaforums.com/showpost.php?p=18186557&postcount=270

as I wrote it seems 800x480 but different TS controller. it may not work.

--

for others, don't flash that rom if you have working LCD/TS. it will brick your tablet.
[Miscellaneous Android Development] pingzero:
hello.

i have tried the firmwares from 29/09, 02/10 and 06/10 in my m701 gb 8k.

in all of them neither wifi or the camera works.

i had no problem on the previous version (cm6?) from 22/08, and i can't find it anywhere.

can you please help me fix this, or provide the version from 22/08?

thanks!
[Miscellaneous Android Development] iodak:
is this of any help to understand video decoder?

http://wenku.baidu.com/view/7fed28c10c22590102029df5.html
[Miscellaneous Android Development] the_kingcmd:
Are you already uploaded for 7015?
[Miscellaneous Android Development] fun_:
wifi should work. you confirmed hardware is fine, i.e. wifi works fine with backup and/or stock rom, right?

old files are removed. you can make backup yourself.
[Miscellaneous Android Development] fun_:
uploaded is uploaded. and why don't you check yourself?
[Miscellaneous Android Development] fun_:
http://club.dealextreme.com/forums/Forums.dx/threadid.879581?page=7

if you already tried "rom 1.02.rar", please tell me. I don't force you to flash it. I just want to know if you know something about it.

(for scroll users, that rom may not work on Scroll 7". don't flash it)
[Miscellaneous Android Development] fun_:
system.img from your dump is broken. I can't get detail from your dump but it seems very similar to 3WT71 rom.

why you didn't use 3WT71 rom? who verified G15 is same as 3WT71?

I can see two G15 roms on pandawillforum. but one is broken archive and another one seems no compatible TS driver. (I think your tablet has Goodix GT80X TS)

EDIT:

just guessing,

broken one (Gpad G15 correct Sep 7th.rar) is probably almost same as 3WT71-110908 (just guessing from release date), 97C3 model.

another one (firmware for G15 M703.rar) seems to be for 97C1 model.
[Miscellaneous Android Development] sterling101:
Hi,

I've just upgraded my scroll 7" 4k resistive using the install released on the 6th Oct and although video playback doesn't work hardly at all and there's no accelerometer input I'm very impressed and if you need any help working things through I'd be only to happy to help out.

I can drop back to 2.1 at very short notice so if there's anything from the original rom that you may need I can pull it out and make available to download quite easily.
[Miscellaneous Android Development] fabricioemmerick:
NIce, firt step for solution of decoder
[Miscellaneous Android Development] pingzero:
wifi works fine with manufacturer rom, obtained from haipad.net yesterday. this rom is from 27/07/2011, flashed with FWDN.

i flashed back to cm7 and wifi is not recognized. i check the box to start it, but it shuts itself off after a while.

i don't get a MAC address with your rom either.

i'm sorry to bother you with this, but it seems like a problem in your version of cm7.
[Miscellaneous Android Development] fun_:
my CM7 for M701 4K/8K is only for old 256MB model. if you can use Haipad M701 0727 ROM, then you have 512MB model, right?
[Miscellaneous Android Development] pingzero:
okay then.

but again, your version from around 22/08 worked perfeclty for me on this same tablet.

i never tested hdmi output, but everything else worked. wifi, camera, microsd slot...

thanks for the reply anyway.
[Miscellaneous Android Development] fun_:
I see. 8/22 rom you flashed is absolutely not my CM7 because camera must not work on my CM7.
[Miscellaneous Android Development] pingzero:
weird...

any chance of making a port for my model?

any way i could help?
[Miscellaneous Android Development] fun_:
I already decided and started to add support 512MB model. but I never promise when it's done, and it works fine or not.

--

reporting "XXX does not work" is ok, because I don't have your tablet, I don't know my CM7 works fine or not until someone report it.

but reporting only "not work" without detail, and not to answer my question e.g. "you have 512MB model, right?" doesn't help anything.
[Miscellaneous Android Development] pingzero:
yes, sir, you are correct.

i do have the 512mb model, with 4gb nand, microsd slot and hdmi output (never tested, even on stock rom).

i uploaded the report generated with elixir2 to mediafire:

goo.gl/hBwi1

i hope it helps a little more :D
[Miscellaneous Android Development] sterling101:
One thing I have noticed is that the battery reading seems a little random compared to the stock rom.

On stock it would reliably give me the battery level while unplugged and also when charging. However on the 1006 rom it seems to max out at 85% and I've noticed it jump around between 45%, 54% 76% then 23%.

There seems to be no pattern to this so I was wondering if anyone else has this issue at all?

I'm running on a Scroll 7 resistive with 4k ram.
[Miscellaneous Android Development] fun_:
I see. you have 7015 non-GB ROM. you installed recovery for non-GB ROM and it worked. you installed CM7 for non-GB ROM and got snowy screen.

then, CM7 for non-GB ROM may be wrong. I'll check it.

EDIT:

hmm it should be ok... I don't know why CM7 for non-GB ROM didn't work on your 7015 :(
[Miscellaneous Android Development] fun_:
you said "I can install tipsters OEM GB 2.3.1" so I thought you have FWDN. it's flash tool for telechips tablets and run only on Windows. no need to install android SDK/driver for adb.

http://apads.com.au/downloads/firmware/telechips/M1001/original.rar

it contain FWDN.exe and VTC driver which can be used for your 7015.

do not use other files. it's for ROM for another device and it will brick your device.
[Miscellaneous Android Development] dhadlock:
It was really late for me when I did this (I was at the end of a graveyard shift and I was doing it at work) So I may have installed the GB ROM for CM7 first (after getting the Non-GB ROM Recovery to work) But before the Non-GB CM7 so that may be what gave me the snow and messed everything up.
[Miscellaneous Android Development] dhadlock:
No I was saying I wish I could get fwdn to work so that I could Flash Tipsters OEM. I have the FWDN installed on my win7 32 machine But I can't put my device into FWDN mode before plugging it in to get FWDN to recognize it.
[Miscellaneous Android Development] fun_:
oops. sounds bad...

you already installed VTC driver for Win7 32bit, right?

"When I hold Home button+Power coby splash screen with info in top left stays on and goes nowhere", then plug -> not recognized?
[Miscellaneous Android Development] dhadlock:
Sweet!! I googled the VTC drivers for Win7 32 and found them installed them then Went ahead with tipsters process from "http://kyros-tablet-zone.team-talk.net/t18-how-to-image-gb231-covering-7015-7015a"

And just plugged in the usb while the coby screen was up and voila I'm running Tipster's OEM GB 2.3.1 ! Thanx Fun_ Your a genius!:D
[Miscellaneous Android Development] jschill31:
Hey Fun,

Thought I would flash the GB for 7015 and see where you are at. Looks great but my wifi will not stay active long enough for me to get connected? I thought I read a few posts back that it was working???

Cheers
[Miscellaneous Android Development] wakhoma:
Please, help me!

Although I run 2.3.1 Gingerbreak version on my Haipad M701 (2GB), but now i want to try running Cyanogenmod 7 on Haipad, please help me to install Clockworkmod Recovery 3 on it:

Some problems i got:

1. I have no fastboot till now after I upgraded it from 2.1 Eclair to 2.3.1 (ROM from 99pad.com of aberbsts chinese guy)

Because I have no fastboot so:

2. I renamed recovery.img to tcc8900_mtd.img and FWDN but FWDN did not accept it when I added this file (tcc8900_mtd.img renamed). So I can not go to Recovery 3 to get installing Cyanogenmod 7 from my SD card.

Anyone help me, please, thank advanced.
[Miscellaneous Android Development] fun_:
I guess you flashed CM7 for 7015 GB ROM, right?

wifi should work but I don't know how stable without feedback. (I don't have 7015)

then, wifi on your 7015 is not stable compared with Gpad701 stock GB ROM?
[Miscellaneous Android Development] fun_:
you made CMR3/CM7 for M701 yourself?
[Miscellaneous Android Development] wakhoma:
No sir, I downloaded them from your link (androidtab.info) at section:

•Haipad M1001 (non-HY) (a.k.a. Musican U10, Telepad 10.1)

ClockworkMod Recovery 3, CyanogenMod 7
[Miscellaneous Android Development] fun_:
there is no files for M701, as you wrote.
[Miscellaneous Android Development] fun_:
I'll try to investigate wifi issue.

if you find another issue which happens only on my CM7, please tell me.

thank you for your cooperation!
[Miscellaneous Android Development] wakhoma:
******

current status (2011/6/2)

not work: suspend/resume on Kyros 7015(non-GB ROM)/EM71, hardware accelerated video, and many things which you expect to work

work: accelerometer, audio, gapps, internal flash, sd card, touchscreen with calibration app, wlan

todos

1.support other tablets (Haipad M701/Phecda P7/HSG X6D/NanoPad/ScrollTablet/GT78 and HY models)

*******

Sorry, maybe I misunderstood todos, right? (Haipad M701)
[Miscellaneous Android Development] fun_:
I used todo(s) like this: http://en.wiktionary.org/wiki/todo#English
[Miscellaneous Android Development] jschill31:
Yes, I flashed "GB Rom" and wifi will not turn on. With stock Gpad701 GB Rom it connects with no issues...very strange. I also flashed the "Non-GB Rom" to see if there was a difference and it would not boot.

Cheers
[Miscellaneous Android Development] fun_:
I'll investigate wifi issue.

CM7 for 7015 non-GB ROM does not boot on 7015 GB ROM.

I think I need to rewrite FAQ more clear :(
[Miscellaneous Android Development] nagahtom:
Fun,

I just found out you guys are working on a CM ROM for the coby 7015. WOW, that's great.

I use my Coby a lot. I'm running Gingerbread 2.3.1 ROM but really want to use a CM ROM. As soon as you have wifi and gps stable, maybe I can help a little bit with the testing.

Thanks so much for your hard work.
[Miscellaneous Android Development] jschill31:
Hey Fun,

OK, here is the magic sequence if comming from the OEM build of 2.3.1. You must wipe everything 3 times. I guess there were some fragments in there messing up my wifi. Once I wiped dadt/cache/dalvik 3 seperate times and reflashed I am up and going. This runs great so far Fun, leaps and bounds better than OEM. I am advanced on testing, I will be more than happy to test things for you. It just may take me a day or so to get back to you with my schedule.

Thank you and double Cheers!
[Miscellaneous Android Development] fun_:
hmm. "wipe data/factory reset" from recovery should wipe /data and /cache (incl. dalvik-cache)...

anyway, good news :)

EDIT:

well, I read again your post. your wifi issue was "not turn on wifi"? I thought it was something like "weak signal"...

if you didn't wipe while installing CM7, it would happen.
[Miscellaneous Android Development] flipside101:
Is anyone else having battery drain even with the tablet (Kogan agora em73 8k) off?
[Miscellaneous Android Development] fun_:
thank you for your information.

I have no idea. you can prove it.
[Miscellaneous Android Development] Jasio_m:
I tried the version from 2011/10/06 for LY-F521 yesterday on my Diel Flick.

The touchscreen was rotated 90 degrees anticlockwise from the display orientation. The screen itself was displayed in the correct orientation.

I reverted to my backup so it's all good.

Is there an easy way to fix the touchscreen orientation?

Thanks.
[Miscellaneous Android Development] Nuno Rodrigues:
Question ( Rocket - 1.2GHz Android 2.3 )

im im new here,

today i buy this :

http://www.lightinthebox.com/rocket...inch-capacitive-touchscreen-wifi_p220110.html

so can i upgrade !!!

here

what is the best roms and make it without broken ;)

Regwards

Nuno Rodrigues
[Miscellaneous Android Development] fun_:
probably it happened after I switched to use 7/20 ROM for LY-F521... no one try new CM7 until today ;)

your backup is older than 20110821, right? (e.g. 20110708)

anticlockwise, well, if you move your finger from left-to-right, pointer moves bottom-to-top, and move finger from top-to-bottom, pointer moves from left-to-right, correct?
[Miscellaneous Android Development] fun_:
sorry, no best rom here.
[Miscellaneous Android Development] iodak:
http://xdaforums.com/showthread.php?t=903507

Fun? can we patch libsqlite.so, it seems it is great I/O performance gain.

I dint find that records described in my libsqlite.so with hexeditor.
[Miscellaneous Android Development] fun_:
I wonder why we need to edit libsqlite.so with hexeditor.

anyway, by googling few minutes, I found

https://github.com/CyanogenMod/andr...mmit/4260bd38f168bfa5551930d56d9e6a629a684372

and one another tips, "use transaction for batch insert ops".

and I will not accept any patch for great data lossage.

thank you for your cooperation.
[Miscellaneous Android Development] fun_:
thank you for your information.

it will happen on any Emdoor tablet with Eclair ROM. and probably you can use "prevent deep sleep" app as a workaround.

btw people may not notice if you just updated only old post.
[Miscellaneous Android Development] fun_:
oh, official CM7.1 is released, nice :)

... and I didn't notice that gapps 20110828 was released ;)
[Miscellaneous Android Development] Nuno Rodrigues:
Rocket - 1.2GHz Android 2.3

So I Cant upgrade !!!!
[Miscellaneous Android Development] Jasio_m:
Yes, that's right.
[Miscellaneous Android Development] fabricioemmerick:
Maybe here this solution for Video Decoder?

http://www.khronos.org/openmax/

and

http://wenku.baidu.com/view/7fed28c10c22590102029df5.html

Openmax drivers source code for the TCC 89xx series

Friend fun_ could you take a look at this? It really can not help much because they do not know much about programming and compilation of drivers in linux. Best wishes and good work. Sorry being insitente.
[Miscellaneous Android Development] meilbox:
@coby 7015 sometimes when trying to wake up (turn on the screen back) the device

it's like the power button dosen't seem to respond (when pressing/pushing it) but after several tries everything works normal... it's not big deal but sometimes it's annoying ;p

confirmed by few other usrs