yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] letama:
Hi All,

First, please refrain to post if not related to development, don't clutter this thread.

Divx118, as I promised, here is my current source status.

You'll find attached the repo diff of aosp 4.0.3 where I stand up to today. It contains mostly traces, few hacks for sgx and touchscreen.

On top of this, I'm using a device definition that I uploaded there:

https://gitorious.org/archos-ics

It's a work in progress, it doesn't have half of what's needed. The init.rc is not valid, I'll attach my current one later on.

You'll find there also the 2.6.35 kernel ported from gen9, only for a70s currently. It's not finished either, I'm having crashes in backlight and touchscreen is not recognized. It requires proprietaries from LG P970 for sgx.

Currently, I'm working with this kernel so BoardConfig.mk should be modified with ARCH_ARM_HAVE_TLS_REGISTER := false to work with 2.6.29

Last, to make the build start, you'll have to grab libaudio.so and libaudiopolicy.so from regular Archos build. Sound won't work but zygote will start.

I'll update post later on, but if I wait for something finished I'm afraid it would take forever:)

Update 01/07 :

As many asked and I didn't make lots of progress, here is my current build. This one is using 2.6.29 kernel. sgx, touchscreen, wifi works. You *have* to edit initramfs.cpio.gz as you probably don't have the same partition layout as I do. It's for developers only, I won't explain how to make it run.

Cheers,

LeTama
[Gen8 Android Development] letama:
*reserved*
[Gen8 Android Development] PotentChili:
I can't help at all in terms of development, but I will test every single release of this you guys come up with. This is a true milestone for our little seemingly abandoned tablet. I wish you guys the best, and can't wait to see what happens :)
[Gen8 Android Development] divx118:
Thanks Letama :) sorry I missed you at irc. (still have to work these holidays :( )

divx118
[Gen8 Android Development] letama:
No problem divx118, same here, work and family, busy days and no time for interesting stuff :)

Sorry for the messy post and the code state, I wanted to push something out at least before getting caught on something else...

I added the init.rc on first post. This one is again for my .35 kernel, you'll need few adjustments for .29 (mknodes for adb and maybe few things), and it misses probably some mkdir/chmod on /data for initial boot.
[Gen8 Android Development] AlphaTime:
Good work now i try it :)
[Gen8 Android Development] codest17:
I can't develop but I will also follow and do whatever I can to help.
[Gen8 Android Development] coen22:
I can develop, but I just know a delphi, basic and a little c#, java

I've been developing games for a several years now and I know how to use ADB

But I don't know anything about kernels and roms

I'll see where I can help:D
[Gen8 Android Development] letama:
Little update:

I pushed my last changes for the .35 kernel, it has working touchscreen now and feels globally faster than .29. I tried few builds of wifi module for it without success, I couldn't find proper source/firmware for now. Maybe we'll get them when Honeycomb for 70IT2 goes out.

So I went back to .29 and made wifi work, unfortunately browser doesn't. Webkit is using accelerated graphics with an OpenGL extension our driver doesn't have. Does anyone know how to disable it ?
[Gen8 Android Development] AlphaTime:
Only the Stuck Browser don´t Work

or any like Dolphin HD

when its Any try to edit webkit false fix

USE_OPENGL_RENDERER := false

:)

And one other thing i have test to build it ... It worked :) but than i havnt a single .img i have many like system.img .... How can i get only one ?
[Gen8 Android Development] letama:
USE_OPENGL_RENDERER is for framework, not webkit right ?

Framework is OK and I'd like to keep opengl there.

ENABLE_WTF_USE_ACCELERATED_COMPOSITING seems to be the key for webkit, but it doesn't seem to build properly. Oh well, I'll check that later on.

These images are useless, they're coming from panda device configuration. You have to build your own img file, mix the Archos root with the files you'll find in out/target/product/g8/system directory.

Don't forget to replace archos init.rc with the one I attached. You need to push few stock archos firmware files on top of that, libaudio.so, libaudiopolicy.so and sgx files if they were not pulled from the device when you did the build.

egl.cfg needs to be replaced too.
[Gen8 Android Development] scholbert:
Hi letama!

I pulled the kernel from your repo and compared it with latest Archos gen9 2.6.35, to get an idea of the changes you made to get it work for A70s.

Seems that you used an early release from the archos git tree.

So looking at the diff generated against latest published sources from Archos,

i realized that some of latest patches are missing.

Maybe these udates would bring us into a better situation in general.

If you got some patches of the work you made for A70s please let me know...

I'm little old fashioned and like to fiddle around with diffs and patch files :rolleyes:

You also spoke about wifi now working with ICS in another thread...

Was this related to 2.6.29 or 2.6.35 kernel ?

Refering to the config for gen8 on 2.6.35, it seems that the you used the internal kernel wifi driver, is this correct?

So the external ti module is not working for 2.6.35... also correct?

I guess i'll try another kernel build for A101it this weekend.

Thanks a lot for your work!!!

Regards,

scholbert
[Gen8 Android Development] letama:
Hi Scholbert,

Yes, I started quite early, but I merged up to 3.2.61 afaik. So not that far from last release, 3.2.69.

I'm a bit better already, I made the touchscreen work. I didn't pay much attention to the change of backlight as I "workarounded" the problem by removing archos dll that controls power. I reached my initial goal, boot ICS and see if sgx drivers are better.

I believe it is, it felt quicker all around, but it didn't solve my crashes that I now believe are not really sgx related. I always see the driver as PC,LR in control panel app, but there are multiple threads and crash is probably elsewhere.

So globally kernel is nice, misses apparently only hdmi and wifi. Wifi may be difficult, we'll see. As I never compiled tiwlan, I'm back on gen9 to understand the process first.

git allergic ? Can understand, took me time to get used to it :) and I probably use 30% but that's enough for me and I won't go back to diff / cvs.

You can get diff from git, just do a "git log" to get commit id then "git diff commit_id"

2.6.29... few patches and config to ICS, and it works.

Wifi is not working yet, need to first get a grasp on TI way, I always worked on broadcom. TI way is a bit weird for me, I have troubles understanding what version should I get in their tree. Well, we'll see. I need first to make it work for gen9...

I managed to build apparently good tiwlan.ko but while I was trying it I destroyed my gen9 config for other reason, ending up in needing a full format :). And I'm good for another as I did update my firmware and forgot to put back my patched recovery, it resized my system partition to a too small size. Grrr. I think I'll work on an initrd to resize partition finally, at least it would have a benefit for the community :).

Finally, after updating the git to .61, most changes needed were in a70 board file and back to almost the same file as A10it. So you could have good surprise there. The only delicate part is the sgx driver that I grabbed from p970, but you don't need that at first. Let me know if you get somewhere!

Cheers,

LeTama
[Gen8 Android Development] letama:
As many asked, I added my current build. See first post for it and few details.
[Gen8 Android Development] scholbert:
Hey letama,

thanks a lot for publishing your build.

It is little irritating, if useful information a is placed in seperate threads...

Maybe we should focus on this thread in the development section.

So i'd like to refer to your answer in the general section (and possibly mix things up):

http://xdaforums.com/showpost.php?p=21191729&postcount=36

I'm not working on Android level because i'm missing the build evironment.

I simply got no adequate machine at hand to set everything up :o

Back to your post:

Which GAPPS did you integrate?

There'd been similar reports that properly working ICS GAPPS are very hard to find...

Agreed, this is a know fact on the A101... fix could done in ICS itself i guess.

Some things mentioned here, might rely on kernel i guess and as you said wifi is working... i guess this again refers to 2.6.29 sources, correct?

As this source code is not part of your repo i'd like to concentrate on implementing A101it support for 2.6.35.

It seems there'd been some additions in audio framework in one of the last patches provided by archos

Maybe these patches could be integrated in your ICS 2.6.35 kernel branch as well. Still need to fiddle around with the original sources and git, to get more information about the state of this project in general.

I'm sorry if i mix things up myself, but in fact i'd like to find some "central theme" for ICS development on Gen8.

Should we stick with the 2.6.29 kernel first?

If so it would be very nice to get some information about your patches/canges you made in 2.6.29.

Regards,

scholbert
[Gen8 Android Development] divx118:
Yes, I done it on gingerbread CM7 in frameworks/base/surfaceflinger/SurfaceFlinger.cpp

https://www.gitorious.org/openaos-c...frameworks/base/surfaceflinger_rotation.patch

I don't know how much different it will be in ics, didn't look at any ics code yet.

divx118
[Gen8 Android Development] letama:
Yes, sorry about that. I wanted to keep dev on one side and general question/comments on the other one. I guess that's not such a good idea.

It was just a quick experiment to validate wifi as browser doesn't work. I grabbed them from Cyanogen repositories if I remember well.

Well, it's worse than that, I don't have sensors dll in the build, so no rotation.

Yes, untouched from Archos 2.6.29. Nothing changed on .29 kernel, just grabbed the right wpa_supplicant and fixed some permissions/directories issues. I didn't touch anything on the .29 kernel, only added the touchscreen patch that you also have on .35.

Well, raw ICS build doesn't bring audio support, we have to write or grab proper dll to supports it. I believe both kernels are probably equally good. It may be also codec issue as they're probably not working with what I did, I don't know yet.

Yes, maybe, I'll try a merge someday.

Currently I'm not decided, I try to play with both as we may get updated drivers from Archos with the new it2 honeycomb, and they'll integrate easily with .35. However wifi is an issue with .35, not sure proper firmware+source code are available.

Cheers,

LeTama
[Gen8 Android Development] scholbert:
No problem with this intent, but i just tried to sort things out.

Hopefully this thread will gain more intense discussion ;)

So did you check internet connection with it?

Do we need sensor at first :confused:

I'm not that familiar with surfaceflinger, but it seems that the patch from divx118 looks like a default setup for rotation.

So this piece of code might suit into ICS sources as well.

O.K. i see.

BTW how does the wifi firmware get loaded on the Gen9 devices?

I realized some wireless framework for the Ti chipset in the 2.6.35 kernel and i wonder if this could be used for gen8 as well.

Anyway, i'll try to find some matching Ti sources for wifi.

Time will bring it to us i guess, there are only a few OMAP3 devices running on ICS right now.

There's also some stuff for beagleboard XM, but i guess there's not much useful stuff in there.

EDIT:

Concerning sound issue... maybe this is worth a try...

https://github.com/kfazz/android_hardware_alsa_sound

EDIT2:

For sound related libs...

http://code.google.com/p/cm-milestone2/downloads/list

I know the codec used on the milestones is different, but AFAIK the higher level libs use the DSP inside OMAP and might fit.

Milestone 2 uses OMAP3630 as well, have to check the kernel versions though.

I will do as well... need some days to get a proper overview though.

Maybe i'll prepare some patches to be ready for git merge.

Time is always lacking for such things :rolleyes:

Yeah, maybe we should simply wait until the sources are on repo.

Does Archos already sell those devices?

I know there are more questions, than answers again, but maybe someday i may give more useful contribution.

Have a nice day!

scholbert
[Gen8 Android Development] letama:
Yes, it seems working fine.

I thought he was referring to the fact that the screen didn't switch from portrait to landscape, that's why I mentionned sensors. Reading from divx118 patch, it seems that A101 "default" orientation has to be offset ?

It's similar to gen8, wlan_loader then specific wpa_supplicant. There is a good chance that Gingerbread driver works, it should against a .35 kernel too. I'll try today if work let me a bit of free time.

Yes... We'll see. It would be nice to have a manufacturer officially releasing it, we will be able to grab sgx drivers with hw composer. Afaik, there is none so far.

Thanks for the audio pointers, I'll take a look!

Situation is not clear yet. They are selling a70it2 already, but with froyo. It's not 100% confirmed that these devices are the same than the ones that will be honeycomb, but I'd bet they are.
[Gen8 Android Development] scholbert:
Hi letama,

thanks for your reply.

Just in short...

I really recommend to look at the latest Gen9 kernel sources.

After stepping through the "huge" diff between these sources and your git kernel tree, i'm pretty sure that most things got included within this release.

Seems that they worked hard to integrate the OMAP3 as well.

Maybe this is because they plan to release the A70S V2 soon.

So what i did is only this...

- copy the board-archos-a70s.c (the original was still lacking quite everything)

- copy the hid-hanvon.c (ICS tweaks for touch)

AFAIK Archos did also a lot of changes in the SGX driver code.

I think it would just require some tiny tweaks to make it work with P970 libs.

Maybe there're only a few defines missing in the SGX part to get it working, but i guess that's really it.

EDIT:

Some header files are still missing in latest source as well.

So i've added them too...

- mnemedefs.h

- sgx531defs.h

- sgx535defs.h

- sgx543_v1.164defs.h

- sgx543defs.h

I'll try your archos_gen8_defconfig to compile with these latest sources.

If it does fine maybe would worth a try on your A70S.

So in fact i believe we will get a useful 2.6.35 kernel for the Gen8 soon.

The kernel already seems to be in a good shape...

Maybe we just have to sit and drink a few beers ;)

Please tell me what you think, if you'll find soem time!

Best regards,

scholbert
[Surround General] charnigill:
Hello Everyone,

This HTC Surround is my first windows phone. I'm unable to install the 7392 update. My phone gets stuck at HTC splash screen (step 9/10 on Zune). I tried hard reset but same issue everytime.

Is it possible to install this update without going through Zune software?

Can I install mango based ROM directly?

Any help greatly appreciated!
[Surround General] donjulio0088:
I've used this one myself. http://xdaforums.com/showthread.php?t=1254384

Use the Mondrian one.
[Motorola Droid Bionic] sniffs:
Anyone know where I can find these? Droidpirate.com is coming up blank.. I've scoured the internet and can see rom's with them but not the actual metamorphs.

I dont want to have to pull the images from the system dump and make my own, but I will if I have to.. :(
[HTC Rezound] Cares:
Will developers still try to get full s-off? I'm hesitant to lose warranty. I feel like we waited this long already... What's a few more weeks?
[HTC Rezound] SteveG12543:
I went ahead and unlocked. I figured why not lol. I'm very careful with my electronics :D
[HTC Rezound] evilstewie23:
Im still waiting but not because of warranty concern, more of a " Im to lazy and dont feel like getting off the couch" kind of lazy. I also dont want to screw up anything even though it doesnt look so hard. And i just want to try aosp roms so im just going to stick to stock for awhile until full s-off ( If our amazing devs still try to do that. ):)
[HTC Rezound] Marine6680:
I am not. The latest hboot on the 3D is proving difficult to crack, and they have unlocked bootloaders as well. I am sure people will keep at it but it has been a few months for them working on the 3D with no luck yet.

While not a given fact, HTC has usually honored warranties for things unrelated to root. It is hit and miss though, some get lucky some don't. That was on tmobile though, as the carriers usually handle the claims side of that. If you are worried get the insurance, then warranty does not matter.
[HTC Rezound] triton302:
If you're not worried about flashing kernels or radios, then you don't need to worry about S-off. As stated several times in other threads, the majority of what users do with their phones can be done now, including flashing ROMs, custom recoveries, rooting, tethering, etc.

Jump on it and get it done, you'll be thankful you did.
[HTC Rezound] jaysckap:
I unlocked and been flashing away, go for it
[HTC Rezound] zetsumeikuro:
Don't see why you'd want to wait for s-off people. You can flash pretty much anything except a radio. Pretty sure we'll see some CM lovin or at least an AOSP rom to tide us over. I don't think they're going to work on s-off anymore since the BL is unlocked.
[HTC Rezound] jbh00jh:
No hurry here, will wait until you guys get all the bugs out. I would like to wait for s-off so I can change radios and go back to stock if I need to. Don't want my ESN on the list to void my warranty. :D
[HTC Rezound] kkryter:
I've seen several people say in other recent threads that with the newly available methods that kernel flashing will in fact be possible. Can anybody else confirm or deny this? Thanks!
[HTC Rezound] zetsumeikuro:
It's been stated several times in the development thread that yes you can flash kernels with s-on

Have fun waiting as I doubt anyone is working on S-off anymore. If they are working on s-off it'll probably be awhile. Verizon still might honor the warranty and if not there's insurance, so I could care less about my ESN being on the "void list".
[HTC Rezound] jbh00jh:
I don't mind waiting ,my Rezound is faster ,smoother and has more memory than any rooted phone I every had . :)

If you try to sell your phone it won't have a clean ESN if it is on the list. Or will it ??
[HTC Rezound] zetsumeikuro:
It's only blacklisted if it's reported lost/stolen.
[HTC Rezound] JBO1018:
Yes you can flash kernels. The only way I know to do it for sure is to use fastboot but its possible there are other methods.

The ONLY things that cannot be flashed are radios, bootloaders, (understandably considering those are the two things that WILL cause a HARD brick if done wrong or with corrupted files) and I believe splash1 cannot be changed. (not sure why probably because its usually a manufacturer branding)

Sent from my HTC Thunderbolt
[HTC Rezound] jdmba:
:)

I'm waiting for "LOCKED" and "S-ON". Same as on my Incredible. I do hope someone is working on that.
[HTC Rezound] brandonkill02:
pretty sure you could still sell it your esn would be red flagged meaning no warranty but im not 100% u never know with verizon
[HTC Rezound] jbh00jh:
That's for sure. Glad I don't pay online.

Sent from my Galaxy Tab 10.1
[HTC Rezound] jbh00jh:
I'd settle for a devs s-off.

Sent from my Galaxy Tab 10.1
[HTC Rezound] sstriano:
I am fairly new to all of this, have rooted, CWM and ROM'ed a few DINC's and rooted a couple Kindle Fire's, so please bear with me :)

What is the difference between "S-OFF" and an unlocked boot loader?

What is a Kernel, Radio, ROM, Boot loader, Recovery, etc.? They are all pieces to the puzzle, and I understand a little, but could someone link the pieces together for me? Or suggest a good place to learn the basics of all this stuff?

If I use HTC DEV to unlock the Boot loader, will I be able to gid rid of Verizon's crap ware?

Thanks,

Sam
[HTC Rezound] triton302:
The info's out there, search is your friend. This has been discussed plenty of times just in the Rezound forum alone, not to mention the entire XDA website.
[HTC Rezound] feralicious:
Here's a list of links I have bookmarked for my studying purposes:

Collection of Root Guides

Will unlock my phone after I learn more about all of this. I'm surprised you rooted Dincs without understanding this stuff! :eek:
[HTC Rezound] jbh00jh:
Wonder how many he bricked.haha

Sent from my HTC

LTE 4G Rezound
[HTC Rezound] sstriano:
I have a basic understanding, I am a programmer by trade (.NET/Windows), I am just a little confused on the difference between a kernel, radio, rom, etc. I was looking for an in depth explanation.

Anyways, thanks for the reply and the link, much more helpful then the reply above yours.

---------- Post added at 11:11 AM ---------- Previous post was at 11:11 AM ----------

None... HAHAHAHA!
[HTC Rezound] H3Dude:
Simplistically, the ROM is the operating software, kernel tells the ROM how to interact with the hardware, radio is the part that lets your phone communicate via the airwaves.
[HTC Rezound] jbh00jh:
You never asked any of these questions when you were flashing all those Dincs??

Sent from my HTC

LTE 4G Rezound
[HTC Rezound] triton302:
+1... that's a little suspicious. I question your "programmer" trade.

No offense, but it's common sense man. Know what you're dealing with before you decide to modify ANYTHING, including electronics, cars, firearms... ANYTHING. Flashing ROMs and kernels onto an Android device without even knowing what the hell a radio is at the very least? Wow. I understood most of this stuff back in the Blackberry days, made things easier when coming over to Android.
[HTC Rezound] sstriano:
Question all you want, makes no difference to me... I have a basic understanding of all of it, I should have been more clear in my question, I was looking for a little bit more in depth answers, which none of you "Experts" seem to be able to answer, just a bunch of negative comments that do no good for anyone. Didn't your mom ever tell you if you have nothing good to say then shut the hell up?

Plus, really how hard is it to root/flash a rom... Follow some basic instructions... Not rocket science.
[HTC Rezound] Slainez916:
With s-on and unlocked, do you guys think we will get the ICS update via OTA when its finally released?
[HTC Rezound] triton302:
First off, my mother died in a car accident when I was a few months old, so lay off the mom joke, ****stick.

Secondly, how about doing a search, maybe you'll find your "expert" answers you want. If you have a "basic understanding", then you should know what a kernel, a radio and a ROM is. If you don't like our answers, then go to another forum and bother them.
[HTC Rezound] Echo17121:
I just got my phone in the mail today through Amazon and while I was planning on rooting it, I am getting a bit hesitant since if voids the warranty and all. My main purpose would be to freeze the bloat because I like sense and I am fine with the phone otherwise. Would it be better for me to just temp root and freeze? They stay frozen after a reboot right? It just seems like it would be the better option for me right now.
[HTC Rezound] triton302:
If you're worried about the warranty, then don't unlock the phone at all. If you're just wanting to get through the return period before modding the phone, then just do a temp root and freeze the bloatware, that way when you do a factory reset it'll restore everything back. After that, go to town with it!
[HTC Rezound] sstriano:
Sorry about your Mom that sucks. As far as the rest of your comment, once again, nothing good to say. And I would not be bothering you anyways, it's obvious you know nothing except how to run your mouth, I am sure your of no use when it comes to useful information.