yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] Guanfy:
I currently have the 2nd layout. I checked my build.prop and it does not have the entry that you reference.
[Gen8 Android Development] bizcuite:
But i don't know why ro.build.characteristics:Tablet isn't take in consideration???

Guanfy, Can you try to put this lines on build.prop:

ro.statusbar.widget=true

ro.statusbar.button=true

Reboot after change

Bizcuite
[Gen8 Android Development] darren1:
I have read dpi needs to be 120. Hope it helps.

http://xdaforums.com/showthread.php?t=1921430
[Gen8 Android Development] wilsey:
I have uploaded my Build.prop for you compare with yours

View attachment build.zip

Also here is it's contents, I have commented (#) density setting. This is for the defalut screen with interface/Keys always at bottom!

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=IMM76L
ro.build.display.id=full_archosg8-eng 4.0.4 IMM76L eng.root.20121029.191943 test-keys
ro.build.version.incremental=eng.root.20121029.191943
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=lundi 29 octobre 2012, 19:23:13 (UTC+0100)
ro.build.date.utc=1351534994
ro.build.type=eng
ro.build.user=root
ro.build.host=bizcuite-laptop
ro.build.tags=test-keys
ro.product.model=Full AOSP on Archos G8
ro.product.brand=archos
ro.product.name=full_archosg8
ro.product.device=g8
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=archos
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=archos

#ro.sf.lcd_density=240

# ro.build.product is obsolete; use ro.product.device
ro.build.product=g8
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=full_archosg8-eng 4.0.4 IMM76L eng.root.20121029.191943 test-keys
ro.build.fingerprint=archos/full_archosg8/g8:4.0.4/IMM76L/eng.root.20121029.191943:eng/test-keys
ro.build.characteristics=tablet,nosdcard
ro.cm.device=g8
# end build properties

#
# ADDITIONAL_BUILD_PROPERTIES
#
net.dns1=8.8.8.8
net.dns2=8.8.4.4
ro.com.android.dateformat=MM-dd-yyyy
wifi.interface=tiwlan0
hwui.render_dirty_regions=false
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
[Gen8 Android Development] Guanfy:
Tried it and no change. Attached is a log if you want to look at it.

**EDIT**

Want to confirm that the path to build.prop is /system/build.prop. I do not know if there is more than one build.prop or not so I want to confirm path.
[Gen8 Android Development] wilsey:
I can confirm

ro.sf.lcd_density=120 , keeps me in tablet mode, and softkeys continue to function, screen looks great with that setting!

Guanfy, try putting

ro.sf.lcd_density=120

into your build.prop

---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------

Yes, that is correct
[Gen8 Android Development] bizcuite:
Excellent idea to change dpi.

I hope that it will work
[Gen8 Android Development] ArcSmurf:
I have addeed ro.sf.lcd_density = 120 and now have bottom status bar - will play around to see if all ok
[Gen8 Android Development] Guanfy:
*Trumpets blare and angels cry*

Nicely done wilsey! I am now in the tablet configuration! I do notice though it doesn't run as smoothly through screen transitions now, but I have all my buttons and all seems to be in order. Biz, you need to give this guy a cookie when you have a chance.

**EDIT**

This works to trick ICS into thinking this is a tablet, but it's not perfect. I just found out that I can place icons in a bottom row that is obscured by the notification bar. Can that be adjusted out in settings, or will the build.prop need to be tweaked again?
[Gen8 Android Development] bizcuite:
You are great wilsey!

Many thanks to you Guanfy and wilsey, yours helps were very very usefull!

All bugs with display are done now(says me if i am wrong)? Rotation ok? Button ok? Ts ok?

I can look others common bugs? (Bluetooth, camera, network and battery stats....)

Bizcuite
[Gen8 Android Development] wilsey:
Glad it worked!! you can play with the dpi number to see whats best for your screen , 120 looks fantasic on 1024*600, dont know with yours (800*480) , maybe 160/180? Just dont go to high or you will lose tablet mode!

---------- Post added at 01:25 PM ---------- Previous post was at 01:14 PM ----------

Can comfirm on the A101, all display bugs are squashed, Touchscreen, Multi-touch, Roatation, Softkeys are running great :laugh:
[Gen8 Android Development] bizcuite:
160 is the default value. Try 140
[Gen8 Android Development] Guanfy:
Will do. Also would like to say all major show stoppers are gone. TS is good, buttons are good, rotation is good, wifi is good. However, not stable for me. Ran for about 15 minutes then crashed. Another thing to add to the to do list. Great job so far though.
[Gen8 Android Development] wilsey:
I notice by default overclock is set to 1100 and gov to performance, maybe your tab cant take 1100, hence the crash, set gov to default and speed to 1000, maybe fix your crash :)
[Gen8 Android Development] bizcuite:
Erf i will made another kernel without oc activated :D

It s better to have a stable tab

Bizcuite
[Gen8 Android Development] Guanfy:
Here's a puzzle for you. I set the density to 140, which put me into phone layout. Then I moved it to 150, same result. The tricky one is that I set it back to 160 and it stayed in phone mode!!!!. Makes me want to say grr.
[Gen8 Android Development] wilsey:
lol, My tab can take the o.c, so i prefer it, i want to squeeze every last mhz outta this thing! :victory: :laugh:

But i would assume that is what is causing the crashes on others tabs :)

---------- Post added at 01:50 PM ---------- Previous post was at 01:49 PM ----------

try 128, i think maybe that is the limit for dpi tablet layout :)
[Gen8 Android Development] Guanfy:
Ok, setting it to 128 switched it back to tablet. It's almost perfect in layout, still a bit of overlap on icons and the notification bar. I can't seem to toggle settings directly from the notification bar, but otherwise it's working great. I just adjusted the governor and... watched it reboot lol. Step by step. Much hunch would be that it's being caused by the hard drive somehow.
[Gen8 Android Development] bizcuite:
Ok i have made another kernel.

SEE FIRST PAGE IF YOU HAVE RANDOM REBOOT OR CRASH!!!

Bizcuite
[Gen8 Android Development] bizcuite:
Ok i have made another non OC kernel.

SEE FIRST PAGE IF YOU HAVE RANDOM REBOOT OR CRASH!!!

Bizcuite
[Gen8 Android Development] Guanfy:
I'm pretty sure that I already modded my init.rc file for that before.. I'll double check tomorrow when I wake up. If I did hmmm... If not, I will do so and report back to you. However, this was my main issue with Divx118's CM7 ROM. The rom was fast, smooth and pretty good, except not stable worth a flip on any device with a hard drive. I have a gut feeling the problems are related. No proof, just a gut hunch. Good night.
[Gen8 Android Development] bizcuite:
If you try to modify Gov in settings/param it crashed (i have the same issue), init.rc fix it.

Use the last kernel that i have uploaded in first page, it will be better :)

Bizcuite.
[Gen8 Android Development] ArcSmurf:
I have set my CPU settings down so not OC'd but still seem to get random reboots when trying to run apps.

Have pushed the gapps onto the image just to see what happens and so far runs fine, but alot of apps "not compatible" - still one for later once all hardware working - keep up the great work - look forward to v0.6
[Gen8 Android Development] wilsey:
The incompatible apps has to do with the build.prop, The market doesn't correctly recognize our device

I remember editing it to mimic the Samsung Galaxy i9003 SL, which has basically the same hardware, this was a long time ago tho....But all apps became available after that
[Gen8 Android Development] bizcuite:
True!!

It's an update that i must made, already find how install gapp (i will see how divx118 has made this) and i have an idea to patch without difficulties the rom. You will not have to redownload the new update all the time.

Bizcuite
[Gen8 Android Development] bizcuite:
I have made another kernel with gov interactive by default. (kernel is in first page)

If you want to see if it works, comment the line who attributes interactive status to CPU Gov. in init.rc.

Bizcuite
[Gen8 Android Development] Bingoig11:
Biz, currently trying to install the 0.5.

Do I have to rename anything or should I keep names like downloaded?
[Gen8 Android Development] bizcuite:
Anybody can try to install this image, please rename the older data_ICS.img and take another new one to try it:

CM9_V0.6 alphatest-release - A101:http://www.mediafire.com/download.php?bbdckzqssdp2ync

CM9_V0.6 alphatest-release A70S and other 800x480 screen: http://www.mediafire.com/download.php?g01c2r6dwycw1au

Interactive Gov is by default, you don't need install kernel with interactive Gov.

Its must contain all fix found this day.

Bizcuite
[Gen8 Android Development] bizcuite:
This depend of your menu.lst

if you want to be sure that it works just:

Download menu.rar in first page

copy and paste the line into the file in your menu.lst in your tab. (EDIT: maybe change the Gingerbread by CM9 and the name of file "openaos-cm.img" by the name of file downloaded)

i think this must work.

Bizcuite
[Gen8 Android Development] Bingoig11:
Think I missed something lol, my touchscreen is doing the opposite I'm asking.

Got a pointer, if slide to the left it goes to the right etc.

I may have downloaded an old file maybe.

Took everything in post 1.
[Gen8 Android Development] bizcuite:
Huum maybe i have forget to include patch in the kernel....i don't remember...

I will find a kernel who works.

Bizcuite
[Gen8 Android Development] Bingoig11:
Here's the file list I downloaded:

zImage_Non_OC_v0.5

data_ICS.img

openaos-cm_V0.5_A101.img

MINICOM_initramfs.cpio.gz

And your menu.lst

I didn't had any ICS entry in the menu, but when I choosed GB, it asked me for several images (including both data_ICS and openaos0.5). Can't remember which one I chose, but now I don't have the choice anymore.
[Gen8 Android Development] bizcuite:
Try this kernel in attachment:

just renamit like zImage

I think that i had compiled the new zImage without the patch. I haven't include it on github and make the v0.5 with a cleaned base from git...without patch :D

EDIT

TO ALL:

Don't remember that i haven't the same tab of your, and it's very difficult for me to know if it works or not (TS and screen are differents on all tabs, and mine works very well since longtime)

The v0.6 must fix all screen/TS/rotate/soft button bugs. I hope report from users and have a "functional" tab.

I can watch tv, go to internet, play, listen music, watch video and headphone works. I think that are essentials functions for a tab for an alpha version.

I must work on alsa lib, to see how fix sound bug.

IF all works on v0.6 :)

EDIT2:

With my tab i cannot choose the image, button doesn't worked >.<

Bizcuite
[Gen8 Android Development] Bingoig11:
No change, still the pointer, and it goes to the opposite I slide.

Going to start from a clean tablet as I already have Bull on it.
[Gen8 Android Development] Guanfy:
Morning Biz. I just ran 1st boot with all the new files and I have some good news and bad news. The good news is that it booted in tablet mode, and nothing went boom. The bad news is that the TS broke again. Log is attached for reference.
[Gen8 Android Development] bizcuite:
It's just an example, i must added it on first page. i haven't explain this point, i am guilty :).

You must edit menu.lst and changed "Gingerbread" by "ICS" and "openaos-cm.img" by the name of file downloaded.

Bizcuite
[Gen8 Android Development] bizcuite:
Yep, download the last kernel above just renamed it.

it must work.

EDIT, page 36 :) I go to bed for me (11h51PM) ^^

EDIT2: this kernel in attachment.

Bizcuite
[Gen8 Android Development] Bingoig11:
Yep no problem, I seen that it didn't matched by editing your file ;)

So I renamed the img to match the menu ;)

But even with your alpha kernel, same issue :P
[Gen8 Android Development] Guanfy:
I tried that kernel. Still no TS. Log attached for reference.
[Gen8 Android Development] bizcuite:
Looks into the init.rc if you have this:

# Disable rotation of touchscreen and sensor for 101
write /sys/module/hid_hanvon/parameters/rotate180 Y
write /sys/module/mma7660fc/parameters/rotate180 Y

if no, copy paste it, try this with the last kernel.

Have tried the last image file page 36?

If no try it, you couldn't have any pb with kernel above.

EDIT

Guanfy can you try this kernel and say me if it's good.

If not i will see it tomorrow.

See you later and say me if it works
[Gen8 Android Development] Bingoig11:
Going to have a look tomorrow.

I must find a way to access the file system without touching the tablet since it's a PITA to navigate lol

As I loaded the MINICOM initramfs, ADB doesn't get the tablet (USB debbuging on).
[Gen8 Android Development] Guanfy:
Not sure what you did Biz, but now I can't even get into the debug menu. I select developer mode from the SDE, then I get the archos logo, then a reboot. So I would say it's a no go for this test zImage.
[Gen8 Android Development] bizcuite:
try this one please. just rename it.

Bizcuite
[Gen8 Android Development] Guanfy:
Btw, you have two links for minicom on the 1st page. Which link do you want to be used? The xda download or the mediafire download?
[Gen8 Android Development] bizcuite:
It's the same file. I can used which you want.

Have you tried the last kernel? is it ok for TS? any bug?

Bizcuite
[Gen8 Android Development] bizcuite:
I have update kernel on first page. Please says me if you have any pb with touchscreen or screen.

With my tab. I cannot try it before upload.

Guanfy, the kernel test wasn't upload correctly, i have delete it.
[Gen8 Android Development] Guanfy:
So, do you need me to try the kernel from post 367?
[Gen8 Android Development] bizcuite:
Yes please!!! :victory: i don't know if it works if nobody makes me a report :crying:

Just try the kernel on post367 and first page, and say me if TS works (just see if TS is back).

Have you installed the v0.6 alpharelease with new data_ICS.img?

Many thanks for your test.

Bizcuite
[Gen8 Android Development] ArcSmurf:
have tried this and seems to boot and TS works ok for me
[Gen8 Android Development] bizcuite:
With v0.6 version not modify?

I must know if v0.6 boots and runs without any modifications, if yes, i can passed the version to V1.0.

I will make another new thread to purge all useless posts, but keep a trace of work.

I will tell before to modo if it possible (Cyano team for SGS1 make this, i think that i can)

Bizcuite
[Gen8 Android Development] Guanfy:
TS is still broken Biz. I am using the latest kernel and V.6 image. Log is attached below.
[Gen8 Android Development] ArcSmurf:
ah - didn't pick up v0.6 - that was with 0.5. Will download and try again
[Gen8 Android Development] bizcuite:
It doesn't work or work like a mouse or other? Can you explain please? i don't know if kernel or IDC files are bad :'(

Arcsmurf has no pb with the kernel from last page,have you try it too?

Bizcuite
[Gen8 Android Development] Guanfy:
As I said, I am running the latest kernel from post 367 and the latest image, v.6. The TS has return to the cursor style one. It works, but you have to "mouse" it around to get it where you want before you use it.
[Gen8 Android Development] minidou-77:
I don't know what I've done wrong but I still have the touchscreen acting like a mouse...

I've tried the v0.6 (with the latest zImage, minicom initramfs, clean data img) but still no change...

I will try to get you a minicom debug but yesterday I didn't have

in it so I didn't post it

BTW the new LCD density looks better on my 101it

And thank you so much for your hard work it's amazing ;)
[Gen8 Android Development] ArcSmurf:
Have booted using the image on post 352 (extracted name said openaos-cm_V0.5_A70_and_others.img) and has booted and TS behaves as expected.

Trying to get log file but A70 and my VM seem to be disagreeing about talking to each other this morning.
[Gen8 Android Development] Ranomez:
nvm that, i managed to boot it, oddly i had to delete data.img, no ideea how that is related, anyway the screen is reversed and the touch is in the right direction, lol
[Gen8 Android Development] Mavasilisk:
I was about to mention that but Bizcuit said its not connected to them problem. I couldnt boot too before I renamed data.img
[Gen8 Android Development] bizcuite:
Ok, well i don't know why (data.img is not mount and used) but if Ranomez says right just rename the data.img and try to boot again...

Ranomez: Touchscreen works well???? Really? :D

I must see how return it.

Bizcuite
[Gen8 Android Development] Mavasilisk:
Dont return it for now, let me check your edited version cuz the TS isnt calibrated for my device.

EDIT: he has 101, my mistake. Keep up the good job.
[Gen8 Android Development] bizcuite:
Guys!!

Do you know any wesite to upload my files (to download fast)? I find mediafire tooo sloooooooow!!

Bizcuite
[Gen8 Android Development] minidou-77:
Xda provides some hosts for devs

Try to contact a moderator; -)
[Gen8 Android Development] bizcuite:
Thanks.

I think that a file is missing to configure it.

try to see with adb to open and see the name of your touchscreen.

Line is here /sys/devices/virtual/input/input1/ and cat name file

yours maybe is here /devices/platform/ehci-omap.0/usb1/1-2/1-23 try too see the name of the device like "UNITEC USB Touch (Win7)".

I don't know how name it, and your help can help me :)

I hope that A70H and S have the TS ;) (thank Guanfy's log and Guanfy ^ ^)

Bizcuite
[Gen8 Android Development] Ranomez:
no, i sayd the screen is inverted as in it is upside down, even if i rotate it before disabling rotation, but the touchscreen is in the right dirrection, so in the opposite way the screen shows, to explain it easyer in case im still not understandable..............the screen is upside down but the touch isnt, so if i want to go right i need to drag left on the screen

EDIT: also if i add data.img again it bootloops, maybe il install the things needed to gain logcats while booting and send u if it helps u in any way, but tomorow cause its night here, anyway i just told u so ul look into it
[Gen8 Android Development] bizcuite:
This the initramfs who has ADB activated.

Bizcuite
[Gen8 Android Development] Mavasilisk:
I cant find this thing anywhere. There is /sys/devices/virtual/input/input2/ and there isnt such thing inside.
[Gen8 Android Development] bizcuite:
try to make a cat on this path please:

like cat /sys/devices/virtual/input2/name

I hope that it exists!

Bizcuite
[Gen8 Android Development] joaoalex:
In a101it the value is

MMA7660FC Accelerometer
[Gen8 Android Development] Mavasilisk:
This is my logcat. I will update the post with the info for TS model that u've asked about.

EDIT: The exact path is: /sys/devices/virtual/input/input2/name and it says MMA7660FC Accelerometer
[Gen8 Android Development] nikunj87:
Not sure if this helps but I found following file

/sys/devices/platform/ohci-omap.0/usb1/1-2/1-2:1.0/0003:227D:070A.0003/driver -> /sys/bus/hid/drivers/hanvon (soft link)
[Gen8 Android Development] bizcuite:
Can you say me what files you have in this folder please? and make a cat if you can.

(it's very difficult to see what's append without orginal tablet....)

Bizcuite
[Gen8 Android Development] divx118:
This is because A101IT has the screen upsidedown in the device. If the kernel is based on the openaos kernel you could try.

$ echo Y > /sys/module/hid_hanvon/parameters/rotate180
$ echo Y > /sys/module/mma7660fc/parameters/rotate180

My fix for rotation on A101IT on CM7:

https://gitorious.org/openaos-cyano...mmit/0f60059787e432a41aa149d08f501c7f920fc859 <-- patch file for surfaceflinger in CM7

https://gitorious.org/openaos-cyano...mmit/1355b106ee63ac0b0fe39647441c7ba30282f3fa <-- changes to init.rc to disable our previous sysfs fix.

divx118
[Gen8 Android Development] bizcuite:
Erf, you're right.

# Enabling multi-touch
write /sys/module/hid_hanvon/parameters/tsp_emulation N

# Disable rotation of touchscreen and sensor for 101
write /sys/module/hid_hanvon/parameters/rotate180 N
write /sys/module/mma7660fc/parameters/rotate180 N

I will modify the init.rc, i haven't seen that it was on N : /

Bizcuite
[Gen8 Android Development] divx118:
In the future it is better to patch surfaceflinger and set the default rotation to 180 for the A101, else you will have some problems with apps that force rotation at landscape. You will need to hold the A101 then upsidedown.

There should be also a compile flag for that atleast on CM7, but then you need to build a separate image for the A101 hence I did patch surfaceflinger and see if we are on an A101 to force default rotation to 180 if we are.

divx118
[Gen8 Android Development] bizcuite:
I share the new init.rc (FOR ARCHOS A101 ONLY)

How push it:

With adb, you must have installed adb initramfs.cpio.gz (see first page)

run adb with adb shell after have configure it to see if the configuration is good:

"adb shell"

"exit"

"adb root"

"adb push /<path of the init.rc> /"

Under linux and windows it will be worked.

Please says me if it's good if the screen is in good orientation.

Bizcuite
[Gen8 Android Development] bizcuite:
Right!!

I have seen a little the surfaceflinger.cpp, i will play with it to see if i can return my screen.

I will see it later.

Bizcuite
[Gen8 Android Development] bizcuite:
Ah!! ok kernel works well.

I must have the begin if the log ;) with the name of TS driver. It's stange, the name changes then i have return back my change for this.

I know what's appenong now.

IDC files are bad names, i will reupload this evening the v0.6 with good files into.

please can you say me which files there are in /system/usr/idc/ folders?

to be sure to have a working TS, just be sure that you have these files:

Vendor_227d_Product_070a.idc

Vendor_227d_Product_0709.idc

Vendor_227d_Product_0a1a.idc

Vendor_227d_Product_0a19.idc

If you haven't its

create missing files with this on it:

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Emulator keyboard configuration file #1.
#

touch.deviceType = touchScreen
touch.orientationAware = 1

Bizcuite.
[Gen8 Android Development] Guanfy:
[/COLOR]

I am missing 0709 and 0a19. Thought I would let you know for reference.
[Gen8 Android Development] bizcuite:
Thanks, You find the solution,

Just added this files like i had explain on last post, and TS will work (same thing for A70S user)

PS - minidou: It's normal if v0.6 is named v0.5 when you uncompress it, i have just changed file into image and recompress it without change the name of the original file.

Bizcuite
[Gen8 Android Development] Guanfy:
Biz, I see there is some extra code at the bottom of the two files that were originally there:

#touch.size.calibration = area
#touch.size.scale = 28
#touch.size.bias = 0
#touch.size.isSummed = 0

Should this be added to the two missing files as well?
[Gen8 Android Development] bizcuite:
No it was a test when you had offset problem. This lines are comment "#" and useless.

Please say me if your TS works with the modification. And if you have any bug with TS/rotation/screen offset or all in relation with display.

Many thanks for your action!!

Bizcuite
[Gen8 Android Development] Guanfy:
Adding the two files fixed the TS. Everything looks good from my end. I'll leave it running and see if your cpu governor modifications affect stability. So far, nicely done!