yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] -AngelOfDarkness-:
better is a really working CWM like this dev here :

http://xdaforums.com/showthread.php?t=1587201

And then all you need is a working zip for installing a ROM do you want .... :victory:

greetings AOD
[Gen9 Android Development] trevd:
Mac and linux can just use the same bash script as long, Do we have any mac flashers ( or should that be flasher macs :) ) using these roms?

Probably need to simplify the task a little bit and there maybe some times when the update method doesn't work properly sometimes.

kd_flasher -k/data/zImage -i/data/initramfs.cpio.lzo

7.) Power off the device as normal

8.) Go into Archos recovery (Power + Vol down)

9.) Go to [Recovery System] -> Format System -> Reset Android

10.) If you came from a multiboot setup with the stock aos installed, go to Recovery System -> Developer Edition Menu -> Remove Android Kernel

11.) Reboot, it should now boot PA (Might take a while at splash screen and/or boot animation)

Here's what I do but I normal come form stock and leave it to dual boot anyway.

Push image /data/local
rename the image to archos.ext4
push the kernel and ramdisk
gain root!
mv local .local
rm -r /data
mv .local local
kdflaser < where ever you stashed the stuff>
reboot_into -s sde
reboot
# back on the desktop
adb wait-for-device logcat -b radio -b system -b main -b events

Once you've boot paranoid the first time the "adb shell reboot_into -s recovery ; adb reboot" will get you into archos recovery should you want to remove the Stock Android.

The logcat bit helps as you well know, Although it remains me @Stevemp default.prop, what's with the secure settings? :D LOL There was nothing on first boot..... I had to watch the bootanimation, takes ages, no wonder folks think the device isn't doing anything. It's like that on every droid though!! There really should be more informative boot animation as standard.

write /sys/class/rfkill/rfkill0/state 1

I don't know if you've noticed adb bring up takes ages. and also init.archos_init.rc is killing the modem power change the rfkill line to this

write /sys/class/rfkill/rfkill0/state 1

I've still not worked out how to bring a modem back online properly after a kill switch. The light will flash but there's no uevents on the hotplug it's bloody weird
[Gen9 Android Development] stevemp:
A80S

If you start logcat when the bootanimation starts you have about a minute of logging.

I guess changing cm settings to enable adb by default would be the best thing to do. :)

I downloaded the rom for A80S and signed into Google Play and my settings and apps from cm10.1 were restored before the systemui came up, not sure what's different about the 101 rom. :confused:

About the camera, I see this in log:

archos_camera_glue archos_camera_glue: no cam_1v8 rail, skip
CameraService( 622): CameraService started (pid=622)
CameraWrapper( 622): camera_get_number_of_cameras
CameraWrapper( 622): check_vendor_module
CameraWrapper( 622): failed to open vendor camera module

If my memory is correct camera stopped working when we stopped using archos init. I think you might need the archos media center software for hdmi to work.

Update for A101S fix for market test --> https://hotfile.com/dl/196834428/8a7978e/pa_4.2.2_A101S_2013.02.23.zip.html
[Gen9 Android Development] trevd:
I'll have a play around with logging a bit if I get chance and I think the archos 3G stick is an easy one, just gotta jig the scripts a bit.

I have no tablet restoration etc, I've type my details in to so many different devices while developing. I always assumed it was just my apps which are compatible with the device in question.

This app is compatible with all of your devices.
Asus Nexus 7
Archos ARCHOS 80G9 (last used March, 2013)
T-Mobile HTC HTC Sensation
T-Mobile Archos ARCHOS 80G9
Archos ARCHOS 80G9 (registered February, 2013)
3 Samsung Galaxy Nexus
Archos ARCHOS 80G9 (last used January, 2013)
Samsung GT-I9000
T-Mobile Samsung GT-P1000
Archos ARCHOS 101G9
Archos on AOKP ARCHOS 101G9
Motorola Xoom
T-Mobile Archos ARCHOS 101G9

That's my list of devices from google play web site, so god knows how they work it. I only ever install about the same 5 apps anyway LOL, well mainly Hackers Keyboard and Terminal emulator, then that me set! Although the floating window stuff might be worth a look

Anyway Back OT. I could imagine the Archos media package being need for HDMI now that you mention it but I'm still playing a bit of "Buzzword" Bingo with HDMI and the like, There options to build your EDID firmware into the kernel, Is that what we need? I have a vague Idea of what it does after having trouble setting a raspPi up and the EDID clock info being the issue.

I recall the archos version of the libedid.so being a deal breaker on that as well.

What seems to be a popular way of "solving" this stuff is to write a "shim" which calls the old library functions but has the new api declarations. Depends how deep you wanna go with it I suppose.

On a final "note" (literally) I took the tab out on a rare field trip! I was suffering some stability issues on the Huawei Dongle but I was also using adb on the G9 which was connected to a Galaxy Note at the time so it was probably just drawing too much power! :D
[Gen9 Android Development] stevemp:
The market checks the android id and os version. First time it ever worked, restored settings with out going through the menus. :)

I read some where the Archos media center was needed for the hdmi but since I don't have a tv or hdmi cable not too interested. :p

PA 3.1 is compiling now (had a mix of different sdk and api before) but now omaplfb_sgx540_120.ko is not being built. :laugh: Always some changes breaking my build, looks like I'll be busy today looking for what changed. :rolleyes:
[Gen9 Android Development] trevd:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

Are you building using the 3.0.8 kernel. If you are , i seem to recall the ion.h needed a fix up it was just adding an extra value to one of the enums...
[Gen9 Android Development] The Saint Hyoga:
Can be installed without ADB?

Dumb question but can be installed without ADB? I've tried but no success........I:confused: Don't know if I'm missing something. Thanks!!!!
[Gen9 Android Development] Quinny899:
We all assumed that people used ADB to root, but I would think it can be, by flashing the kernel in Archos recovery and using a file manager
[Gen9 Android Development] theadenter:
Did you put 0x0e79 to the adb_usb.ini in the .android directory of your user profile directory as mentioned here:

http://www.archos.com/support/support_tech/updates_adb.html?country=gb&lang=en

Also try to use "rm -r *", not "rm -rf *".
[Gen9 Android Development] Quallenauge:
@trevd: Hi!

I would like mention, that the Archos stick is working here!?

Maybe the wrong ID is used... Do you also use my patched init?

Another news is, that I patched the kernel to the latest display subsystem (DSS).

With this changes it was possible to load the 1GB version of the Ducati firmware, and also make use of the upstream ducati libraries. With another change, I included the dynamic ION memory allocations, introduced by Arches. Then I adapted the specific Ducati- Firmware parameters and finally the 512MB firmware is loading, and is also working with the upstream ducati OMX libs.

Main reason was to get the hwcomposer running, with no luck. This beast, would like to have the DSS from the 3.4 Kernel, which are not easily to port to the 3.0 architecture :(

Camera is also not working, but I think, the current changes of the camera libs are the reason...

OK, that's the news from me...
[Gen9 Android Development] stevemp:
PA 3.1

Hi Quallenauge.

I am using the same PVR/Imgtec graphics binaries as hashcode, seem to be working fine. The hwcomposer.omap4.so, libstagefrighthw.so, and libdomx.so are building also, just have to copy system over now. At least before a repo sync broke something. :rolleyes:

I had an issue with my hard drive and installed 13.04 on the new one, could be that I didn't upload changes to github and am building with old make files that don't work. Feel like I lost 9 days of work, didn't upload what I was working on in the last 9 days. :eek:
[Gen9 Android Development] trevd:
Nice job, sounds like you've been busy. :good: are those changes in here : https://github.com/Quallenauge/kernel-archos/tree/linux-ics-3.0.21 or somewhere else?

Re: hwcomposer ( and the whole android HAL Structure ) , Linaro connect is going on this week, one of the "courses" is Android Internals presented by Karim Yaghmour , The guy seems to have very deep understanding of what's going in that area. It may be worthwhile tuning in here's the link to the first one [ https://www.youtube.com/watch?feature=player_embedded&v=KLUXPxxJc5c ] and the upcoming ones will go up pretty quick or you can hang out live with them :cowboy:

Re DSS Kernel Backport : I can imagine it's not fun, they do like change the internal API's sometime drastically between versions.

Re Camera - Again this is another thing which uses the android HAL and that is another thing that has changed between versions. I'm still tempted at attempting to wrap a shim to implements the jelly bean api and call the ICS camera functions I know that's what cyanogenmod have had to do a couple of times.

Finally The Archos Stick - The Paranoid Rom was using unpatched, I think I'm going to have a go at integrating archos connectivity into the huawei library, It's only a different set of AT command and the archos stick works in regular linux so I won't even have to bother stipping them from the archos lib. :) Then you'll be able to remove your dirty but very effective hack.

I also noticed that original huawei library which I forked has been upgraded to handle voice. This is very interesting I think I'll build that later on and give it a test!

@stevemp : Early Logging, It's a kernel option If I recall in device driver/staging/android/early console ( or something like that ).
[Gen9 Android Development] trevd:
@stevemp : What's up with repo? - post your error if you want it might be easy to sort out if you haven't already
[Gen9 Android Development] Zacmanman:
Bleh. I would actually really like to use this ROM (I'm not a huge fan of the Archos firmware) but without Bluetooth and HDMI, it's a no go.

I'm not begging for it, but is there any hope of these features being integrated for fixed at all?

I'm sorry that I don't have anything to say about the ROM, but I use a bluetooth keyboard (and a wiimote) and watch Netflix on my TV with this tablet, so I can't really use this ROM if I can't do those things.
[Gen9 Android Development] stevemp:
droiddoc

It's the old PA droiddoc bug. :( It will build if I use make update-api Updated github but haven't tested yet --> https://github.com/stevemp

Docs droiddoc: /home/smp/android/ParanoidAndroid-3.1/out/target/common/docs/doc-comment-check
Checking API: checkapi-last
Checking API: checkapi-current
Couldn't parse API file "/home/smp/android/ParanoidAndroid-3.1/out/target/common/obj/PACKAGING/public_api.txt"
...as text: com.google.doclava.apicheck.ApiParseException: missing class or interface. got: private line 3026
Couldn't parse API file "/home/smp/android/ParanoidAndroid-3.1/out/target/common/obj/PACKAGING/public_api.txt" ...as XML: com.google.doclava.apicheck.ApiParseException: Error parsing API

...as text: com.google.doclava.apicheck.ApiParseException: missing class or interface. got: private line 3026
...as XML: com.google.doclava.apicheck.ApiParseException: Error parsing API
Exception in thread "main" java.lang.NullPointerException
at com.google.doclava.apicheck.ApiInfo.isConsistent(ApiInfo.java:60)
at com.google.doclava.apicheck.ApiCheck.checkApi(ApiCheck.java:118)
at com.google.doclava.apicheck.ApiCheck.main(ApiCheck.java:67)
Exception in thread "main" java.lang.NullPointerException
at com.google.doclava.apicheck.ApiInfo.isConsistent(ApiInfo.java:60)
at com.google.doclava.apicheck.ApiCheck.checkApi(ApiCheck.java:118)
at com.google.doclava.apicheck.ApiCheck.main(ApiCheck.java:67)

******************************
You have tried to change the API from what has been previously approved.

To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.

2) You can update current.txt by executing the following command:
make update-api

To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
******************************
You have tried to change the API from what has been previously released in
an SDK. Please fix the errors listed above.
******************************
make: *** [/home/smp/android/ParanoidAndroid-3.1/out/target/common/obj/PACKAGING/checkapi-last-timestamp] Error 38
make: *** Waiting for unfinished jobs....
make: *** [/home/smp/android/ParanoidAndroid-3.1/out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38
#
[Gen9 Android Development] theadenter:
At least they gives attention to the HDMI.

Is it possible to make a control for the HDMI resolution and refresh rates in the settings on this ROM, like on some new tablets (seen this on new prestigio and ritmix ones)? And also hide/show system bar in the device shutdown menu?

It's extremely useful, because default 1920x1200 and 1280x800 are not 1:1 pixel on the HDTV (which are 1920x1080 and 1280x720) and black bar below making watching videos non-comfortable! Thanks anyway. :good:
[Gen9 Android Development] stevemp:
broken

Guess it's not just me. :eek:

Heads up, Aaron committed some stuff in android_frameworks_base that breaks compilation. Don't sync if you still need to compile.

http://xdaforums.com/showpost.php?p=38767214&postcount=1004
[Gen9 Android Development] trevd:
No, It's the golden rule. especially If you've got a bit of OCD with keeping your source in sync like me :D .

If you're making changes you probably should do repo start to create a new branch. Really however It's not advisable to change anything outside of the device directory. Instead use the overlay directory in the device directory to affect changes to core UI and Framework components. Anything else you want to add should go in external.
[Gen9 Android Development] stevemp:
stable

Thanks for the advice. :good: I think going back to cm10 stable is best for me. What I'm trying to do is use hashcode's work on the KFire and get some stuff working on the G9 plus it's a great learning experience. He's been working with the Kindle Fire for close to a year and posts on his blog about what he is doing. http://blog.hash-of-codes.com/ :)

I'm really tempted to buy a Kindle Fire, looks like a nice toy to play with. :D
[Gen9 Android Development] Quallenauge:
@trevd: Yes, the dss patches where located at the location you posted. I committed everything what I had done.

Check the kernel drivers area, as well the ion init routines in arch/arm/mach/omap2 folders.

@stevemp: Yes I know, you had posted the success by using the repos provided by hash code. But I was curious about to get my own integration running ;)
[Gen9 Android Development] trevd:
That they are, My mother and sister both have one , picked up for £99. I had a couple to play with that needed popping out of demo mode..There's a little writeup in the kindle section, I managed to get to the developer mode settings by downloading and trying to install an apk unknown source which gave me the options box to change the setting! Turned out DemoMode was running as root as well :D, They are pretty close the archos hardware. and so close to the Blaze reference board that the ro.hardware when in demo mode was just left set to omap4blazeboard :D.

Just had a quick breeze around the blog, all good stuff. I see camera shim's came up http://xdaforums.com/showthread.php?t=1510485 albeit for ICS, They maybe some ground work already laid for a JB solution with that.

I'm going to see if I can get voice calls going through Huawei Dongles after seeing the updated library this morning.

Hack On!
[Gen9 Android Development] stevemp:
writing code

Yours should be better for the G9. :good: I am just an old linux guy, not good at writing code. :silly: I had to write new make files because PA is based on AOSP not CM so it was easier for me to start with hashcode since he builds AOSP. :)
[Gen9 Android Development] trevd:
Looks like I'm the busy one tonight. Now where did I put that Fork? :D
[Gen9 Android Development] Quinny899:
Check the cutlery drawer, maybe in your kitchen ;)
[Gen9 Android Development] Quallenauge:
Build the image

Trevd, please use my buildimage script for building a release!

It performs the necessary steps (copies some files in a cm10.1 tree, building bionic headers, cleans the output folder, etc...)

I don't have documented it yet...but have a look at the end of the script.... there are the command's defined.

Usually after checking out the cm 10.1 tree, download the provided base image and you have to clone my "android-injection"-repo.

Then perform

./buildImage makeFull
./buildImage buildImage

The kernel is located on the out/../.. folder. Just search for "kernel" and rename it to "zImage".

(I just have to take a course of creating creative build targets :D )

Fork it on your github and make cool push requests :)

@stevemp: Indeed, hashcode has documented his journey to make use of the Archos firmware. After reading his posts (also here on XDA), I had a look on the dynamic ION allocation routines and was able to port this logic into the upstream sources.
[Gen9 Android Development] MDMonster:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

So I am ordering an 80 G9 this weekend for $99 and was wondering, does that USB port on the back work with this ROM? In the OP it says it does with a ? next to it. I've looked high n low at reviews for this thing, and can tell that archos stuff is poopoo lol, but I want to utilize that port :P

Sent from an Atrix 2 during a smurf invasion!
[Gen9 Android Development] Quinny899:
Mine seems to be broken (hardware issue) so I can't tell, but I think the USB OTG via the microUSB port works
[Gen9 Android Development] MDMonster:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

Damn lol. Hopefully someone replies saying it works lol. My budget is $100 and an otg adapter is like $2ish :P , yes budget is that tight that I can't get one :(

Sent from an Atrix 2 during a smurf invasion!
[Gen9 Android Development] -AngelOfDarkness-:
Did you activated the USB port in the setting for 3G ??

It will only works if you did that...

greetings ...AOD
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

This is a custom ROM. There is no setting for the 3G port
[Gen9 Android Development] -AngelOfDarkness-:
dammed .... in the "customs" from surdu is an option for 3G port....

next i'll try out this rom .. maybe this WE ... *g*
[Gen9 Android Development] MDMonster:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

Haha, I would if I could. I don't own the tab just yet. Ordering it tomorrow, but wanting to know if it works in this ROM (hate ICS, and from what I've read, archos stuff is anus gay lol). So what, are you saying it works for you in this ROM, or no?

Sent from an Atrix 2 during a smurf invasion!
[Gen9 Android Development] MDMonster:
Another question relative to this ROM. I'm not used to having to do the steps needed to get a diff ROM on a device like this one. If I get an 80 G9 and it has the most recent firmware, will I still be able to flash this ROM? Most of the ones I'm coming across seem to be running the most recent version :P . Or will I be able to downgrade?
[Gen9 Android Development] toolhas4degrees:
nice job, but not a daily for me, no hdmi, but great progress :good:
[Gen9 Android Development] Morice69:
Hi,I push the archos.ext4.update I wipe android I flash kernel

Then i start in dev edition: stuck on archos boot one hour wait

I restart android to unwipe I rename archos.ext4.backup to archos.ext4.update I reboot in dev mode

I stuck in fish's screen 1 hour Force reboot: Stuck in fish's screen force reboot (if it was cm, it work in this step but without storage) Force reboot...

So when will cm with working storage and no camera, no bluetooth?
[Gen9 Android Development] Quinny899:
Just made a custom Settings apk, with a few things:

Option to update ROM (opens GooManager)

Direct access to SuperSU settings

Made Developer options enabled by default, changed their name to "Advanced / Developer options" and made them more user friendly, by sorting them into 3 sections:

Things even a noob could understand

Things that are more advanced

Things that don't exactly work (ADB wireless)

As well as explaining a couple of the options

Removed option for Vibrate & sound + vibrate in the Quick settings panel

Changed preference category name in "Sound" from "Call ringtone & vibrate" to just Call ringtone

I also added a credits thing to the "About tablet" menu

Screenshots:

Download

Installation:

Copy it to /system/app

Make it rw-r--r-- (644)

Reboot

Notes:

You MUST have SuperSU installed for the Superuser option to work, and GooManager for the update option, these will be bundled in my release versions
[Gen9 Android Development] solrakk6:
thx for all work quinny apreciate a lot.

You think we have any chnce to get camere and bluethoot? Or is better forget that?!
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

Has anyone managed to get DOMX working for video? I can't get it working using the usual methods. That's the only thing stopping me making a new release version
[Gen9 Android Development] stevemp:
PA 3.1

I believe it works in PA 3.1, will check and see. But I used the wifi from Quallenauge's build which didn't work for me. If it's working I'll upload later today, been working on ubuntu lately.

Checked and HQ is not working, lost the working one when my hard drive crashed. Ever since they integrated koush multi-user superuser it doen't build, stops with api mismatch error.
[Gen9 Android Development] Quinny899:
Could you upload the settings.apk and send it to me before the full one uploads please? I'd like to modify that one before the new version comes up

Also, I managed to get the Xposed framework working, and CRT works now :D
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

Things that will be in the new version:

Xposed framework (app included, accessed via settings)

Options for:

CRT off animation (+rotate)

Hide keyboard switcher notification

Status bar clock colour (separate from PA setting's one)

Turn on screen on plug/unplug
[Gen9 Android Development] freezenook:
Looks like.

But did you russian translate for new prefences?

And what about source update and add all addons to first or reserveds messages?
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

As I don't speak Russian, I need a translator for that really.

I don't get what you mean for the second bit?
[Gen9 Android Development] freezenook:
Ok, I want to help you with translate. I wrote PM.

What about new build with source update and new Settings.apk

Please all new addons (settings.apk for example) to first message.
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

I'll include all the new stuff in the update when stevemp puts it up
[Gen9 Android Development] stevemp:
3.0 fix

Right now the 3.0 version works better than the 3.1. :(

Fix for the brightness. Add to init.rc.

chown system system /sys/class/leds/lcd-backlight/brightness

chown system system /sys/class/leds/power/brightness

For rotation add sensor.omap.so to /system/lib/hw

Sounds like you have done some good work. :good:
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

OK. Any clue when DOMX doesn't work? I pushed the right stagefright libs and ducati libs, but to no avail. But logcat shows nothing of use