yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] stevemp:
mount usb drive

This video makes it simple. --> https://www.youtube.com/watch?v=EZT_ovEWEk8
[Gen9 Android Development] TrOjAnUK:
LOL I got excited then.. but that dont work either.. the Archos just dont show, I can see it with adb devices but nothing on the disk utility.

TrOjAn
[Gen9 Android Development] stevemp:
xubuntu

You should try xubuntu. :)

---------- Post added at 09:42 AM ---------- Previous post was at 09:31 AM ----------

AOSPA v3.+ is out for Non-Nexus devices. :) Downloading now, hope it fixes some issues we have. From announcement:

-External Storage RW issues should be resolved

-The framework now supports CM telephony, gallery & camera.

-The Settings menu now contains the Advanced Settings (CM Device Specific).

-Pie Trigger should be accurate as per non-Navbar-by-default devices.
[Gen9 Android Development] DeeDroid:
I did everything exactly like it's said in the step by step guide but I got stuck in the Archos logo screen.

Then I tried it with "export data" and copied the "archos.ext4.update" to the media folder, also tried it with the file being renamed to "archos.ext4" but nothing... still only an Archos logo :(

After a reset the copied files are gone but I got a "archos.ext4.backup". I copied them again, flashed zImage and initramfs.... still no success :(

I really apreciate you efforts but why is this procedure so complicated and not like it's done with any other image?

(I used "Ext2 File System Driver for Windows"(Ext2Fsd ) as I don't have any Linux installed. http://sourceforge.net/projects/ext2fsd/?source=dlp . This seems to work well, mounting/writing is no problem.)
[Gen9 Android Development] stevemp:
install

You can install just like with any custom image in windows. Guide from surdu_petru AOKP rom --> http://xdaforums.com/showpost.php?p=29264202&postcount=1

Installation : Now should be work on all devices Gen9 !!!

...connect USB cable to PC and ( you need to use a Rom with root access ) :

> adb shell

# stop

# cd data

# mv local .local

# mv media .media

# rm -r *

# mv .media media

# mv .local local

# exit

> adb push archos.ext4 /mnt/storage ( need to wait about ~150 seconds ) !

> at the same time do : adb reboot & press and keep volume down ; in SDE -> DEM-> Remove Android Kernel ( if exist ) -> Flash Kernel & Initramfs -> copy here zImage & initramfs.cpio.gz -> OK -> wait to reboot !

( this instructions should be work well for both devices : flash & hdd !!! )

If you are in boot loop - just reset the device - will be ok after reset !
[Gen9 Android Development] down4life:
Time to boot first time from ParanoidAndroid screen? 5-10 min? thnaks :)

edit: stil on paranoidandroid screen, did reboot one time...

edit2: did format android, now stuck on archos screen :)

wil try again :D
[Gen9 Android Development] muti642:
blocked to Android is upgrading : Starting apps.
[Gen9 Android Development] thams:
After 30 minutes stil on paranoidandroid screen, did reboot one time...

After clean android --> stuck on archos screen
[Gen9 Android Development] Quinny899:
That's because the ext4.update file gets renamed to .backup, and you deleted the normal ext4 file that it boots. Therefore you need to rename the ext4.backup file back to ext4.update again somehow
[Gen9 Android Development] DeeDroid:
I got one step further with the instruction by stevemp, thanks, instead of the Archos screen I got the ParanoidAndroid screen with the ugly fish :) But I was stuck there again, I rebooted, waited, nothing. Then I resetted Android and was stuck in the Archos screen again. Renaming the backup-file back to "archos.ext4" or "archos.ext4.update" doesn't change anything unfortunatly.
[Gen9 Android Development] Quinny899:
Rename it to .ext4.update and wait, it has to copy it, and might take a couple of minutes to get back to the boot animation
[Gen9 Android Development] TrOjAnUK:
I got to the fish.. left it 3 hours but still the fish.

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

Can you access adb?
[Gen9 Android Development] DeeDroid:
When I was at this point, I could access adb.
[Gen9 Android Development] TrOjAnUK:
Nope afraid not.... I have to reflash the Archos default then start all over again each time.

I can get some of the other custom roms on, ics blue for example installs really easy.

TrOjAn
[Gen9 Android Development] down4life:
Ill try now, again with renamed file.
[Gen9 Android Development] muti642:
I have tested this method : format Android / install official archos / install clockworkmod multiboot/ reboot in clockworkmod for adb commande/ type aokp command for install paranoidandroid/ clear dalvik- cache/flash image and initramfs paranoid/reboot in multiboot choose archos.ext4(renamed paranoid for multiboot) presse power and paranoid run . Optimization application and block to start app . I try other method for install paranoid and get blocked toi paranoid screen .
[Gen9 Android Development] down4life:
Ok, copied archos without rename (with.update), removed android kernel and then copied new ones, did pas archos boot scrn, but im still waiting on paranoid android screen.

edit:Ill wait a bit, then try reboot.

edit2: nothing after reboot...

edit3: resent android, no luck

quinny, any recommendations? :) Thanks
[Gen9 Android Development] Quinny899:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

You didn't wipe...
[Gen9 Android Development] down4life:
wipe? you mean format/reformat device? sorry for any inconvinience :) Really want to try this :D

if you mean reset android, did that, stuck on archos screen...should i wait few minutes?
[Gen9 Android Development] TrOjAnUK:
OK trying again.. Im now at the PA animation [fish] will wait for 20 minutes then Ill try adb..

TrOjAn
[Gen9 Android Development] stevemp:
???

I downloaded it and it doesn't work for me either. :confused: It did when it was first uploaded.
[Gen9 Android Development] cajl:
for the point 11 : reboot

- Reboot normaly or Dev mode ?
[Gen9 Android Development] stevemp:
beta

I'm making a new build AOSPA-jellybean-legacy if you want to wait, should be up later today. :) New kernel, modules, and sgx libraries, should fix a lot of stuff. :good:
[Gen9 Android Development] TrOjAnUK:
Ill give that a go later... can you do me a BIG favour, put the DATE in the topic please. Makes finding updated roms so much easier :)

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

I'll add the date on the next update
[Gen9 Android Development] solrakk6:
great job thx quinny!

we will have cam. and bluethoot!?

i need bluethoot for my auricular.

thx
[Gen9 Android Development] UUK3:
AW: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

This Rom sounds interesting. Good work. Is it working on HDD models? Some one tried it? Can I go back easily to original Rom by reflashing it?

Thanks in advance.
[Gen9 Android Development] down4life:
Has anyone managed to boot this rom :) It just wont listen to me :D

@stevemp: have you made some progress?

Thanks
[Gen9 Android Development] julle131:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

I have. I just had small screen tearing, so it was not stable enough for my use with the other bugs.
[Gen9 Android Development] stevemp:
video

Working on new rom, trying to get video working. My old computer takes 3 hours to compile so it's a slow process. :rolleyes:

The ParanoidAndroid options are working now, at least switching from tablet to phablet to phone works and backup and restore work. :)

New version SGX revision 1.2.0 and WLAN VER_0_8_X_TI are working fine, ti code has been merged into CM10.1 4.2.2, broke my make files. So I used hashcode make files and it's compiling again now. :good:
[Gen9 Android Development] TrOjAnUK:
Nice work ;) looking forward to testing this :D

TrOjAn
[Gen9 Android Development] stevemp:
pa_4.2.2_JDQ39_2013.02.23

Still a beta, camera, bluetooth, etc are not working. :rolleyes:

OK Quinny, your turn. :)

Works on the A80S.

https://hotfile.com/dl/195681014/c1ef383/pa_4.2.2_JDQ39_2013.02.23.zip.html

Try this one for the A101S.

https://hotfile.com/dl/196022886/676660f/pa_4.2.2_A101S_2013.02.23.zip.html
[Gen9 Android Development] freezenook:
That's a good news for today, thanks :cyclops:

But, what about smoothness? Please publish changelog.
[Gen9 Android Development] stevemp:
changes

changelog :D Too many to list, building libraries instead of copying from CM10.1.

This is the first working release, other was an alpha too see if it would compile. This is based on hashcode KFire --> http://xdaforums.com/showthread.php?t=2041694

Still have to add enhancements from his build like Custom DOMX and CodeAurora Optimizations, right now just beta for people to test.

My github if you want more info. --> https://github.com/stevemp/PA-device_archos_archos_g9/tree/jellybean

It does have the latest PVR/Imgtec graphics binaries and the swype-style 4.2 keyboard is working.
[Gen9 Android Development] julle131:
Hey Stevemp, do you have interest of trying this out? https://wiki.ubuntu.com/Touch/Porting

Porting ubuntu tablet to devices using CM10.1 source.
[Gen9 Android Development] stevemp:
Touch

Working on it, need to do a test build of CM10.1 4.2.2 today. :)
[Gen9 Android Development] theadenter:
Maybe I'm asking too much, but could you guys get HDMI cable from a friend or buy a cheap one and make HDMI support in this ROM? I'm so want to use it after battery draining 4.0.26 (even freshly installed).
[Gen9 Android Development] TrOjAnUK:
Boot looping on my G9 101 turbo.

Just stays at the fish for hours :(

TrOjAn
[Gen9 Android Development] stevemp:
You are not wiping data, try doing this.

adb shell

stop

cd data

mv local .local

rm -rf *

mv .local local

exit

adb reboot

Or if you have 4.0.26 installed.

adb shell

stop

busybox rm -rf data/*

mkdir data/local

mkdir data/media

exit

adb push archos.ext4 /data/local

adb reboot
[Gen9 Android Development] muti642:
installation method work for me:

Or if you have 4.0.26 installed.

adb shell

stop

busybox rm -rf data/*

mkdir data/local

mkdir data/media

exit

adb push archos.ext4 /data/local

adb reboot

my tablette is detected on archos 80 gen9 (conected usb) and touchscreen no foction . blocked to choose your country rom not blocked volume test work . why touchscreen not work please?
[Gen9 Android Development] TrOjAnUK:
As soon as it starts to boot the fish and for the endless time it stays on it I have NO adb, if it had I could sort it :(

TrOjAn
[Gen9 Android Development] stevemp:
log

If you are having problems wipe and on first boot connect usb cable.

Type in terminal adb logcat > log wait until you see fish and then press enter.

Need a log to find out what is wrong.
[Gen9 Android Development] TrOjAnUK:
Thats the problem.. adb dont connect.. no devices connected...

OK forget that.. looking like adb got broken somewhere LOL... trying to install again now

TrOjAn
[Gen9 Android Development] TrOjAnUK:
OK heres a logcat.. if you can see anything other than all those errors ;) let me know.

CHeers, TrOjAn
[Gen9 Android Development] stevemp:
data

/system/app/Phone.apk changed; collecting certs

Signature mismatch for shared user

Looks to me like data is not wiped, apps are already installed.
[Gen9 Android Development] TrOjAnUK:
Hmm might be right.. I have trouble wiping data as I cant get su as the default rom is not rooted..

So I need to get a rom installed thats rooted then install this??

Getting very complicated ;)

TrOjAn
[Gen9 Android Development] stevemp:
rom

You have to have a rooted rom installed before wipe, otherwise you don't have su permissions.

That's the reason I export data, otherwise you have to reformat, install stock rom and then rooted rom.
[Gen9 Android Development] edeharo:
one more with the same problem, my tablet (archos 101 gen9) is detected as archos 80 gen9 touchscreen does not work and adb not connect

thanks for the hard work
[Gen9 Android Development] stevemp:
A101S

The A101S has a different screen. Try this one. https://hotfile.com/dl/196022886/676660f/pa_4.2.2_A101S_2013.02.23.zip.html
[Gen9 Android Development] edeharo:
Installed and touchscreen works fine :), but the brightness bar and auto rotation not working :(
[Gen9 Android Development] freezenook:
Please add this information to 1st messege.

---------- Post added at 03:23 PM ---------- Previous post was at 03:22 PM ----------

They doesn't work on A80S too :eek:
[Gen9 Android Development] stevemp:
alpha

Screen rotation is working with launcher 2 for me, it's very much an alpha build of a beta version of PA 3.0. :rolleyes:

PA 3.1 is out now could be some things got fixed. I have installed Ubuntu 13.04 on my desktop and copying files off the old drive is slow. :eek:

I will try building the new version asap. :)
[Gen9 Android Development] down4life:
Silly question, Im bit confused, if I have official 4.0.26 rom installed, from sde, do I have to instal rooted rom and then this? Or I can instal this using adb, as you write? Im still stuck on PA boot scrn. Push archos.ext4 file and copy kernel.

Tnx :)
[Gen9 Android Development] TrOjAnUK:
yes you have to install rooted rom and then do the install.

TrOjAn
[Gen9 Android Development] Quinny899:
Flash a rooted rom and then load adb shell and run this:

cd data
mv media .media
mv local .local
rm -rf *
exit
adb push archos.ext4.update /data/local/archos.ext4

Bypasses the copying on splash screen completely

Then reboot into archos recovery, flash the kernel normally and reboot
[Gen9 Android Development] down4life:
Did that, flashed this new rooted 4.0.28, adb finished, copied kernel, but still in bootlop. Ill attach log when Im home, but im really confused, dont now is it me or tablet :)

generally, I have managed to install only 4.1.1 mockup 4.2 rom, and thats it :D
[Gen9 Android Development] TrOjAnUK:
Nope its not you... I have just gone through this 3 times letter for letter and still boot loop..

TrOjAn
[Gen9 Android Development] down4life:
And I did managed to instal ubuntu :D sorry, im flasholic :D
[Gen9 Android Development] edeharo:
rom very promising expecting the new version
[Gen9 Android Development] a83:
Thank you for taking our officially abandoned G9's into JB era !

great work,will try to flash soon,
[Gen9 Android Development] surdu_petru:
Hi !

- to avoid any stuck on boot ( is absolutely necessary !!! ) , please complete your instruction with :

.....

rm -rf *

mv .local local

mv .media media

exit

Why ?

sometimes , the new directory created /media and /local can be locked ! - and you can not be able to write on /data/local or /data/media :good:

I say this from experience ;)
[Gen9 Android Development] stevemp:
media

Remove media directory and let init make it, needs different permissions for 4.2.2. :)

# create virtual SD card at /storage/sdcard0, based on the /data/media directory

# daemon will drop to user/group system/media_rw after initializing

# underlying files in /data/media will be created with user and group media_rw (1023)

service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
[Gen9 Android Development] theadenter:
Tried to flash 3 times.

1. installed 4.0.26

2. removed android kernel, installed 4.0.26 root

3. booted into 4.0.26 root then does it via adb: "rm -r *" on data, and then "mkdir local" in the data directory, then "adb push archos.ext4.update /data/local/archos.ext4".

4. rebooted into recovery

5. flashed zImage and initramfs

6. rebooted

7. booted successfully

Play market not working (other "Play" apps working), switching wifi on and off freezes tablet until reboot, brightness not working.

My tablet identified as Archos 80G9.

W/dalvikvm( 2084): threadid=1: thread exiting with uncaught exception (group=0x40dc6930)
E/AndroidRuntime( 2084): FATAL EXCEPTION: main
E/AndroidRuntime( 2084): java.lang.IllegalArgumentException: Invalid path: /cache
E/AndroidRuntime( 2084): at android.os.StatFs.doStat(StatFs.java:46)
E/AndroidRuntime( 2084): at android.os.StatFs.<init>(StatFs.java:39)
E/AndroidRuntime( 2084): at com.google.android.finsky.download.Storage.cachePartitionAvailableSpace(Storage.java:36)
E/AndroidRuntime( 2084): at com.google.android.finsky.download.DownloadQueueImpl$StartNextDownloadRunnable.run(DownloadQueueImpl.java:439)
E/AndroidRuntime( 2084): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2084): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2084): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2084): at android.app.ActivityThread.main(ActivityThread.java:5204)
E/AndroidRuntime( 2084): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2084): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2084): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 2084): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 2084): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 2084): Caused by: libcore.io.ErrnoException: statfs failed: ENOENT (No such file or directory)
E/AndroidRuntime( 2084): at libcore.io.Posix.statfs(Native Method)
E/AndroidRuntime( 2084): at libcore.io.ForwardingOs.statfs(ForwardingOs.java:126)
E/AndroidRuntime( 2084): at android.os.StatFs.doStat(StatFs.java:44)
E/AndroidRuntime( 2084): ... 12 more
W/ActivityManager( 920): Force finishing activity com.android.vending/.AssetBrowserActivity

UPD: mkdir /data/cache was a solution for play market.

UPD2: Confirmed that HDMI is not working, please update your list of features.

TV keep telling that video format unsupported.
[Gen9 Android Development] ron194:
followed "theadenter" 's steps...

1. installed 4.0.28

2. removed android kernel, installed 4.0.28 root

3. booted into 4.0.28 root then does it via adb: "rm -r *" on data, and then "mkdir local" in the data directory, then "adb push archos.ext4.update /data/local/archos.ext4".

4. rebooted into recovery

5. flashed zImage and initramfs

6. rebooted

7. booted successfully

8. but stuck on welcome because no touch action can sense... power button/voice button is work!
[Gen9 Android Development] Quinny899:
Install the 101 version that was posted a couple of pages back
[Gen9 Android Development] ron194:
thx! Quinny899. it works now! :)
[Gen9 Android Development] surdu_petru:
Hi !

Sure ...you are right ( omitted update to 4.2.2 :confused: )

need to rectify :

-all commads are very useful to install aosp based custom rom over a officialy firmware ( but API should be the same ! ) if not , should be enough ( to wipe /data ) just :

> adb shell

# cd data

# rm -rf *

# exit

Good luck !
[Gen9 Android Development] theadenter:
# rm -r * is a correct one. Not sure why, but -rf not being recognized by android.
[Gen9 Android Development] stealthdave:
Some versions of Busybox don't recognize the -f (or "force") flag. Six of one, and all that.
[Gen9 Android Development] :
Hm, I'm always stuck at Archos screen...tried 3 times!

Version from first page..
[Gen9 Android Development] julle131:
Re: [ROM][AOSPA 4.2.2][RC1] PARANOIDANDROID | PA Hybrid engine | Per app colour | PIE

The device is not loading the image. Use inittamfs from multiboot menu and zimage from PA.
[Gen9 Android Development] :
I tried, I get always choice between "Stock Android firmware" and "Clear dalvik cache".

It only reboots to this menu...
[Gen9 Android Development] julle131:
Sock android does not boot because there is no kernel for it, and dalvik is not uself for us a the moment. The problem is that the device does not find the archos.ext4.update. Install stock rom, but this time rename archos.ext4.update to archos.ext4 and move it to device. Then continue as the instructions tell.
[Gen9 Android Development] :
I tried, but still doesn't work ...
[Gen9 Android Development] stevemp:
update

If you have archos.ext4.update it will not boot for me.

If you have A80S use this download.

http://hotfile.com/dl/195681014/c1ef383/pa_4.2.2_JDQ39_2013.02.23.zip.html

If you have A101S use this download.

http://hotfile.com/dl/196022886/676660f/pa_4.2.2_A101S_2013.02.23.zip.html

If you have 4.0.26 you have to use busybox instead of toolbox.

adb shell

stop

busybox rm -rf data/*

busybox mkdir data/local

exit

adb push archos.ext4 /data/local

Reboot and flash new kernel.

Good Luck with this rom, 3.1 doesn't build right now, will try later. :rolleyes:
[Gen9 Android Development] :
That worked!

Thanks a lot! :)
[Gen9 Android Development] Quinny899:
Upon looking into the brightness issue, the logcat tells me this:

Lights: set_light: write error

However, manually setting the value in /sys/class/leds/lcd-brightness/brightness works fine, therefore I think that the path must be wrong within the system. Any ideas?
[Gen9 Android Development] stevemp:
archos hw

You could try adding archos propitiatory files to /system/lib/hw

audio_policy.archos.so gps.archos.so

audio.primary.archos.so lights.archos.so
[Gen9 Android Development] trevd:
I see that error and I'll have those libs thanks. :good: :laugh: Nice work Seems pretty stable, looks like you've got the knack of this building lark.

Google play was FC'ing at first Ithe /cache was symlink to /data/cache which didn't exist and the link had the wrong permissions

To Fix:

rm /cache
mkdir cache
chown system.cache cache
chmod 770 cache

Are Dongle's working yet or shall I do that thing that I do? :D LOL :good:
[Gen9 Android Development] Quinny899:
I have no idea about dongles, really should get one of those things to test, as well as a HDMI cable...
[Gen9 Android Development] stevemp:
Matter of trial and mostly error. :D I don't have any way to test dongles, hdmi, or bluetooth so it would be fantastic if you would do that. :good:

Seems like I broke something in that rom. :( I used the G10 rom so permissions would be correct and market was working fine but must have

screwed it up when testing some ideas. :eek:

The camera is not recognized when booting so might be the init needs something added, the archos init won't work. I am hoping the G10 gets

4.2.2, then we could use the init from it. :)
[Gen9 Android Development] trevd:
It's probably more me, I can confirm 3G works ... well half works, amusingly the Huawei dongles work fine but the archos one won't connect because it's running external services ( pppd_secrets) to set it's auth tokens. The Huawei library does that internally., LOL

I had to give pppd su permission which is nothing new ( chmod 6755 ) otherwise you end up with this little doozy

E/pppd ( 1398): This system lacks kernel support for PPP. This could be because
E/pppd ( 1398): the PPP kernel module could not be loaded, or because PPP was not
E/pppd ( 1398): included in the kernel configuration. If PPP was included as a
E/pppd ( 1398): module, try `/sbin/modprobe -v ppp'. If that fails, check that
E/pppd ( 1398): ppp.o exists in /lib/modules/`uname -r`/net.
E/pppd ( 1398): See README.linux file in the ppp distribution for more details.
I/pppd ( 1400): pppd exited with 4

which on the face of it has nothing to do with permission -- Took me months to find the answer to that when I was first playing with it :silly:

Native SMS Works aswell

Re the camera : I'm be very surprised if it was in the init but this is archos so .... enough said .. Just having a quick look now, There's not a lot on the logcat and even less on the dmesg. I know the TI AOSP have different camera packages but meh, Anything's worth a shot I suppose, The old poke it with a stick method. It would be a nice excuse to hook up a proper gdb session , It's just a big task and my knowledge is light with gdb, I miss visual studio integrated debugging.

Hack On Folks.
[Gen9 Android Development] Quinny899:
Another thing, we really should have some automatic install system, there's loads of people not installing it properly and getting stuck on the splash screen. So, a .bat for windows, a .sh for Linux and someone else make a mac one ;) ?