yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] Mavasilisk:
It will be very hard to port 3.0 kernel. Quarx, the developer for Motorola Defy who actually won #1 developer in XDA is facing many difficulties porting 3.0 kernel. Ofc the major difference is that we have an open bootloader. Anyway its gonna be hard and it will require a lot of debugging and the whole community will help to debug it.
[Gen8 Android Development] PotentChili:
Dang. Shame they won't help us legacy users out. The device isn't _that_ old. But I'm aware how much things have changed since the Gen 8. I'm a N7 user myself now, but don't want to give up on my weaker guys.
[Gen8 Android Development] wilsey:
I shall try that now, although i thought i had it set to unlimited characters ... Not the greatest with linux :)
[Gen8 Android Development] bizcuite:
Unlimited characters yes, but you need down policy :)
[Gen8 Android Development] wilsey:
lol am getting there, for now, i can read surface size as 1280x720, mode is 1

try and get a log as soon as possible :)
[Gen8 Android Development] wilsey:
Here is another minicom dump for the A101...

Hopefully got it now
[Gen8 Android Development] bizcuite:
It's the problem to have a working TS on A70S, you must have 800x600, i don't know ATM how change this resolution i need help for this (I need external eyes and hands to have debug).

Can you if possible, write all files present here:

/sys/devices/virtual/input/event3

A copy/paste here the text include on all files.

A101 touchscreen has always offset or works well?

Bizcuite
[Gen8 Android Development] wilsey:
I cant help with A70s as only have the A101

/sys/devices/virtual/input/event3

event3 folder isn't available

I have /sys/devices/virtual/input/input2/event2 ?

And yes, offset still present
[Gen8 Android Development] nikunj87:
After the new init.rc from page 9 the cat on A70S is still the same

root@android:/sys/devices/virtual/input/input2/event2 # cat /sys/devices/platform/omapfb/graphics/fb0/modes

U:800x480p-74

The Directory and file output from A70S is sligtly different to what you have mentioned

pwd

/sys/devices/virtual/input/input2/event2

ls -l

-r--r--r-- root root 4096 2012-10-21 19:09 dev

lrwxrwxrwx root root 2012-10-21 19:09 device -> ../../input2

drwxr-xr-x root root 2012-10-21 19:09 power

lrwxrwxrwx root root 2012-10-21 19:09 subsystem -> ../../../../../class/input

-rw-r--r-- root root 4096 2012-10-21 19:09 uevent

cat dev

13:66

cat uevent

MAJOR=13

MINOR=66
[Gen8 Android Development] wilsey:
The screen resolution on the A101 is 1024x600 16:9 as far as i can remember?
[Gen8 Android Development] ArcSmurf:
Finally got round to tying new files, can boot but not able to see any difference with previous version.

According to the specs my A70S should have a display of 800x480 - why are you after 800x600?
[Gen8 Android Development] bizcuite:
F__ck you're right, i thank that the display have 800x600.

The value insert in init.rc change nothing. I must try another way to solve bad resolution for TS.

Bizcuite
[Gen8 Android Development] bizcuite:
new update V0.2

Ok, NEW UPDATE v0.2 for all tabs. i hope that TS works now. See first page

I have forgotten to install binaries from archos and update init.rc. I hope that there is an effect!! My tab doesn't needed this files ro works...

A101 users installs init.rc make for you.

Please report and minicom logs are welcome:)

Bizcuite
[Gen8 Android Development] wilsey:
Just downloaded the new openaos-cm_V0.2.img.tar.gz

inside image name is openaos-cm_V0.1.img

same as openaos-cm_V0.1.img.tar.gz

Both same size? Mistake or good to install ?
[Gen8 Android Development] Guanfy:
You need to place the .img file on your tab, and make sure that the filename matches the filename of the .img that you have in your menu.lst file. If the names don't match, you won't be able to boot.
[Gen8 Android Development] bizcuite:
The name is same the include is different. Just rename it like you have defined in menu.lst. and transfer it to root of sdcard :)

I was tired and have forget to change the name in the tar.gz file.

I alway use the precedent file to make change.

Bizcuite
[Gen8 Android Development] nikunj87:
Hello, just managed to boot using the new image on A70S. Still the touch screen offset is present. I am attaching the boot time logcat. It still has on line 443 the same thing i.e.

I/InputReader( 1327): Device reconfigured: id=3, name='UNITEC USB Touch (Win7)', surface size is now 1280x720, mode is 1

I also noticed the following

root@android:/ # cat /sys/devices/platform/omapfb/graphics/fb0/modes

cat /sys/devices/platform/omapfb/graphics/fb0/modes

U:800x480p-74

Have I missed anything? I am attaching the logcat for your reference.

Thanks,

Nikunj
[Gen8 Android Development] bizcuite:
Thanks for report!!

Can i have the begin of log please :) i need to know if TS_ENEBLE starts correctly!!

And can you try to put it by adb or a terminal installed on tab:

chmod 0775 /system/bin/tstest/*

exec /system/bin/tstest/usb_ts_calib

And see the out:

I have "touchscreen calibration failed", but my TS is different, ùaybe there is a result with your tab.

You can push the init.rc too it contains all commands says here.

Bizcuite
[Gen8 Android Development] nikunj87:
Thanks for the reply. I must say I very much appreciate your efforts and your patience to sort this issues.

I have run the following commands from adb -->

root@android:/ # chmod 0775 /system/bin/tstest/*

chmod 0775 /system/bin/tstest/*

root@android:/ # exec /system/bin/tstest/usb_ts_calib

exec /system/bin/tstest/usb_ts_calib

coasia_find_tsp : looking for tsp in mode 0. (6 known tsps)

coasia_ts_calib : no tsp in app mode.

coasia_ts_calib : exit (2).

Touchscreen calibration failed!

I am not sure how to get adb from the beginning. Can I just type adb logcat and boot?

Thanks,

Can
[Gen8 Android Development] wilsey:
Here is a minicom dump of A101 with v2 release, with the new init.rc

Screen still not correct size, Bizcuit you have the patience of a saint!! Thank you for your on going efforts!
[Gen8 Android Development] bizcuite:
I have a patience, because i want that CM9 works on yours tabs :)

I can have it in my side (my TS works very well and it was more easy to debug, i have stop all work on my tab to debug yours), and debug alone for my tab, but i want to share it and find another challenge :)

I need help of all people on this forum to have all information, i thank all guys who participate and hope that i will see the end in few time (for TS, the rest is another history :) )

To return to our problem, i have make another init.rc for A101 and A70S.

I have include the start of the service tsenable (forgot again, sorry i can't sleep a lot ATM and my eyes and brain are not right, all my family are ill :p ).

Can you make me a report (again i know, but i make 20 report by day with my tab).

Thanks again!!

Bizcuite

PS: if it doesn't worked (no boot), edit init.rc with your computer and erase :

service tsenabler /system/bin/logwrapper /system/bin/tstest/usb_ts_getinfo

class core

oneshot
[Gen8 Android Development] bizcuite:
I don't know if it works, but i have forget to remove one thing on last attachment.

You can sse all files but this latest are better for me.

Bizcuite
[Gen8 Android Development] bizcuite:
Are you really surprised??!! They cannot payed any devs, to work on a kernel who will be never released, and useless for them (no $$ earned with this kernel).

Thanks ^^'

I don't think that i have the experience to port our kernel, to a 3.0.

But i have tried to update DSP driver from 2.6.37, compilation is a success but the driver crashed when i call it with cexec.out (the configuration is ok, and the driver is load without errors).

I will update the kernel, but i keep the 2.6.29 base.

Our kernel can work correctly with ICS ATM. But all ICS options cannot be activated (HW renderer, MTP protocol...).

LAST BUGS FOUND:

-With Kernel: CPU freq becomes crazy when you plug/unplug the USB cable (it may explain the lags/freeze).

I think that the second way that i make to have step 5 activated crash the driver. I will revert back the modification and return to first way to OC.

-Youtube lags will be fix in normal quality (not in HD again). My first version of CM9 was a smooth video.

I have tried to reinstall it, and i see that the audio buffer is not the configured properly with new audio HAL.

I have set the buffer to 4096 (actually it's calculate with sample freq), and video is more smooth, around 22 frames/s with modification - 16 frames/s before modification.

I must try to see which value must be apply to fix youtube lags and video hard decoding.

I will upload a new kernel in few days to fix USB/frequency crashes.

Thanks for all!!

Bizcuite
[Gen8 Android Development] someone755:
Actually yes, I am surprised... That wasn't a reply from Archos, but from the developers themselves (yeah, I know, I made a mistake in my previous post)...

For the 'Youtube lags', I always get this 'cannot play video, retry?' error (that is, if YT doesn't crash)... No video works, though the app runs quite smooth...
[Gen8 Android Development] Mavasilisk:
You cant watch it in HD thats why you get this error. Try disabling HD and the video should play.
[Gen8 Android Development] bizcuite:
Ok to have 720P video playing, just edit the archos.inc.bak, and delete the comment charactere (#) on the line OMX.TI.720P.DECODER

Rename the file like this: "archos.inc" and reboot. You will be able to play 720P vid.

Wait the next release to have 720P video. It's not necessary ATM, because it lags more than normal codec (h263 codec).

Bizcuite
[Gen8 Android Development] Bingoig11:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

On my side 101 becomes more and more unstable. It is regularily that when I launch an app, it freezes and hot reboot (directly to the android splashscreen).

Don't know what happens but quite annoying since I cannot reach the device with adb.
[Gen8 Android Development] Mavasilisk:
The only problem with stability I have is when I download and open some heavy app from the market (I always test with Bad Piggies) the tablet freezes at the loading screen and becomes unresponsive then after 30s-1min reboots.
[Gen8 Android Development] bizcuite:
Ok thanks for your report, i will modify the kernel and revert back the modification.

Bingoig, which app you used when the crash appears?

I will see this tomorrow, I must see this evening video lags with youtube.

With H263 codec the video playing is smooth, but not with 720P.

Bizcuite.
[Gen8 Android Development] Bingoig11:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

Sometimes it simply crashes by launching XDA app, 20minutes, AppyGeek or Mobo Player...Even with playstore it may crash. The app hangs, the tablet becomes unresponsive and after 30s to 1 min reboots.
[Gen8 Android Development] bizcuite:
Ok i see, but i have no pb with moboplayer. It comes when you only launch the apps concerned (and all use the network).

I think that Network crashes the kernel (kernel panic, i can have a logcat before the reboot with linux, maybe windows cannot, i don't know your OS)

I have an idea, but i must understand what's append.

Bizcuite.
[Gen8 Android Development] Mavasilisk:
Video player has never lead to a crash to me. I dont think your theory is right cuz Bad Piggies is not using the network but when launching it through the PlayStore it might be the problem. The problem is not only in the last build, I've had it since the beginning and its getting better and better now cuz anything could crash the system before. Keep up the good job.
[Gen8 Android Development] bizcuite:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

Are there ads in the game?
[Gen8 Android Development] Bingoig11:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

Indeed seems that all apps needing network are causing the crash on my side, will try again with mobo to be sure that the issue is not present when network is not needed.

---------- Post added at 08:33 AM ---------- Previous post was at 08:31 AM ----------

Bad Piggies is a game ;)

Cannot report on games on my side since I don't play games on the tab.
[Gen8 Android Development] Bingoig11:
Biz I perfomed some tests, and you're right, the tablet is crashing only when launching apps that need network. Tried with Mobo, QuickPic and not a single crash.

Hope this will help.
[Gen8 Android Development] bizcuite:
You confirm my doubt :)

I have remake today another clean kernel, without all tweaks, and same result with cpuspy (it contains some ads, and required internet).

I see how fix this problem ATM.

Bizcuite
[Gen8 Android Development] bizcuite:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

Ok guys.

I think have solved the pb of crash/reboot with wifi driver.

A module for ip v6 seems crash the kernel.

I must again test more deeper the kernel with the new OS image files.

I will upload a new version tomorrow, the fix for youtube will be apply on it.

FYI sources (it lakes only folder hardware/ti from cm10) are availables on my git. See my signature.

I will made a how to. To compile cm9 yourself :cool:

Bizcuite
[Gen8 Android Development] Bingoig11:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX

Thx a lot Biz you rock!
[Gen8 Android Development] Mavasilisk:
You the man! My 70S is charged and ready for testing on my desk.
[Gen8 Android Development] bizcuite:
Re: [AlphaTest] ICS for GEN8 based on CM9 - ALPHA - V1.6 - Bug Headphone FIX
[Gen8 Android Development] someone755:
You have at least 3 testers right here;

Me, Mavasilisk and Bingoig11...

Me and Bing can test everything on the A101IT, Mava has the 70S, and you can test on your own tab :P

There are probably more people on this thread that can test the smaller A43 and various variations of the Gen8 devices...
[Gen8 Android Development] eymas:
My A43 died sadly, else I could've continued.
[Gen8 Android Development] 4qu4rius:
I'll be eager to test also on my A101IT. If there's a way top have a stable (i.e. no crash for no/obscure reasons) ICS, I'll jump on it.
[Gen8 Android Development] bizcuite:
I have no crash since yesterday, for me it seems ok.

I can't assure at 100% that the tab is stable like a rock, but it's enough (for me) to use it many hours without crash.

<4>D/BluetoothEventLoop( 1269): Device property changed: 0C:xx:xx:xx:xx:84 property: Connected value: true

BT works, but cannot be power up by the menu.

I must start this command to have it activated.

hciconfig hci0 up

Can you try this with a terminal or by adb, to see if it's suffisant to have BT?

I have made some modification on init.rc, maybe it works without.

Bizcuite
[Gen8 Android Development] Bingoig11:
So Biz, did you released a new Kernel or should we compile it using your github?
[Gen8 Android Development] bizcuite:
I will share it, this evening i think, but i prefere that you (all users) download and try all files in same time.

Have you tried the command tp have BT?

Bizcuite
[Gen8 Android Development] Bingoig11:
Ok so I must learn how to compile lol
[Gen8 Android Development] bizcuite:
It's not complicated, i hadn't never compiled any rom or kernel before February of last year.

FYI the kernel is not updated ATM because code changes every minutes when i work on it ;)

Just install anubuntu 12 or 10.04 (64Bits) and download the last toolchain for ICS (02-2013 if i remember well) from Linaro website.

After i will upload the code if the test is ok.

Bizcuite
[Gen8 Android Development] bizcuite:
Huum after many hours without a crash. Kernel panic is back :banghead:

I will upload the new files this evening (count 3hours) even if the crash are always here but less than before.

Youtube will work with this version.

Bizcuite
[Gen8 Android Development] bizcuite:
Hi guys!!

New update V1.8 for test:

PLEASE INTALL THIS ROM ONLY IF YOU HAVE INSTALLED THE LAST KERNEL V1.8

A101: http://www.mediafire.com/download.php?ym6imkhva8iil5z

A70S/43/70S2 (70S2 can set the dpi to 160): http://www.mediafire.com/download.php?9ch66vtddz5wkof

Changelog:

-Youtube works in low quality (correct FPS)

-Noise on sound can appear sometime, but only when the driver is closed, i must work on Audio HAL again to adjust the buffer correctly.

Please says me if you had noises with the v1.7 test (if you had installed it)

-UI and core speed improved

-Boot is more speed

-Lots of modules has been deleted (kernel panic comes partially from here)

-BT can work if you enter this command: hciconfig hci0 up in a temirnal (i haven't try a transfert or tethering works)

Kernel :

-CPU alignment has been activated

-Compcache deactivated

-Many tweaks has been included (kernel panic cannot come from this tweaks, i had test this possibility).

EDIT --- SWAP HAS BEEN DEACTIVATED, I WILL UPLOAD ANOTHER VERSION OF LY KERNEL THIS EVENING!!

Bizcuite
[Gen8 Android Development] 4qu4rius:
Thanks Biz !

I will test this kernel & rom this evening.
[Gen8 Android Development] bizcuite:
A101: http://www.mediafire.com/download.php?ym6imkhva8iil5z

A70S/43/70S2 (70S2 can set the dpi to 160): http://www.mediafire.com/download.php?9ch66vtddz5wkof

UPDATE:

I share a kernel with swap activated.

And i have tried another type of swap, it works better than older.

How i have made it:

Just download a terminal or by adb, and enter those lines:

rm /swapfile

dd if=/dev/zero of=/swapfile bs=1024 count=32000

mkswap /swapfile

swapoff /dev/block/ramzswap0

swapon -a /swapfile

To explain:

#erase old file if exist

rm /swapfile

#create another file directly in the image file,

you can choose the destination of the file like: /mnt/storage/swapfile or /mnt/sdcard/swapfile if you want to try, don't forget to change the others lines

dd if=/dev/zero of=/swapfile bs=1024 count=32000

#configure it like a swap

mkswap /swapfile

#disable old swap file (partition in /dev/block)

swapoff /dev/block/ramzswap0

#Activate new swap

swapon -a /swapfile

I have a gain of 100~200 points with Quadrant standard (my best score is 1999 at 1.1GHz :) )

The stability of the tab is really better. No crash since yesterday.

Bizcuite
[Gen8 Android Development] athankar75:
Very exciting! For me the ultimate test about performance, is the Temple Run which is playable, but a little buggy in the stock fw. And i wonder how far is a beta release... ( i know is forbiden this kind of question)
[Gen8 Android Development] bizcuite:
I hope that it will be ok for all others users :D

I am really happy that crash has disappear, not completly. I have no crash since this morning, only yesterday evening but the kernel panic has can not be confirm, and i try to crash it :) , but it's really better than before.

Maybe another parameters can solve completely the problem, i wait the reports from users and will work again on it if it's not enough stable.

Just to add that you can up the size of swap with this line:

dd if=/dev/zero of=/swapfile bs=1024 count=32000 (=32MB)

Just change 32000 by 48000 or 64000 (NOT MORE, SEE the SIZE available on the image file before apply the change ;) ) if you think that it's not enough

If you are satisfy by the change it will be include on the next release

Bizcuite
[Gen8 Android Development] Mavasilisk:
So, the swap isnt activated by default and we have to enable it?
[Gen8 Android Development] bizcuite:
Active by default:

[U][B]Without modification[/B][/U]
[COLOR="Red"]1|root@android:/ # cat /proc/swaps
Filename	Type	Size	Used	Priority
/dev/ramzswap\040(deleted) partition	61432	516	-1[/COLOR]

[B][U]I apply the modification[/U][/B]

root@android:/ # rm /swapfile
root@android:/ # dd if=/dev/zero of=/swapfile bs=1024 count=32000
32000+0 records in
32000+0 records out
32768000 bytes transferred in 1.478 secs (22170500 bytes/sec)
root@android:/ # mkswap /swapfile
Setting up swapspace version 1, size = 32763904 bytes
root@android:/ # swapoff /dev/block/ramzswap0
root@android:/ # swapon -a /swapfile

[B][U]With the modification[/U][/B]
[COLOR="Red"]root@android:/ # cat /proc/swaps
Filename	Type	Size	Used	Priority
/swapfile file	31976	120	-1
[/COLOR]root@android:/ #

Bizcuite
[Gen8 Android Development] Mavasilisk:
So we dont have to type the command in Terminal Emulator?
[Gen8 Android Development] bizcuite:
No you don't.

It's only if you want to change the type/destination/size of swapfile. It's just a test, if you don't want to do this modification, you can, the swap is active by default.

It was just a method to see if the swap is used correctly.

Bizcuite
[Gen8 Android Development] Bingoig11:
So to be clear I should:

Download the latest zImage 1.8

Download the 1.8 ROM from your mediafire link

And use initramfs and data_img from the first post right?
[Gen8 Android Development] Mavasilisk:
I am gonna test it now. Update the first page (OP) so people will be up to date. ^^
[Gen8 Android Development] bizcuite:
Yes you're right!!

after that i have a good report from users ;)

Bizcuite
[Gen8 Android Development] Bingoig11:
Great! Downloading now and going to test today ;)

Will report asap.
[Gen8 Android Development] Mavasilisk:
I've noticed slow app installation when I install apps from my SDcard. Gonna investigate I'm not 100% sure now. Bad Piggies (the game that I use to test the crashes is loading now but I cant play it cuz it force closes due ot lack of RAM I think. "I dont really want to play it cuz its just for the test").
[Gen8 Android Development] bizcuite:
Ok, thanks.

For slow app installation, maybe a scan was in progress during the installation. A new image file required a scan of media files (screen/video....).

Try later with an app which seems you long to install.

Look if any app who used internet crash the tab. My tab crashed when i used Quadrant, XDA dev, github, Webbrowser (default or opera beta).

I will see how optimise the network by sysctl configuration.

http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening/

Bizcuite
[Gen8 Android Development] Bingoig11:
Just installed the kernel, image, a clean data image, first boot.

First impression: WoW! It much faster than previous build!!! Smoother, faster, no lag.

Going to install gapps and then apps, remove apps I don't care (email, movie studio, appolo, news and weather etc.) and I will test further.

But if it stays as fast as now, I will love this 1.8!!!

Edit: And after the screen went off, I pressed the power button and noticed that after about 3 sec, wifi is connected again! Great work Biz!!! Great improvement!
[Gen8 Android Development] Mavasilisk:
App installation isnt slow. I waited a bit and made a restart then the device was silky smooth.

Biz, did your tab crash now by "My tab crashed when i used Quadrant, XDA dev, github, Webbrowser (default or opera beta)." or you talk about the crash you had last night?
[Gen8 Android Development] andbroe:
Hi to all, will also do some testing tomorrow. Will let you know my results asap.

Good night for now :)
[Gen8 Android Development] 4qu4rius:
Currently reinstalling a couple of things. no crash for now. Haven't played with swap yet.

It feels responsive for now, but with gmail account sync, maybe it will be a little slower.

question:

Why is 64MB the maximum for swap? Web browsing will need more than that.

---------- Post added 6th April 2013 at 12:26 AM ---------- Previous post was 5th April 2013 at 11:48 PM ----------

.... and ... FIRST CRASH \o/

Using the Yatse app (an XBMC remote app). I was stressing it a bit (indexing a big music library).

Will test more this week-end.

Congratulations & Many thanks, Bizz
[Gen8 Android Development] Mavasilisk:
I got 2 crashes cuz I was stressing it a lot. The first one occured when I entered Settings > More > Hotspot. The second one occured after entering this place again (It didnt freeze when I opened it) and after that I opened my browser and the system crashed again.
[Gen8 Android Development] bizcuite:
Thanks for your report. The crash comes from network.

I will try to stop netstat services to see. The system is in fault state when netstat is tell. Also I have a way ro backport xt qtguid in the kernel to have netstat

The crash must come here.

Bizcuite