yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] Guanfy:
Yup, it's booting on command :). I've gotten it to boot with USB attached, and without. Life is good.
[Gen8 Android Development] bizcuite:
Can you try this to have wifi, see files in attachment files.

I have update init.rc and added wifi services (no bootlogo again).

I compile another image (6h to 8h to compile it, there was a pb with libasound.so, it wasn't compiled. (no sound, but i have the lib, to have it working)

For Guanfy and all others who has touchscreen pb.

Just try to added the file named: "UNITEC USB Touch (Win7).idc"

in /system/usr/idc

Bizcuite
[Gen8 Android Development] Guanfy:
Ok, wifi is working and the tab is still booting. Life is still good. Log of boot attached below for reference.
[Gen8 Android Development] Guanfy:
Biz, what do you want me to do with the USB file?
[Gen8 Android Development] bizcuite:
You must oush it in the image file. The path of this file is /system/usr/idc.

It's for your TS, i had seen that it was missing on one of your log.

Says me if TS is better with the file. Maybe there is configuration to put on it to ameliorate the TS.

Bizcuite
[Gen8 Android Development] Guanfy:
Ok, no change in the TS. Log attached for reference.
[Gen8 Android Development] bizcuite:
Erf i haven't seen that the name of yours is different.

Can you call the file: unitec_usb_touch.idc please and retry, it must be good after a restart :)

Bizcuite
[Gen8 Android Development] Guanfy:
call? I'll reboot the tab and see what happens, but I don't understand what you mean by call.

**EDIT**

I rebooted and got the same result on the TS. One difference I did see thought is that minicom didn't crash upon completion of the boot cycle. It kept running as I was poking around in ICS.
[Gen8 Android Development] bizcuite:
Sorry renamed the file like my last post :D (call and renamed means approximatively the same thing in french)
[Gen8 Android Development] Guanfy:
so you want me to rename the file as written in your post?
[Gen8 Android Development] bizcuite:
Yes renamed the file like this:

unitec_usb_touch.idc

You must have TS at next reboot

Bizcuite
[Gen8 Android Development] Guanfy:
TS screen is golden Biz. Still no soft buttons though. Looking great so far though.
[Gen8 Android Development] bizcuite:
It's the next fix that i must make.

Have you got soft button when ts works like a mouse?
[Gen8 Android Development] Guanfy:
Nope, never had soft buttons the entire time. That's why I can't properly try everything out to give you a full report.
[Gen8 Android Development] bizcuite:
I must already make in sort that all tabs can boot correctly. :D

It's good now, tabs boots correctly, i hope that my new image will be ok. (it must the init.rc was bad, and it was the guilty of bootloop).

I will put it online this evening after i test it.

I see to fix soft buttons.

Bizcuite
[Gen8 Android Development] Guanfy:
Ok. Let me know what the next thing you want me to test is.
[Gen8 Android Development] wilsey:
I dont have an issue with vitual/software buttons, Work perfect on my A101, but maybe this help?

http://www.redmondpie.com/how-to-en...-any-android-ice-cream-sandwich-rom-tutorial/
[Gen8 Android Development] Guanfy:
I tried, but I can't get the .apk to recompile. Throws a bunch of errors and dies. Life is not good lol.
[Gen8 Android Development] bizcuite:
Thanks to have make test!! :)

I will upload another image this evening (if i have time).

I see the file phonestatusbar.java and tabletstatusbar.java on CM9 code:

I will activated DEBUG to see what's append when you touch the button on status bar. Hope that can help me to fix this bug.

EDIT: for GUANFY

For battery life of your tab, i have just one question.

Is your harddrive turn on continualy when you are under my rom?

And under original frimware?

Is it the same problem like this link?

http://forum.archosfans.com/viewtopic.php?f=85&t=64326

Bizcuite
[Gen8 Android Development] Guanfy:
You throw it up here to test, and I'll try to get results to you as fast as I can. I want ICS running happy on my tab. It would make me feel better about buying it :)
[Gen8 Android Development] bizcuite:
Thanks, see also if it passed in deep sleep mode, you can download and install cpu spy to see this.

I have seen another things on your log.

Do you used the first kernel on the first page?

I have seen that the model of TS is not properly config (i had made a change on the kernel, and you have it, i would like to be sure that the first kernel haven't it.)

I made actually another kernel (just with patch for A70S2 TS and A70/101 TS) and upload it in few minutes.

Bizcuite
[Gen8 Android Development] Guanfy:
As far as I can remember, I am running the most recent minicom kernel. I had switched to adb for a bit, but you prefer minicom logs so I switched back.
[Gen8 Android Development] bizcuite:
Minicom is in initramfs, not the kernel ;)

I share you a kernel.

You must after installed it, rename the idc file:

UNITEC USB Touch (Win7).idc

can you try it and make me a report about TS and soft button please?

To install zImage, just rename it, don't uncompress it.

Bizcuite
[Gen8 Android Development] Guanfy:
Ok, TS is broken again (back to cursor) and no soft button still. As far as the HDD staying spun up, I don't know. I haven't stayed in the OS long enough to find out because I can't navigate correctly (no soft buttons). Bootlog is attached.
[Gen8 Android Development] bizcuite:
have you renamed the idc file unitec_usb_touch.idc in system/usr/idc to "UNITEC USB Touch (Win7).idc" (it must have exactly the same name than the driver) You must have TS not a mouse.

For soft button, i will see it this evening (i am at work and can't compiled ICS here).

Bizcuite
[Gen8 Android Development] Guanfy:
I renamed the file as requested and how you have it written. I'll double check, but i'm pretty sure I renamed it correctly.
[Gen8 Android Development] bizcuite:
<4>D/EventHub( 1422): No input device configuration file found for device 'UNITEC USB Touch (Win7)'.

I see this in your log.

To joaoalex:

I have found why we haven't constant MAC adress:

<6>TIWLAN: 1396.821671: No Nvs, Setting default MAC address

It must generated a MAC adress each time that the driver is loaded

I will try to fix it this evening.

Bizcuite
[Gen8 Android Development] Guanfy:
I double checked my naming Biz. It looks good. Is there a chance you gave me the wrong name? Or is there some hidden syntax that I'm missing?
[Gen8 Android Development] bizcuite:
Can open the file and copy paste here that's writing in it?

Thanks a lot

Bizcuite
[Gen8 Android Development] Guanfy:
Better yet, i'll upload a copy of the file, name and all.
[Gen8 Android Development] bizcuite:
.....oO i don't understand, your file is ok.

Strange. I will see if new image takes in consideration the file.

EDIT:

Have you got a file named "Vendor_227d_Product_070a.idc"?

Bizcuite
[Gen8 Android Development] Guanfy:
Ok. Waiting for the new image then.
[Gen8 Android Development] joaoalex:
Thanks.

The usbhost is not working for mass storages and other devices. But the driver musb_hdrc is loaded:

lsmod

...

musb_hdrc 52616 1 g_android, Live 0xbf12b000

...

i already try this but without success:

>rmmod musb_hdrc

rmmod: delete_module 'musb_hdrc' failed (errno 11)

>insmod /lib/modules/musb_hdrc.ko mode_default=1

insmod: init_module '/lib/modules/musb_hdrc.ko' failed (File exists)

it works in your device?

joaoalex
[Gen8 Android Development] bizcuite:
I will modify the initramfs adb and you will try again. I think that if you used initramfs with minicom, it's normal that usb shared doesn't worked

Bizcuite
[Gen8 Android Development] joaoalex:
Hi,

i'm using adb version, not minicom. The mini usb (for adb) is working properly.

Joãoalex
[Gen8 Android Development] remloup:
Can I install this rom on my tablet, this : http://images.anandtech.com/doci/5289/Archos70b.jpg ?
[Gen8 Android Development] minidou-77:
Looks like a gen9 right ?

If yes so no you can't
[Gen8 Android Development] bizcuite:
Agree!

Gen8 A70S2 (froyo version, mine) and Gen9 A70S2 (Honeycomb, like yours as i have seen on image) has many differences (bootloader).

Letama has bricked his tab (A70S2 froyo) with an installation of Honeycomb for gen9.

My rom is for Gen8, I don't know and i doesn't want to know if it works on Gen9 ^^' (Brick inside?)

New upload in progress, with bootloop fix, and debug for soft button include.

Installation of Rom has changed a little. I have include a data_ICS.img like CM7, and cleaned the init.rc.

The bootlogo has disappear (black screen during boot)

Bizcuite
[Gen8 Android Development] bizcuite:
UPDATE OK, SEE FIRST PAGE :D :good:

Bizcuite.

Found a bug.

The tab is always in performance CPU Governor.

I can fix bug with init.rc (i have delete a line who configure the CPU Gov. :s )

Or you can install voltage control or setcpu to fix the pb (CPU = 100% all the times = drain of battery)

EDIT

Add this line in init.rc before this line

write /sys/class/leds/lcd-backlight/brightness 255

:

# Enabling DVFS with interactive governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive

FOR A70S USER: PLEASE TOUCH HOME-BACK and others soft buttons who doesn't worked. I can see what's append with debug

Bizcuite
[Gen8 Android Development] remloup:
Ok thanks !
[Gen8 Android Development] bizcuite:
Have you tried to install it on your tab (HoneyComb version?)?

I will very surprised that it works..........

Bizcuite
[Gen8 Android Development] Guanfy:
Ok. Tried the new image, and still no TS and no soft buttons. Also added the cpu governor lines to init.rc. Bootlog is attached below.
[Gen8 Android Development] bizcuite:
Guanfy, can you remake another log with all kernel loading please? i can't see the loading of driver on this log! ;)

Just prepare the command, and when the select OS screen appears, press enter in the terminal.

I will have all log :)

Many Thanks my friend for your report!! You really help me

Bizcuite
[Gen8 Android Development] Guanfy:
What do you mean Biz? I followed the same process as I normally do. Select serial at the debug screen, activate minicom, then boot CM9. Did something not show up?
[Gen8 Android Development] bizcuite:
Before CM9 boot you must activate minicom :)

You have 2 screens before boot:

First select the type of debug

Second select the OS

When "select th eos" screen appears, press enter in terminal who has minicom command line.

You will have a real full log.

Bizcuite
[Gen8 Android Development] Guanfy:
This is my process:

1. select serial

2. Activate minicom in terminal

3. Boot CM9

That is what I always do. I'll try again, but I think the result is going to be the same.

**EDIT**

Log is now attached. I did notice this time more log popping up in the beginning. It might be due to this was the 2nd boot, because I also noticed the boot went much faster this time. Still no TS and still no soft buttons.
[Gen8 Android Development] bizcuite:
You will have this :

Bienvenue avec minicom 2.4

OPTIONS: I18n
Compilé le Jan 25 2010, 07:02:36.
Port /dev/ttyACM2

Tapez CTRL-A Z pour voir l'aide concernant les touches spéciales

<6>Bluetooth: SCO (Voice Link) ver 0.6
<6>Bluetooth: SCO socket layer initialized
<6>Bluetooth: RFCOMM socket layer initialized
<6>Bluetooth: RFCOMM TTY layer initialized
<6>Bluetooth: RFCOMM ver 1.11
<6>Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<3>Power Management for TI OMAP3.
<6>pm_dbg_init()
<6><6>SR: Nvalues not fused for1.2G, disabled
<6><6>SR: using test nvalues
<6>sr1_opp_margin[1]=37500
<6>sr1_opp_margin[2]=37500
<6>sr1_opp_margin[3]=37500
<6>sr1_opp_margin[4]=62500
<6>sr1_opp_margin[5]=62500
<6>steps added, volt will berecaliberated automatically
<6>SR2:Fused Nvalues for VDD2OPP1 10080703
<6>SmartReflex driver initialized
<3>registering Android USB device (Axxxxxxxxxxxxxxxxxxxxxxx013011)
<3>registering Android USB mass storage device (A70xxxxxxxxxxxxxxxxxxxxxxxx013011)
<6>Disabling unused clock "gpt2_ick"
<6>Disabling unused clock "gpt8_ick"
<6>Disabling unused clock "gpio2_dbck"
<6>Disabling unused clock "gpio3_dbck"
<6>Disabling unused clock "gpio5_dbck"
<6>Disabling unused clock "gpio6_dbck"
<6>Disabling unused clock "gpt8_fck"
<6>Disabling unused clock "gpt2_fck"
<6>Disabling unused clock "wdt2_ick"
<6>Disabling unused clock "wdt2_fck"
<6>Disabling unused clock "sha11_ick"
<6>Disabling unused clock "gpt10_ick"
<6>Disabling unused clock "uart2_ick"
<6>Disabling unused clock "sha12_ick"
<6>Disabling unused clock "uart2_fck"
..........................................

Bizcuite
[Gen8 Android Development] bizcuite:
FYI: when the screen "debug" passed i press directly on enter touch in my terminal. It' the better way to have a full log.

Ok i know what's append now...look

#define USB_DEVICE_ID_UNITEC_7_TS_V0	0x0709
#define USB_DEVICE_ID_UNITEC_7_TS_V1	0x070a

This is a part of code to attributes manufacturer to your TS

Look the code 0x0709, this is a bad value because the value in idc folder is:Vendor_227d_Product_

070a

In your log there is this:

7>usb 1-2.2: default language 0x0409
<6>usb 1-2.2: New USB device found, idVendor=227d, idProduct=0709
<6>usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-2.2: Product: USB Touch (Win7)

If you change the name like Vendor_227d_Product_

0709

.idc

or create anoother new file: USB Touch (Win7).idc with the same things write in others idc. :) reboot and It fix

Your touchscreen will work (not soft buttons, ok, but i need you again to click on it, and see if there are any lines about it (like "TOUCHEVENT .....")

I will change the value in the kernel tomorrow, i go to bed. See you tomorrow

EDIT: KEEP THE 0x70A file in your folder, tomorrow you will need it!!

Bizcuite
[Gen8 Android Development] bizcuite:
Guanfy, have you got any bootloop again?? Oo

Bizcuite
[Gen8 Android Development] Guanfy:
Nope, no bootloops ever since you cleaned the init.rc file. Also, I modded the name of the vendor27d file to 0709, and the TS is now working as you thought it would. Cheers for that.

**EDIT**

So I need to change the name of the file back? Or, should I make two copies of the same file and leave one of them as 0709 and the other 070a?
[Gen8 Android Development] bizcuite:
Make two copies one with 0x709 and another with 0x70a. I know now where is the pb. I fix it tomorrow in the kernel.

1h00 am here...go to bed now :D

Bizcuite
[Gen8 Android Development] bizcuite:
Can you make a test for me please? (EVERYBODY CAN MAKE IT, A101 include, i can compare result)

Boot your tab (minicom started)

unlock screen and press on soft buttons (all buttons: home - back - and recent app).

Looks if minicom react when you touch buttons and share me the log please :)

I made another kernel for all A70S (all 800x480 screen)

EDIT: You don't need another kernel, there is no problem with it, you have only a TS different

Bizcuite
[Gen8 Android Development] remloup:
No I don't try on my tablet ! I am afraid about brick ;) !
[Gen8 Android Development] Guanfy:
Biz, I assume you mean touch where the soft buttons are supposed to be? It doesn't make sense for me to look for buttons to push if I know they are not there. If you are wanting me to check and see if they are configured but not visible, I can do that.
[Gen8 Android Development] bizcuite:
Huuum....

Buttons are not presents or doesn't worked?

Can you make me a screenshot of your tab's interface please? (press long time power button and make screenshot).

Bizcuite
[Gen8 Android Development] Guanfy:
I don't have any soft buttons when I boot. The only things I have are the google search icon on the left of the screen, browser and the app drawer. That's it. I also don't have the screenshot tool built into my power menu either.
[Gen8 Android Development] wilsey:
I will install v0.5 now and get back to you :)

Anything else you want to try on A101 whilst am at it?
[Gen8 Android Development] bizcuite:
Ok, i think that's fix fastly, i have an idea since i fix TS working size.

But i need a little confirmation by a test.

Guanfy OR ALL OTHER A70 USER:

Have you got CM7 installed on your tab?

If yes try this:

-edit image with mount -o loop (like I had explained on others posts) / or boot with CM7 and edit init.rc with rootexplorer if you have it (it's not free)

-edit init.rc, and find at the beginning of the file: "loglevel 8" it must be at 3 in original file.

-save the file (and umount the image if you use this method)

-install initramfs for CM7 with minicom (i don't know if mine works correctly with CM7, try it)

-Reboot and report with minicom logs

My idea is too see the size of your TS when CM7 boots (i can't do this, my tab is different).

Because when i see A101, who hasn't any with soft buttons, has a size of 1024*552 (1024*600 by default). I think that's the cause of bug.

Your screen size is too bigger to display buttons -_-' :eek: i must verify this by this way and see which size i must include for your tab

Bizcuite

Bizcuite
[Gen8 Android Development] wilsey:
Are you using the new version 0.5? I have screenshot option on mine ?
[Gen8 Android Development] Guanfy:
I should be using the new v.5 I downloaded it this morning and set it up. I can double check later.
[Gen8 Android Development] bizcuite:
It's not necessary to make this report now, i haven't understand that soft buttons was not on tab, just not working :D

Just report bug who can blocked the use of tab (TS doesn't worked, bootloop, reboot all the time, or bug that i haven't seen)

I must fix all hardware bugs before.

Bizcuite
[Gen8 Android Development] bizcuite:
ALWAYS used the last version :) , if you don't do this i cannot make a correct debug.

Bizcuite
[Gen8 Android Development] wilsey:
Okay, Well i have made a log of bootup, Pressing soft keys, Apps panel and return etc

View attachment A101v0.5.txt

Few things to report A101 V.05

Rom is Fast, Very Fast! Less than 40second bootup!

Screen Orientation is fixed, Display is no longer upside down and rotation is perfect!

Well Done Bizcuite! Brilliant Job!! :D
[Gen8 Android Development] Guanfy:
I know biz, I know. I am 99% certain I am using v.5 because that's what I named my logs this morning and what I had to impatiently wait to download this morning when I woke up. Once I boot linux again I can check and confirm.

Just looked at my drive and I should be using the V.5.
[Gen8 Android Development] minidou-77:
Do you have a working touchscreen ?

mine is acting like a trackpad...
[Gen8 Android Development] bizcuite:
TS works for him:

surface size is now 1024x600, [B]mode is 1[/B]

Mode 1 = TS, mode3 = mouse

A101 Tab? or A70? you use CM9 V0.5?

Please put the model of your tab in signature, it's more easy for me to know which tab you have (i can't remember all tabs models that has everybody)

For A70 users: have you got the hour display in bottom right? can you wonfigure wifi, bluetooth, sound.... directly on start screen (not in settings)?

Bizcuite
[Gen8 Android Development] wilsey:
Yes i have proper working touchscreen..

Done
[Gen8 Android Development] bizcuite:
Just look in settings / about tab / build number and see if the compilation is date of yesterday :) i have 20121029.191943 (2012/10/29 at 19h19:43sec :) )

Bizcuite
[Gen8 Android Development] ArcSmurf:
Tried booting CM7 with your mincom but dont get anything helpfukl about screen size, the loglevel was already set at 3, all I see in the log are these few lines

<6>input: UNITEC USB Touch (Win7) as /devices/platform/ohci-omap.0/usb1/1-2/1-2:1.1/input/input5

<6>hanvon 0003:227D:070A.0003: input: USB HID v1.11 Device [UNITEC USB Touch (Win7)] on usb-ohci-omap.0-2/input1

<3>binder: release proc 1651, transaction 6354, not freed

re:For A70 users: have you got the hour display in bottom right? can you wonfigure wifi, bluetooth, sound.... directly on start screen (not in settings)?

All I have is the notification bar running along the top showing battery and time - nothing along the bottom of the screen
[Gen8 Android Development] Guanfy:
When I drag down the notification tab, I have access to wifi, bluetooth, gps and sound. Otherwise, just battery icon and wifi icon in the notification area. Also confirming that I am running v.5
[Gen8 Android Development] bizcuite:
there is a misunderstanding You must set the loglevel to 8 to have more details :)

Another thing, i don't remember if there is Dev tools in application menu?

You can use it to see the size of screen. (dev tool=>configuration on my ICS)

ok Guanfy, thanks, then just soft buttons on bottom left are not displayed.

A screenshot of the interface can help me, if anybody can make this please!!

Bizcuite
[Gen8 Android Development] ArcSmurf:
OK - will change and reboot :)
[Gen8 Android Development] bizcuite:
I think that i have the solution to fix it.

I have enter in google "how know heighpixel android" and i have seen this article :)

http://bin-liu.blogspot.fr/2012/03/how-to-hide-and-display-navigation-bar.html

I think that i was on good way, when i said that the working size of display wasn't good :

Very interesting to fix A70S soft button bug :)

I hope fix it tomorrow or Thursday (no time to dev this evening)

Bizcuite
[Gen8 Android Development] ArcSmurf:
log file - still cant see any screen size info
[Gen8 Android Development] bizcuite:
Effectively, nothing help us in this log.

It's not necessary to make log ATM, i need to have screenshot of the interface of A70S tabs.

I will try to modify code to have statusbar on A70.

After see the log of Guanfy, i know why you haven't the statusbar.

Your tab is considering like a Phone for android :D

A70S log:

<4>D/PhoneStatusBar( 1509): addIcon slot=bluetooth index=4 viewIndex=0 icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200b8 level=0 visible=false num=0 )
<4>D/PhoneStatusBar( 1509): addIcon slot=alarm_clock index=16 viewIndex=3 icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020093 level=0 visible=false num=0 )
<4>D/PhoneStatusBar( 1509): addIcon slot=sync_active index=2 viewIndex=0 icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200ff level=0 visible=false num=0 )
<4>D/PhoneStatusBar( 1509): addIcon slot=sync_failing index=1 viewIndex=0 icon=StatusBarIcon(pkg=com.android.systemui id=0x7f020100 level=0 visible=false num=0 )
<4>D/PhoneStatusBar( 1509): addIcon slot=volume index=9 viewIndex=4 icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200e9 level=0 visible=false num=0 )

A101 log:

<4>D/TabletStatusBar( 1449): hiding the MENU button
<4>D/TabletStatusBar( 1449): refreshing icons: 0 notifications, mIconLayout=com.android.systemui.statusbar.tablet.NotificationIconArea$IconLayout@40d2e9c8
<4>D/TabletStatusBar( 1449): Set hard keyboard status: available=false, enabled=false
<4>D/TabletStatusBar( 1449): refreshing icons: 0 notifications, mIconLayout=com.android.systemui.statusbar.tablet.Notificat

I need to fix it, i must see how, and why your tab is considering like phone and not tab....

Bizcuite
[Gen8 Android Development] wilsey:
Bizcuite, i have just discovered bug, and it effects all tabs! and is the source of the softkey problem... i think

Without a Density set in Build.prop everything is perfect, Softkeys etc

View attachment 1442850

View attachment 1442851

Setting a density of any size -

example : ro.sf.lcd_density = 240

Softkeys disappears and a different layout appears

View attachment 1442848

View attachment 1442849

So, To test, Anyone who has probs with the Softkeys remove that line from Build.prop and test ??
[Gen8 Android Development] Guanfy:
My build.prop does not contain any line that has density information. Nice try though.
[Gen8 Android Development] bizcuite:
YOU ARE GREAT MAN!!!!! :D

Guanfy can you try this!!!

If it works i make another image, and share the new build.prop.

EDIT:

Guanfy, you have killed me with your post lol

But i don't know why ro.build.characteristics:Tablet isn't take in consideration???

Ganfy, Can you try to put in comment the line please (just add "#")

Bizcuite
[Gen8 Android Development] wilsey:
Which layout do you have? First or second? You notice the first 2 screens have interface and softkeys at the bottom,

second ones have interface at top and right, and softkeys gone.