[ROM] 5.0.* CyanogenMod 12.0 - Gen9 Android Development

Hi, if anyone would like to run a 5.0.1 Google OS on a Archos G9 80S device (and currently basically verified only with this), download and extract the file
18_03_2015-20_58_50.7z
Installation (tested only with linux) :
- reboot into SDE menu and under "Format System" perform a "Reset Android & Storage" to clear all data of previous installations (this is really important for the first installation. Updating a existing installation (same major version) doesn't require this step !).
- reboot into SDE menu and under Developer Edition Menu -> "Export Data Partition"
- mount this usb drive
Code:
sudo mkdir <Mount_Path>/local
sudo cp archos.ext4.update <Mount_Path>/local/archos.ext4
sudo sync
sudo umount <Mount_Path>
- wait until the unmount process is done
- reboot into SDE menu and under Developer Edition Mernu , Flash Kernel and Initramfs : copy zImage and initramfs.cpio.lzo on the new driver that appears on desktop/laptop
- Wait for reboot your devices : after reboot you can see Android prepares the system for a while .....be patient at least ~20 minutes for the first run!
What's new ?
------------ since 18_03_2015-20_58_50 -------------
tiler size modifications within kernel, suggested by stevemp (thanks!)
CM updates.
------------ since 15_03_2015-22_26_59 -------------
Netflix and widevine fixes from stargo (thanks!)
CM updates.
------------ since 09_02_2015-22_26_59 -------------
Only CM updates.
------------ since 12_12_2014-21_41_41 -------------
Initial release.
Kernel got some zram optimizations.
Rebuild: All used revisions for this release are stored in a separate folder in the archive.
Additions:
Archos Control Panel App from @mordesku: http://forum.xda-developers.com/showpost.php?p=47789812&postcount=88
Thanks: @stargo @Hashcode @trevd
@CM community @all the cool omap4 hackers where I taken some code and inspirations !!!
Without these peoples, It would not so easy to make some (working) builds of the CM-12.0.
Archive:
15_03_2015-22_26_59.7z
12_12_2014-21_41_41 / 12_12_2014-21_41_41 (devHost)
09_02_2015-22_26_59.7z
XDA:DevDB Information
Archos G9 CyanogenMod 12.0, ROM for the Archos Gen9
Contributors
Quallenauge
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: Cyanogenmod
Version Information
Status: Alpha
Current Beta Version: 12_12_2014-21_41_41
Created 2014-12-12
Last Updated 2015-03-18

Dankeschön
I now understand why TI exited the mobile SOC market - How can they expect to sell new stuff when the OMAP4xxx just won't die!
I shall give this one a whirl, It'll be good to get my archos off of the stock ICS.
I'm assuming you've dropped the recovery nonsense for that moment then?
is selinux off?
Is adb on a first boot? as I would recommend that folks leave it hooked up the computer after flashing that
way you can run adb logcat so you know what is going on. It sure beats watching a boot animation for ~20 minutes.
IIRC the 2012 nexus 7 took about 10 Minutes to boot so it's not far off.
I see you forked hotplugd! Let me apologize for the code quality, I was young and foolish and didn't know what I was doing ..
I think I might revisit it at some point or at least delete it lol
Anyway If I've got a bit of time / motivation I might have to have a cheeky hack on this , now that you've done all the hard work! .
I hope you don't mind but I've also given the file some re-hosting love just uploading it to devhost and androidfilehost too. I figured the space might aswell get used for something useful.. I'lll post the links when it's complete.:good:
Hack On! :good:
trevd
@Quallenauge dev-host link. If you want to add it to the first post. http://d-h.st/96J

Installed and i must say it's working really good :good:

schwatter said:
Installed and i must say it's working really good :good:
Click to expand...
Click to collapse
Hahahah! BI ZAR! I check the forum for my Archos 101 Gen9 Turbo once every X months, and checked it today and see LOLLIPOP / CM12?! GREAT!
And whats the status? I use the tablet a lot still, so what is NOT working?
Edit: Flashed it to a Archos 101 Gen9 Turbo, and all is working, and fast as hell. GREAT!

I came from Freezenook's ROM BUILD7 (VERY happy user) but now tried this:
A MA ZING!
How fast and cool this Lollipop is on our (old) Archos (101) Gen9 (Turbo) tablet!!!
For now only compliments and almost everything seems to work, and this is a major and recommended step! Great OS this Lollipop!
Tested
Speed: Good (17.106 AnTuTu 5.3)
Sound/Video: Yes
Touch: Very good
Camera: Yes
Battery: Good
Size: Lot of free space (3 - 4 GB free!)
Memcard: NOT TESTED YET
USB: Yes (with Archos Panel app (USB & deep sleep))(USB storage works)
MicroUSB: Only charging (no devices?)
HDMI: NOT TESTED YET
Headphone: Yes (low volume though)
Apps: Some apps I normally use on my tablet and phones (KitKat or older) are not (yet?) compatible, and cannot install. I really miss some, like Archos Video (Free)(MediaCenter.apk). Is it possible to port this APK to our new Lollipop, I would love that. And the other apps are just not there yet I guess (busy making them Lollipop compat)?

Thanks a lot !!

Supergeil!!!
Still amazing to see that you're still at it @Quallenauge
I will definitely flash it as soon as I have time.
The only concern I have is the USB Port. Does it stil work in 5.0 ? For me it didnt in 4.4, so I flashed back as I needed my Archos to read my Media USB-HDD. I have a 101S btw.
Well as soon as I have flashed it, I am going to test it and try a few things, hope I'll get it working :fingers-crossed:

Hi trevd!
trevd said:
I'm assuming you've dropped the recovery nonsense for that moment then?
Click to expand...
Click to collapse
This is not a "nonsense". But it doesn't reflect my current needs. It would be cool to have a standard recovery image to format the data partition with f2fs (The kernel should support it right now!).
trevd said:
is selinux off?
Click to expand...
Click to collapse
Yes. Currently I doesn't know how to enable selinux rules, because "rootfs" isn't the mounted loop device but the "real" root. So the file nods are forced to "ubject_r:unlabeled:s0" which doesn't fits.
trevd said:
Is adb on a first boot? as I would recommend that folks leave it hooked up the computer after flashing that
way you can run adb logcat so you know what is going on. It sure beats watching a boot animation for ~20 minutes.
Click to expand...
Click to collapse
Yes, ADB is turned on by default. I don't like it, when my device doesn't be verbose
trevd said:
I see you forked hotplugd! Let me apologize for the code quality, I was young and foolish and didn't know what I was doing ..
I think I might revisit it at some point or at least delete it lol
Click to expand...
Click to collapse
Yes, the old binary is bound to an older libsigchain.so. So I had to recompile it. The code quality is far better than my output So thanks for your work!
I have an issue with the ril implementation. Mobile signal is turned on, but the datakey pppd stuff is not called. Do you have an idea whats going wrong - where can I look.
Should I use your implementation from android_hardware_ril_libarchos_ril ?
trevd said:
@Quallenauge dev-host link. If you want to add it to the first post. http://d-h.st/96J
Click to expand...
Click to collapse
[/QUOTE]
Done. Thanks!

trevd said:
Dankeschön
I now understand why TI exited the mobile SOC market - How can they expect to sell new stuff when the OMAP4xxx just won't die!
I shall give this one a whirl, It'll be good to get my archos off of the stock ICS.
I'm assuming you've dropped the recovery nonsense for that moment then?
is selinux off?
Is adb on a first boot? as I would recommend that folks leave it hooked up the computer after flashing that
way you can run adb logcat so you know what is going on. It sure beats watching a boot animation for ~20 minutes.
IIRC the 2012 nexus 7 took about 10 Minutes to boot so it's not far off.
I see you forked hotplugd! Let me apologize for the code quality, I was young and foolish and didn't know what I was doing ..
I think I might revisit it at some point or at least delete it lol
Anyway If I've got a bit of time / motivation I might have to have a cheeky hack on this , now that you've done all the hard work! .
I hope you don't mind but I've also given the file some re-hosting love just uploading it to devhost and androidfilehost too. I figured the space might aswell get used for something useful.. I'lll post the links when it's complete.:good:
Hack On! :good:
trevd
@Quallenauge dev-host link. If you want to add it to the first post. http://d-h.st/96J
Click to expand...
Click to collapse
nilse said:
Supergeil!!!
Still amazing to see that you're still at it @Quallenauge
I will definitely flash it as soon as I have time.
The only concern I have is the USB Port. Does it stil work in 5.0 ? For me it didnt in 4.4, so I flashed back as I needed my Archos to read my Media USB-HDD. I have a 101S btw.
Well as soon as I have flashed it, I am going to test it and try a few things, hope I'll get it working :fingers-crossed:
Click to expand...
Click to collapse
External USB drive isn't supported right now. I will have a look, when I have some free time ( and after fixing the RIL mobile data connection stuff ).

Quallenauge said:
Hi, if anyone would like to run a 5.0.1 Google OS on a Archos G9 80S device (and currently basically verified only with this),
Click to expand...
Click to collapse
Wow, excellent! Thank you!
Could you please, write what you know that definitely doesn't and does work, as you did for older CMs?
Does ART work? Could CM 10.2 be updated to 12, or should we erase everything like with clean CM installation? HDMI?

@nilse: Yes USB (inc drives/storage) works (via Archos Panel app)!
@Bor-ka: Always do a full format/erase/factory settings etc, for SURE with a major leap like CM11 > CM12 or MORE!!
See my older post for a test of all hardware etc!
And again: Some apps I normally use on my tablet and phones (KitKat or older) are not (yet?) compatible, and cannot install. These apps are just not there yet I guess (busy making them Lollipop compat)?
I really miss some, like Archos Video (Free)(MediaCenter.apk). Is it possible to port this APK to our new Lollipop, I would love that!

thank you again for your great work.
Works on 80g9H 512 mb ram.
will test more functions and edit this post later.

@hackwerk, thanks!
For some reason unknown to me, there is no "export partition" in my SDE, so reformatting and copying to the /local/ is a little bit painful to me - should do it with adb shell.
But anyway, Archos Video Player is a show stopper for me. Since it is the only player that can natively play 720p/1080p movies on this tablet via DLNA/Samba. Tried MX player with latest codecs - no luck.
All
Did anybody compare deep sleep in CM with the stock ROM?
IIRC deep sleeped tablet with a stock ROM (4.*, 3.*) could lose only about 10 battery _a_week_ if not used. May be my memory deceives me, of course. But with CM 10.2 and no background tasks it drops by ~ 10% a night. (Didn't try Wakelock and Greenify though)

Bor-ka said:
@hackwerk, thanks!
For some reason unknown to me, there is no "export partition" in my SDE, so reformatting and copying to the /local/ is a little bit painful to me - should do it with adb shell.
But anyway, Archos Video Player is a show stopper for me. Since it is the only player that can natively play 720p/1080p movies on this tablet via DLNA/Samba. Tried MX player with latest codecs - no luck.
All
Did anybody compare deep sleep in CM with the stock ROM?
IIRC deep sleeped tablet with a stock ROM (4.*, 3.*) could lose only about 10 battery _a_week_ if not used. May be my memory deceives me, of course. But with CM 10.2 and no background tasks it drops by ~ 10% a night. (Didn't try Wakelock and Greenify though)
Click to expand...
Click to collapse
SDE: This ia an easy alternative way of installing the ROM (which I used)!
Video: Have you tried Skifta (good for network!) or other majors, like GoodPlayer, MediaPlayer Classic or the brand new official VLC Player (and thus MX Player))?
Maybe in combination with the "All Codecs for Archos Video" app?? Must be possible!
And maybe / I hope we can 'port' the MediaCenter.apk to Lollipop!
Battery: Is already good, but everyone talks about an app called Lux! And Greenify.
But yes Deep Sleep can be enabled in this ROM in the Archos Panel app too.
And maybe these famous mods can help too ( @Quallenauge: Checked them already I think?)?

hackwerk said:
SDE: This ia an easy alternative way of installing the ROM (which I used)!
Click to expand...
Click to collapse
Unfortunately I do not have "Enter the SDE menu on your device and select export data partition," in SDE.
See here, with screenshot http://forum.xda-developers.com/showpost.php?p=57243821&postcount=2
For video thanks, I'll try. Completely forgot about VLC. Tried MX already, it plays Ok from the internal memory/SD but gloriously fails over the network.
What Lux does is automagically lowers screen brightness, Yes, it is very useful app, but it will lower battery drain in the active mode, not in sleep when the screen is off. And it has a bad habit on my current cm10 installation - sometimes it restarts when I'm reading a pdf book at night (low memory?) and I get some two seconds of full brightness in my eyes. Ouch.. I think I'd revert back to manual "dimmer" or "blue light filter" and manual brightness adjustment.
What is strange, users at our local forum report that 5.0 is slower than the stock (?!) ROM on 80S 1.5 Turbo (4460) / 1GB RAM. I wonder what it will be like on my 1.2 (4430) / 512 RAM..

Thanks Quallange and all of you who helped him I saw your progress with 5.0 on github and I wanted to compile it myself but yeah I didn't had space for that sadly, I wanted to ask you flr it but then I see now that you got a cm12 thread when I am tomorrow home from school I will flash this :good:
Edit:
This song describes my 5.0 feeling:
http://youtu.be/p8sZcmQr6KY
It works till now pretty good. I am having the 512mb turbo version but after disabling things that I don't use it runs all smooth :good: o

I installed this Rom on my 101 g9 with 512 MB RAM.
It s like a new device. A lot less lagging and better ui response.
Only thing i found is that the keybord hides every now and then when i want to type some text.
Thanks a lot for this masterpiece of work *like*
Sent from my SM-N7505 using XDA Free mobile app

biggoof75 said:
I installed this Rom on my 101 g9 with 512 MB RAM.
It s like a new device. A lot less lagging and better ui response.
Only thing i found is that the keybord hides every now and then when i want to type some text.
Thanks a lot for this masterpiece of work *like*
Sent from my SM-N7505 using XDA Free mobile app
Click to expand...
Click to collapse
I agree, much more snappy than CM11. I've also had the keyboard hiding issue (stock and Swype). Thanks for keeping the G9 alive Quallenauge :good::good:

G9 80H
i installed the rom but it places data on internal storage. hard drive is placed at /storage/sdcard1 and is read-only
how can i place data on the hard drive?
Note: besides the internal storage issue, the rom runs nicely.

Hi Quallenauge.
Realy magic this ROM, many thanks.
If with JB sometime I have only 80 MB RAM free and with KK 145, now I have over 200 !!!
But I have a problem, app ( iGO ) can't write on external card.
Tried with 3 different SDFix and manually in system/etc/permissions/platform.xml
With Root Explorer I can copy, but can't modify permision.
There is a solution to this problem ?
Thanks in advance.

Related

[ROM] Perf Tweaked Rom Build 1 by DJ_Steve

I take no credit for this, just passing information on for others to use. YMMV, use at your own risk..
roebeet pointed this out in irc;
SOURCE: http://notioninkhacks.com/forums/viewtopic.php?f=29&t=891
by StephenH » Wed Feb 16, 2011 1:58 pm
ok folks im hoping people can test this for me,
just built a new build (my first for the adam) based on the newest official 2.2 build but with some interesting tweaks
NOTE: i am a dev working for NI especially on honeycomb soon, but these roms are my own.
changelog:
New Kernel with NTFS support, android does not mount this by default but you can mount it via adb read only. (kernel has rw support but i couldnt get it to mount a ext drive rw)
Kernel has few other tweaks and changes and doesn seem to die when sleeping either now
performance tweaks (minor ones) made to the os itself
full google apps added (untested )
ability to disable ril/phone features to conserve battery (see below for info)
adhoc wifi courtesy of the update posted on this site previously
disabled some of the logspam that was enabled but isnt needed
boot.img is first stage prepped for honeycomb
install instructions
download the file linked below and copy to either sd or your adams internal memory and flash as normal
download:
Code:
Please refer to original post linked above for download link
RIL Disabling Information
ok this is a creative feature. all adams be them 3g or wifi only versions keep thje phone related applications and services running in the background and on the wifi only adams this causes a higher battery drain due to system constantly trying to connect to a network, i have implemented a way to disable this by setting a simple property in the system
to do this you need to edit the /system/build.prop file and change the mentioned line to 1 instead of 0 then reboot
if that doesn work then try the below route
open a terminal and run the following command then reboot
Code:
setprop persist.ril-off 1
Click to expand...
Click to collapse
I am amazed by the lack of discussion about this. I wonder if this Stephen fella can let that kernel out...
Sent from my ADR6300 using XDA App
football0552 said:
I am amazed by the lack of discussion about this. I wonder if this Stephen fella can let that kernel out...
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
It is probably because there aren't very many Adam users yet.
keitht said:
It is probably because there aren't very many Adam users yet.
Click to expand...
Click to collapse
Yeah I think there are very very few adam owners out in the wild. Might be a decent bump after this next delivery round next week.
And NI has not officially released their kernel source and from my discussions with them I wouldn't expect it real soon. I did however explain to them that it will have to be eventually so I think they might be working on it.
rothnic said:
Yeah I think there are very very few adam owners out in the wild. Might be a decent bump after this next delivery round next week.
And NI has not officially released their kernel source and from my discussions with them I wouldn't expect it real soon. I did however explain to them that it will have to be eventually so I think they might be working on it.
Click to expand...
Click to collapse
They don't seem so keen on sharing huh? Interesting since they like to use other people's open source code...
Guess I will have to join in and start hounding them about it.
Sent from my ADR6300 using XDA App
keitht said:
It is probably because there aren't very many Adam users yet.
Click to expand...
Click to collapse
I second that. Am a fervent flasher (the right kind....) and when I get my Adam I will certainly be putting my own 2 cents in to get the most out of it, both OS and UI wise.
I am not alone, so definitely expect a flury of activity by Adam enthousiasts once the next 2 batches are delivered.
Sent from my HTC Desire using XDA App
You guys are lucky to have djsteve as your new Dev. He's put in a lot of work for the Dell Streak since it first came out and he will probably put in a lot of work for the Adam ink as well.
football0552 said:
I am amazed by the lack of discussion about this. I wonder if this Stephen fella can let that kernel out...
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Sent from my Dell Streak using XDA App
I get mine tommorrow so I'm very excited.. will def try this
sent from gv1.5 on g2
Update: 10/03/2011:
UPDATE: 10/03/2011:
time for another update
changelog:
reverted vold change as it screws up things
added some more perf tweaks,
added data2ext script from gtab forum on xda, seems to work nicely, can hit quadrant scores of ~3200 now
flash you will need to install yourself at moment, i forgot to readd it link for flash : http://forum.xda-developers.com/showpos ... stcount=26
Code:
refer to original thread/forum for download links
enjoy folks and if anyone wants to do another video feel free.
---------------
UPDATE: 17/02/2011:
ok have tweaked a bit more and made a few more changes.
changelog:
new vold added with ntfs mount support (see below for some issues known with this)
flash player added and should auto install
fixed market and facebook
fixed superuser ability
added estrongs file manger for root use
tweaked the ril scripts to be easier to use.
added modified nvrm_daemon to increase 2d framerate
Code:
refer to original thread/forum for download links
*note for VOLD, this now mounts ntfs drives read only, but it has slightly screwed up the mounts, if you power up device with no microsd plugged in it will mount the internal storage and allow access to is via usb, if you plug in a microsd or boot with one in it will mount both internal and external sds but share the external over usb, it quite happily detects and mounts my 1tb usb hdd which is ntfs formatted though now.
ril tweaks: now all you need to do is create a empty file on your memory card called riloff.txt then reboot and script should do the rest to reenable rename the file rilon.txt and reboot
enjoy folks and if anyone wants to do another video feel free.
-----------------------
ok folks im hoping people can test this for me,
just built a new build (my first for the adam) based on the newest official 2.2 build but with some interesting tweaks
NOTE: i am a dev working for NI especially on honeycomb soon, but these roms are my own.
changelog:
New Kernel with NTFS support, android does not mount this by default but you can mount it via adb read only. (kernel has rw support but i couldnt get it to mount a ext drive rw)
Kernel has few other tweaks and changes and doesn seem to die when sleeping either now
performance tweaks (minor ones) made to the os itself
full google apps added (untested )
ability to disable ril/phone features to conserve battery (see below for info)
adhoc wifi courtesy of the update posted on this site previously
disabled some of the logspam that was enabled but isnt needed
boot.img is first stage prepped for honeycomb
install instructions
download the file linked below and copy to either sd or your adams internal memory and flash as normal
Code:
refer to original thread/forum for download links
RIL Disabling Information
ok this is a creative feature. all adams be them 3g or wifi only versions keep thje phone related applications and services running in the background and on the wifi only adams this causes a higher battery drain due to system constantly trying to connect to a network, i have implemented a way to disable this by setting a simple property in the system
to do this you need to edit the /system/build.prop file and change the mentioned line to 1 instead of 0 then reboot
if that doesn work then try the below route
open a terminal and run the following command then reboot
Code:
setprop persist.ril-off 1
Last edited by StephenH on Thu Mar 10, 2011 6:15 pm, edited 2 times in total.
Click to expand...
Click to collapse

Dual boot on LG Optimus 2X

Hey I was wondering if there is a way to get dual boot on my O2X. The type I would love the most is the one of this kind forum.xda-developers.com/showthread.php?t=1095658
But dual boot with any other system would be great. If anyone are able to make this happen that would be great. I myself have no idea how to make this work so help would be great. Thanks for your attention.
Sent from my LG-P990 using XDA App
i don't think it's possible to do that
the o2x has 400MB of system ROM and most of rom uses up to 350MB, qhere do you want to put other roms?
Hi,
it's not a dual boot, but you can now launch a full linux system from android using the chrooting method, see here:
http://forum.xda-developers.com/showthread.php?t=1151931
That is great
Im having some trouble with the installment of ubuntu though
They have hadded BT5 now that's real sweet to have with you on the go.
seems they are working towards native boot with usb host support that would be the golden price
the hdmi out is suppose to work on it, still havent gotten to test myself though
Anyone tried Bootmanager on O2X?
https://market.android.com/details?id=com.drx2.bootmanager
Dual boot is actually possible.But till my exams end i am not working on that Project.Till then enjoy my chroot images.My exams end on 22nd august.Will start working on Native linux booting after that.
mparack said:
Anyone tried Bootmanager on O2X?
https://market.android.com/details?id=com.drx2.bootmanager
Click to expand...
Click to collapse
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
coilfan said:
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
Click to expand...
Click to collapse
Any news on this. I found this interesting but saw our device still unsupported as you have already mentioned. It will be wonderful if o2x gets supported. And the best part is not only dual boot but supports upto four/five including the ROM in phone.
Hi
Also looking for more info on this. Did you get it working in the end?
coilfan said:
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
Click to expand...
Click to collapse
manasgirdhar said:
Dual boot is actually possible.But till my exams end i am not working on that Project.Till then enjoy my chroot images.My exams end on 22nd august.Will start working on Native linux booting after that.
Click to expand...
Click to collapse
Now that so many different flavours of GB ROMs available for our device (CM with working A2DP & FM, MIUI-FM expectedly will be working shortly since CM has made it & STOCK ROMs) a Dual /Multi boot will make a great value addition to O2X. Hoping to hear something positive from you.
parthabhatta said:
Now that so many different flavours of GB ROMs available for our device (CM with working A2DP & FM, MIUI-FM expectedly will be working shortly since CM has made it & STOCK ROMs) a Dual /Multi boot will make a great value addition to O2X. Hoping to hear something positive from you.
Click to expand...
Click to collapse
Erogeon was working on a Linux dual boot...Did u check his thread???
very nice
Striatum_bdr said:
Hi,
it's not a dual boot, but you can now launch a full linux system from android using the chrooting method, see here:
http://forum.xda-developers.com/showthread.php?t=1151931
Click to expand...
Click to collapse
full linux system? :O
so does that mean we can run linux on phone like on pc??
darkmystel said:
full linux system? :O
so does that mean we can run linux on phone like on pc??
Click to expand...
Click to collapse
Sort of yes....But not everything works...for example sound from within the chroot enviornment does not work,etc
manasgirdhar said:
Sort of yes....But not everything works...for example sound from within the chroot enviornment does not work,etc
Click to expand...
Click to collapse
so bro is it like a real dual boot? or do u run it from inside?? n sound fails inside the linux only right???
it wont affect the main OS will it??
darkmystel said:
so bro is it like a real dual boot? or do u run it from inside?? n sound fails inside the linux only right???
it wont affect the main OS will it??
Click to expand...
Click to collapse
Its not exactly a dual boot...U will boot into android and then manually run the script in terminal emulator and run linux on top of Android..think of it as a virtual Machine...there will be no sound from within Linux..The android O.S will continue to function as Normal..There will be no effect on the Main O.S...other than Memory consumption while you run the chroot..ofcourse that is to be expected..

[WIP] Ubuntu on G9 v0.2

Hey guys,
let's try to get Ubuntu working on our tablets.
adbd is included in the images, so you have a root shell over adb
SDE required.
Extract all.
adb push ubu1204.img.ext4 /data/media/
Reboot - SDE - Flash kernel and initrd
Multiboot menu 0.3 - ubu1204.img.ext4 (from the menu to start the ICS, such as "archos.ext4")
Done.
(passwords: ubuntu - ubuntu root - root)
Working:
- Booting on 80G9 and 101G9
- Touchscreen (touchpad mode)
- Keyboard via OTG cable
- Mass storage on rear USB-prt
- SD card automount on plugin
- LCD backlight brightness control via command line, lol
- Networking (incl. WiFi)
Changelog:
0.2:
- Made by szanalmas
- Upgrade to 12.04
- Kernel 3.0.8+
- Working WiFi (try adding a dummy network, then it works), Sound
- Switched from Unity to Gnome Classic
0.1:
- Initial build.
Todo:
- Bluetooth
- Hardware acceleration
- Camera
- Battery
Download v0.2:
Image: Download
SHA: View
Kernel: Download
SHA: View
Download v0.1:
sysroot_ice.img http://hotfile.com/dl/145362762/7e3f710/ubuntu.img.rar.html MD5:2d9dbc775820db5dda281df84ab7db64
initramfs.cpio.gz http://hotfile.com/dl/145366156/8c56f1d/initramfs.cpio.gz.html MD5:150fc53be381ac3247d44226061868af
zImage http://hotfile.com/dl/145366657/34f75c7/zImage.html MD5:4de6efeec193aa5809f2ff871a96ef2d
Thanks to
- szanalmas for upgrade to 12.04, kernel 3.0.8+, WiFi
- letama for provided kernel + initramfs
- trevd for testing on 101G9 and reuploading stuff
- Adam / OPPO
great a1Pha !
but i would like ubuntu and ICE.. (lol)
This can be made. I'll have to check the initramfs tomorrow
Upload done, post edited - have fun @ testing
a1Pha said:
This can be made. I'll have to check the initramfs tomorrow
Click to expand...
Click to collapse
thx , i testing that this morning
wow. I was going to get working on this when my tablet arrives but you beat me to the race.. maybe we can work on it together in the future
Could you post some screenshots of ubuntu on g9?
dual boot
how would you go about dual bopoting i want to get into the whole programming of it just need a pointer to the start of things
TjaXanK said:
wow. I was going to get working on this when my tablet arrives but you beat me to the race.. maybe we can work on it together in the future
Click to expand...
Click to collapse
For sure - just contact me when your tablet has arrived
142857 said:
Could you post some screenshots of ubuntu on g9?
Click to expand...
Click to collapse
Okay, I have edited the first post and added some links to screenshots.
twinnaz said:
how would you go about dual bopoting i want to get into the whole programming of it just need a pointer to the start of things
Click to expand...
Click to collapse
Sorry, I don't understand your question :S
how would i implement a dualboot
You can take the initramfs.cpio.gz posted by letama in another thread (look at the link to Ice Cream Sandwich - the file is inside the archive you download).
Then extract it and have look at the scripts, which are provided there.
Basically you have to get the system to ask you, from which filesystem image you want to boot
yep! you need to install SDE, restart your device, go in the developer menu and flash the initramfs.cpio.gz that letama posted in the ICS post, atleast that's how it was in the Gen8... by the looks of it the SDE menu is the same. Hope I helped
i wait the multi OS install
2.3
4.0
Ubuntu
Nice, I'll give this a go now.
Edit:
Works on the 101G9.
Keyboard Functions through OTG/Host Cable.
USB Mass Storage (Pen Drive) Functions on 3G Stick Port
Not tried anything else yet.
Are you using a lot of the same kernel objects which android is using?
Excellent Work.
alright thanks
trevd said:
Works on the 101G9.
Keyboard Functions through OTG/Host Cable.
USB Mass Storage (Pen Drive) Functions on 3G Stick Port
Are you using a lot of the same kernel objects which android is using?
Click to expand...
Click to collapse
Thank you very much, and also thanks for testing
I am using initramfs + kernel + modules provided by letama for his ICS-build.
By the way - I will upload a new build this night.
I have managed to get basic network functionality via adb + usbcable, so I have upgraded all packages and installed a touchscreen keyboard.
In the new build the LCD backlight brightness is now set to max on boot.
I also have added a user with sudo-permissions, so now settings are saved on reboot (not like in 0.1 where guest sessions were created).
Oh, and I will change the filesystem type from ext3 to ext4.
Still no real progress on WiFi or sound
P.S.: New build will support choosing between booting ICS and Ubuntu
//edit: sry guys, got some problems with my internet provider. i get reconnects every 30 seconds. i hope they get it fixed till tomorrow... sorry for delay, i'm going to upload the stuff tomorrow..
a1Pha said:
Thank you very much, and also thanks for testing
I am using initramfs + kernel + modules provided by letama for his ICS-build.
Click to expand...
Click to collapse
Might be worth giving it a go with a version 3 kernel, you may get some free driver support. although I could be talking nonsense
a1Pha said:
By the way - I will upload a new build this night.
I have managed to get basic network functionality via adb + usbcable, so I have upgraded all packages and installed a touchscreen keyboard.
In the new build the LCD backlight brightness is now set to max on boot.
I also have added a user with sudo-permissions, so now settings are saved on reboot (not like in 0.1 where guest sessions were created).
Oh, and I will change the filesystem type from ext3 to ext4.
Click to expand...
Click to collapse
I activated the root login with my own password from adb and the touchscreen keyboard worked straight away on the 101. It must come with the the drivers preinstalled. I think letma's' done some work into the difference between the 80 and 101.
a1Pha said:
Still no real progress on WiFi or sound
Click to expand...
Click to collapse
I've been playing with this all night. I think the drivers have been integrated in the main linux kernel so you should be able to build your own.
They could some prebuilt binaries out there as the OMAP4 board seems quite a popular board.
Also you might have some joy with this http://dev.omapzoom.org/pub/scm/integration/
It's all Good!
Archos 101 G9, HTC Sensation, HTC Hero
Hi Guys,
A1Pha, sorry, didn't have time to test your build, too much stuff going on...
Here is a quick feedback on wifi that may help you:
In android, here is how it works (from memory, don't have my laptop to check)
1) you need to create a nvs file corresponding to tablet, check android init.rc for the way it's done there...
2) Then when you do need wifi, insmod the tiwlan.ko
3) Then, load firmware (check wlan_loader in android init.rc, you should be able to reuse the command) and nvs. If all goes well up to here, you should be able to do ifconfig tiwlan0 and it should have a mac address.
4) Then start wpa_supplicant. You need the appropriate version of wpa_supplicant, 0.8 I think in android source code. You may want to build source code from android source with the appropriate options to remove android extensions.
Again, this is from memory, I'll try to give you more details tomorrow.
Regarding audio, this is mostly alsa so it shouldn't be impossible, you should be able to re-use the configuration found in archos rootfs in /usr/ sub directories. You have to insmod the proper modules though.
Best,
LeTama
Suggestion for the sound, try running the alsamixer and playing with that... worked in debian...
letama said:
Hi Guys,
A1Pha, sorry, didn't have time to test your build, too much stuff going on...
Here is a quick feedback on wifi that may help you:
In android, here is how it works (from memory, don't have my laptop to check)
.....
Click to expand...
Click to collapse
ahh. Thanks for that letama , You're a fountain of knowledge.
I'll give it a try during the holidays.
I was playing about with wpa_supplicant and android kernel drivers. I didn't have the right magic ) and my kernel knowledge is still in it's early stages (only been on the linux desktop for 1 year).

[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Hi,
I have just bought a new Xperia Pro and Here is My first Contribution.Hope you guys like it.
I have tested it personally on the Unoffical MIUI port for PRO.But it should work on other Kernels and Xperia Devices as well.
I am posting a few Screens for you guys and as you can see lxde is already pre-installed for you guys.
Feel Free to comment
Disclaimer:-
I am Not responsible if anything Happens to your Phone.You do it at your own Risk and Responsibilty,
If you Screw Up then dont Blame Me.
I am not responsible for Anything.
What is chroot?
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.
Things required:-
1)Terminal
2)Root
3)Sdcard with atleast 2GB of free space
4)A Brain
Please Consider Donating to add to my late night coffee and Books Fund.
Link:-
https://www.dropbox.com/s/4k1f5l9jxy2nr9n/debian.7z
Mirror:-
http://www.4shared.com/archive/uNEXsuNS/debian.html?refurl=d1url
Note:
Please read the ReadMe.txt file attached to this post first for instructions.
A special request to all those who are donatinglease send me a P.M so that i know who you guys are.
Donators:-
None So Far
Thank you.
Posting Ubuntu over Here
Remember to Read the Read Me File First.
Link:-
https://www.dropbox.com/s/z7ekya7u7zo19p8/ubuntu.7z
Mirror:
http://www.4shared.com/archive/Qv0u_lWN/ubuntu.html
Mirror:
http://min.us/mZVpflpS5
Posting Back Track 5 Linux
Remember to Read the Read Me
Back Track linux Temp mirror(From My O2x Thread)
https://www.dropbox.com/s/ccf7lhfazl7li7u/btl.7z
Mirror:-
http://www.4shared.com/archive/EoGkvPD9/btl.html?refurl=d1url
NOTElease Download the file btl attached to this post and extract it on your computer and copy the btl file within and paste it in the btl directory downloaded from the above hosts replacing the old one.Now the chroot should run.
added a new Script and deleted the old one.Please use that now.I tested it personally on Stock and it is working perfectly.
As soon as it boots it asks if you wanna start VNC server?Press N and then follow the readme file.
Incase of any probs please let me know
and another
One More
Final Reserve
Nice Run..! First..
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
xperiap said:
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
Click to expand...
Click to collapse
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Riyal said:
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Click to expand...
Click to collapse
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
manasgirdhar said:
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
Click to expand...
Click to collapse
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Riyal said:
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Click to expand...
Click to collapse
Already Did.Will upload it sometime Later today or tomorrow.
Debian and Ubuntu both have lxde pre-installed.
Edit:-BT5 UP.
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Riyal said:
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Click to expand...
Click to collapse
THANKS for the link...Meego wont chroot..tried it on the optimus a few months ago and failed..problem with zephyr..will give it a go later.fedora I had as well..but the thing is ...Does anyone except me even use these here????
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
In theory yes its possible.but changes will have to be made to the arm kernel to chroot.when u type uname in terminal the output inside the chroot is different than the android kernel.but I think native booting will be better than chrooting..not being interested is just odd....its so much fun having linux on the go
manasgirdhar said:
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Click to expand...
Click to collapse
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
ameer1234567890 said:
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
Click to expand...
Click to collapse
Thanks for the advice.added to first post...not good with explanations
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
Actually I know I am going to say something Off-Topic
1) People on XDA are now the people who have got a smartphone just because they can afford one and wanna make their phone look "kewl" than the others with the same device
2) People do dumb things like cross flashing kernels.. They dont even read carefully what the OP says..
3) Running linux on a phone would be the best thing.. specially on an xperia pro where you get a harware keyboard..
I would like all noobs to see this - http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
and this - http://forum.xda-developers.com/showpost.php?p=15826094&postcount=45

[ROM][P6800][OnHold]Ubuntu-touch dev preview(18.03.2013)

I have put this project on hold for now. I flashed latest Austrian ICS build to my device and continue using it as my Kindle reader on my travels. IF somone manages to fix the two issues with kernel, send me a message and I'll continue working with the repository. But for now I'm not thinking nor touching the subject before Easter. Thank you for participating for now
I've started porting Ubuntu-touch dev-preview to the Galaxy Tab 7.7 (3g). If you do not understand it already, you flash this at your own risk. There is now also a Ubuntu-touch specific device page here: https://wiki.ubuntu.com/Touch/Devices/p6800. I'll try to keep this thread and the Ubuntu devices page as close to each other as possible.
Big thanks to Daniel_hk for helping with boot.img Now It can be booted, but the screen is still black
Also, without working wifi and display, the preview is basically unusable... Next steps should be these:
1. Get wifi drivers working.
2. Get display drivers working.
Code:
[email protected]:/# uname -a
Linux localhost 3.0.15-CM-g1dc3074 #2 SMP PREEMPT Wed Mar 13 00:43:37 EET 2013 armv7l armv7l armv7l GNU/Linux
Repositories:
Latest release tagged with: "v0.3", not tested!
https://github.com/dun1982/android_device_samsung_p6800
https://github.com/dun1982/android_kernel_samsung_p6800
Download
cm-10.1-20130312-UNOFFICIAL-p6800.zip
Daily Ubuntu image: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/
Installation
Install CWM 6.0.2.8
Wipe data/factory reset
Wipe cache partition
Flash cm-10.1-20130312-UNOFFICIAL-p6800.zip to device
Flash quantal-preinstalled-phablet-armhf.zip to device
Reboot
Starting to use
Then it gets interesting (Black sreen for now now Run the following commands in your desktop system:
Code:
adb root
adb shell
ubuntu_chroot shell
You should have now root access inside your tabled. Continue with this wiki next
What works
Ubuntu-touch dev-preview is flashable.
It boots!
Known Issues
Kernel is based to the CyanogenMod/android_kernel_samsung_smdk4210, but it is a mess. So forked it, took code here and there (mostly from locerra's JB build).
Kernel is based 3.0.15 and no newer one available (yet).
Most of the drivers in kernel had to be turned off, because build was not succeeding...
bluetooth: Doesn't work
audio: Dock audio doesn't work.
hwcomposer: HDMI dongle doesn't work.
wifi: Doesn't work.
camera: Doesn't work.
.. and lot of kernel level bugs for sure.
Displaydrivers are not working (yet).
Release notes
Version 0.2 (13.03.2013) - Now it boots, see release notes
Version 0.1 (07.03.2013) - Intial release, nothing works
Credits
BIG THANKS to daniel_hk for solving the boot.img problem for me.
Anyone who has worked previously with the device/kernel source.
locerra (for getting CM10.1 to flashable state).
wowww!!! thank you !test now:victory::victory:
Placeholder for future.
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
Not 6810 versión?
AUs
el_campi said:
Not 6810 versión?
AUs
Click to expand...
Click to collapse
I cannot test it for anything else. The kernel sources are from CM10.1 that was in use from locerra, so in theory it should work with i815 and with p6810 as well. But I cannot give you any guarantees...
And also before I get this build to even start with my device, I do not think that sharing image would help anyone. But if you are a developer, I would like to talk with you on issues that I might have missed or done wrong. So contact me
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
any update?
Sent from my GT-P6800 using xda premium
Not much. The generated image is missing /data/ubuntu completely and that is the reason why the image does not boot. I got also flu and fewer, so I have had not that much time after the weekend to look on the issues on that.
I'm also waiting if I get any answers from Ubuntu touch emailing list regarding the problem and where to look for answers, but my quess is that it has something to do with the devices fstab file...
Good news everyone!
Just got a very good answer the problem I had with the /data/ubuntu-folder missing from the image. There was no image provided for the actual Ubuntu at all by the build-process...
When I get home from work, I'll try to find time to look into the build process if I can include the actual Ubuntu image to the ready made image and then release it after I get my device to boot. But it seems that I got the right nudge forward for this now :highfive:
Hmpf, still not booting. Now the /data/ubuntu logs are unmodified, which would point towards kernel or fstab-issue (ie. /data/ubuntu is never used...).
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
Good job :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-p6800 using xda premium
Doh... still not working... Any ideas anyone?
Ok, new version build from different repositories (thx, danile_hk for tip).
I'll test the new image this evening when I get back to home, and I have my fingers crossed that I can get the device to boot up and even display something useful. After that I can start looking for ubuntu developemnt
New version did not work, but then Daniel_hk gave me working boot.img. So now I need to find out what the heck is wrong with my repository and fix it so that I can get working boot.img from start and also the device configuration has issues. Both repositories are currently out of sync I'm afraid
dun1982 said:
New version did not work, but then Daniel_hk gave me working boot.img. So now I need to find out what the heck is wrong with my repository and fix it so that I can get working boot.img from start and also the device configuration has issues. Both repositories are currently out of sync I'm afraid
Click to expand...
Click to collapse
Also, without working wifi and display, the preview is basically unusable... Next steps should be these:
1. Get wifi drivers working.
2. Get display drivers working.
It seems that I hit the wall (again) with the mentioned big issues.
For now, I keep some sabbatical from Ubuntu Touch things (ie. I flashed ICS Austria to my device) and use it as my Kindle reader again.
If by miracle I get more info regarding how to get the Kernel working with Ubuntu Touch, then by allmeans I continue working with this project. So far it just seems that making a working image, is out of my hands currently.
At least you had a go. Thanks for your efforts, and hope you might have another crack at it later on.
I'm feeling a little bit that way right now too, and put my ICS kernel on the back burner. I think I'm trying to multitask a little too much at times....
Yep, a break is what you need, maybe some clarity will come after you've had a chance to recharge.
Sent from my GT-I9300 using xda premium
It's very nice to see you took up the big responsibility to make this superb device to be usable again! it has great specs, really. KUDOS bro!!
Any update on this development?
ZhenMing said:
Any update on this development?
Click to expand...
Click to collapse
Not much, I have had no interest to spend time with this topic because I have been very busy IRL. After I get my new house renovated fully and get my job tasks done, I wont be spending much time with this project. Feel free to use any sources provided in this thread to further advance the subject.
But this wont go forward that much, if the GT-P6800 wont get official CM10.1 update...
It works?

Categories

Resources