yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] $aur0n:
You can't remove other devices (like A32, A101 etc) from Linux kernel config because Archos made bad dependencies for different parts of the kernel and even 70S requires some USB kernel code, it's only compiled when you choose A101 - so either you clean it up manually, or you are required to leave checked other archos devices :/
[Gen8 Android Development] EleCtrOx666:
Thanks for this howto, this is gonna be useful for me, should be a sticky.
[Gen8 Android Development] jbradshw:
OK the make kernel-build worked without errors. Now I'm just questioning the command 'cd ..xyz../..zyx../' I don't have any files or directories called that, and running that reports the same. Can I just skip that and do the make cross?
[Gen8 Android Development] chrulri:
@jbradshw that's just a sample if someone wants to crosscompile something (e.g. some linux library or application like linuxtv-dvb-apps or w_scan)

you don't have to do everything mentioned in the howto. it's a HowTo not a HaveTo ;)
[Gen8 Android Development] jbradshw:
Ahh OK. So I guess I'm done then. I haven't installed the SDE on my Archos yet, but what's the final 'thing' that came out of this procedure that I'll be placing on the tablet?

Also I don't have an microSD card yet, and I know there was talk of putting stuff on there - can this be done using just the internal memory (8 GB for me)?
[Gen8 Android Development] chrulri:
you have to install the SDE to install a custom kernel. follow this guide: http://xdaforums.com/showthread.php?p=10157349#post10157349
[Gen8 Android Development] jbradshw:
Yeah I saw that guide, my question is where is the zImage and initramfs.cpio.gz that I assume was part of the compiling I just did? And also if a microSD card is needed for any of this?
[Gen8 Android Development] chrulri:
no microsd is needed

initramfs.cpio.gz can be extracted from current installation ( /dev/mmcblk0p1 -> init ), read this: http://xdaforums.com/showthread.php?t=880321&page=5

zImage is compiled at this location: $ARCHOS/gen8-gpl-froyo/buildroot/linux/arch/arm/boot/zImage
[Gen8 Android Development] desiresush:
Shouldn't it be

cross make kernel-build

?

Here I have to use cross, which makes sense to find gcc arm binaries.
[Gen8 Android Development] chrulri:
No you don't. In case of building stuff which comes with the gen8-gpl-froyo.tgz (e.g. kernel) the env vars are set up by the supplied makefiles
[Gen8 Android Development] desiresush:
If I don't use cross, here is what I get:

ubuntu@ubuntu-VirtualBox:~/archos$ make kernel-build

make -C gen8-gpl-froyo/linux mrproper

make[1]: arm-linux-gcc: Command not found

make[1]: Entering directory `/home/ubuntu/archos/gen8-gpl-froyo/linux'

make[3]: arm-linux-gcc: Command not found

But using cross it compiled fine, though I followed carefully your directions !
[Gen8 Android Development] desiresush:
Apparently I was too frightened by the error messages, since it does work in the end :)

Thank you very much, hope some good things come from this !

Cheers !
[Gen8 Android Development] chrulri:
Yeah it's just an annoying bug, it doesn't hurt because "mrproper" only cleans the build directory and doesn't need compiler at all :)
[Gen8 Android Development] shh0:
2.6.29 kernel for Froyo?

Does anybody know, why Archos releases the SDK with a 2.6.29 kernel?

Shouldn't 2.2 Froyo be a 2.6.32 kernel?
[Gen8 Android Development] chrulri:
Maybe because they use a 2.6.29 kernel for froyo ;)
[Gen8 Android Development] $aur0n:
Probably because of laziness (witch is not good) - they would have to probably rewrite some Archos specific parts to fit changed 2.6.32 kernel. And they just backported some stuff and mainly changed interface (that is what is called "Android" mostly) to 2.2.
[Gen8 Android Development] shh0:
Hmm, I'm just browsing through 2.6.29-opml1 and it doesn't look very familiar to vanilla kernels. ;o)

I understand, why they want keep a working kernel and just backport fixes.

But this kind of old kernel will be problematic for us, if we want to backport some new killerfeatures[tm] or drivers for new hardware to our Archos device.

I'm not sure if ARCHOS itself is actively developing a kernel-branch for their hardware.

Could it be, they just toke some standard-kernel of the OMAP-project? Or some TI-release (so many modules seem to be TI-specific)?

Has anybody compared the kernels from archos and TI/OMAP already?

If they're identical, perhaps TI or the OMAP-project provides us a fresh kernel sometime.
[Gen8 Android Development] xkdm:
Hi,

I want to compile the ipv6 kernel module for the 2.0.54, kernel 2.6.29-omap1.

Is the link on the howto is the good one for me : gen8-gpl-froyo.tgz ? ( I can't post url )

Or there are not difference between 2.54 and 2.71 for this link of source ?
[Gen8 Android Development] chrulri:
I don't know if the gpl releases differ :(
[Gen8 Android Development] xkdm:
Ok :(

I'll try to look the files tommorow, i found the content of the source here [cantposturl]gpl-source-code-sde-for-archos-gen8-devices/, for 2.0.54 and 2.6.29 kernel, i'm going to look if i can compare with the current source.

Yesterday i tried to look at this, but i don't have enough space for my vm.. 3 Go is not enough for : debian minimal install and archos source ( when i compile )

I'll try with 5 Go

Btw thanks for your howto, it's very usefull ;)

Edit ( 01/24/11 ) : I can't post message on developper forum ( cf new Announcement thread ), but I can edit this one.

So, yesterday i followed your howto, and i just looked the date of creation of the gpl release.

Result :

File created the 1 december 2010 !

We can conclude there's no difference, cool :)

Now i've got a beautiful kernel and ipv6 module, I'll search how to run it all :p

So, debian minimal with 5 Go is enough. When compilation is finished, i've got 1.3 Go free space.

Thanks again for your howto !
[Gen8 Android Development] stephen44:
can you explain this some more - i have built my ubuntu environment and want to play around with some dvb driver building :D - bet you can guess which one

I know you will fix it for me - but i thought i would teach myself something - since i am on this big linux dist trip :eek:
[Gen8 Android Development] chrulri:
what do you need the cross script for?

for kernel hacking, so I think, you should be good with "make kernel-config" and "make kernel-build"
[Gen8 Android Development] stephen44:
don't i need this to just compile the xc5000 driver ? from the xc5000.c & .h file in a linux distr ? )plus includes i guess)

maybe this is beyond me - where can i read up on how to do this ? - gotta start somewhere
[Gen8 Android Development] chrulri:
@stephen44 just follow the howto, it shows you how to get the sources and how to build a kernel respectively the kernel modules. xc5000 is already included in the kernel sources provided by Archos. You just have to enable the module in the kernel configuration (run "make kernel-config" to edit kernel configuration) and then build the kernel and modules by running "make kernel-build"
[Gen8 Android Development] stephen44:
yes - i have done this already

i found some different versions of the xc5000 sources and wanted to try and compile those to a .ko file - to see if it made a difference - just playing and trying to learn - so don't worry

I'm assuming teh xc5000.ko - is bad - hence the error we are getting trying to insmod ?
[Gen8 Android Development] chrulri:
so you may just patch/edit the kernel sources and do a "make kernel-build" again :) happy hacking! :p

yes, something seems to be wrong with the xc5000 :o
[Gen8 Android Development] stephen44:
got it .... is the xc5000 fixable ? - or should i return it ? (probably shouldn't go in this thread )
[Gen8 Android Development] chrulri:
I think so.

you mean the device? that would be easier but life's a b!tch and who want's to do easy stuff? where's the fun at? ;);):D

so if we have clarified the kernel building stuff then we should switch back to the dvb thread :)
[Gen8 Android Development] wdl1908:
You should add

echo export BOARD=g8_arm >> ~/.bashrc

to the prepare environment this helps for the buildroot/packages build

And like _nz_ said in this thread http://xdaforums.com/showpost.php?p=9719184&postcount=16 the make menuconfig in buildroot is broken.
[Gen8 Android Development] chrulri:
Umm.. no it's not. it's working pretty well using my makefile from the thread you are referring to. you just have to copy linux.config to .config before make menuconfig and back after it. that's what my makefile does.
[Gen8 Android Development] wdl1908:
No No No I'm referring to the buildroot not the linux kernel compile.

I'v added the export BOARD=g8_arm to my bashrc and can build package except that the menuconfig for the buildroot does not work properly.
[Gen8 Android Development] -NRG-:
Could someone post me the original /system/etc/init/init.A70H.rc

Seems with a full reset and an new aos rom the init.a70h.rc isn't replaced by it's origninal :S

Thanks in advance!
[Gen8 Android Development] wdl1908:
Strange that file is normally in the squahfs and you would not be able to change it what root system are you using?

If you're using the chulri's system go to the directory /mnt/system/unionfs/system/etc/init and remove the file it will then revert to the original.
[Gen8 Android Development] $aur0n:
Churli - have you checked/know if there is actually any difference between doing

And I'm not talking about config stuff - but the binaries will be the same or not?

I'm now trying to find out why there is some instability in Uruk kernels. People are doing various test (mostly using games ;) ). We can't find any special condition when it freezes - but it looks like Archos binary kernel is immune to those freezes. So either I'm doing something wrong with kernel compilation, or Archos gave us not exactly the same kernel source...

I've tried so far kernel compilation with Archos toolchain, Androin NDK toolchain - binaries compiled with both are certainly different but both freezes.
[Gen8 Android Development] chrulri:
is it really the kernel which freezes or is it some really really native system binary from archos which does special calls :confused:

regarding your question about the two make calls: you can answer the question yourself, do a make that way and do a make the other way and diff the binaries. they should be the same, aren't they?
[Gen8 Android Development] $aur0n:
I've checked and they are different wih the same config. Kernel was compiling during writing this post. Anyway ill look tomorow at makefiles - just though you perhaps know.

There are really few processes on linux that can crash system - it usally kernl or somehing kernel releated (graphics, network - something with direct access to hardware)
[Gen8 Android Development] chrulri:
the native android subsystem including all archos specific hacks. we don't have the source so we have no idea whats happening.

have you also tried enabling all of the debugging features in the kernel to get more information of what's happening when the kernel crashs (don't know where exactly it is, but best would be to turn off the automatic restart on kernel panic)
[Gen8 Android Development] $aur0n:
In this case there is no restart - just freeze. I've tested today kernel compiled "exactly" like it meant to be with archos toolchain (I use mostly Android ndk) - no luck either. Straight compilation, with default config (just added ext4) - still freezes. It appear that with binary kernel (from 2.1.8) and compiled ext4 modules for it - it works fine. So it's not ext4 issue...

I'll write to NZ but he already did not answer to my email last time - about tiwland_drv module... any other sources that can send kernel config and source from real archos android builds?
[Gen8 Android Development] hunterr:
framebuffer

Anyone tried to enable the framebuffer?
[Gen8 Android Development] $aur0n:
It's enabled all the time.
[Gen8 Android Development] chrulri:
I just updated the howto and the Makefile so it's based on the new git repository from archos :)
[Gen8 Android Development] yepayepa:
Excellent! Thank you for the update.
[Gen8 Android Development] matteone:
just tried to run the "make all" but it gets stuck at connecting gitorious.org... always connection timed out... :(
[Gen8 Android Development] chrulri:
No problems here :( are you able to do a simple "git clone git://gitorious.org/archos/archos-gpl-gen8.git" ?
[Gen8 Android Development] matteone:
exactly the same problem when I type the command on its own :

Initialized empty Git repository in /media/44D09866D098604A/dev/archos/archos-gpl-gen8/.git/

gitorious.org[0: 42.2.0.192]: errno=Connection timed out

fatal: unable to connect a socket (Connection timed out)
[Gen8 Android Development] chrulri:
mysterious... still no problems when I try it :confused: I think it's a problem with the internet connection between you and gitorious.org
[Gen8 Android Development] PsycoHenny:
I just tried cross-compiling Busybox with "cross make" and it gives me an error:

applets/applets.c:1: error: bad value (cortex-a8) for -mtune= switch
[Gen8 Android Development] PsycoHenny:
Nevermind, I worked around the problem.
[Gen8 Android Development] veronl:
Thanks chulri! I just rooted my friend's archos 70 (HDD) with your kernel & it's working great!!

I am now trying to build my own kernel (for OC, seems the old version I found in XDA cant function & I just cant boot in...)

thanks again! :-)
[Gen8 Android Development] chrulri:
archos did not release their changes for 2.4.80 yet, for further questions ask WhoDunnit or read this
[Gen8 Android Development] unicondor:
Finally I compiled my custom kernel...

I reboot device, and flash the archos with my zImage and your initramfs.cpio.gz ( take from avos_2.4.80_sysroot )

The kernel seems to work great... but in "Developer Edition" i don't see the list of available Image ( Archos, Gingerbeard, ecc ), and the archos run directly my custom kernel

but the menu.lst seems have no problem

Archos|ARCHOS|ARCHOS|/init|0
Angstrom||/rootfs.img|/sbin/init|1
Gingerbread||/openaos-gingerbread.img|/init|0

Can you help me?

Thanks
[Gen8 Android Development] fzelle:
You can't get a menu if you don't use the Multiboot initram.

That's not part of chulri's or the stock rom.
[Gen8 Android Development] unicondor:
OK thanks... so i need to use the initramfs.cpio.gz of Gingerbeard Image of BUBU to see the multi boot menu, it's true?
[Gen8 Android Development] fzelle:
That's why it's called Multiboot
[Gen8 Android Development] sarge425:
What are exact steps to build an android .so library?

I made all steps from the main post, toolchain and kernel build successfull. How can I build libraries?

I also downloaded android_2.2.1_r2 sourcecode from google, but it fails to build due to some compiler issues. Is it posible to build libraries from android source using archos toolchain?
[Gen8 Android Development] chrulri:
1) This is meant to cross-compile (linux) utilities for Archos Gen8 devices.

2) Even though this might help a lot getting the toolchain to build whatever you want it doesn't mean you could just download some sourcecode hit make in a terminal and the magic will happen instantly ;)
[Gen8 Android Development] sarge425:
Thanks

After some attemps I figured out than archos sources not needed at all. Compile from android master branch worked well. This builds not kernel, but all other stuff, including all libraries and default android apps.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] dobreandl:
First of all I just want to say HI and Merry X-MAS to everyone and also a happy new year , now lets cut to the chase I have asked a few times on the bord how can I solve my problem about not getting signal , now i found in this evening that actually the phone doesn`t register to the network, I was experienced the problem so I boot the android to see if it is a wimo or rom problem, android found the network but couldn`t register just like wimo. Now I found out that it might be a IMEI problem like is blacklisted because it was stolen I also contact the HTC support but no answer yet is there any way to solve this problem ? From my little knowledge I think the phone what i thought it was new to be branded and unlocked before it arrived to me so maybe i can re-unlock it or something ? Also is there a way to find if it was branded or stolen i can provide my sn and imei if it helps ... Thanks in advance and sorry for my bad English ....
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] A.Calamita:
To start with I'd contact your service provider. They could possibly check if the IMEI is blacklisted. If not HTC support should be able to.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] dobreandl:
My service provider is USELESS ... I just hope I could find a solution for this
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] A.Calamita:
You spoke to them?

What did they say?

You said it was stolen. Did you report it as stolen?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] dobreandl:
I said IT MIGHT be stolen couldn`t get in touch with them ...
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Archer:
You need to - sorry, but they're the answer. Nothing on here will help if your IMEI has been blocked, and they're the only people that can tell if that's the case.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] A.Calamita:
What he said ^ ^

It's the only way. Keep getting onto them! If not try taking it into a store?
[myTouch 4G Q&A, Help & Troubleshooting] alx09:
Hi. I recently installed CM 7.0 and I'm getting low quality pictures on my contacts. Is this normal behavior on stock roms? I didn't have this issue with mysense or sense roms.
[myTouch 4G Q&A, Help & Troubleshooting] xdviper:
Yeah, at least for me, it was normal. When I had CM 6.1.1 on my G2 before I switched, the contact pictures when someone called looked like ****. Even if I synced that contact with their Facebook profile, it still looked bad.
[myTouch 4G Q&A, Help & Troubleshooting] shlongwoodian:
Yep, I noticed this as well when I first got my HTC Glacier, running stock ROM. I'm on Ice Glacier v1.1.4 right now and I see the same thing. Granted, IG is still the *same as stock, to a degree. It looks like the same 50 x 50 thumbnail they use for the feed and use that for the image when someone calls.
[myTouch 4G Q&A, Help & Troubleshooting] /b/rotherJudas:
I have a problem with low quality mms. I can't read text on pics sent to me.
[myTouch 4G Q&A, Help & Troubleshooting] tackleberry:
Doesn't Facebook lower the image quality. I've noticed that when I dl a pic from Facebook to my computer its not as good as say an original that was emailed to me.
[Touch Pro, Fuze General] Dorana:
Hi, I've got the HTC Touch Pro (Raphael)

And I've had it in my drawer for a while becuase it broke down one morning and I just bought a new one, But I'm thinking of sorting out the problems with it now since I need an extra phone.

The main problem with it is that it locks up in boot.

If I do a normal boot it locks at the HTC logo and the "friendly dinging sound"

I was thinking of reflashing it, but since it never boots up the only flashing I can think of is through the SD card.

So i put the file "RAPHIMG.nbh" in the root folder of my SD card and booted it up using the volume button pressed to looad the loader, it swaps over to a loading screen then it just freezes here aswell.

Any ideas on to WHY this happens and HOW to solve the issue.
[Touch Pro, Fuze General] Dorana:
issue solved, I managed to get the bootloader to get to waiting mode and cet a connection to it from my windows computer and run a default ROM onto it, now I can start modding it
[Touch Pro, Fuze General] Logisys:
i couldnt help but notice this thread, im am facing the same problem, except that my phone has never been flashed before, its fully stock. how did you manage to load a ROM beyond the "Loading..." screen. i have done exactly what several guides, including the ones i found in the forum, have told me to. Neither the SD card flash, nor the Activesync flash are working.. help please?
[Touch Pro, Fuze General] gadmanz:
flashing

try tsis :http://xdaforums.com/showthread.php?t=540290

I've tryed this on Touch Pro and it works , but do only the driver replace on windows......don't do task 29 or else .Instal the driver bring the phone into a bootloader and flash a stock rom...

hope it will do...
[Nexus One Android Development] mrcrassic:
Hi, all.

DISCLAIMER: I'm a newbie to developing native code, but have intermediate skills with C, C++ and some basic assembly.

When I bought my headphones, I had a strong possibility that the VOL UP/DOWN keys would not be recognized by Android...and I was right. Clockworkmod Recovery doesn't report any keymaps when trying them and nothing pops up from dmesg. However, the middle button is recognized as a standard headset button and plays/pauses/goes to next track as expected.

I'm thinking that this is the case because there is no driver that can recognize and, hence, map the other buttons to the keymap used by the kernel. Thus, where do I start with developing such a driver? I know I can measure voltage differences sent by the headphones, but I'm not sure where to go from there. I'm pretty sure I can get a few throwaway headphones with the Apple controls.

This can be an interesting and really, really useful hobby project.

Thanks!
[Nexus One Android Development] PatrickRiccardo:
Great idea!

I hate buying stuff thats "Made for iPhone/iPod"!! I almost bought Klipsch s4 instead of s4i in protest. But I needed the mic soo... :rolleyes:
[Nexus One Android Development] BakaPhoenix:
I'd really love to controll the volume with my remote, so a i really like the idea.

But i'm sorry i can't do anything to help you <.<
[Nexus One Android Development] Vashery:
hmmm

I am not a developer nor do I know what I am talking about however just an idea... If you are able to measure the voltage when each button is pressed could you not use that as a signature on what button is being pressed. With that information you would be able to write an application to change the volume based on receiving that information. I know there are applications out there to manage your volume settings so I don't think it would be too much out of the question to have the driver be able to change volume based on the voltage information.

Once again I am not a developer so take whatever I say lightly.
[Nexus One Android Development] Forge94:
Something likethis? or did I read your post wrong..
[Nexus One Android Development] PhantomRampage:
I'd love to see this for my Beats by Dre >.> Been waiting a long time for someone to get the volume buttons to work. Hopefully someone out there is willing to take on this project
[Nexus One Android Development] mudrock1000:
So what I'm reading is this. What we need is an app that will measure the input of a button, and then be able to map that to a function, preferably like the stock android phones.

Because I think this should be expanded past just iphone.
[Nexus One Android Development] :
I'm rather new to Android development (and development in general), so please forgive me if I'm way off here.

Android handles inputs as KeyEvents. These KeyEvents can then be mapped to actions in applications. I found an article detailing how to make custom key maps but I don't have much free time, so I've really only skimmed it.

Using the input reader found here (thanks Forge94) we can see that the center button of the iPhone controller is mapped to key 226; however, the up and down keys are not mapped to anything.

From what I can tell, we can resolve this by doing the following steps (sorry for restating your original post cnunez1987):

1. Read input from iPhone controller

2. Map input to KeyEvent

3. Process KeyEvent with an application

I would gladly do all of this, but as I said, I have almost no development experience whatsoever (a high school CS course I took last year) so I have no idea where to begin. Please let me know if I can help do this in any way.
[Nexus One Android Development] ejdam206:
Sounds Interesting

I have some Beats by dre and can only use the center button i would pay a few bucks to help this development!