How to install Ubuntu 18.04 LTS Bionic Beaver, armhf on the HP Touchpad - TouchPad General

How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot. ​This guide will only work after successfully completed and installed the following ROMS following this process:
HP TOUCHPAD Optimize for Android with Swap Partition and SKZ Kernel_ Flash Files_
This is more technical oriented than just for the regular user, but it is easy to install for everyone. The flash zip files are provided to be install using TWRP Recovery and the installation of Ubuntu will be done with no command input from the user, it is all done automatically.
The HP Touchpad is an old device but it works perfectly with this set up and provides the screen area than can also be use to interact with Ubuntu by only using the Tablet with no PC required.
The use of the swap partition is essential for this to work, it provides extra Memory for Ubuntu to run properly without any other process getting kill.
ROM tested: Both ROMS will work and provide similar performance.
Evervolv 7.1.2 with Skz Kernel optimize with swap partition
Dirty Unicorns 8.1 Skz Kernel optimize with swap partition
As always be sure to Backup your Tablet before doing any storage modifications. Follow this guide: Click Here for How to Backup and Restore
Creating a 2 Gigabyte Partition to install any Linux version, I recommend Ubuntu.​The quick and simple process is by flashing the following file using TWRP Recovery, it works on all the models, 16g, 32g or 64g.
It can also be done manually with a complete installed system and the process is explain all the way at the end of this guide.
By flashing this file the /data partition will be deleted, a 2G Linux partition created and /data created again from all the space available.
Click Here to Download Flash file to create a 2G Linux Partition
If for any reason you do not want to keep the 2G Linux partition flash this file and the /data partition will be same size as before.
By flashing this file the /Linux and /data partition will be deleted and /data created again from all the space available.
Click Here to Download Flash file to remove the 2G Linux Partition
Root access needs to be flash.​ Click here to download SR5-SuperSU-v2.82
Apps to be install in Android​Click Here for Linux Deploy​Click Here for VNC Viewer​
The following are original full screenshots of the Linux Deploy settings and Ubuntu properties on the HP Touchpad.​Recommend settings for Linux Deploy​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Recommend properties for the Ubuntu container​
After all settings are applied, then by the top right menu, Install when done Configure and finally Start and use VNC viewer for GUI interface.​ Screenshots inside Ubuntu with some programs open.​
Youtube HD 720 videos, make sure to view on a device that can properly play it.
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 Settings
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 Performance
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18 04 Web-browsers
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 Web-browsers_2
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 Ramdisk
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 LVM
YOUTUBE_VIDEO_HP Touchpad DU 8 1 Ubuntu 18.04 LXDE
YOUTUBE_VIDEO_HP Touchpad Evervolv 7.1.2 Ubuntu 18.04
YOUTUBE_VIDEO_HP Touchpad Evervolv 7.1.2 Ubuntu 18.04 LXDE​_____________________________________________________________________________________________________​The following is the process to manually create the 2G Linux partition using adb shell or in TWRP Terminal, if no PC is available.​
Code:
Using a 16g Model as an example, use your own free storage available.
Get free size available in data
df -h
un-mount Data
Check files system first:
e2fsck -fy /dev/store/cm-data
Rezise after check:
resize2fs -f /dev/store/cm-data 5g
To use LVM must be in:
cd /boot/usr/sbin
Resise using LVM
LVM
./lvm.static lvreduce -L 5g /dev/store/cm-data
Create Linux partition from all the free space available
./lvm.static lvcreate -l 100%FREE -C y -M y --major 254 --minor 8 -n /dev/store/linux
Format partition
mke2fs -E lazy_itable_init=0 -t ext4 /dev/store/linux
Verify
./lvm.static lvs
The code with results.
Code:
Get free size available in data
df -h
results
/boot/usr/sbin # df -h
/dev/mapper/store-cm--data
Filesystem Size Used Available Use% Mounted on
11.0G 942.4M 10.1G 8% /data
unmount Data
Code:
Check files system first:
e2fsck -fy /dev/store/cm-data
Results
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/store/cm-data: 5168/735840 files (4.2% non-contiguous), 287448/2940928 blocks
Code:
Rezise after check:
resize2fs -f /dev/store/cm-data 5g
results
/boot/usr/sbin # resize2fs -f /dev/store/cm-data 8g
resize2fs 1.42.9 (28-Dec-2013)
Resizing the filesystem on /dev/store/cm-data to 2097152 (4k) blocks.
The filesystem on /dev/store/cm-data is now 2097152 blocks long.
LVM
./lvm.static lvreduce -L 5g /dev/store/cm-data
Results
/boot/usr/sbin # ./lvm.static lvreduce -L 8g /dev/store/cm-data
WARNING: Reducing active logical volume to 8.00 GiB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce cm-data? [y/n]: y
Reducing logical volume cm-data to 8.00 GiB
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: mlock failed: Cannot allocate memory
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: munlock failed: Cannot allocate memory
Logical volume cm-data successfully resized
Code:
Create Linux partition from all the free space available
./lvm.static lvcreate -l 100%FREE -C y -M y --major 254 --minor 8 -n /dev/store/linux
results
/boot/usr/sbin # ./lvm.static lvcreate -l 100%FREE -C y -M y --major 254 --minor
7 -n /dev/store/linux
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: mlock failed: Cannot allocate memory
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: munlock failed: Cannot allocate memory
Logical volume "linux" created
Code:
Format partition
mke2fs -E lazy_itable_init=0 -t ext4 /dev/store/linux
results
/boot/usr/sbin # mke2fs -E lazy_itable_init=0 -t ext4 /dev/store/linux
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
211328 inodes, 843776 blocks
42188 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=864026624
26 block groups
32768 blocks per group, 32768 fragments per group
8128 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
Code:
Verify
./lvm.static lvs
Results
/boot/usr/sbin # ./lvm.static lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
cm-cache store -wcma- 200.00m
cm-data store -wima- 8.00g
cm-system store -wcma- 1.80g
linux store -wcma- 3.22g
media store -wima- 504.00m
swap store -wcma- 504.00m
Backup and Restore Linux partition to the same Tablet or any other HP Touchpad.
Backup
dd if=/dev/store/linux of=/sdcard/linux.img
Restore
dd if=/sdcard/linux.img of=/dev/store/linux​

Hi @HP_TOUCHPAD,
Man, you just get better and better... Just stumbled across this page, by random clicking... and found there is now a more updated / newer Linux distro available for the HP Touchpad.
I played around with some build of Linux many years ago on Touchpad, back in the days before roms were DM compiled. I had a triple boot of WebOS, Android and Linux. I remember the Linux build had a naff / faulty video driver, and so was never optimised. That said, I still went ahead and installed it...
So does this build use a fairly recent distro of Ubuntu, with working graphics driver. Can this build be installed to triple boot along with WebOS, Android and Ubuntu... / Or is this build a kinda hacked Android build that sits in the Android partition?.
I have got a lot of backing up, moving data around.... and plenty of reading to do !!
Cheers, Lister
ps, I saw a little while ago... there was a post / thread, where all the old roms had been re-compiled to take into account the swap partition. I've lost that thread, you couldn't point me in the right location could you please... cheers :good:

Lister Of Smeg said:
Hi @HP_TOUCHPAD,
Man, you just get better and better... Just stumbled across this page, by random clicking... and found there is now a more updated / newer Linux distro available for the HP Touchpad.
I use a desktop browser on this web page:
Click Here for the forum.xda-developers.com/hp-touchpad
I played around with some build of Linux many years ago on Touchpad, back in the days before roms were DM compiled. I had a triple boot of WebOS, Android and Linux. I remember the Linux build had a naff / faulty video driver, and so was never optimised. That said, I still went ahead and installed it...
As time goes by the software gets better, and will make better use of the hardware. Takes longer to write better code than to pack more RAM and CPU cores into a device.
So does this build use a fairly recent distro of Ubuntu, with working graphics driver. Can this build be installed to triple boot along with WebOS, Android and Ubuntu... / Or is this build a kinda hacked Android build that sits in the Android partition?.
This is a Chroot installation, sharing the Android kernel within Android. The Ubuntu is the latest 18.04 LTS, and also Debian latest can be install and many others Linux flavors, I selected Ubuntu as is stable compare to the others.
Is the best way to run Linux on the Tablet as the Kernel is 100 % stable, and with the use of the swap it adds more OS choices. Using Limbo app in Android the Tablet can run full install of Windows 98, Windows 2000 and a reduce windows XP.
I have got a lot of backing up, moving data around.... and plenty of reading to do !!
The tablet keep getting updated thanks to all the developers. Now Pie is available, LuneOS, Sailfish and possible other private custom OS setup out there.
Cheers, Lister
ps, I saw a little while ago... there was a post / thread, where all the old roms had been re-compiled to take into account the swap partition. I've lost that thread, you couldn't point me in the right location could you please... cheers :good:
Click to expand...
Click to collapse
If you want to have fun with the "Tablet Toy" I have posted the following guides:
https://forum.xda-developers.com/hp-touchpad/general/how-to-create-swap-partition-size-t3892060
https://forum.xda-developers.com/hp-touchpad/general/powerful-feature-hp-touchpad-lvm-t3889068
https://forum.xda-developers.com/hp-touchpad/general/how-to-backup-restore-using-twrp-copy-t3892047
https://forum.xda-developers.com/hp-touchpad/general/touchpad-toolbox-how-to-unpack-repack-t3888242
https://forum.xda-developers.com/hp-touchpad/development/make-root-permanet-read-write-to-t3846567
https://forum.xda-developers.com/hp-touchpad/general/how-to-recompile-hp-touchpad-android-t3889025
Following all those guides any ROM can be enable for swap. I modified the boot image of Evervolv 7.1.2 and Oreo 8.1 ( Android Pie has it built it, thanks to Flintman for incorporating the changes).
The ROM does not need to be recompile, is only the Ramdisk and possible the Kernel. If you feel like just to flash the file and be done with it, then this is the easy way:
https://forum.xda-developers.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773

after a sleepless night I got through all the various posts, searches and whatnot and have one of my Touchpads up and running with Evervolv 7.1.2 and Linux Deploy-ed Ubuntu - woohooo
Thanks for all the info, scattered all over the place though, but doable/findable.
Is there a project/wip/solution to bypass Android all together and run a Linux kernel on the TP hardware?
More questions of course: what is the recommended init system? SysV or run-parts?
What other pointers do you have which guide us on maximizing available RAM, etc?
Again, thanks for keeping the legend alive
EDIT: well, I did powerup my 2nd TP, ran debrick 32 (got stuck at A6 FW checking) and then ran debrick 64, it booted and I was presented with 4 boot options:
- webOS - with Homebrew
- CyanogenMod
- ClockworkMod
- ArchLinuxARM
oh man - I did know that stuff back then but I don't recall anything
Not going to touch that one... keep it charged now and then and look at the webOS experience (and learn from it!)

gabe2001 said:
after a sleepless night I got through all the various posts, searches and whatnot and have one of my Touchpads up and running with Evervolv 7.1.2 and Linux Deploy-ed Ubuntu - woohooo
Thanks for all the info, scattered all over the place though, but doable/findable.
Is there a project/wip/solution to bypass Android all together and run a Linux kernel on the TP hardware?
More questions of course: what is the recommended init system? SysV or run-parts?
What other pointers do you have which guide us on maximizing available RAM, etc?
Again, thanks for keeping the legend alive
EDIT: well, I did powerup my 2nd TP, ran debrick 32 (got stuck at A6 FW checking) and then ran debrick 64, it booted and I was presented with 4 boot options:
- webOS - with Homebrew
- CyanogenMod
- ClockworkMod
- ArchLinuxARM
oh man - I did know that stuff back then but I don't recall anything
Not going to touch that one... keep it charged now and then and look at the webOS experience (and learn from it!)
Click to expand...
Click to collapse
You are welcome !
I am replying to this post using Linux Deploy Ubuntu on the HP Touchpad, connected to VNC to my PC.
The best way is to only use Linux Deploy and SuperSu nothing else is need it. Ubuntu on arm is very efficient, 1GB or RAM is enought. As a test I have 8 firefox windows opens ( not tabs ) and still have over 140 MB of RAM.
It will be great to have a mainstream kernel to boot linux arm native. But this is the best option at the moment to run up to date software. The ArchLinux Arm you have is a working ROM from back them !
I use ( SysV ) services run automatically at startup ) I do not use run-parts
In my opinion the only thing that will help is to get out of jail ( chroot ). The Android Kernel is 100 % stable, only thing that needs to work in Linux is Wifi and touch screen. If the current kernel could be modified to boot into a pre install image of ubuntu arm, is all good !

Does anyone else see black text on deep grey background?

Paul2021 said:
Does anyone else see black text on deep grey background?
Click to expand...
Click to collapse
Can you be more specific?
Where do you see that combination of color?

See attached

Paul2021 said:
See attached
Click to expand...
Click to collapse
XDA updated their website and set the default to Dark Style. Before it was light and the guide was created on the old template reflecting a white background. To make it easier you can go to your --> Account --> Preference ---> Style XDA Classic, see the attached screenshot.

HP_TOUCHPAD said:
Can you be more specific?
Where do you see that combination of color?
Click to expand...
Click to collapse
It's at the beginning of the thread. Almost impossible to make out.

Related

UrukDroid (Android) - developers ONLY thread

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This thread is created for developers and developing of UrukDroid ONLY.
UrukDroid is alternative Android distribution, based on original Archos OS for Archos GEN8 tablets.
Please do not write here questions about installing UrukDroid on tablet - you can do it in default post - here.
All post violating above rule will be deleted.
This thread is created for:
manage people and dividing work
plan new releases
plan new features
help between developers
gain knowledge, materials
feature proposals by users
Things we are currently working on:
Sauron: memory I/O tuning
cheefy: backup script
Sauron: upgrade/install scripts
chulri: dvb support
What informations are we looking for:
How to prevent Android from going sleep on system level?
Format of bootlogo and initlogo.rle on Gen8 (we are aware of rgb2565 converter etc., but with no luck on Archos yet - I've tried different bit settings 4/8/16/24 and resolutions 200x480, 800x480 - Sauron)
Repository for binary and source releases is currently available here.
Links to other materials that can be usefull in future
Things to do
check ADB over USB problem - and fix
give a better look at mounting disk from Archos over USB (does not work)
prepare and maintain FAQ
check how we can use QUI/QUID (can be checked rescue initramfs) to write messages on boot time
dalvik cheap/stack tuning - memory tuning
backport And. 2.3/3.0 features
Proposed new features by users
dvb-t support (http://forum.xda-developers.com/showthread.php?t=871391)
For future use...
For future use...
Developers
Hey, I would like to help, I have an A70, PM back with something I could do, Im not an android expert but I have some linux and development knowledge, and I'm willing to learn and help as muchs as I can.
Thanks!
Well after reading up on some more Motorola ROMs it seems they modified the dalvik heap size.
Did some quick googling on that, turns out other ROMs do it too, perhaps we could play around with it as well.
The maximum events per second for the windowmanager should help with smoother scrolling ~ also something the motorola ROMs adopted.
Source: http://forum.xda-developers.com/showthread.php?t=815595
as posted on the original Uruk thread
Perhaps the camera can be hacked up a bit as well ~ although I haven't looked into any of this as I'm to busy at the moment !
As for extra tools, tcpdump and vim instead of vi might be helpful for some.
Removing the Telephony.apk and Phone.apk by default in Uruk would be an easy performance addition, Nook users can vouch for an increase in battery life. People have also started mentioning the lack of a
I've had questions on IPv6 support for Google Goggles too although I don't know if this is worth it.
Also could you post the exact location on those bootlogo files so more people can look into it^^.
I won't be as active now as I have exams coming up though I'll do whatever I can to help.
Hi Guys,
I'm not a developer by any means and am just learning Linux, and about the Android frameworks. I'll gladly help in any way possible, but for now I can only research and post what I find for you to look at. That being said, here are a few sources for changing heap sizes in the build.prop.
General Dalvik heap discussion - http://groups.google.com/group/android-platform/browse_thread/thread/ef329096b0dcca94?pli=1
More details from Cyanogen (I found this most helpful and is probably most relevant to what you guys are doing) - http://ryanolson.wordpress.com/2010...ory-per-vm-heap-can-effect-your-rom-cyanogen/
Increasing helps window transitions but takes away RAM - http://www.droidforums.net/forum/droid-hacks/105712-change-dalvik-heap-size.html
3G USB dongles support
I'm planing to start trying to make Huawei 3G dongles work in a next couple of days. Have some expirience with them on linux, along with some expirience in administering linux machines. I'll post results as soon I have some.
xnatex21 or escoriaa - anyone of You (or both ) is willing to create and maintain FAQ (if it's not you could like - no problem - it should be fun ).
Tzbob - how can we merge changes of your OC version kernel? I can probably do it if you don't have time - but you should provide me source + .config file.
I don't get "Also could you post the exact location on those bootlogo files so more people can look into it^^." - you mean source of the image I use, or source of materials how to create Android Logo?
Apps: I'll add tcpdump and vim - no problem, and remove telephony stuff (I wonder why Archos put them anyway). I've added in 0.4 Google Apps (market etc.).
Speed: I'm now playing not with memory managers, IO managers and task managers (kernel stuff).
I do not like especially Java (it's like appendix (Vermiform appendix) to me - everyone have it, but why... ) - so as I wrote in my thread - someone should check current dalvik settings and try to change them (It's mostly in /init.rc script - so changing should be easy).
DVB-T: that's what I looked, it's quite enough to compile in modules (what I've already done) but requires some settings, I'll probably try to play with it when my USB OTG cable will arrive - but if someone is willing play with it earlier
And one more thing - is there any UI/GFX tool on Android that allows to build configuration interface (reads some GUI/menu definitions, and sets some text file/database switches) - we can do it on browser, but I'm not sure if it's best way.
I wanted also to ask you - does the installation procedure should be easier - or it's easy enough? I can make it a bit simpler, and try to work on some scripting. The easiest way would be to make images (I already have them) - that can be installed on SD card in one step, but it would make installation to be a fresh Archos (no copied app from /data) - how to you think?
As I posted in the original thread, i should be able to help with the backup script, unfortunately just on a bash basis.
The configuration UI could be integrated in the standard config menu of android as they do in the cm mod. as mentioned above i don't speak any java but i can find the apk which is responsible.
The copying of the data to data.new could be automated after first boot by putting a startup script, which does that and erases itself after finishing. how do you think about that?
How about integrating the smartass governor of nadlabak? i might ask him about changes to make and chance to get it running.
I think i will try to integrate some gingerbread features like keyboard,themes and if possible launcher to my urukdroid. but it is up to you if you want to integrate that generally... (edit keyboard works already fine)
i'm very willing to help here!
as mentioned i'm kind of a linux pro digging into android for some weeks now
I'd like to help where possible
I've listed in second post, things that need to be addressed by someone. So feel free to choose one (or more ).
cheefy: do you have any idea how to do this backups? I know it can be done by tar - but it seams a bit lame. It will allow to get back in time - but perhaps we can use some linux tools or even some rsync stuff to do it incrementally.
nenadr: those 3d dongles will require some some ppp stuff - this what's inside Android already is enought, or I should add some wvdial or something (I guess I can add some serial USB modems to - be default in kernel).
$aur0n said:
dvb-t support (http://forum.xda-developers.com/show...ighlight=dvb-t)
Click to expand...
Click to collapse
broken link
dvb-t support -> http://forum.xda-developers.com/showthread.php?t=871391
I've cut/past from user proposal so ... - changed.
Anyway - want take care of it?
I can compile all/some dvb modules by default (i've seen you've made some backporting of newer mods). I can also help porting some C programs from Linux side - can't help with java - I'm kind of allergic to it
for the backup things: tar itself has an update option for incremental archives. i will check the speed these days. do you have something like a script yet?
for backporting 2.3 stuff: i have a working GB-Keyboard here, the Launcher is working too, but it has just a 4by4 Grid and so the Archos-Widgets including the energy-widget dont work. I was not able yet to modify it to a 5by5 grid.
@$aur0n maybe it's best to wait until I've done at least v0.6 or even v0.7 (see Roadmap) before integrating it into urukdroid.
I'll develop the dvb thing with regard to the simple tmpfs-root-trick of dogmaphobia because it's way easier to install and test but this should be compatible with urukdroid.
and I'm definitly the man to talk to with regard to the dvb-t project
of course you can build modules for urukdroid, but I think the standard modules I've built should be compatible.
you can find the linux.config and the kernel patches for mc44s803 driver in my svn repository: archos-gen8-dvb/trunk/sources
more backporting patches will follow.
also prebuilt modules and firmwares can be found there:
- archos-gen8-dvb/trunk/package/mod
- archos-gen8-dvb/trunk/package/fw
cheefy said:
for the backup things: tar itself has an update option for incremental archives. i will check the speed these days. do you have something like a script yet?
Click to expand...
Click to collapse
Nope - i haven't created any backup script yet - just I've been using tar.
for backporting 2.3 stuff: i have a working GB-Keyboard here, the Launcher is working too, but it has just a 4by4 Grid and so the Archos-Widgets including the energy-widget dont work. I was not able yet to modify it to a 5by5 grid.
Click to expand...
Click to collapse
Keyboard is working - I don't know if there is need to put it be default since it's in market for free.
And we have plenty better launchers (Zeam, Pro and xda) - i'm not sure if it's needed.
$aur0n said:
nenadr: those 3d dongles will require some some ppp stuff - this what's inside Android already is enought, or I should add some wvdial or something (I guess I can add some serial USB modems to - be default in kernel).
Click to expand...
Click to collapse
@$aur0n: I still didn't managed to find time to play with 3G modems, but from what I know ppp that is already in, should be sufficient; usbserial.ko seems to be there also, wvdial would be nice but it is not essential, but what is crucial for most 3G USB dongles to work is "usbmodeswitch" package, since most of USB 3G dongles are presented to system as usb composite devices, usualy with one CD cdrive (from image on dongle), one mmc card reader on dongle, and several usb-serial channels. When one plugs such device on linux without usbmodeswitch, it gets detected as mass storage device only, and with usbmodeswitch package it gets redetected again as one or more usbserial devices.
Anyway I hope I'll have more time during the end of the week (and weekend), to dig deeper into the issue.
Here is the link to the archos gen8 buildroot git:
http://gitorious.org/archos-buildroots/gen8
There is also some information and the source-files of the boot-splash-screen:
http://gitorious.org/archos-buildroots/gen8/trees/master/initramfs
and the information how it's displayed:
Code:
# Show a nice boot image
104
case "$PRODUCT_NAME" in
105
A28)
106
BOOT_IMAGE=$BOOT_IMAGE_BASE-240x320
107
;;
...
gunzip -c $BOOT_IMAGE > /dev/fb0
# Enabling LCD
enable_backlight
so the bootimage is gunzipped and then directly pushed to the framebuffer.
hope this helps!
(maybe the easiest solution to create a own splash screen would be displaying a animation and capture in the meantime the framebuffer?)
Oh the gb_launcher is pretty snappy and fast, but i understand that. THe keyboard from the market did not work for me so i had to paste some stuff form my milestone to make it working.
but now back to the real things. can you give me a short explanation how to compile a kernel module? ive never done that and i want to try the interactive governor which is said to be much more responsive and quite intelligent, as it does not check the cpu load, but the workqueue.
greetz
Hi,
I'll try to help you make 70HT Urukable !
Used linux from years and have some dev knowledge.
Here is HT's df -h and mount :
Code:
$ export PATH=/data/local/bin:$PATH
$df -h
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/loop0 75.5M 75.5M 0 100% /
tmpfs 119.4M 0 119.4M 0% /dev
tmpfs 119.4M 0 119.4M 0% /mnt/asec
tmpfs 119.4M 36.0k 119.4M 0% /tmp
/dev/block/mmcblk0p1 31.8M 8.9M 22.8M 28% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/block/mmcblk0p3 29.6M 3.2M 24.8M 11% /cache
/dev/block/mmcblk0p4 1.6G 144.4M 1.4G 9% /data
tmpfs 119.4M 4.0k 119.4M 0% /dev/shm
/dev/block/vold/8:1 232.8G 95.9G 136.9G 41% /mnt/storage
df: /mnt/secure/asec: Permission denied
$ mount
rootfs on / type rootfs (rw)
/dev/mmcblk0p2 on /mnt/system type ext3 (rw,noexec,noatime,errors=continue,data=ordered)
/dev/loop0 on / type squashfs (ro,noatime)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devuid=1000,busuid=1000,listuid=1000)
debugfs on /sys/kernel/debug type debugfs (rw)
tmpfs on /mnt/asec type tmpfs (rw,mode=755,gid=1000)
tmpfs on /tmp type tmpfs (rw)
/dev/block/mmcblk0p1 on /mnt/rawfs type rawfs (rw)
/dev/block/mmcblk0p2 on /mnt/system type ext3 (rw,nosuid,noexec,noatime,errors=continue,data=ordered)
/dev/block/mmcblk0p3 on /cache type ext3 (rw,nosuid,noexec,noatime,errors=continue,data=ordered)
/dev/block/mmcblk0p4 on /data type ext3 (rw,nosuid,noatime,errors=continue,data=ordered)
none on /dev/cpuctl type cgroup (rw,cpu)
tmpfs on /dev/shm type tmpfs (rw)
/dev/block/vold/8:1 on /mnt/storage type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)
/dev/block/vold/8:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,utf8,errors=remount-ro)
tmpfs on /mnt/storage/.android_secure type tmpfs (ro,size=0k,mode=000)
fusesmb on /mnt/storage/network/smb type fuse (rw,nosuid,nodev,user_id=0,group_id=0,allow_other,max_read=32768)
djmount on /mnt/storage/network/upnp type fuse (ro,nosuid,nodev,user_id=0,group_id=0,allow_other)
$
I am ready to resize the main partition on the hdd and add two another partitions for root and data but what size do you recommend? 1Gb and 2Gb ?

[ROM][WIP] Fedora for Nook Color

Just saw some interest for Fedora install on Nook in another thread to my surprise. I thought I am the only pervert interested.
Anyway this is pretty raw at the moment. You need to know your way around Linux and have a Linux box (naturally).
Just not to disappoint you later on, here's what not working:
Only based on Fedora13 from upstream (F14 work is ongoing by Fedora-Arm team and I am just tracking them).
Wifi (still did not get to look into it)
BT (same)
accelerated graphics
Don't know of any touch-friendly WM, so defaults to Gnome.
Multitouch (disabled in driver at the moment since no userspace support anyway).
backlight control does not work, need to rewrite the kernel driver
Xorg does not know what to do with accelerometer input.
Probably tons of other things I forgot about.
You must be out of your mind if you want to try it on a tablet at this stage. Or just super curious.
You will need a microSD (at least 2G) card that you can dedicate to this.
Instructions:
Get "base" fedora sdcard image: http://nook.handhelds.ru/fedora/fedora-sdcard-v0.1.img.gz
Get base Fedora 13 beta3 rootfs: http://lists.fedoraproject.org/pipermail/arm/2011-May/001271.html
Get kernel modules for the kernel: http://nook.handhelds.ru/fedora/modules-2.6.32.9-fc13.tar.bz2
Unzip the base sdcard image and write it to your sdcard with dd.
run fdisk on the sdcard and add another partition covering the rest of sdcard in addition to the one already there. Write changes
do mkfs.ext4 /dev/yoursdcard2 (basically format the second partition you just created as ext4)
mount the /dev/yoursdcard2 somewhere as root (/mnt/somewhere later on)
untar the F13-beta3 rootfs to the /mnt/somewhere
Now you are almost ready, just need to fill some configs.
Edit /mnt/somewhere/etc/sysconfig/network-scripts/ifcfg-usb0 and add this there:
Code:
DEVICE=usb0
#BOOTPROTO=dhcp
BROADCAST=192.168.2.255
IPADDR=192.168.2.2
NETMASK=192.168.2.0
NETWORK=192.168.2.0
GATEWAY=192.168.2.1
ONBOOT=yes
Edit /mnt/somewhere/etc/resolv.conf and change "nameserver" there to 8.8.8.8
Add multitouch config in /mnt/somewhere/etc/X11/xorg.conf.d/touchscreen.conf
Code:
Section "InputClass"
Identifier "touchscreen"
MatchIsTouchScreen "on"
MatchProduct "cyttsp-i2c"
Driver "mtev"
Option "SendCoreEvents" "On"
Option "SwapAxes" "true"
Option "InvertY" "true"
EndSection
cd /mnt/somewhere/lib/modules and untar the modules file there.
umount /mnt/somewhere
Ok, now you are ready to do some stuff on the nook.
Insert your sdcard into the nook and boot it. You'll see Fedora text console. The installation is pretty basic.
Plug the nook into your Linux PC usb port. It should see a new network device
On the linux PC as root execute: ifconfig usb0 192.168.2.1 netmask 255.255.255.0
Enable ip forwarding on your host if you have it disabled (typically in /etc/sysctl.conf, the setting is ...ip_forward, make it =1. Run sysctl -p for the changes to make effect.
Enable internet access to internet for your nook via IP masquerading: iptables -t nat -I POSTROUTING -s 192.168.2.2 -j MASQUERADE ; iptables -I FORWARD -s 192.168.2.2 -j ACCEPT ; iptables -I FORWARD -d 192.168.2.2 -j ACCEPT
Now use ssh to login to your Nook: slogin [email protected] the root password is "fedoraarm" (no quotes)
Once logged into the nook, time to install some packages.
rpm -Uvh http://hongkong.proximity.on.ca/yum/base/12/arm/fake-kernel-provides-1.0.0-0.fc12.armv5tel.rpm
update the system: yum update ; yum install tar openssh-clients
Install the gnome environment: yum groupinstall 'GNOME Desktop Environment' --skip-broken
The gnome installation will take a while and will download everything from the net.
Now install the multitouch Xorg driver, get it at http://nook.handhelds.ru./fedora/xf86-input-mtev-0.1.12-1.armv5tel.rpm
Ok. Now you are ready to go. Run "startx &" and the Gnome will start on the nook. You can play with it a bit, use your finger as the mouse pointer.
You can add startx & at the end of e.g. /etc/init.d/rc.local to make it start on system startup or you can do it in a more pretty way.
There are some virtual keyboards in the repo. I tried gko and it sucks.
the "onboard" seems to be the one working best for me. "xvkbd" is a bit hard to operate.
The best one of them all is fvkbd, but it needs libfakekey missing from the repo, grab it at http://arm.koji.fedoraproject.org/p...3/armv5tel/libfakekey-0.1-6.fc13.armv5tel.rpm
Enjoy.
Fedora-arm homepage: http://fedoraproject.org/wiki/Architectures/ARM
I intend to include all the missing pieces into the fedora repo so that you don't need to install all those extra things. Also eventually I plan to add more hardware support and then hopefully migrate to a much newer kernel.
Ha, cool. Glad to see that not everyone thinks that only Ubootoo should be thrown on devices. I'll give this a twiddle for fun.
13 had Moblin, I wonder if that's any better for touch input..
Now i don't feel near as silly for working on my gentoo install for the nook!
Nice, I am still waiting on OpenSuSe
Why not try using Gnome 3? I just poked around in Fedora 15 today and saw the new UI, and I loved it. Bigger buttons, launcher dock, etc. Give it a look!
pts69666 said:
Why not try using Gnome 3? I just poked around in Fedora 15 today and saw the new UI, and I loved it. Bigger buttons, launcher dock, etc. Give it a look!
Click to expand...
Click to collapse
Fedora15 is not available for arm arch yet. But there is some work in that direction. So sure, once it's available I'd give it a try.
Great stuff here. I knows its early development, but fun none the less to see what our nooks can do.
And thanks verygreen for all your developments lately
Sent from my NookColor using Tapatalk
verygreen said:
Fedora15 is not available for arm arch yet. But there is some work in that direction. So sure, once it's available I'd give it a try.
Click to expand...
Click to collapse
in fedora 13,
Code:
su
yum install gnome-shell
...
============================================================================================================
Package Arch Version Repository Size
============================================================================================================
Installing:
gnome-shell i686 2.28.0-3.fc12 fedora 301 k
Installing for dependencies:
gjs i686 0.4-1.fc12 fedora 126 k
mutter i686 2.28.0-2.fc12 fedora 1.2 M
Transaction Summary
============================================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
...
gnome-shell -replace
I haven't tested it myself; however, it is something I found. My linux hard drive had hard drive failure. So, I am on windows in the meantime. Will report back later after testing it myself.
pts69666 said:
in fedora 13,
Code:
su
yum install gnome-shell
...
============================================================================================================
Package Arch Version Repository Size
============================================================================================================
Installing:
gnome-shell i686 2.28.0-3.fc12 fedora 301 k
Installing for dependencies:
gjs i686 0.4-1.fc12 fedora 126 k
mutter i686 2.28.0-2.fc12 fedora 1.2 M
Transaction Summary
============================================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
...
gnome-shell -replace
I haven't tested it myself; however, it is something I found. My linux hard drive had hard drive failure. So, I am on windows in the meantime. Will report back later after testing it myself.
Click to expand...
Click to collapse
No "gnome-shell" package in Fedora-arm repo at this moment,
Quite excited to see some work in bringing Fedora to the Nook Color! I <3 Fedora.
I just wish ARM had the same support as the full Fedora. Or that they would skip releases for Fedora ARM and go yearly... aka, skip to 15 next, then 17.
Could this be used to help port Ubuntu Touch?
moocow1452 said:
Could this be used to help port Ubuntu Touch?
Click to expand...
Click to collapse
No, Ubuntu Touch is based on CM and has very little in common with a full Linux port.

[HowTo] Archos gen8 firmware 2.3.81-2.4.83+rw iptables and 1GB ext4 data

I just wanted my Archos Gen8 to have the latest stock firmware, root access, iptables support (for Droidwall) and a 1GB ext4 data partition. I will show you how to create this setup yourself. This howto describes all steps for a Linux PC with a working adb connection to the Archos Gen8. I am sure all steps can be done from a Windows PC too, but I cannot help you there: I only speak linux. [edit: Harfainx has written a thread on http://forum.archosfans.com/viewtopic.php?f=76&t=54637 that explains how to do these steps on windows; if you to do this from windows and have iptables and ext4, use my attached kernel and ext4 modifications instead of Harfainx' suggested chulri kernel]
[Archos] = do on tablet
[Linux] = do on PC
[Shell] = do in a terminal on PC
[ADB] = do in a adb shell from PC
[GParted] = do in gparted in PC
[Editor] = do in your favorite text editor on PC
All credits for this procedure go to other people (see end of this post); my only contribution is this write up, and the compilation of the new kernel.
1. Use chulri's root method to obtain root+rw with the latest Archos firmware on your Archos Gen8 (download the proper firmware version, and take care to rename the downloaded firmware file to firmware_archos_android_gen8.aos).
2. Install the matching version of my kernel + initramfs (see links below)
reboot Archos device and hold down "Vol-" button after screen went black
Go to "Recovery Menu" and then "Developer Edition Menu"
choose "Flash Kernel and Initramfs"
connect your Archos device by USB to your computer
upload zImage and initramfs.cpio.gz to your device
safely disconnect the USB connection
press ok on Archos device
reboot
3. Repartition your internal SD card
reboot Archos device and hold down "Vol-" button after screen went black
Go to "Recovery Menu" and then "Repair system” ->"Start USB MSC"
Connect tablet to your linux pc
Resize interal SD card and add an ext4 partition:
[Shell] sudo gparted
[GParted] find Archos device. For me it is found on /dev/sdc
[GParted] select the Archos partition and resize to have 1024MiB at the end left
[GParted] create a new primary partion using all the space you just created, filesystem ext4 and align to MiB
[GParted] apply all selected actions, let it finish and quit gparted.
unplug and reconnect your device so Linux finds it again.
Format the ext4 partition with some nice settings (if your device was on /dev/sdb replace /dev/sdc2 with /dev/sdb2 below):
[Shell] sudo mkfs.ext4 -b 4096 -E stride=64,stripe-width=64 -O extent,^huge_file -m 0 -L data /dev/sdc2
[Shell] sudo tune2fs -c -1 -i 0 -m 1 -O ^huge_file -o journal_data_writeback /dev/sdc2
[Shell] sudo e2fsck /dev/sdc2
press ok on Archos device
reboot
4. Make your new ext4 partition your /data partition
Boot up your Archos and proceed through the startup wizard; do not put too much effort in this because all information you enter now will be lost after this step.
Open options->applications and enable debugging support.
Connect the Archos to your linux PC
[Shell] adb shell
[ADB] su; stop; cp /init.rc /sdcard/
[Shell] adb pull /sdcard/init.rc
Modify init.rc:
[Editor] Open the just downloaded init.rc
[Editor] Replace the "mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid" with "mount ext4 /dev/block/mmcblk1p2 /data rw noatime nosuid nodev barrier=0 data=writeback nobh"
[Editor] save file and close
[Shell] adb push init.rc /sdcard/
[ADB] cp /sdcard/init.rc /init.rc
[ADB] start
reboot
5. Now your device should start up and use your new ext4 partition as /data. In my case after reboot I had to force another reboot (hold on/off for 10sec) for the system to properly boot and come up with the Archos startup wizard again (the previous startup’s data is lost because we have a new /data partition).
6. Enjoy!
All credits for this procedure go to other people; my only contribution is this write up, and the compilation of the new kernel.
Rooting method: chulri
1GB data partition: chulri and wdl1908
Ext4 format flags: Sibere
Proper compilation of iptables and ext4: $aur0n and woti23
Howto compile the kernel yourself
Compiling this kernel yourself is not very hard.
1. Set-up chulri's development enviroment
2. Configure the new kernel
[Shell] cd $ARCHOS
[Shell] make kernel-config
[Config] In Networking support -> Networking options -> Network packet filtering framework (Netfilter)
Core Netfilter Configuration -> Netfilter Xtables support: y; Xtables -> "owner" match support: y
IP: Netfilter Configuration -> IP tables support: y; Packet filtering: y; REJECT target support: y; LOG target support: y
[Config] In Filesystems
The Extended 4 (ext4) filesystem: y
Ext4 extended attributes: y
[Config] save changes and exit
[Shell] make kernel-build
After compilation, locate your kernel zImage and flash it together with chulri's initramfs.cpio.gz (which is also provided in the zip in the first post).
Recommendations to speed up your tablet
Now that you have your Archos Gen8 as you want it, I can recommend two additions to speed up your system.
1. You now have a fast, big ext4 data partition which you should use for all applications:
[Shell] adb shell pm setInstallLocation 1
2. Replace the default Launcher *ANY* launcher but the Archos one. Personally I recommend the Zeam launcher, since it is really lightweight:
Get your copy of zeam, install it, press "home" button and make it default to zeam.
[ADB] su; cd /system/app; mv Launcher2.apk Launcher2.apknot
The last step makes sure that the Archos launcher does not startup anymore, saving your memory. The last steps also removes the default Archos wallpapers, so make a copy of the one you want or get some nice new ones.
Since the device setup of this thread uses unionfs to make changes to the /system, you could also just remove /system/app/Launcher2.apk. To restore it you can remove /mnt/system/unionfs/system/app/.wh.Launcher2.apk. (Thanks to skeeterfood for pointing it out.)
Great work! Thumbs up!
Thanks for this awesome tutorial!!!!!!
Thanks to all the people who work on our Archos Gen8 devices!!!!
is the performance comperable to urukdroid? i really like urukdroid but the mediascanner issue drive me nuts .
Anyway great work and thanks for the tutorial, now a kernel to be able to overclock and it would be awesome
cHarOn99 said:
is the performance comperable to urukdroid? i really like urukdroid but the mediascanner issue drive me nuts .
Anyway great work and thanks for the tutorial, now a kernel to be able to overclock and it would be awesome
Click to expand...
Click to collapse
I don't know if performance is comparable to UrukDroid; I've used Uruk 1.0 for some months but I haven't run any benchmarks. The reason for that is that Quadrant keeps giving errors in fixed landscape mode and I always used fixed landscape because the stock Archos launcher takes for ever to redraw on screen rotation.
Now of course I replaced the Archos launcher with Zeam, and now redraws on screen rotation are very fast. Replacing the Archos launcher in UrukDroid with Zeam would of course give you the same improvement. Anyway, with the configuration described above @800MHz (I could set it at 1GHz but I didn't) I get Quadrant scores of 1810. If you run it on UrukDroid, we can compare.
Definitely my system is booting much faster now than than it did before, but that might just be Zeam.
Right now sibere is making kernels for UrukDroid which give a nice performace improvement; perhaps he is willing to make kernels for stock too, or help me a bit along? Also when I have some more time, I hope to port some of Ardatdat's kernel improvements to the latest firmware kernel. Maybe someone else is working on that already?
WhoDunnit said:
I don't know if performance is comparable to UrukDroid; I've used Uruk 1.0 for some months but I haven't run any benchmarks. The reason for that is that Quadrant keeps giving errors in fixed landscape mode and I always used fixed landscape because the stock Archos launcher takes for ever to redraw on screen rotation.
Now of course I replaced the Archos launcher with Zeam, and now redraws on screen rotation are very fast. Replacing the Archos launcher in UrukDroid with Zeam would of course give you the same improvement. Anyway, with the configuration described above @800MHz (I could set it at 1GHz but I didn't) I get Quadrant scores of 1810. If you run it on UrukDroid, we can compare.
Definitely my system is booting much faster now than than it did before, but that might just be Zeam.
Right now sibere is making kernels for UrukDroid which give a nice performace improvement; perhaps he is willing to make kernels for stock too, or help me a bit along? Also when I have some more time, I hope to port some of Ardatdat's kernel improvements to the latest firmware kernel. Maybe someone else is working on that already?
Click to expand...
Click to collapse
I agree with you, Zeam is the best Launcher for Archos . When installing UrukDroid, my Archos is longer battery life, LCD is more sensitive and it very fast . Another devices, when you increase speed of cpu, battery life is softer .
I don't think Uruk firmware had been cooked with stock kernel, stock kernel's not stability.
thanks for the reply, personally i don't care about quadrant which is the worst benchmark at all , you already answered the question good enough for me, you said booting is faster and general the feel is fast, thats for me a better benchmark result then any syntetic test which gives you results like in the lottery .
I use Golauncher on the A43 and it works also good, i never used the stock launcher .
I think i will try your solution out and look forward to some kernel improvements if you make one, if not then also fine.
Thanks again
i prefer VTL.Launcher. it is based on adw, but better configurable. i remove ALL soft buttons, all panels and the notificationbar. instead i use Button Savior to have HOME/BACK/SEARCH/MENU buttons.
runs pretty smooth and i can use fullscreen.
any launcher goes
Right, that's the beauty of android: Anything can be replaced and modified to your own taste. I modified my recommendations above about replacing the default launcher with Zeam: *ANY* launcher is better that the Archos default one. My only reason for recommending Zeam is because it is lightweight.
Bottom line: replace the launcher with any alternative and you will have a smoother system.
I love open source and, of course, linux(android) and the power of freedom it has. i hope it will never become mainstream as Windows or Mac is.
Thats the reason why i donate as much as i can to oss projects instead buying expensive Windows software.
And thats why i have big respect to all people who made our computerworld a little bit better to use! Call me a idealist, i am proud to be one! If we were no idealists things like Android wouldn´t exist.
OK, enough
back to topic!
WhoDunnit said:
Now that you have your Archos Gen8 as you [*] [ADB] su; cd /system/app; mv Launcher2.apk Launcher2.apknot
[/LIST]
Click to expand...
Click to collapse
Might as well just do:
[ADB] su; cd /system/app; rm Launcher2.apk
since it's really not deleting the file, but instead creating a .wh.Launcher2.apk file in /mnt/system/unionfs/system/app/ that causes unionfs to hide the file. You can always get it back by removing the /mnt/system/unionfs/system/app/.wh.Launcher2.apk file.
-John
Is the ext4 1 gig of data for extra app space?
skeeterfood said:
Might as well just do:
[ADB] su; cd /system/app; rm Launcher2.apk
since it's really not deleting the file, but instead creating a .wh.Launcher2.apk file in /mnt/system/unionfs/system/app/ that causes unionfs to hide the file. You can always get it back by removing the /mnt/system/unionfs/system/app/.wh.Launcher2.apk file.
Click to expand...
Click to collapse
Right, thank you. I added it to the steps to follow.
darren1 said:
Is the ext4 1 gig of data for extra app space?
Click to expand...
Click to collapse
That's the idea: All (non-system) apps and data will be stored in the 1GB ext4 partition.
WhoDunnit said:
That's the idea: All (non-system) apps and data will be stored in the 1GB ext4 partition.
Click to expand...
Click to collapse
Great, thanks.
A70H Compatible?
Thanks for all the work. Looks great and I'm about ready to try it but need to know first, will this work on the A70H (250gb version)?
H_Scrappy said:
Thanks for all the work. Looks great and I'm about ready to try it but need to know first, will this work on the A70H (250gb version)?
Click to expand...
Click to collapse
It's been suggested that you shouldn't perform this operation on the hard-drive versions. Constant app re-writes on the hard-drive could be a cause for early drive failures.
Nice write-up here WhoDunnit. I did a Windows-based write-up last month over at the ArchosFans forum. Now it looks like people have some options for methods to create their partitions on both Linux and Windows. More information is always a good thing
http://forum.archosfans.com/viewtopic.php?f=76&t=54637
Harfainx said:
I I did a Windows-based write-up last month over at the ArchosFans forum. Now it looks like people have some options for methods to create their partitions on both Linux and Windows. More information is always a good thing
http://forum.archosfans.com/viewtopic.php?f=76&t=54637
Click to expand...
Click to collapse
OK, great. I added a link to your thread so people can find answers if they want to do this from windows.

BBQLinux - An Arch based Linux distribution *NOT* just for Android developers

Updates Announcement here
------------------------------------------------------------------------------
Updates
Refer to oF2pks post regarding latest UEFI on BBQLinux
------------------------------------------------------------------------------
I am very surprise that BBQLinux has almost no reviews or publicity at all & a quick google search returns only a maximum of 10 pages only...
After all it is a Linux Distro specifically made for Android Development... It is maintained by Senior Recognized Developer codeworkx mentioned by himself... :laugh:
It has everything you ever needed & you should have started development long ago & not cracking your head to setting up the Build Environment, downloading this & that dependencies packages...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Intro from wiki
BBQLinux is a user-friendly Linux distribution made for Android developers and everyone who prefers a ready-to-use system. It has everything on board to build AOSP or AOSP-based Distributions like OmniROM or CyanogenMod. The default desktop environment is MATE. It is using vanilla Arch repos, the AUR and a BBQLinux specific repo. BBQLinux can be installed by booting the Live DVD and using the graphical Installer called BBQLinux Installer.
Homepage: http://www.bbqlinux.org
Screenshots: http://bbqlinux.org/screenshots
Google+: https://plus.google.com/u/0/communities/106642342159578225975
IRC: #bbqlinux on freenode
Added on Mar 27, 2014 - Miscellaneous Tips
Terminal Shortcut Key How-to
System -> Preferences -> Keyboard Shortcuts
Vbox Shared Folder
Drag&Drop works from Win Host to BBQLinux but not the other way round. To enable Win Host to access BBQLinux folder, for this Eg: create a new folder name BBQLinux at Win Host & put a check mark at Auto-mount. At BBQLinux Terminal,
Code:
[COLOR=blue]mkdir -p ~/BBQLinux
sudo mount -t vboxsf BBQLinux ~/BBQLinux[/COLOR]
After that, both can access the folder BBQLinux. At BBQLinux, there will be a new BBQLinux folder at your [Home]
To enable Shared Folder to work after reboot, use below command at Terminal & pluma to check. Change it accordingly to your setup if you use other folder name.
Code:
[COLOR=blue]echo BBQLinux ~/BBQLinux vboxsf uid=1000,gid=1000 0 0 [B]>>[/B] /etc/fstab
pluma /etc/fstab[/COLOR]
At my fstab it is BBQLinux /home/yuweng/BBQLinux vboxsf uid=1000,gid=1000 0 0
WARNING : Take note of the double greater-than sign >> a single > will over write everything at fstab & it won't boot after that so make sure there is no typo mistake ! And remember to put a check mark at Auto-mount or it will not boot !
The new Shared Folder BBQLinux can be access from the Desktop after a reboot.
Source
Installation How-to
There are already tons of guides on the web, more or less the same so refer to the below...
Virtualbox
Dual-Boot & Boot Menu
Native Boot
USB bootable how-to tips by Master Shifu himself... :good:
Found the one & only installation walk-thru in Russian !
i guess only the Russian appreciates such a master piece... Google Translated version here...
Still couldn't boot up BBQLinux then head over here tons of infos so make sure you have gone thru all that first & if still you couldn't figured it out then ask Master Shifu codeworkx AKA Daniel Hillenbrand or try asking here . . . :good:
Added on Apr 11, 2014
Confirmed BBQLinux can successfully built cm & omni . . .
Successfully built i9500 on BBQLinux & it tooks more than 7 hours on top of the initial 7 hours for syncing cm11 FULL source...
Commands to build on my PC...
Code:
[U]First part[/U]
mkdir -p ~/cm11
cd ~/cm11
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
repo sync -f -j4
cd ~/cm11/vendor/cm
./get-prebuilts
cd ~/cm11
source build/envsetup.sh
lunch
To select [COLOR=Blue]cm_i9500-userdebug[/COLOR] by typing its listed number-> Eg: [B][COLOR=Blue]50[/COLOR][/B] -> Enter ->
Wait & it'll resume syncing but there will be some errors & it'll stop
[U]2nd Part[/U]
export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 25G
brunch i9500
Source
Built successfully on Omni too...
Commands to build on my PC...
Code:
[U]First part[/U]
mkdir -p ~/omni
cd ~/omni
repo init -u https://github.com/omnirom/android.git -b android-4.4
repo sync -f -j4
Then follow remaining steps here...
Miscellaneous tips
What is ccache ?
Use below command to add it to .bashrc then you don't need to type it on every build & geany to check
WARNING : Take note of the double greater-than sign >> a single > will over write everything !
Code:
echo -e "\nexport USE_CCACHE=1" >> ~/.bashrc
geany ~/.bashrc
Source
Added on Apr 22, 2014
Philz Touch CWM Advanced Edition
Updates
Refer to here for more info . . .
Added on Sept 07, 2014
How to update your BBQLinux Distro
i've bad experience with Windows Update at work so i never did try updating BBQLinux until now Thanks to Santhosh M for sharing his experience . . .
Just follow the commands & updating works like a charm !
You can find all updated packages downloaded to /var/cache/pacman/pkg so make a backup & in case of OS corruption then you can use it, no need to download all over again . . .
Added on Oct 04, 2014
Native UEFI booting BBQLinux
What is UEFI. What is the benefit ? Got mine booted to login screen in just 9 seconds & i'm not even using SSD !
Been using Vbox for quite awhile now, did install Native-Boot but only now free to look into UEFI booting for my mobo & found out all those steps are not needed for BBQLinux except modified UEFI Shell v2 binary ( scroll further down & you'll see it )
For reference only, BBQLinux now support auto UEFI installation.
Steps
Download Rufus or on Linux & create a UEFI bootable USB drive from BBQLinux iso
Boot to Bios or press F8 for Boot Menu on Asus mobo & select the BBQLinux UEFI USB drive to boot to install BBQLinux
Assign 100MB for /boot/efi, swap, root, home as per your preferences. Upon finishing, installer will tell you EFI variables are not supported, just ignore it & reboot.
Boot the BBQLinux Installer again, use caja to mount the 100Mb partition, download, extract UEFI Shell v2 to the root of this partition & rename it to shell.efi
Reboot to Bios, pull out BBQLinux Installer USB drive, boot to launch UEFI shell & follow below command.
Code:
bcfg add 0 fs0:\EFI\BBQLinux\grubx64.efi "BBQLinux"
exit
Navigate to Bios Boot section, select BBQLinux, boot to this entry and enjoy.
Accessing EFI Shell on most mobo more or less the same so hunt for it if yours is not a Asus mobo . . .
ScreenShot
View attachment 2958722
Updates
Latest bbqlinux-2014.10.03-x86_64
Complete detail Walk-Through for setting up UEFI BBQLinux with photos
They say A picture is worth a thousand words hopefully newbies will be able to DIY after going thru all these. This Walk-Through setup details my Build Box that uses Asus mobo however it should be more or less similar for most mobo available on the market.
After you have booted up the UEFI BBQLinux Installer USB drive, you'll be greeted with the above. Press N
Press Enter
This screen will ask you to enroll the BBQLinux Installer USB drive loader.efi
This error details that you need to enroll \bbqlinux\boot\x86_64\vmlinuz too
Repeat the above process, look for vmlinuz & enroll it.
After this you should be able to boot the UEFI BBQLinux Installer USB drive
Now that you have finally booted up the UEFI BBQLinux Installer USB drive, you'll be greeted with above Welcome Screen, you can either choose Install BBQLinux or Try BBQLinux
After you choose Install BBQLinux, above notification will pop-up.
Go-thru each of the simple BBQLinux Installer menu & you'll get it installed. Generic calamares installation video. Below is obsolete info for reference, BBQLinux now support auto UEFI installation.
The newly installed BBQLinux won't boot b'cos you need additional steps to setup UEFI
Reboot BBQLinux Installer again & follow command above.
Code:
sudo efibootmgr -c -l "EFI\BBQLinux\grubx64.efi" -L "BBQLinux" [COLOR=red]<- This command assume you only have one Hard Disk Drive[/COLOR]
sudo efibootmgr [COLOR=Red]<- This command will list out the boot order[/COLOR]
Your BBQLinux HDD has the UEFI label & now you shall be able to boot up UEFI BBQLinux
My BBQLinux Build Box
Misc Tips
Updates
As mentioned, UEFI BBQLinux Native-Boot on normal HDD on SATA 6 boots up & shutdown faster than Win8.1(non UEFI) on SSD SATA 6, try it yourself then you'll know !
As you've seen all other guides elsewhere, same advice, familiarize yourself with UEFI on Virtualbox first then only try it on real HDD. System -> Put a check mark at Enable EFI (special OSes only).
If you're trying it on actual HDD then better to disconnect other HDD as you wouldn't want bad things to happen in case of a single mistake.
--------------------------------------
You can skip a few more hassle if you don't use UEFI Windows. More info here, here & here
If you already have other UEFI linux distro, you can use efibootmgr to setup two different UEFI boot label. Below example details two BBQLinux installation on two different HDD. Change accordingly to you Distro.
Code:
sudo efibootmgr -c -d /dev/sd[SIZE=4][COLOR=blue]d[/COLOR][/SIZE] -p 1 -L "[COLOR=blue]BBQLinux[/COLOR]" -l "EFI\[COLOR=blue]BBQLinux[/COLOR]\grubx64.efi"
sudo efibootmgr -c -d /dev/sd[SIZE=4][COLOR=blue]c[/COLOR][/SIZE] -p 1 -L "[COLOR=Blue]BBQLinux 1[/COLOR]" -l "EFI\[COLOR=blue]BBQLinux[/COLOR]\grubx64.efi"
sudo efibootmgr
Now both the UEFI BBQLinux & BBQLinux 1 is at the Boot Menu
Added on Mar 30, 2015
Jenkins on BBQLinux
Added on Apr 13, 2015
Tried fresh bbqlinux-2015.03.22-x86_64.iso UEFI installation on my OCZ SSD & it auto-detect & auto added UEFI boot menu by itself so just let BBQLinux installer do its job instead of manual partitioning . . . Refer to attachment -> View attachment 3236670
Time taken for building from source is also cut by half when using SSD . . .
Added on May 05, 2015
BBQLinux on non-Android Development laptop
Installed UEFI BBQLinux on my non-android-developer friend's Samsung Laptop with Celeron Processor & he is super happy that it boots & shutdown super lightning fast compared to the bundle OS . . . Below are the packages that i had to remove since sudo pacman -Syu will update it as well
Code:
sudo pacman -R [URL="http://en.wikipedia.org/wiki/Android_Studio"]android-studio[/URL]
sudo pacman -R android-support
sudo pacman -R [URL="http://en.wikipedia.org/wiki/Android_software_development"]android-sdk[/URL]
sudo pacman -R monodevelop-debugger-gdb
sudo pacman -R [URL="http://en.wikipedia.org/wiki/MonoDevelop"]monodevelop[/URL]
sudo pacman -R [URL="http://en.wikipedia.org/wiki/Meld_(software)"]meld[/URL]
sudo pacman -R [URL="http://forum.xda-developers.com/showthread.php?t=755265"]heimdall[/URL]
sudo pacman -R [URL="http://en.wikipedia.org/wiki/FileZilla"]filezilla[/URL]
sudo pacman -R [URL="http://wiki.inkscape.org/wiki/index.php/Inkscape"]inkscape[/URL]
sudo pacman -R gimp-dbp
sudo pacman -R gimp-plugin-fblur
sudo pacman -R gimp-plugin-gmic
sudo pacman -R gimp-plugin-lqr
sudo pacman -R gimp-plugin-mathmap
sudo pacman -R gimp-plugin-wavelet-decompose
sudo pacman -R gimp-plugin-wavelet-denoise
sudo pacman -R gimp-refocus
sudo pacman -R [URL="http://en.wikipedia.org/wiki/GIMP"]gimp[/URL]
sudo pacman -R [URL="http://en.wikipedia.org/wiki/LibreOffice"]libreoffice[/URL]-fresh
Since he is not using it for android development & he is more familiar with openoffice, i install it for him & told him to help himself with whatever apps that he may needs . . . :good:
Code:
yaourt -S openoffice
Updates
Tried building recovery & it says not enough memory as it comes with only 2GB Ram, tried with swap file & that solved the problem ! In spite of removing quite a few apps, there are still alot of Android binary stuff in it !
Swap my Desktop PC SSD for testing purpose & expected to re-installing everything but it boots up without doing anything !
This time only allocated 256MB swap & that too builds without problems, Conclusion : You don't need 16GB RAM for building from source as advice by many other guides, just invest in a SSD & use swapfile ! BBQLinux OS on a 60GB SSD should be enough for building ROMs too, either get an external HDD for data storage or use back the existing laptop HDD as an external HDD.
Completed building recovery on Celeron laptop, it only use up 67.8% of the newly allocated 256MB swap.
Only now realize that my Desktop 16GB RAM was hardly used, wasted my money upgrading RAM, same amount of money should've got me a bigger SSD !
Updates
How to confirmed that you have really boot into UEFI OS
Code:
[COLOR="Blue"]bootctl status[/COLOR]
System:
Machine ID: be56bf48b7444091ba1c651c91e2c45f
Boot ID: 68d69ecf4cb9470b88754b968f4e6b22
Secure Boot: disabled
Setup Mode: setup
Selected Firmware Entry:
Title: UEFI OS
Partition: /dev/disk/by-partuuid/bb6adf13-4b2b-4745-9b22-ec0ef5bdf56a
File: └─[COLOR="blue"]EFI/BBQLinux/grubx64.efi[/COLOR]
Source
Added on May 23, 2015
i've created a barebone BBQLinux xfce4 with BBQLinux Media Generator for installation on my friends PCs & laptops, full credits to Master Shifu codeworkx
Removed all development stuff so now its about 800MB with installed size at just 4.2GB ! Though you'll have to install apps that you want with a simple sudo pacman -S 'name of apps'
So go ahead & install it to your old PCs/ Laptops, family & friends PCs & Laptops, let them experience the goodies of BBQLinux & they'll be amaze of how well it performs, super fast, like brand new !
Will work on any PCs/ Laptops after the year 2006.(64bit CPU either AMD or Intel)
Added on May 27, 2015
Got my old Canon MP140 scanner working as simple as Plug & Play !
Code:
sudo pacman -S xsane gocr
Source
Added on Oct 09, 2015
Got bored with mate desktop then switch to xfce4 then to cinnamon easily without reinstalling everything...
Code:
sudo [URL="https://wiki.archlinux.org/index.php/Pacman#Upgrading_packages"]pacman -Syu[/URL]
sudo pacman -S bbqlinux-desktop-xfce4
sudo pacman -[STRIKE]Rsc[/STRIKE] bbqlinux-desktop-mate
[URL="https://wiki.archlinux.org/index.php/Allow_users_to_shutdown"]systemctl reboot[/URL]
Code:
sudo pacman -S bbqlinux-desktop-cinnamon
sudo pacman -[STRIKE]Rsc[/STRIKE] bbqlinux-desktop-xfce4
systemctl reboot
Enjoy the new desktop environment & i believe the same can be apply to all the other desktop too. Updates - 13-Oct-2015 Tested & confirmed all five bbqlinux desktop works using above techniques without re-installation...
Updates => Just did a new installation for a friend's laptop & it doesn't work, use pacman -Rs & it worked, however on my BBQLinux Desktop( Month of May iso ), pacman -Rsc works...
Updates 29-Feb-2016
Need to search a certain string on the source code but its like taking forever then use... :good:
Code:
sudo pacman -S [URL="https://github.com/ggreer/the_silver_searcher"]the_silver_searcher[/URL]
The code
How Linux is Built
Were you able to get OmniRom to work for your unsupported device? If so can you detail step by step how you added your device files?
As mentioned, cm & Omni doesn't boot on MTK as most MTK vendors doesn't include kernel source...
However, i did check out with Master Shifu Dee_Troy when i hang out here & he told me there is no mkvendor.sh on Omni source & ask me to refer to one & only MTK device tree here & it did built TWRP 2.7 on 4.4 branch...
So i suggest the same that you do some research, look at various device tree example here, use the one closest siblings to your device, manually edit all those files & i'm sure it'll built or try hang out here or here... :good:
Thanks for this usefull thread my Friend
Just tested on Virtual Machine (ubuntu). Compile philz touch 6 using cm-11 source for qualcomm device works very fine .
Like you said just getting android source and device tree, and the build process could be launched!!!
Nice one. ....
Greetz
Gesendet von meinem ME173X mit Tapatalk
Thanks for this @yuweng.:good:
Awesome! Thanks for share!
There are a few tools I had to install before I could compile Kit Kat. I thought I would share because Arch is so differrent than Ubuntu or Linux Mint so it was a pain to install these. Other than that I really like this distro. Nice UI
Hmm, i never had to install anything, may be its device specific, idk . . .
But Hey, you should share the how-to here, everyone know its pain in the ass to install arch packages . . . :laugh:
Never knew this thread got featured at the XDA Portal thanks to WILL VERDUZCO & JIMMY MCGEE . . . :highfive:
Updates : Totally forgotten to mentioned Jordan Keyes doing the BBQLinux coverage at XDA TV . . .
Since this question was asked at the portal for app development, BBQLinux includes Android SDK, Android Studio, Geany & Meld.
Someone even mentioned that he has to install JDK8 then only it'll work for his app development but i can't find that link, either it was the keyword BBQLinux, Archlinux, JDK8 or something else i can't recall . . .
Yeah, I've never heard of having to use Java 8 before. But Java6 is version 1.6. This is not device specific but it's common with all ROMs. See here: https://github.com/Octo-Kat/platfor...8a96053cc2fe520fdc136594878/core/main.mk#L163
So if you want you can check some of the other main stream ROMs like AOKP, CM, etc and confirm this to be true. Also the Compression tool iz4c is a must otherwise the build errors out when it starts compiling the kernel.
yuweng said:
But Hey, you should share the how-to here, everyone know its pain in the ass to install arch packages . . . :laugh:
/QUOTE]
I've never heard about any 'pain' with Archlinux's packages in the last 3 years! And Archlinux is my main system since then.
From LG G Pad 8.3 with the original Kitkat by LG
Click to expand...
Click to collapse
speedyx2000 said:
yuweng said:
But Hey, you should share the how-to here, everyone know its pain in the ass to install arch packages . . . :laugh:
/QUOTE]
I've never heard about any 'pain' with Archlinux's packages in the last 3 years! And Archlinux is my main system since then.
From LG G Pad 8.3 with the original Kitkat by LG
Click to expand...
Click to collapse
Certain packages aren't available in aur. You can convert them but that's more advanced.
Click to expand...
Click to collapse
Updated the BBQLINUX to may 1st version
but cant get the welcome screen
The lightdm.conf in the HDD has already lightdm-gtk-greeter
But still the same error pops up
Failed to Start Light Display Manager
The correct command is sudo geany etc/lightdm/lightdm.conf (without the slash) . . .
GUI method is actually much simpler . . .
Double-click at bbqlinux's Home -> 34GB HDD(your HDD) -> password bbqlinux
Applications -> System Tools -> Mate Terminal -> sudo caja -> password bbqlinux
File System -> run -> media -> bbqlinux -> HDD UUID -> etc -> lightdm -> lightdm.conf
Change greeter-session=lightdm-bbqlinux-greeter to greeter-session=lightdm-gtk-greeter
Yeah !! GUI method worked ...Thanks to @yuweng
I've this.
Inviato dal mio Galaxy Nexus con Tapatalk 2
It seems that your problem is something to do with the DVD/ USB disk label, link mentioned at the OP too . . .
But the corrupted low memory thingy is a whole totally different problem, i think . . .
Install, Setup and Update problems...
Hay, great job on making BBQLinux!
I have been having problems with the last two iso's you have done however,
My system is a MacBook Air 2012 (i5, 8GB RAM, 60GB SSD) and I am installing BBQLinux on to a USB3 or ThunderBolt HDD. Both of the iso's tried needed some monkeying with to get them to boot on a Mac - messing about with "/boot/efi" to make it boot...
The first one - bbqlinux-2014.03.16-x86_64.iso, installs great, boots with no problems (after monkeying) has a working desktop and tools but will not update! Every time i try to update, either using packman or the GUI it errors. GUI say "Unknown Error" and pacman gives errors about "invalid or corrupted package (PGP signature)" or "error: failed to commit transaction (conflicting files) terminus-font: /etc/fonts/conf.d/75-yes-terminus.conf exists in filesystem" - have tried many fixes but can't get past those errors!
The second one - bbqlinux-2014.05.01-x86_64.iso, installs great, boots with no problem (after monkeying) but the desktop does not work - just keeps opening caja at the bottom of the screen, hundreds and thousands of them!!!
Help please, thank you
On my Vbox, upon startup before it could finished loading everything, i double-click the Home icon at Desktop then four or five of them will pop-up after that but not hundreds and thousands of them . . . :laugh:
i have experience that on the Mar version but not May . . . Hmm, did you try other VMs such as parallels or vmware that could at least narrow down the problem, idk . . .
Hmm, may be you should report it directly to Master Shifu here as his XDA profile shows that he hasn't post anything since Jan 2014 . . .
May be Master Shifu @codeworkx is not even aware of this thread is here too . . . :laugh:
Wassup?
Who t f is Master Shifu?
Sent from my Nexus 5 using XDA Free mobile app
Master Shifu is a Charakter in the movie Kung Fu Panda
Gesendet von meinem Nexus 4 mit Tapatalk

[LINUX TESTING] - Linux supported Remix OS for PC looking for testers

You've been asking for it, so we started working on it - Linux based support for Remix OS for PC.
We are testing Remix OS for PC - Linux installation packages for both Ubuntu & Fedora. If you have a Linux machine, we'd really appreciate it if you could help us these versions out!
RPM for Fedora distribution:
https://drive.google.com/file/d/0B5QSEe-tHD32ZTVYdVJHOEkyUzQ/view?usp=sharing
Deb for Ubuntu distribution:
https://drive.google.com/file/d/0B5QSEe-tHD32QTNTZDBMekVTX1U/view?usp=sharing
The downloaded version is B2016110301
If you turn the system update to unstable, you will be able to test the upgrade to version: B2016110401
NOTE: this is not an official release, this version is only for testing purpose only.
Request more info..
This installs RemixOs B2016110301 to ?
Does it.. have a Gui?
Usb or Harddisk (how much Freespace needed) or can you choose install path/partition?
Cheers
Could you also add an AUR package for Arch users?
That way you won't have to recompile the package, you could simply have the package get converted from the Deb to the Arch standard, directly on the user's PC.
A Solus package (eopkg) would also be nice, however I guess that this is too much to be asking at this stage.
moriel5 said:
Could you also add an AUR package for Arch users?
That way you won't have to recompile the package, you could simply have the package get converted from the Deb to the Arch standard, directly on the user's PC.
A Solus package (eopkg) would also be nice, however I guess that this is too much to be asking at this stage.
Click to expand...
Click to collapse
These can and likely will be added to the AUR by some intrepid user, I am sure, as it is basically a script that puts the included files into the desired location and creates a grub menu. Easily modified for Arch systems, I am sure
claydoh said:
These can and likely will be added to the AUR by some intrepid user, I am sure, as it is basically a script that puts the included files into the desired location and creates a grub menu. Easily modified for Arch systems, I am sure
Click to expand...
Click to collapse
Thanks, I will wait for that.
And sorry about the unusual way of thanking you, I am out of thanks for today.
claydoh said:
These can and likely will be added to the AUR by some intrepid user, I am sure, as it is basically a script that puts the included files into the desired location and creates a grub menu. Easily modified for Arch systems, I am sure
Click to expand...
Click to collapse
Code:
[[email protected] Documents]$ rpm -qp --scripts RemixOS-3.0.206-B2016110301.x86_64.rpm
postinstall scriptlet (using /bin/sh):
. /etc/os-release
mkdir -p /RemixOS/data
if [ "$ID" = "debian" -o "$ID_LIKE" = "debian" ]; then
grubcfg=/boot/grub/custom.cfg
elif mountpoint -q /boot/efi; then
grubcfg=/boot/efi/EFI/$ID/custom.cfg && efi=efi
else
grubcfg=/boot/grub2/custom.cfg
fi
echo -e "menuentry \"Remix OS 3.0.206-B2016110301\" {\n\tsearch --set=root --file /RemixOS/kernel\n\tlinux$efi /RemixOS/kernel quiet root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive \n\tinitrd$efi /RemixOS/initrd.img\n}" > $grubcfg
echo -e "menuentry \"Remix OS 3.0.206-B2016110301 (DEBUG mode)\" {\n\tsearch --set=root --file /RemixOS/kernel\n\tlinux$efi /RemixOS/kernel root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive DEBUG=2\n\tinitrd$efi /RemixOS/initrd.img\n}" >> $grubcfg
if [ "$ID" = "debian" -o "$ID_LIKE" = "debian" ]; then
sed -i 's/^GRUB_HIDDEN_/#GRUB_HIDDEN_/' /etc/default/grub
update-grub
fi
postuninstall scriptlet (using /bin/sh):
. /etc/os-release
if [ "$ID" = "debian" -o "$ID_LIKE" = "debian" ]; then
grubcfg=/boot/grub/custom.cfg
elif mountpoint -q /boot/efi; then
grubcfg=/boot/efi/EFI/$ID/custom.cfg
else
grubcfg=/boot/grub2/custom.cfg
fi
if [ "$1" = "1" ]; then
new_prefix=`dirname $(grep initrd $grubcfg | head -1 | awk '{print $2}')`
if [ "$new_prefix" != "/RemixOS" ]; then
rmdir $new_prefix/data
mv /RemixOS/data $new_prefix
rmdir /RemixOS
fi
else
rmdir /RemixOS/data /RemixOS
rm -f $grubcfg
fi
Yes! Tanks.. It is already 2 weeks I work on differents way to install or incorporate RemixOS on a ubuntu base.
Really happy to meet people who work on this! :good:
I give you news after testing your release! Thank you!
regard's
NeurOSick
I can test this weekend in Debian Jessie and Debian Strech 64 bits / KDE
Testing
Hello,
I Have a i7 3790 cpu, 32 gigs RAM, SSD Hard drive and AMD Radeon 7770. I have installed under Ubuntu and I only had one major issue. I couldn't get HDMI sound so I plugged speakers in but when I did there was a clicking sound and Clash of clans sound was playing so I unplugged my external USB hard drive to stop the clicking sound (interference) and BOOM the sound just stopped and never worked again. Had to go into Ubuntu and remove Remix OS (completely from Hard Drive) and reinstall to get the sound back. What was this all about??? I have tried messing with alsa with no luck yet getting HDMI to work. The OS detects the sound output but chooses the onboard sound and bypasses the Intel onboard HDMI (thank god for that one). Truly need to configure alsa and get make a sound selecter for REMIX. This is a MAJOR issue. I also found a few incompatible software but not anything I care to use.
Will this version install to either a USB pen drive or the internal disk? For the internal disk, can it be installed on a designated partition (as opposed to it wiping the drive)?
trentfox said:
Will this version install to either a USB pen drive or the internal disk? For the internal disk, can it be installed on a designated partition (as opposed to it wiping the drive)?
Click to expand...
Click to collapse
This deb or rpm package simply puts the Remix files into a directory in your root partition and sets up a grub entry. It does not provide for setting an install location or device, and does not wipe any drives.
I haven't tried it yet because my root is nearly full so I don't have enough space at the moment.
Nevermind. I found out how to unlock the unstable mode. https://www.youtube.com/watch?v=pgcx-W_eUbY
It is amazing, it works very well!
A little bit of description would have been useful; it was a surprise to me that there were two new entries in the grub menu. The system starts up quite fast indeed. I noticed one quickly disappearing message during start-up about some Intel-specific thing that does not work on my AMD based system but that doesn't seem to be important. My hardware: Asus M5A88-M, SB880 chipset, FX6200 processor (6 cores), HD5450 video card, 12 MB memory; OS: Xubuntu 16.04.1, 64 bit.
One minor issue: Remix switches the sound system off when it doesn't need it (to safe power I guess) and on again as soon as you touch something. When the sound system is switched off, my speakers produce a (rather soft) hum, so this noise comes and goes all the time, which is rather annoying. Is it possible to add some boot parameter or so, to avoid the sound system being switched off?
Could you add remix os for Raspberry pi 3 ?
I found a way to resolve the powersafe issue with the sound mentioned in my mail above, albeit not a permanent solution; it only lasts for the duration of the session. Writing the value 0 to /sys/modules/snd_hda_intel/parameters/power_save, as root, does the trick. The value that is present is 3, causing the sound to switch off after 3 seconds, till you touch a key.
How to solve this permanently?
I'll be testing this soon on my 3rd hard drive in my desktop (currently running Ubuntu 16.10, with a few extra ppas).
moriel5 said:
I'll be testing this soon on my 3rd hard drive in my desktop (currently running Ubuntu 16.10, with a few extra ppas).
Click to expand...
Click to collapse
Update: A bit late, however I keep getting a corrupt .deb, therefpr I am unable to install it on Ubuntu.
Whoops, that was supposed to be an edit, not a separate post, must be the fact that I need to sleep.
Look like the update is broken here. Won't update to B2016110401 or newer.
Wanted testers:::: Posted on reddit.
Wanted testers:::: Posted on reddit.
r/linux_gaming/comments/5dxgcb/android_os_for_linux_os_this_is_not_an_emulator
Does this install Remix from inside Ubuntu or does it set up a new grub entry and root/system files along side Ubuntu at start?

Categories

Resources