[unofficial][linux3.4][native][tarchive][multirom]ArchLinuxARM release for N7 2013 - Nexus 7 (2013) General

This is not an Android project so I don't feel that posting it in the Android Development forum would be appropriate.
ArchLinuxARM for the flo (2013 Nexus 7) - Native Boot with MultiROM
This is only tested on the Wi-Fi version. With a kernel swap, it should work on the deb (LTE) tablet, though mobile data is highly unlikely to work.
Big thanks to crondog at github for the initial porting work. https://github.com/crondog/arch-flo
Working:
3D Acceleration (OpenGL ES 3.0, Mesa) - can be unstable, however.
Wi-Fi (with NetworkManager)
Bluetooth
Audio
Installation
MultiROM must already be installed, and you must already have a hardboot-capable kernel installed as well.
You will need a Terminal Emulator or ADB Shell to install.
This assumes that arch_flo_20141210_multirom.tar.gz is in the root of your internal storage (/data/media/0).
Code:
su
tar -C /data/media/0/multirom/roms -xpzvf /data/media/0/arch_flo_20141210_multirom.tar.gz
Logging in
The username is "arch" and the password is "archlinux". Change the password ASAP.
For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!
You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
Downloads
MultiROM hierarchy tarchive: https://drive.google.com/file/d/0B4WUjKii92l2X1F1LVhsaG5DbUE/view?usp=sharing
Kernel Source: https://github.com/willcast/kernel_flo
Also available for:
Samsung Galaxy S III LTE: http://forum.xda-developers.com/gal...unofficial-port-archlinuxarm-release-t2969290
HP TouchPad: http://forum.xda-developers.com/hp-touchpad/other/unofficial-archlinuxarm-release-hp-t2969310
Nexus 10: http://forum.xda-developers.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450
HTC HD2: http://forum.xda-developers.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483

looks interesting will give it a crack and see how it goes

thanks for the work. it boots impressingly fast.
castrwilliam said:
You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
Click to expand...
Click to collapse
if I activate the onboard keyboard ist shows at the bottom of the login screen. login works without password. when beeing logged in the keyboard is gone. I can see the keyboard symbol on the left besinde the speaker symbol but tapping on it doesn't trigger anything. also changing any options in the control center -> onboard settings have no effects. logging in without keyboard activated and then control center -> onboard settings has no effects either.
I cannot "adb shell" due to lack of permissions
Code:
# adb devices
List of devices attached
???????????? no permissions
and I'm not owning a bluetooth keyboard. so right now I can only play minesweeper - oh wait, it's not installed...

is there any way to rotate the screen as its really annoying having it in portrait all the time

Toby0897 said:
is there any way to rotate the screen as its really annoying having it in portrait all the time
Click to expand...
Click to collapse
Yeah it is in the monitor options but it's worthless since Xorg crashes when changing the rotation

Great stuff!
I would remove the KDE plasma etc packages as that desktop seemed to unusable. (Due to broken hw acceleration?).
what's next?

Hi, I'm having a big trouble...
While I'm trying to do the installation (by adb shell or terminal emulator, both of them) and I enter the command posted in the OP it says:
127|[email protected]:/ # tar -C /data/media/0/multirom/roms -xpzvf /data/media/0/arch_flo_20141210_multirom.tar.gz
tmp-mksh: tar: not found
What can I do to resolve this error? I really would like to install it on my Nexus 7
Thanks in advance!

hugomc92 said:
Hi, I'm having a big trouble...
While I'm trying to do the installation (by adb shell or terminal emulator, both of them) and I enter the command posted in the OP it says:
127|[email protected]:/ # tar -C /data/media/0/multirom/roms -xpzvf /data/media/0/arch_flo_20141210_multirom.tar.gz
tmp-mksh: tar: not found
What can I do to resolve this error? I really would like to install it on my Nexus 7
Thanks in advance!
Click to expand...
Click to collapse
You will need to install busybox for tar to work

daringblaze said:
You will need to install busybox for tar to work
Click to expand...
Click to collapse
Thank you very much!! That make tar to work!!
Gonna try archLinux ASAP!!
Thanks!

updates
Hi, great stuff!
After installing it, I tried to update arch (
Code:
sudo pacman -Syu
) but this resulted in a blank screen upon boot. I assume that this is due to updated packages overwriting parts of the OS that were installed manually, but I don't know what or where. Would you have any ideas of what packages would be responsible for this, so that I know not to upgrade them?
Thanks!

computer-whisperer said:
this resulted in a blank screen upon boot. I assume that this is due to updated packages overwriting parts of the OS that were installed manually, but I don't know what or where. Would you have any ideas of what packages would be responsible for this, so that I know not to upgrade them?
Thanks!
Click to expand...
Click to collapse
Make sure you ignore xorg and mesa stuff. Add
Code:
IgnorePkg = glu mesa mesa-dri mesa-libgl xorg-server-common xorg-server-devel xorg-fonts-misc xproto libdrm
IgnoreGroup = xorg
to /etc/pacman.conf.
The list probably contains some extra entries, but works for me

It took xda 2 years, but they finally did it.
In all seriousness, props to you. I've been waiting for this for along time.

castrwilliam said:
Downloads
MultiROM hierarchy tarchive: https://drive.google.com/......
Click to expand...
Click to collapse
Hi castrwilliam, would you mind sharing what step you went through to create arch_flo_20141210_multirom.tar.gz ?

Great work guys! I was looking for this for a really long time and i am writing this on my n7 with linux but i have a few questions:
1. is it possible to overclock(and how) because my n7 runs on 1.89ghz and 477mhz gpu in android with elementalx kernel and it would be nice to have some more power
2. can the screen be rotated so the hardware buttons are on top (i saw a post saying it chrashes but i cant even find the setting xD) because it would be alot easier to use the OTG cable
And thank you guys for making this happen, i love linux on the note 10.1 and im so glad to have this run it too(would be maaad if it can be overclocked )

Thank you for this wonderful package!
I recently updated all packages ) and iam trying to fix the issue without reinstall (challenge accepted)
It seems that the xorg-server 1.17 is the problem. I compiled. Freedreno and the freedreno mesa 10.3 and libdrn packages without success. The xserver is segfaulting when it loads libexa.so.
Now i try to downgrade to 1.16 . ive read that the xf86-video-freedreno-git package is not working with flo. Is that correct? Did youbuild this packages with modificationa?
I believe this is why i love arch. Its like lego for nerds or something

castrwilliam said:
This is not an Android project so I don't feel that posting it in the Android Development forum would be appropriate.
ArchLinuxARM for the flo (2013 Nexus 7) - Native Boot with MultiROM
This is only tested on the Wi-Fi version. With a kernel swap, it should work on the deb (LTE) tablet, though mobile data is highly unlikely to work.
Big thanks to crondog at github for the initial porting work. https://github.com/crondog/arch-flo
Working:
3D Acceleration (OpenGL ES 3.0, Mesa) - can be unstable, however.
Wi-Fi (with NetworkManager)
Bluetooth
Audio
Installation
MultiROM must already be installed, and you must already have a hardboot-capable kernel installed as well.
You will need a Terminal Emulator or ADB Shell to install.
This assumes that arch_flo_20141210_multirom.tar.gz is in the root of your internal storage (/data/media/0).
Code:
su
tar -C /data/media/0/multirom/roms -xpzvf /data/media/0/arch_flo_20141210_multirom.tar.gz
Logging in
The username is "arch" and the password is "archlinux". Change the password ASAP.
For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!
You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
Downloads
MultiROM hierarchy tarchive: https://drive.google.com/file/d/0B4WUjKii92l2X1F1LVhsaG5DbUE/view?usp=sharing
Kernel Source: https://github.com/willcast/kernel_flo
Also available for:
Samsung Galaxy S III LTE: http://forum.xda-developers.com/gal...unofficial-port-archlinuxarm-release-t2969290
HP TouchPad: http://forum.xda-developers.com/hp-touchpad/other/unofficial-archlinuxarm-release-hp-t2969310
Nexus 10: http://forum.xda-developers.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450
HTC HD2: http://forum.xda-developers.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483
Click to expand...
Click to collapse
What's NOT working

Hello, is there some instruction howto run (native) arch on nexus 4? I see only for n7, n10...

castrwilliam said:
This is not an Android project so I don't feel that posting it in the Android Development forum would be appropriate.
ArchLinuxARM for the flo (2013 Nexus 7) - Native Boot with MultiROM
This is only tested on the Wi-Fi version. With a kernel swap, it should work on the deb (LTE) tablet, though mobile data is highly unlikely to work.
Big thanks to crondog at github for the initial porting work. https://github.com/crondog/arch-flo
Working:
3D Acceleration (OpenGL ES 3.0, Mesa) - can be unstable, however.
Wi-Fi (with NetworkManager)
Bluetooth
Audio
Installation
MultiROM must already be installed, and you must already have a hardboot-capable kernel installed as well.
You will need a Terminal Emulator or ADB Shell to install.
This assumes that arch_flo_20141210_multirom.tar.gz is in the root of your internal storage (/data/media/0).
Code:
su
tar -C /data/media/0/multirom/roms -xpzvf /data/media/0/arch_flo_20141210_multirom.tar.gz
Logging in
The username is "arch" and the password is "archlinux". Change the password ASAP.
For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!
You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.
Downloads
MultiROM hierarchy tarchive: https://drive.google.com/file/d/0B4WUjKii92l2X1F1LVhsaG5DbUE/view?usp=sharing
Kernel Source: https://github.com/willcast/kernel_flo
Also available for:
Samsung Galaxy S III LTE: http://forum.xda-developers.com/gal...unofficial-port-archlinuxarm-release-t2969290
HP TouchPad: http://forum.xda-developers.com/hp-touchpad/other/unofficial-archlinuxarm-release-hp-t2969310
Nexus 10: http://forum.xda-developers.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450
HTC HD2: http://forum.xda-developers.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483
Click to expand...
Click to collapse
Having my favourite distro on my pocket is very exciting so thank you very much...
I have to carry only a development lamp server so using a pacman tip I revert to a base, base-devel system removing everything about xorg and DE.
Now I connect using ssh but I've noticed that the tablet screen is simply blank: no tty, no text console.
There is a way to have a text only console at boot to make a login (may be using an usb keyboard) when device is not connected?

Hello, I have some trouble when I boot.
config: rastapop 5.1.1 (AOSP based) + last multirom v32A + Kernel w/ kexec-hardboot patch (Stock 5.1.1)
Installing archlinux correctly from the terminal emulator. Load it --> black screen (about 6seconds) --> Google Logo forever
Someone know what I can do for make it work ?

Cool I will give it a try.

Related

[APP] Linux-on-Android project (Complete Linux Installer)

{
"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"
}
We now have a Q&A thread HERE please use this for questions about the project. This thread is for development only!
This project started off in this forum here: http://forum.xda-developers.com/showthread.php?t=1390351
However since then the project has grown and just keeps growning! Featuring a ever growing range of distros
The TEAM!
The team consist of:
zacthespack
tuxling
WEM97 [DONATE]
Think you have something to bring to the team? then contact me and we shall talk
What is this all about?/Why put this on my device?
This projects aim is to bring a range of linux distros to your android device through a method known as 'chroot', see it has running a linux distro within a virtual machine on your phone (Although its not! its using native ARM ports and the Android kernel) . You can access this virtual machine and run it on your phone without causing any damage to your device, or having to overwrite anything. Why might you want this? well my apps are designed to make the install and set up process as easy as possible while still giving you some flexibility. Once you have the distro up and running then you can pretty much run and install any linux software you like (so long as there is a arm port or it is not architecturally dependent).
Wait this uses VNC why shouldn't I just VNC to a computer?
VNC is used to access the GUI as at the moment I have not yet implemented a native way of viewing the GUI. But the Linux distro itself is running within the phone and can be controlled via the terminal app so if your a seasoned Linux user you may never even want to use the GUI
What is Chroot?/How does this work?
"A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children" - http://en.wikipedia.org/wiki/Chroot
This method of running linux distros with android has been around for some time. I have worked on my scripts to make the process more user friendly and give you far more options from the word go.
The scripts start by mounting the linux image file within the android file system and then mounts the sdcard and if you have it internal memory within the linux file system.
Chroot is then used to change the root directory to that of the mounted linux and a bash shell is then opened to allow you to control linux this is kind of like 'booting' the OS.
The likes of VNC and SSH are then set up when linux is 'booted' to allow you to connect to the GUI if you require it.
Interested?
Ok so you want to get one of the support linux distros on your device, great welcome to the team
But first you will need to find out if your device is compatible with the method before anything else, this method 'should' work with pretty much any device but some ROM's/kernels will not work as they do not have loop device support etc.
HERE is a list of working devices and ROM's/kernels but remember just because its not on the list simply means no one has told me its working, it could still work!
Free Apps/Files
App
The App can be download via google play or the open source version can be download via source forge.
Distro Images
Below are our currently supported distros, click the distro of choice to go to its image download page on our source forge site (including torrent downloads)
Kali Linux
Donation keys
The donation keys allow you to support the project and unlock the configure menu within the launcher, this allows you to set and edit your VNC/SSH settings from within the app instead of on the command line!
This are also*available*to buy on the playstore or via paypal
Or if you donate more than £1 via paypal I shall send you a custom Donate key to unlock the extra features (if you donate more than £5 you will be added to the contribution list here and on the blog)
You can donate via paypal HERE Or my bitcoin wallet is: 13XxX4R2UFSkyCRyPMDXV1fT6VqzFi9d9T
Something not working?
Please first read through the FAQ pages HERE
Then if you still have issues check out the Q&A thread HERE. If you sitll can not find your answer, post in the that thread or email us [email protected]
Love the project?
Well there are plenty of places you can show your support, of cause you can buy the paid apps, but you can also 'follow' the project on a range of social networks and also keep up to date with news on the projects blog!
Main Site
Sourceforge Site (Where all the free apps files are kept )
Facebook page
Twitter page
Google+ page
IRC Channel = #linuxonandroid-dev (This is only for development not support!) #linuxonandroid-help (for help!)
banner for users of the project if you so wish to show your support by having the project in your signature.
If you would like to add this to your signature
You can simply add this code:
HTML:
[URL="http://forum.xda-developers.com/showthread.php?t=1585009"][IMG]http://zpwebsitefiles.com/images/loauser.png[/IMG][/URL]
Current Contributors
Project Developers
Zac Powell (myself) aka zacthespack
Martin Møller aka tuxling
William Means aka WEM97
App Translators
Marco Robles - Spanish Translation
Quentin Khan - French Translation
Stefanie Jung - German Translation
Ove Grunnér - Swedish Translation
Nikolay Suknyarov (NikolayS) - Bulgarian Translation
Other Contributors
Johan Vromans
Marshall Levin
Barry flanagan
Device Fund Donators (Those that donated to the device fund that ran from 26/08/2012 till 26/09/2012 and selected a perk)
scottlsteele
aceler
kailuuu
mja747
chrisindie
buki1
mharris867
never__sleep__again
joe95
jmoran1
fedebot
vichev.jordan
apadsethlang
1llu510n157lynx
innovateworld
karrth
AlexanderBalakersky
normenkdindiegogo
MORAZA.E7575
FilipJoelsson
brousch
igray78756
hawkinja
sullytrny
Donators (Those who have donated £5 or more to the project)
Davide Amatobene
Helder Carreiro
Aaron Coakley
Leo Barnard
Gregory Harrison
Chirado OHG
Infamous Webs
Matthew Collins
Rene Donker
David Marceau
Roberto Colistete Jr
cnbuff410
Javier Orozco
Jicaraca
Show me some screenshoots!
Ok ok heres a few screen shoots of the apps/distros in actions!
Change logs
App
Code:
11/04/2013
v2.3.1
*Added tip about changing screen size for VNC in Tips page
*Added permission for SuperUser
*Adjusted news layout
*Widgets are now resizeable (Android 3.1 and up)
*Updated translations for German, Spanish and Ukrainian
30/03/2013
v2.3
*Fixed bug that downloaded wrong fedora torrent
*Now building app against newest android version
*Included Kali Linux beta image for donation key users
*More force close fixes (thanks for the reports!)
23/03/2013
v2.2
*Included Fedora beta images for donation key users
*Removed Kickstarter widget, thank you to all those that donated!
*Updated Translation for Portuguese, Ukrainian, German and Norwegian
*Most force closes and crashes fixed!
21/02/2013
v2.1.1.1
*Fixed crash on startup
v2.1.1
*Code cleaned up and some of the experience crashes/freezes should be fixed
*Added kickstarter project to about page so you can keep track of progress!
*Added kickstarter project to the splash screen.
10/02/2013
v2.1
*Improved side menu with smaller text and better icons
*Fixed crashes when adding/editing images
*Fixed donation keys not working
*New Portuguese, Chinese translation
25/01/2013
*First bug fix, should take care of alot of the crashing (possible not all)
Please bear with us while we get to the route of these issues and iron out the new app.
If you do get any more crashes do please send in a report and let us know what you where doing when it crashed.
Thank you
24/01/2013
V2 Update!
Huge reworking of the app from the ground app, everything is optimised and new features including:
*Removed 'dashboard' UI in favour of a side opening menu to make switching between menu items much quicker
*Tabs used in Install guides to make moving through the install process easier (you can also swipe from tab to tab)
*New First 'boot' loading screen to give user information about what the app is doing on first boot, which stops freezing
*New way of handling donation keys should stop the app from not seeing a key when its installed (keys DO NOT need updating)
*Fixed ubuntu 10.10 linked to the wrong location
*Moved News to AsyncTask to stop it freezing
*Reworded All text to be easy to translate and fixed all grammar and spelling mistakes
*New File Manager to select image file in launcher
*Updated 1x1 widget to use file manager and improve its usability
*New Finnish, Danish, Korean, Norwegian, Ukrainian, Spanish and German translations
14/10/2012
*Includes new danish translation
*Change Ubuntu 10.10 links to there new location
11/10/2012
*Updated to include backtrack v10 image (See image change log)
01/10/2012
*Added French translation
*Added support for the custom donation keys from the indiegogo device fund
27/09/2012
*Removed old outdated translations
*Included new up to date Finnish and Italian translations
*Added a busybox reinstall option in the launcher menu, this will allow users whos busybox install fails to be set to executable to reinstall busybox
*Removed the device fund ad, we hit $600 and where able to get what we needed, thank you very much to all that donated
27/08/2012
*Changed news feed to our brand new website!
*Added Popup on first launch about our Device Donation Fund! (http://www.indiegogo.com/Linuxonandroid)
19/08/2012
*Fixed Archlinux downloads pointing to Debian downloads(Arch torrents and large image shound now download fine)
16/08/2012
*Allow creation of 1GB SWAP file for Donation users (kernel must support it)
*Added beta Archlinux images for Donation users (once out of beta will be avaible for all)
23/07/2012
*Added a popup window if the terminal app can not be found (the reason behind the app crashes when you try and launch linux)
16/07/2012
*Added 3 new buttons ready for future distros (have a look to see what the next distros will be ;) )
*Removed the links to the donation at the end of the guides
*Added small image 'ad' for the donation keys at the button of the install guides
09/07/2012
*New News section with a news feed right from the blog so you can keep up to date from within the app
*Bulgarian Translation added, thanks to Nikolay Suknyarov (NikolayS)
*Added links to donation keys at the end of the install guides (in free mode only)
03/07/2012
*Complete Linux Installer now free with 'donation' key apps
*App now checks for donation key and unlocks extra features if found (and passes validation)
*Extra features currently include Linux editor (to change screen size and mounts etc.)
11/06/2012
*Added a config screen on the launcher.
*Added a mount editor to the config screen where new mounts can be added.
*Added a option to turn on/off start of SSH and VNC servers.
*Added resolution settings to the config screen.
*Added auto run options, the image can now be mounted automatically when android has booted.
*Added Danish translations.
*The launcher now warn you if the image path is wrong and hide the config and start button.
*Changed the widgets and launcher to use a full image name instead of the path and script name.
*Fixed grammar and spelling for English text
*Added torrent downloads for debian and backtrack
07/05/2012
*Complete rebuild of app (looks the same but will make updates and change ALOT easier to implement)
03/05/2012
*Added torrent links and uploaded 1204 images to v2 and boot script to v7
*Added built in busybox so no longer need to install it yourself! (only working with 1204 v7 boot script, will work with other distros in next update)
*New changelog viewer, not much to see but it will be much easier updating it in the future.
20/04/2012
*Install guide updated to reflect the new Ubuntu images, and the fact that Ubuntu 12.04 is now stable
*Launch button and widgets updated to reflect the changes made in the terminal app (fixed bug that stopped widgets from working)
13/04/2012
*New onclick boot system that lets you set the location of your image file and boot script (so it no longer has to be in sdcard/ubuntu etc.).
*Brand new widgets that also let you set the location of your files
The new boot system was design by Martin Møller who kindly donated it to the project.
31/03/2012
*Includes install guide for Debian
*One click boot for Debian
*Boot widgets still not working will be fixed in next release
30/03/2012
*First release featuring all the features of the paid backtrack and ubuntu apps
Script
Code:
27/09/2012
*Fixed error with script not starting off using the apps busybox which causes errors on devices that dont have another busybox installed
16/08/2012
*Removed SU check, caused cut error on many devices
*Added support to create a 1GB SWAP file and use it
11/07/2012
*Fixed md5 sum file not deleting after checking
*fixed script not using the busybox built into the new app
11/06/2012
*Changed the script so it now look for any of our apps and use busybox from there. If none of the apps are found it will use /system/xbin/busybox instead.
*Changed the shutdown part to use the apps busybox, now it should shutdown for everyone.
*Now we write hosts and resolv.conf file only once when the image first boots. This allow changes to those files to survive restart of the image.
*Plus a lot of small changes to support the new config system.
03/05/2012 - Ubuntu v7 script
*md5 file checking if found in the same directory as the image (md5 file now included in zip of each image file) This can take some time to excute but will make sure the image is not currpt! (will only do it on first use once its checked the md5 file is deleted)
30/04/2012 - Ubuntu v7 script
*Improved error handling
31/03/2012
*Includes Debian boot script V1
Images
Code:
30/03/2013
Kali Linux
*New beta image for Kali linux
23/03/2013
Fedora
*New beta images for fedora
11/10/2012
Backtrack
*Fixed user not being able to use sudo
*Fixed S and M being used as keyboard short cuts
*Backtrack 5 wallpaper included again (by popluar demand!)
*Dare I say it Backtrack should now be completely stable
16/09/2012
Backtrack
*Fixed md5 miss match
16/08/2012
Backtrack
*fixed "error creating child process for terminal" when launching a terminal in backtrack
*Now asks for a password for VNC on first start up
*Removed some typoes in the script
ArchLinux
Core
*Updated to beta
*Internet working
*All updates and fully working pacman
Small
*All changes from Core included
*'Mostly' working vnc GUI
*LXDE Desktop included
*2GB file size
*Known Issues - LXDE dosnt render correctly, VNC does not let you change password, password set to 'backtrac'
Large
*All changes from Core included
*'Mostly' working vnc GUI
*KDE Desktop included
*3.5GB file size
*Known Issues - KDE# dosnt render correctly, VNC does not let you change password, password set to 'backtrac'
04/07/2012
*Debian and Backtrack images updated to fix user issues
11/06/2012
*It now asks if you want to start ssh and vnc at first boot and let you save the choices. (The complete installer app can change ssh/vnc start choices and change vnc resolution later, the free apps can do it by editing a file)
*Resolution and other settings are now saved the same place as the image itself so they are easy to edit. The file is called imagename.img.configs
*The permissions on /sdcard and /external_sd should be fixed now.
*Now the hosts and resolv.conf files are only written once, so changes the user make will now survive a restart.
*Plus a lot of changes to support the new config system, to many to mention.
03/05/2012
*Now boot using a normal user (called ubuntu), on first boot it will ask for you to set your own admin password for using running things as root. (thanks to barryflanagan for this!)
*Images now once again ask if you wish to save the screen size as default
*Ubuntu updated to newest updates
*Images include md5 files to check image
*+Plus possibly other tweaks I cant remember!
20/04/2012
*New Ubuntu 12.04 images. Core, small and full all updated to newest updates from ubuntus main stream
*Full image now include Unity desktop
*Firefox now working on both small and full images
31/03/2012
*Now includes Debian images (core/small/large) V1
I have this feeling you are about to be in high demand if all the ISC Webtop 3.0 videos are accurate. It's looks like Moto killed Ubuntu and replaced it with tablet mirroring mode.
BTW- Played with this on an Epic 4G and really like it. Could have used this last year for the Evo Desktop PC.
Lokifish Marz said:
I have this feeling you are about to be in high demand if all the ISC Webtop 3.0 videos are accurate. It's looks like Moto killed Ubuntu and replaced it with tablet mirroring mode.
BTW- Played with this on an Epic 4G and really like it. Could have used this last year for the Evo Desktop PC.
Click to expand...
Click to collapse
really? well thats interesting, bring them on, everyones welcome here
Runnin slow linux on android ? -> lets do Ultralight
Howdy, pardners!
I suggest ARM porting Puppy linux or some other other really light distro to gain maximum performace out of mobile device.
Also there ultra-light desktops . It seems that the best would be Ratpoison or Awesome. These are easy to incorporate into now available port of Ubuntu for android.
These should together provide fast and small display suitable linux env. for your mobile device!
see ya round!
mrWax said:
Howdy, pardners!
I suggest ARM porting Puppy linux or some other other really light distro to gain maximum performace out of mobile device.
Also there ultra-light desktops . It seems that the best would be Ratpoison or Awesome. These are easy to incorporate into now available port of Ubuntu for android.
These should together provide fast and small display suitable linux env. for your mobile device!
see ya round!
Click to expand...
Click to collapse
Yes I think your right, I will look at making my next support distro one of these amazingly light distros, get the most power we can our of our devices
In your opinion, which of these distros is the fastest? I have a single core device so need all the help I can get lol
Sent from my SAMSUNG-SGH-I997 using xda premium
dustinhayes93 said:
In your opinion, which of these distros is the fastest? I have a single core device so need all the help I can get lol
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
either ubuntu 12.04 with lxde or debian i would stay away from gnome it takes alot more memory . At the moment i love debian its my 'daily drive'
Sent from my GT-N7000 using xda premium
zacthespack said:
either ubuntu 12.04 with lxde or debian i would stay away from gnome it takes alot more memory . At the moment i love debian its my 'daily drive'
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Debian it is! Btw thanks for your work. Its amazing seeing full desktops in your pocket... Amazing work!
Sent from my SAMSUNG-SGH-I997 using xda premium
I got Debian to work on a Huawei U8800 Ideos X5 with the Aurora 2.0.4 ROM.
Everything was running smooth and great, but then I logged out from the system to see if I could switch DEs.
From there, all I saw was the wallpaper of the desktop and nothing else.
I exited with the terminal and tried again. Now I get this message:
VNC connection failed!
failed to connect to localhost/127.0.0.1 (port 5900):
connect failed: ECONNREFUSED (Connection refused)
Click to expand...
Click to collapse
Is there any way I could reset the cache and try everything again?
ALSO, after the sh-ing debian.sh, this is what I get:
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
net.ipv4.ip_forward = 1
Debian is configured with SSH and VNC servers that can be acessed from the IP:
eth0: No such device
vncserver: geometry 800x480 is invalid
Starting OpenBSD Secure Shell server: sshd.
Click to expand...
Click to collapse
It was different than before, so I thought this would be useful information.
I have no idea what to do at this point.
Andrioid. said:
I got Debian to work on a Huawei U8800 Ideos X5 with the Aurora 2.0.4 ROM.
Everything was running smooth and great, but then I logged out from the system to see if I could switch DEs.
From there, all I saw was the wallpaper of the desktop and nothing else.
I exited with the terminal and tried again. Now I get this message:
Is there any way I could reset the cache and try everything again?
ALSO, after the sh-ing debian.sh, this is what I get:
It was different than before, so I thought this would be useful information.
I have no idea what to do at this point.
Click to expand...
Click to collapse
Hmmm looks like you broke vnc I would recommend reinstalling vnc do apt-get remove tightvncserver then apt-get install tightvncserver
then do a restart of your device and try again.
If you want to use a different desktop you need to configure it in in /root/.vnc/xstartup vnc dosnt run right if you log out of a session and thus is broke, didnt think vnc even let you log out but guess it will
zacthespack said:
Hmmm looks like you broke vnc I would recommend reinstalling vnc do apt-get remove tightvncserver then apt-get install tightvncserver
then do a restart of your device and try again.
If you want to use a different desktop you need to configure it in in /root/.vnc/xstartup vnc dosnt run right if you log out of a session and thus is broke, didnt think vnc even let you log out but guess it will
Click to expand...
Click to collapse
Reinstalled vnc, rebooted phone, still not working.
the speed and responsiveness of debian on a nook tablet / cm7 is great!
however, is there any way to get flash installed/working on debian's iceweasel?
what i was wondering is only, hows the battery?
as far as my lofic go, ubuntu on laptop is a battery drain.. and how if its running on a phone that majority has lower capacity of battery
Andrioid. said:
Reinstalled vnc, rebooted phone, still not working.
Click to expand...
Click to collapse
Hmm ok you might have to try using a new image?
con_ritmo said:
the speed and responsiveness of debian on a nook tablet / cm7 is great!
however, is there any way to get flash installed/working on debian's iceweasel?
Click to expand...
Click to collapse
flash is not working very well on ARM linux, I do not think there is a official port and other 3rd party trys dont work well
Bilgets said:
what i was wondering is only, hows the battery?
as far as my lofic go, ubuntu on laptop is a battery drain.. and how if its running on a phone that majority has lower capacity of battery
Click to expand...
Click to collapse
really battery life not much more used than any other app running the whole time, of cause if you use the GUI none stop it will drain more but you should still get alot of life
zacthespack said:
Hmm ok you might have to try using a new image?
Click to expand...
Click to collapse
Awesome! It worked! Thanks!
Is there any reason to get the complete linux installer for €2.40?
Andrioid. said:
Awesome! It worked! Thanks!
Is there any reason to get the complete linux installer for €2.40?
Click to expand...
Click to collapse
well it includes faster downloads of the files from a server not just source forge, you can boot by clicking a button in yhe app so no more typing commands, you will get all future distros and updates first and the best bit is you get this amazing feeling for helping a developer keep releasing amazing stuff (if i do say so myself )
Sent from my GT-N7000 using xda premium
zacthespack said:
well it includes faster downloads of the files from a server not just source forge, you can boot by clicking a button in yhe app so no more typing commands, you will get all future distros and updates first and the best bit is you get this amazing feeling for helping a developer keep releasing amazing stuff (if i do say so myself )
Click to expand...
Click to collapse
Alright. I was just wondering if I'm missing out on something. Unfortunately I can't donate. :/
Anyway, here's a picture of Debian running on my phone:
Andrioid. said:
Alright. I was just wondering if I'm missing out on something. Unfortunately I can't donate. :/
Anyway, here's a picture of Debian running on my phone:
Click to expand...
Click to collapse
thats quite alright so long as you enjoy the app etc then my work here is done
Sent from my GT-N7000 using xda premium

[guide] LUBUNTU UPDATE 4.2BL

4.2 (works on 10.6.1.15.3 -- 10.6.1.27.1 and 10.6.1.27.5)
Disclaimer: Before you start please read the bugs list down below as always i'm not responsible for a bricked device!​
Hi everyone today I found some interesting things in the tf700 general forum they updated their version of dualboot(android linux) to be compatible with 4.2BL so it's time for me to update this guide a bit because: I confirmed that it works on TF300 (T G??) But there are some bugs with it do iI'll talk about that later! I NEED A SOMEONE WHO CAN INCLUDE THE CORRECT WI-FI AND BLUETOOTH DRIVERS INTO THE KERNEL!!!!
Let's get started:
requirements:
-A TF300T or TF300TG(don't know if it works on TG)
-This linux ROOTFS file: http://www.lugotfl.org/tf700t/rootfs-lubuntu-tf700t-8-22-2013.tar.lzma
-This installer script: http://www.lugotfl.org/tf700t/installerV6.7.zip
-CromiX (it might work on cm10.2 but it isn't tested)
And now for the guide itself:
1: wipe everything system,data,... from recovery and install cromix(or try it with another ROM)
2: boot up you device after the installation is complete
3: ADB shell into your device and type su
4: While still in ADB shell type: mkdir /data/media/linux
5: Now for the installation: copy the installer and the ROOTFS packages to /data/media
6: Reboot your device into TWRP and load up the installer
7: Select your language and click next
8: Click next again
9: It will prompt that your device isn't a TF700 just click OK
10: Check I agree with this terms and conditions and click Next
11: Select your ROM (in this case Android CleanRom v4.x)
12: Scroll down and select the default OS to boot (your choice) and click Next
13: Select the second option (/sdcard/linux/rootfs.img) You can try using MicroSD but the installation failed for me!
14: Click Next
15: Just click Next in the following screen
16: Choose your prefered installation size and click next
17: It will prompt that it found a rootfs archive (if it didn't make sure you placed the rootfs file in the right directory)
18: Click on install now (it will go normal speed till 89.99 and then it will take about a half an hour to complete
19: reboot your tablet and it should be done!
20: At the multiboot screen press volume down for android (or wait for linux)
21: if you waited for linux a new screen will popup asking wich rootfs you want to boot just wait 5 seconds
22: in the next screen also wait!
23: Voila linux should boot up! (BTW: the password is ubuntu)
BUGS:
-Android: No wi-fi or bluetooth
-Linux: No sound, no wi-fi and no bluetooth
4.1 BOOTLOADER (bootloaders before 10.6.1.15.3)
Hello TF300 users today i am going to show you how to install ubuntu 12.10 on our beloved transformers (works on TF300T, probably TF300TG as well)​
we will be using the rabits 0.8.1 install script and rootfs package from the TF700 and the xubuntu kernel from TF300
requirements:
- 4.1 BOOTLOADER (4.2 bootloader will probably work but wi-fi and other stuff will NOT work try at your own risk!)
- the ubuntu files listed below:
-ROOTFS: https://mega.co.nz/#!wIw1nLiI!MJWBfh4wd95kisQaGyjnWkm_uXEKN9_DCyn5PzZz-M4
-RABITS 0.8.1 INSTALLER: http://goo.im/devs/rabits/tf700/linux-install-0.8.1.zip
-XUBUNTU KERNEL (FOR TF300T AND TG): http://d-h.st/UAy
- FRESH ROM: you have to have the complete stock rom (works the best)
Installation:
1: After downloading ROOTFS, the INSTALLER and the XUBUNTU kernel: place them on your MicroSD
2: Boot your device into recovery and wipe (not neccesary!) DATA, CACHE, DALVIK CACHE
3: Stay in recovery and press the install button then navigate to your microsd and look for the INSTALLER and install it
4: When in the installer choose your prefered language and press "next"
5: Now it will show the installer info and your device info press next again
6: An error message will popup saying your device isn't the TF700 press "OK"
7: Check "I agree with this terms and conditions" and press "next"
8: select the your kernel configuration you want to choose 1.3 - 1.5GHz GPU 650MHz (you can choose a higher value but since this is for the tf700 1.8GHz might run rather unstable and/or might cause bootloops at startup)
9: Select the basic initrd configuration: choose clean rom wich is for stock and cleanrom! and press next
10: Select the place where the installer will prepare the linux root file system you can choose between the second and the third but warning: the third will wipe your MicroSD press next
11: Leave these options checked and press next
12: Now you will be brought to a screen where you can choose how big your home folder is pick one and click next!
13: Install!
14: After installation is completed reboot your device.
15: You would see the asus logo and the normaly 4 penguins with come text beneath it just wait untill it's done
16: At the main menu you have a couple opitons you can wait 10 seconds for linux to boot or press volume down for android to boot PRESS VOLUME DOWN because right now we need android to do one last thing before we can use linux
17: Download motochopper and root your device, motochopper will prompt you to reboot no worries just reboot and you will see these 4 penguins again and you will be brough back to the main menu!
18: Update your su binary
19: Download terminal emulator from the play store.
20: Open up terminal emulator and request su permissions by typing su and then granting the request!
21: Navigate to the directory where the xubuntu kernel is (microsd) so you wanna type " cd /Removable/MicroSD "
22: Flash the xubuntu kernel by typing:" dd if=nameofblob of=/dev/block/mmcblk0p4 " (where nameofblob is replace it with the name and extension of the kernel)
23: Reboot your device and you should see the device is flashing a blob (blue progressbar)
24: After the blob has been flashed the device will reboot back into the main menu, then wait 10 seconds for linux to start up!
Congratulations you now have ubuntu and android running on your tf300t
Fixes and bugs will be in the next posts as well as how to log in and get the desktop workin so you have to check that out before continuing!
CREDITS: JoinTheRealms for guiding me through installation and setup
rabits for the rootfs and installer
schrdlu for the xubuntu kernel
pm me if you have any questions and or compains!
FIXES
when first booting it will ask for a passcode right?
1: enter "ubuntu" as a password and login but, wait? it loops back into the login screen??
2: by pressing one of the top keys start at the 5 and 6 key wich are the brightness up and down key you will be brought to the command prompt (lightdm) type these codes one by one:
- sudo adduser username (replace username with your name)
- sudo adduser username sudo (again replace username with the exact name you typed in the previous command)
now hard reboot your device (holding power button untill restart and boot linux up again)
Now you have arrived at the next bug :\ you only see a wallpaper and a cursor (this will also include the fix for wi-fi)
1: open up terminal by pressing ctrl, alt and t keys on your keyboard
2: type these codes to get unity working (warning there is a chance you need to enter this code for more then 10 times!)
- sudo unity
3: now we want to get wi-fi working because we need to download something
type these codes to start wi-fi
- rmmod bcmdhd
- sudo modprobe bcm4329 (if you get an error try "su" first)
-(not in terminal) setup your wi-fi network by going to "system settings" > network > go to "wireless" and in the drop down menu select other and add your wi-fi network and security key
4: now for the download:
type this : sudo apt-get install gnome-panel and press the Y key when it asks you!
5: reboot and boot linux again
6: press the litlle ubuntu icon next to your username and press "Gnome" and then press ok
7: login and you are set! enjoy ubuntu
BUGS IN LINUX:
- audio doesn't work at all (something wrong with alsa-restore)
- bluetooth doesn't work
- chromium ofter corrupts the screen and requires a reboot
- you need to enter the code to start wi-fi at every reboot
- it might boot straight into lightdm instead of ubuntu just restart
- sometimes if you close the lid and open it again it might not wake up anymore!
these are the bugs so far
BUGS IN ANDROID:
none (didn't do a full test so please someone test)
screenies =]
View attachment 2173737
Nice guide, Im still in the process of learning a few things, but ill try compile a new 4.2 dualboot kernel for the tf300t soon, we got some cool things cooking on the tf700, and they need to be on the tf300t also
JoinTheRealms said:
Nice guide, Im still in the process of learning a few things, but ill try compile a new 4.2 dualboot kernel for the tf300t soon, we got some cool things cooking on the tf700, and they need to be on the tf300t also
Click to expand...
Click to collapse
Yeah, i'm running this ubuntu as my DD right now it would be great if we could get everything to work!
noahvt said:
Yeah, i'm running this ubuntu as my DD right now it would be great if we could get everything to work!
Click to expand...
Click to collapse
Follow this post: http://forum.xda-developers.com/showpost.php?p=40813881&postcount=129 for a working flash plugin for chromium (a bit useless without sound though)
anyone tried yet?
JoinTheRealms said:
Follow this post: http://forum.xda-developers.com/showpost.php?p=40813881&postcount=129 for a working flash plugin for chromium (a bit useless without sound though)
Click to expand...
Click to collapse
Give me your .config for tf300. B4.2
Sent from my Galaxy Nexus using xda app-developers app
tailormoon said:
Give me your .config for tf300. B4.2
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
ill be working from this http://forum.xda-developers.com/attachment.php?attachmentid=2149193&d=1375032106
JoinTheRealms said:
ill be working from this http://forum.xda-developers.com/attachment.php?attachmentid=2149193&d=1375032106
Click to expand...
Click to collapse
I'll try to fix wifi
Sent from my Galaxy Nexus using xda app-developers app
tailormoon said:
I'll try to fix wifi
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
cool the config should work, it just needs different modules for wifi, i believe bcm4329 is what we are after, i havnt looked into yet though
JoinTheRealms said:
cool the config should work, it just needs different modules for wifi, i believe bcm4329 is what we are after, i havnt looked into yet though
Click to expand...
Click to collapse
firstly great work , however would the xubuntu kernel work for archlinux rootfs here >> http://forum.xda-developers.com/showthread.php?t=1918849 :?
Loading WIFI module at startup
You might want to try this to get WIFI module loading at startup:
Open a terminal. Type this: sudo echo -e "bcm4329\n" >> /etc/modules
Reboot.
You might also have to blacklist any WIFI modules that load up automatically by Ubuntu by adding the offending module to:
/etc/modprobe.d/blacklist.conf
bads3ctor said:
You might want to try this to get WIFI module loading at startup:
Open a terminal. Type this: sudo echo -e "bcm4329\n" >> /etc/modules
Reboot.
You might also have to blacklist any WIFI modules that load up automatically by Ubuntu by adding the offending module to:
/etc/modprobe.d/blacklist.conf
Click to expand...
Click to collapse
Thanks, if anyone wants to test this: https://www.dropbox.com/s/mqtpydpr11eef81/installerV4-test.zip its built with kexec support thanks to moreD_cn so it looks in /boot of your rootfs for a zImage and initrd.img, but this will fail and fall back to the regular to using the hybrid kernel unless the zImage and initrd.img are found.
Its built with stock tf700 sources so if something goes wrong youve been warned, although it seemed to funtion correctly on my tf300t other than wifi
I actually finally made an XDA account just to thank you for compiling this guide. I'd been looking around and trying to work out exactly what I'd need to do, snipping bits from various other guides, when I found that you'd already done that! Yayy.
I half-arsedly tried this out last night (full-well knowing that doing a half-arsed job could leave me with an unusable tablet for a little while) and I can confirm that following your instructions to the letter except for having cm10.1 and using a 4.2 bootloader will in fact result in nothing booting.
Hoping I can fix this tonight with a 4.1 bootloader and CleanRom, and then maybe have 2 booting OSes rather than none.
pancakefox said:
I actually finally made an XDA account just to thank you for compiling this guide. I'd been looking around and trying to work out exactly what I'd need to do, snipping bits from various other guides, when I found that you'd already done that! Yayy.
I half-arsedly tried this out last night (full-well knowing that doing a half-arsed job could leave me with an unusable tablet for a little while) and I can confirm that following your instructions to the letter except for having cm10.1 and using a 4.2 bootloader will in fact result in nothing booting.
Hoping I can fix this tonight with a 4.1 bootloader and CleanRom, and then maybe have 2 booting OSes rather than none.
Click to expand...
Click to collapse
yeah you need 4.1 BL
tips:
1: use rabit's installer v0.8.1 make sure you don't confuse with 0.8.3 because then nothing will work :\ (brick i think)
2: i would first try with stock rom and then flash cleanrom
3: make sure you read the second post because else ubuntu is worthless
i am running this from the moment i compiled this guide and haven't had ANY issues yet (no SOD's sometimes i did have a reboot do )
Okay, thanks. I was mostly just really not wanting to use the stock rom because I had a bad experience with it (awful performance in general). Cm10.1 just made the device about five times more pleasant to use.
But, if I get this working then flashing a different rom afterwards shouldn't be a problem?
pancakefox said:
Okay, thanks. I was mostly just really not wanting to use the stock rom because I had a bad experience with it (awful performance in general). Cm10.1 just made the device about five times more pleasant to use.
But, if I get this working then flashing a different rom afterwards shouldn't be a problem?
Click to expand...
Click to collapse
Nope, I just completly restored stock rom and when everything was working i just flashed cleanrom BUT you need to reflash rabits installer in the installer you wanna select don't install rootfs and after that boot into android and reflash xubuntu kernel!
Thanks! If and when I get tired of stock I'll do that. It's behaving itself for now, though.
Got everything working seamlessly! Your guide's great.
Ubuntu is running fine, but doesn't seem to want to open libreoffice or the software centre at this point. Still! I'm super happy.

Frequently Asked Question - SFE devices

Hi guys,
i've started a general Q&A thread for n4 and others. Everything related to sailfish and of course n4 can be posted here.
1. Which HW components are working?
A: take a look at the spreadsheet libhybris: https://wiki.merproject.org/wiki/Adaptations/libhybris
2. Can I run my android apps?
A: atm = no. due to licensing issues the dalvik runtime is not included in android ports. Join community efforts in this XDA thread. The jolla phone run android apps.
3. What about playing videos and music
A: new ports with gstreamer1.0 (Nexus 5) play MP3, MP4, H264 out-of-the-box.
Install gstreamer1.0-libav for more codecs.
For old gst0.10 ports:
MP3: install gst-fluendo-mp3-0.10.23-1.armv7hl.rpm via rpm -i fluendo
Video: Install gst streamer plugins and ultimate codec support. detailed instructions: http://forum.xda-developers.com/showpost.php?p=53552092&postcount=424
4. I'm able to install apps?
A: On Nexus 4 and Nexus 5 yes, soon on other devices too, always use Jolla Store for tested quality apps! Not there might still be scalability/stability issues on ported = non-official Sailfish OS devices.
As alternative and if you want to try many but NOT QUALITY-TESTED/POTENTIALLY DANGEROUS apps you can try Warehouse (openrepos.net):
* Navigate via your phone's browser to https://openrepos.net/content/basil/warehouse-sailfishos
* Download latest RPM
* In Terminal type `devel-su zypper in Downloads/harbour-warehouse*.rpm` and install
If you have Jolla Store also working on your ported device, you can install that app via UI instead of terminal:
* Ensure you have download at least one app from Jolla Store beforehand (which triggers `pkcon refresh`)
* Ensure Settings->System->Untrusted software is allowed
* Go to Settings->System->Transfers, click on downloaded file, and it will be installed
5. whatsapp?
A: Beware of WhatsApp temporary banning 3rd party app users. You can try WhatsUp: http://forum.xda-developers.com/showpost.php?p=60264278&postcount=137
Next Mitäkuuluu version is rumoured to be unbannable, lets all wayt
6. How to access the device?
A: Via ssh or sftp. Take a look on @Daycrawler thread: http://forum.xda-developers.com/jolla-sailfish/general/sailfish-android-devices-release-t2696409. He released the ea mail where everything is described.
7. How to install sailfish on my Android device ?
A: You will be able to install when an image is available. Check "Downloadable Image" column in https://wiki.merproject.org/wiki/Adaptations/libhybris .
Porting Sailfish OS by yourself is possible via following the HADK: https://sailfishos.org/hadk
For Nokia N9: http://wiki.maemo.org/Sailfish#Sailfish_Images
9. What about multirom?
A: MultiROM is supported on Nexus 4, Nexus 5, and OnePlus One (possibly Nexus 7 too)
10. Why I have to flash so much to get sailfish on my device?
mmmmmhhhh. Answer question by yourself and try
E.g. for Nexus 4 please do all steps you'll find in: http://forum.xda-developers.com/nexus-4/development/rom-sailfish-os-community-port-t2969823 . It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't.
11. How to take a screenshot?
A1: Install screenshot app by lbt, from Jolla Store.
A2: do `zypper in lipstick-qt5-tools lipstick-qt5-tools-ui` - iconless Screenshot app will be among the App Grid
A3: This can be done on the phone via terminal and also on a remote SSH PC client.
grabscreen /home/nemo/Pictures/Test.png
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
The picture can be accessed in the Gallery or via a file manager (question #17 below).
12. How to get files from/to device, if USB Mass Storage mode or SD card are not available ?
A1: ssh + scp combo (windows[putty] & linux)
This combo is a set of linux standard tools. You can connect to the phone via secure socket shell from your pc and transfer files to your phone and vice versa.
A2: sftp + filezilla (windows & linux)
You can access the files via filezilla. You can transfer files like you're doing with an ftp server.
A3: Gnome Desktop Environment
The gnome filemanager nautilus has an build in option for accessing sftp / ssh servers or devices easily.
A4: WinSCP (windows)
To connect via these methods, enable developer mode, set a new password and take a look what ip you've get. Behind the wlan symbol. Then choose one of the above methods:
username = nemo
password = the one you entered in developer mode section
[ssh]= ssh [email protected]_ip
[filezilla] = sftp://device_ip
[nautilus] = select: Connect to server (on the left side) and enter: ssh://device_ip
13. How can I use the Backup app when there's no (working) SD Card?
A: Launch Settings->System->Backup to save all the settings you want to preserve
Perform
Code:
tar cf $HOME/backup.tar -C $HOME .vault
scp backup.tar onto your PC (other ways of how pull files, see FAQ #12 above)
Install new Sailfish OS.zip, put the tarball back onto device (say at $HOME), then perform:
HTML:
cd $HOME && tar xpf backup.tar
Go to Settings->System->Backup and restore your content from a chosen backup
14. How can I provide another radio.img only for Sailfish OS?
Put radio.img onto Sailfish OS rootfs somewhere safe.
Edit /lib/systemd/system/firmware.mount and replace "What=/dev/mmcblk0p1" with "What=/path/to/firmware.img"
Be careful with that and always do backup (i.e. comment the first What out )
15. How can I skip tutorial?
On first screen, tap on corners in sequence: top-left, top-right, bottom-right, bottom-left
16. How can I mount android's virtual sdcard partition (Nexus4,5) with all my goodies?
Try:
Code:
devel-su
mkdir /android
mount /dev/mmcblk0p28 /android
# virtual sdcard content is then available in /android/media/0/
# enable nemo user to read/write the contents (use file manager for those):
usermod -aG media_rw nemo
# And for media to be tracked:
ln -s /android/media/0/DCIM /home/nemo/Pictures/Android
ln -s /android/media/0/Music /home/nemo/Music/Android
ln -s /android/media/0/Movies /home/nemo/Videos/Android
# To make this permanent, update your /etc/fstab file by adding the following line at the end:
/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0
17. Filemanager?
Install File Browser by Kari from Jolla Store.
For root access add on https://openrepos.net/content/schturman/startasroot-file-browser (See question #4 on how to access openrepos via Warehouse app)
18. OTA?
Over-the-air updates are not straightforwardly supported (it's possible to hack around via ssu release 1.x.y.z and version --dup commands but not been tested and breakages might happen).
Just do backup and restore via a backed up file (question #13), and reflash new .zip (which will overwrite the whole Sailfish OS partition), then restore backup
--
This thread should be a collection for sailfish on devices and I will update frequently if news or tipps & tricks are available.
Reserved
Sorry if I'm asking in a wrong thread.but this information was missing from QA.
Are there any information about android apps running in ART instead of Dalvik on Nexus4, or even on Jolla?
Morderen said:
Sorry if I'm asking in a wrong thread.but this information was missing from QA.
Are there any information about android apps running in ART instead of Dalvik on Nexus4, or even on Jolla?
Click to expand...
Click to collapse
on jolla art isn't available or usable. Almost every app is running under art.Titanium Backup, Whatsapp and a hand full of other was critical. But they updatet theire apps and everything is working fine.
carepack said:
Hi guys,
No. Please do all steps you'll find in the ea mail. It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't. You will get this by flashing the google factory image:
https://dl.google.com/dl/android/aosp/occam-jdq39-factory-345dc199.tgz
After this you have to flash a clean base. That's why you have to flash cm_10.1.3: http://get.cm/get/aWH
Now you've done the preperations and can flash sailfish.
Click to expand...
Click to collapse
Its not important to flash the factory image for the Nexus 4. All you need to do is flash the Radio from the 4.2.2. which can be available as a flashable zip for TWRP Recovery. The radio is called 0.48 availabe in one of the xda threads.
Thats what I did flashed this zip after I flashed CM 10.1.3 and EA2 worked as a charm. For reference my Nexus 4 was already on 4.4.3
DeepPurple15X said:
Its not important to flash the factory image for the Nexus 4. All you need to do is flash the Radio from the 4.2.2. which can be available as a flashable zip for TWRP Recovery. The radio is called 0.48 availabe in one of the xda threads.
Thats what I did flashed this zip after I flashed CM 10.1.3 and EA2 worked as a charm. For reference my Nexus 4 was already on 4.4.3
Click to expand...
Click to collapse
you're right. You have the choice. The important part is the right baseband / radio. But to keep it user friendly reading and simple I only described this way.
Looks like the next update is early june.
https://together.jolla.com/question/43464/next-os-update-in-early-june/
from
http://forum.xda-developers.com/nexus-4/general/sailfish-os-progress-nexus-4-t2667622/page36
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
misal6666 said:
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
Click to expand...
Click to collapse
If you have a file manger, like cargo dock, look for your file in download folder, simply click on it and you're done.
First be sure to have enabled, in settings,->system->untrusted software, otherwise you won't be able to install.
Inviato dal mio iPad utilizzando Tapatalk
misal6666 said:
i am not sure how to install warehouse.. can anyone help me please??i downloaded the harbour-warehouse-0.2-13.armv7hl.rpm what excatly do i have to type to make it work?
Click to expand...
Click to collapse
quote from first post. hope it helps
a.) Download warehouse from opnrepos.net: https://openrepos.net/content/basil/...use-sailfishos
transfer it to you're device and install it via: rpm -i package
After that you'll be able to install apps from openrepo
Click to expand...
Click to collapse
hello.
usually i dont use camera,gps and Bluetooth in my daily life, so can i say that every thing else in nexus 4 is working
Sobaro said:
hello.
usually i dont use camera,gps and Bluetooth in my daily life, so can i say that every thing else in nexus 4 is working
Click to expand...
Click to collapse
How is the call quality? I thought the volume was still rather low.
Darakian said:
How is the call quality? I thought the volume was still rather low.
Click to expand...
Click to collapse
Yes, it is very in version 5, let's hopes we will good in version 7..
Sent from my Nexus 4 using XDA Premium 4 mobile app
Would it work on Optimus G?
Darakian said:
How is the call quality? I thought the volume was still rather low.
Click to expand...
Click to collapse
mailyaseen said:
Yes, it is very in version 5, let's hopes we will good in version 7..
Click to expand...
Click to collapse
I messaged Stskeeps on #SailfishOS IRC channel, this is what he said.
wait for next update; it fixes all that and more.
we had a bug in float vs integer valeus
Click to expand...
Click to collapse
Here are the logs for that day.
DeepPurple15X said:
I messaged Stskeeps on #SailfishOS IRC channel, this is what he said.
Here are the logs for that day.
Click to expand...
Click to collapse
I don't see that particular message in the logs, but it's good to hear none the less
I found this thought it would be useful to share and maybe add to the list
How to take a Screenshot on the Nexus?
Code:
su-devel
grabscreen /home/nemo/Pictures/Test.png
This can be done on the phone via terminal and also on a remote SSH PC client.
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
The picture can be accessed in the Gallery or via Filetug.
Code:
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
DeepPurple15X said:
I found this thought it would be useful to share and maybe add to the list
How to take a Screenshot on the Nexus?
Code:
su-devel
grabscreen /home/nemo/Pictures/Test.png
This can be done on the phone via terminal and also on a remote SSH PC client.
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
The picture can be accessed in the Gallery or via Filetug.
Code:
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
Click to expand...
Click to collapse
added to list! thx
updated the thread with new hints. ea3 is coming soon! The version is more fluidly on mako devices. The resulotion fits better the screen. Had problems with mitäkuuluu because can't open chats. Working codec support is now easier to activate. Have fun guys!
carepack said:
updated the thread with new hints. ea3 is coming soon! The version is more fluidly on mako devices. The resulotion fits better the screen. Had problems with mitäkuuluu because can't open chats. Working codec support is now easier to activate. Have fun guys!
Click to expand...
Click to collapse
For mitakuuluu u need to install location and positioning packages..
Install pkcon qt5-qtdeclarative-import-location
Install pkcon qt5-qtdeclarative-import-postioning
Sent from my Nexus 4 using XDA Premium 4 mobile app

[Q&A] [ROM][29Jan][GNU/Linux] Sailfish OS (community port)

[SIZE=+2]This thread has been created
for
Questions & Answers/Troubleshooting[/SIZE]​[SIZE=+2]Specific to[/SIZE]
[ROM][29Jan][GNU/Linux] Sailfish OS (community port)
Click link here>> To jump to Development thread <<Click link here[/COLOR]
Please feel free to share issues, questions and offer help
It is always best to thank a ROM OP, in lieu of simply posting "Thank you".
-----------------------------------------------------------------------------------------------
Hi guys,
i've started a general Q&A thread for n4 and others. Everything related to sailfish and of course n4 can be posted here.
1. Which HW components are working?
A: take a look at the spreadsheet libhybris: https://wiki.merproject.org/wiki/Adaptations/libhybris
2. Can I run my android apps?
A: atm = no. due to licensing issues the dalvik runtime is not included in android ports. Join community efforts in this XDA thread. The jolla phone run android apps.
3. What about playing videos and music
A: new ports with gstreamer1.0 (Nexus 5) play MP3, MP4, H264 out-of-box.
Install gstreamer1.0-libav for more codecs.
For old gst0.10 ports:
MP3: install gst-fluendo-mp3-0.10.23-1.armv7hl.rpm via rpm -i fluendo
Video: Install gst streamer plugins and ultimate codec support. detailed instructions: http://forum.xda-developers.com/showpost.php?p=53552092&postcount=424
4. I'm able to install apps?
A: On Nexus 4 and Nexus 5 yes. But expect glitches because Jolla Store is going under maintenance until Tablet comes out. Known issues:
* "Essential Apps from Jolla" is not visible. Find them one by one via Seach
* Newly added apps might not show up for SFE devices
Alternatively, try Warehouse (openrepos.net):
* Navigate via your phone's browser to https://openrepos.net/content/basil/warehouse-sailfishos
* Download latest RPM
* Either run devel-su pkcon refresh in terminal, or download at least one app from Jolla Store
* Ensure Settings->System->Untrusted software is allowed
* Go to Settings->System->Transfers, click on downloaded file, and it will be installed
5. whatsapp?
A: Beware of WhatsApp temporary banning 3rd party app users. You can try WhatsUp: http://forum.xda-developers.com/showpost.php?p=60264278&postcount=137
Next Mitäkuuluu version is rumoured to be unbannable, lets all wayt
6. How to access the device?
A: Via ssh or sftp. Take a look on @Daycrawler thread: http://forum.xda-developers.com/jolla-sailfish/general/sailfish-android-devices-release-t2696409. He released the ea mail where everything is described.
7. How to install sailfish on my device (other than n4)?
A: You will be able to install when an image is available. Check "Downloadable Image" column in https://wiki.merproject.org/wiki/Adaptations/libhybris .
Porting Sailfish OS by yourself is possible via following the HADK: https://sailfishos.org/hadk
For Nokia N9: http://wiki.maemo.org/Sailfish#Sailfish_Images
9. What about multirom?
A: MultiROM is supported on Nexus 4, Nexus 5, and OnePlus One (possible Nexus 7 too): Follow up: http://forum.xda-developers.com/jolla-sailfish/general/09-06-sailfishos-multirom-how-to-set-t2869096
10. Why I have to flash so much to get sailfish on my device?
mmmmmhhhh. Answer question by yourself and try
E.g. for Nexus 4 please do all steps you'll find in: http://forum.xda-developers.com/nexus-4/development/rom-sailfish-os-community-port-t2969823 . It's necessary to have the right baseband / modem firmware. Maybe wifi won't work if you haven't.
11. How to take a screenshot?
A: Install screenshot app by lbt, from Jolla Store.
A1: This can be done on the phone via terminal and also on a remote SSH PC client.
su-devel grabscreen /home/nemo/Pictures/Test.png
If you need a times then use the 'sleep' command. e.g. below is a timer for 5 seconds.
sleep 5 && grabscreen /home/nemo/Pictures/Test.png
The picture can be accessed in the Gallery or via Filetug.
12. How to get files from/to device, because USB Mass Storage mode and SD card are not available ?
A1: ssh + scp combo (windows[putty] & linux)
This combo is a set of linux standard tools. You can connect to the phone via secure socket shell from your pc and transfer files to your phone and vice versa.
A2: sftp + filezilla (windows & linux)
You can access the files via filezilla. You can transfer files like you're doing with an ftp server.
A3: Gnome Desktop Environment
The gnome filemanager nautilus has an build in option for accessing sftp / ssh servers or devices easily.
A4: WinSCP (windows)
To connect via these methods, enable developer mode, set a new password and take a look what ip you've get. Behind the wlan symbol. Then choose one of the above methods:
username = nemo
password = the one you entered in developer mode section
[ssh]= ssh [email protected]_ip
[filezilla] = sftp://device_ip
[nautilus] = select: Connect to server (on the left side) and enter: ssh://device_ip
13. How can I use the Backup app when there's no (working) SD Card?
A: Launch Settings->System->Backup to save all the settings you want to preserve
Perform
Code:
tar cf $HOME/backup.tar -C $HOME .vault
scp backup.tar onto your PC (other ways of how pull files, see FAQ #12 above)
Install new Sailfish OS.zip, put the tarball back onto device (say at $HOME), then perform:
HTML:
cd $HOME && tar xpf backup.tar
Go to Settings->System->Backup and restore your content from a chosen backup
14. How can I provide another radio.img only for Sailfish OS?
Put radio.img onto Sailfish OS rootfs somewhere safe.
Edit /lib/systemd/system/firmware.mount and replace "What=/dev/mmcblk0p1" with "What=/path/to/firmware.img"
Be careful with that and always do backup (i.e. comment the first What out )
15. How can I skip tutorial?
On first screen, tap on corners in sequence: top-left, top-right, bottom-right, bottom-left
16. How can I mount android's virual sdcard partition (Nexus4,5) with all my goodies?
Try:
Code:
devel-su
mkdir /android
mount /dev/mmcblk0p28 /android
# User data is then available in /android/media/0/
# You can update your fstab file by adding the following line at the end:
/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0
# And for media to be tracked:
ln -s /android/media/0 /home/nemo/android_sdcard
17. Filemanager?
Install File Browser by Kari from Jolla Store.
For root access add on https://openrepos.net/content/schturman/startasroot-file-browser (See question #4 on how to access openrepos via Warehouse app)
This thread should be a collection for sailfish on devices and I will update frequently if news or tipps & tricks are available.
-----------------------------------------------------------------------------------------------
{
"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"
}
Please keep discussion focused, on the topic described in the OP
Arabic Keyboard
Is there a way to enable Arabic keyboard layout in SailfishOS?
Upgrade Sailfish
Today I am upgraded my Nexus 4 to Sailfish OS 1.1.2.16 and I don't noticed any (new) bugs. I done upgrade on fresh install of Sailfish OS 1.1.1.27 from that thread.
Below I will write procedures to successfull upgrade Sailfish from 1.1.1.27 to 1.1.2.16.
[Procedure to add locks - without that camera will not work after upgrade]
[[email protected] ~]$ devel-su zypper al jolla-camera jolla-camera-settings sensorfw-qt5 qt5-qtsensors-plugin-sensorfw
[Fix problem with adaptation0 after upgrade]
[[email protected] ~]$ devel-su zypper al ssu ssu-network-proxy-plugin ssu-vendor-data-jolla
[Change release version to 1.1.2.16]
[[email protected] ~]$ devel-su ssu re 1.1.2.16
[Refresh package list and install updates]
[[email protected] ~]$ devel-su zypper refresh
[[email protected] ~]$ devel-su zypper update
[Accept updates and wait. After update restart your phone]
[Your Nexus 4 should now run Sailfish 1.1.2.16!]
Niyoru said:
Today I am upgraded my Nexus 4 to Sailfish OS 1.1.2.16 and I don't noticed any (new) bugs. I done upgrade on fresh install of Sailfish OS 1.1.1.27 from that thread.
Below I will write procedures to successfull upgrade Sailfish from 1.1.1.27 to 1.1.2.16.
[Procedure to add locks - without that camera will not work after upgrade]
[[email protected] ~]$ devel-su zypper al qt5-qtmultimedia-plugin-mediaservice-gstcamerabin jolla-camera jolla-camera-settings nemo-qtmultimedia-plugins-gstvideotexturebackend sensorfw-qt5
[Change release version to 1.1.2.16]
[[email protected] ~]$ devel-su ssu re 1.1.2.16
[Refresh package list and install updates]
[[email protected] ~]$ devel-su zypper refresh
[[email protected] ~]$ devel-su zypper update
[Accept updates and wait. After update restart your phone]
[Disable repository adaptation0]
[[email protected] ~]$ devel-su ssu dr adaptation0
[Refreshing package list]
[[email protected] ~]$ devel-su zypper refresh
[Your Nexus 4 should now run Sailfish 1.1.2.16!]
Click to expand...
Click to collapse
Thank you for your instruction.. I just have one problem...
I get the below error message when trying to refresh the repositories. Even after doing "zypper clean -a".
"Retrieving repository 'adaptation0' metadata ---------------------------------------------------------------------------------[-]
Timeout exceeded when accessing 'http ://repo.merproject.org/ obs/sailfishos: /testing: /hw:/mako/sailfish_latest_armv7hl/repodata /repomd.xml'."
I'm running sailfish OS with Multirom.
I hope you can help me.
Kind regards,
Edit: I know what the problem is. I have to authenticate but I don't have any credentials. Is there a way how I can register for that repository? Many thanks
That repository probably don't exist for 1.1.2.16.
Try use devel-su ssu rr adaptation0 and devel-su ssu dr adaptation0.
I will try to stop the repo adaptation0 on 1.1.1.27. If I do this I will write here how to fix this repository.
Edit. adaptation0 is a repository for packages like droid-hal, what comunicate with hardware. Now you have installed these packages and Sailfish will work without this repository avaible. However I will try to fix it.
Thanks for feedback.
Niyoru said:
That repository probably don't exist for 1.1.2.16.
Try use devel-su ssu rr adaptation0 and devel-su ssu dr adaptation0.
I will try to stop the repo adaptation0 on 1.1.1.27. If I do this I will write here how to fix this repository.
Edit. adaptation0 is a repository for packages like droid-hal, what comunicate with hardware. Now you have installed these packages and Sailfish will work without this repository avaible. However I will try to fix it.
Thanks for feedback.
Click to expand...
Click to collapse
No, Thank YOU!
I did the update as you proposed, but the UI is not the same as the sailfish 2.0 Hammerhead version. It's probably because of the missing adaptation0 repo and the fact the official images aren't out there, yet.
Thank you for looking at the problem and your time! Let me know if it works
btrdossantos said:
No, Thank YOU!
I did the update as you proposed, but the UI is not the same as the sailfish 2.0 Hammerhead version. It's probably because of the missing adaptation0 repo and the fact the official images aren't out there, yet.
Thank you for looking at the problem and your time! Let me know if it works
Click to expand...
Click to collapse
This will not look like Sailfish 2.0, becouse this is not Sailfish 2.0. This is Sailfish 1.1.2.16, you can read more about that release on Sailfish Website. (Sorry for no links, but I can't put any into post, becouse I have less than 10 posts :c)
sailfish-weather is not found in jolla app store.
When i can get rpm package with weather?)
dimon2242 said:
sailfish-weather is not found in jolla app store.
When i can get rpm package with weather?)
Click to expand...
Click to collapse
If you upgraded Sailfish to 1.1.2.16, you can use command "devel-su zypper install sailfish-weather".
This work for me
Niyoru said:
If you upgraded your Sailfish to 1.1.2.16, you can use just "devel-su zypper install sailfish-weather".
This work for me
Click to expand...
Click to collapse
What is about mp3 codec?
After installing flurence and bad-extras i can't play music(
dimon2242 said:
What is about mp3 codec?
After installing flurence and bad-extras i can't play music(
Click to expand...
Click to collapse
In my phone this one work well: d-h.st/nkS8
Hi all,
we're working on the next official community release. Great you're figured out how to update. But be aware. If a bigger patchset is applied to the kernel this method won't work. But maybe one of you can help us out with a little information if you have upgraded the way from first post. If you open the messages app and looking at the background what do you see? Are there little quarters or or little diamonds?
Thx in advance!
ahoi
carepack said:
Hi all,
we're working on the next official community release. Great you're figured out how to update. But be aware. If a bigger patchset is applied to the kernel this method won't work. But maybe one of you can help us out with a little information if you have upgraded the way from first post. If you open the messages app and looking at the background what do you see? Are there little quarters or or little diamonds?
Thx in advance!
ahoi
Click to expand...
Click to collapse
Definitely little quarters. However I think screenshot can say everythink and I attach one.
Thank you for your interest in this update solution.
I hope that you will be able to make stable build for Nexus 4
Browser is closed if i play online music or youtube video!
Hope, what this will be fixed in next update!)
Niyoru said:
Definitely little quarters. However I think screenshot can say everythink and I attach one.
Thank you for your interest in this update solution.
I hope that you will be able to make stable build for Nexus 4
Click to expand...
Click to collapse
We're doin' our best :fingers-crossed:! Hope you enjoy the beloved sailfishos and thank you for sharing the information about quarters or not!
ahoi
Bug - Untrusted software installation
I am now running on v1.1.2.16 based on the tutorial provided in the thread (thanks Niyoru) and would like to report a bug.
I went into Setting -> System -> Untrusted software
and enabled "Allow untrusted software" option in there. However, I can't install any .rpm files. When I go back into settings, the setting is disabled. Not sure if this is caused by the upgrade or is also a problem in v1.1.1.27 as well in the Nexus 4 port.
The workaround was to go into terminal, do a devel-su and typing in:
zypper in package.rpm
Hope this helps...
PS. Looking forward to this build having the "Sailfish OS Updates" working instead of a manual upgrade process. Happy sailing! :fingers-crossed:
Installing sailfish via multirom with over kitkat primary rom
Hi. ive read all the posts i can find. Any pointers
Running up to date multirom on nexus 4 v31
Kitkat primary (beanstalk)
Lollipop secondary (Tamasek)
Downgraded kitkat radio from .98 to .84 to allow me to install sailfish
Downloaded Cm 10.1.3 and sailfish 1.1.2.16 beta 4
Installed both using sailfish "add rom" multirom option
All i get is bootloop after choosing sailfish from multirom list. Get to "google" screen and then it reboots back to multirom selection , Cant get past Google
Checked md5s, tried 4 or 5 times now
reread threads etc
Am i missing anything obvious..??
Any suggestions?
Updated to v1.1.4.28 and all seems fine thus far...
Looks like latest update is screen resolution aware.
Sent from my Note 2 using Tapatalk...
mikerog said:
Hi. ive read all the posts i can find. Any pointers
Running up to date multirom on nexus 4 v31
Kitkat primary (beanstalk)
Lollipop secondary (Tamasek)
Downgraded kitkat radio from .98 to .84 to allow me to install sailfish
Downloaded Cm 10.1.3 and sailfish 1.1.2.16 beta 4
Installed both using sailfish "add rom" multirom option
All i get is bootloop after choosing sailfish from multirom list. Get to "google" screen and then it reboots back to multirom selection , Cant get past Google
Checked md5s, tried 4 or 5 times now
reread threads etc
Am i missing anything obvious..??
Any suggestions?
Click to expand...
Click to collapse
You got to use cm10.1.3 as primary ROM, too.
ajack2001my said:
Updated to v1.1.4.28 and all seems and fine thus far...
Looks like latest update is screen resolution aware.
Click to expand...
Click to collapse
Did you update via OTA? Does it work now?
Hello, I'm buying a N4 today and am happy to join the community. I love Sailfish OS.
Regards
keenofhiphop said:
Did you update via OTA? Does it work now?
Hello, I'm buying a N4 today and am happy to join the community. I love Sailfish OS.
Regards
Click to expand...
Click to collapse
Yes, I update OTA using a combination of ssu and zypper commands... I guess it also helps that my account allows me to use early release software.

[Work In Progress] Install Ubuntu 16.04.3 Nexus 9

DON'T FORGET TO HIT THE THANKS BUTTON
!!!DISCLAIMER!!!!
You are solely responsible for whatever shtuff happens to your device by installing either of the two files to your device.
!!!DISCLAIMER END!!!
So this still needs a lot of work but I am providing a working boot.img and root filesystem archive for all Nexus 9 variants? (not sure needs others to test and confirm).
Will be edited as things start working
What's working:
WiFi. (Must use 'nmcli dev wifi con "SSID" password "passwd" ')
GPU @ anywhere from 900-2000 FPS
Sound works just needs reconfiguring
Screen rotation works best with minimal issues as desktop taskbar widgets command to turn clockwise into landscape:
Code:
sudo xrandr -o right; sudo xinput set-prop 7 "Evdev Axis Inversion" 0, 1; sudo xinput set-prop 7 "Evdev Axes Swap" 1
&
Code:
sudo xrandr -o right; sudo xinput set-prop 7 "Evdev Axis Inversion" 0, 0; sudo xinput set-prop 7 "Evdev Axes Swap" 0
For normal portrait orientation
However DO NOT USE THE DISPLAY SETTINGS TO ROTATE IT MESSES UP THE LOGIN ROTATION AND SCREEN GOES BLACK AND SOMETIMES SHOW BACK UP IN LANDSCAPE AND WILL NOT DEFAULT BACK INTO PORTRAIT ORIENTATION. SO YOU MUST DO IT MANUALLY!!!!! See screenshot below
Swipe gestures (Chromium-browser only).
Bluetooth: WORKING!!! Install package bluetooth-touch and set this command into a shell script or enter manually the ENTIRE string:
Code:
brcm_patchram_plus --enable_hci --use_baudrate_for_download --scopcm=0,2,0,0,0,0,0,0,0,0 --baudrate 3000000 --patchram /lib/firmware/bcm4354.hcd --no2bytes --enable_lpm --tosleep=50000 /dev/ttyTHS2
Also using a Bluetooth audio sink works by itself without keyboard connected. I've found it still needs work but, connecting to a keyboard still flawless in its function file transfer locks it up when sending not receiving. Pairing and connecting are all good but functionality of Bluetooth is down to one device at a time for best results
What's not working:
Cameras (Neither front nor rear camera works at all. Needs work).
NFC? (I have no idea how to check for this. Needs work).
Probably other things I missed.
What you will need:
Any Nexus 9 with an unlocked bootloader & latest TWRP recovery installed
USB keyboard
OTG cable
Instructions:
MAKE A BACKUP! Just in case.
1.) Enter into recovery go to wipe and format Data partition as Ext4
2.) Reboot into recovery and with the boot.img and rootfs on a flash drive or, push them to device via ADB.
3.) Go to terminal command in recovery issue the commands: cd /data; mkdir linux; cd linux
4.) tar xvjf /sdcard/rootfs.tar.bz2 -C /data/linux
5.) Flash N9boot.img with install image in TWRP Install submenu.
6.) Reboot into the new Linux system.
7.) If the Kernel panics and boot loops, go back into recovery and format the data partition again it will ask are you sure type yes & repeat steps 2-4
You will need to use a USB keyboard & OTG cable to install the necessary packages and connect to WiFi/Bluetooth.
It's much easier to install on device than in a chroot environment as I have had problems in the past. And some people have different favorite Desktop Environment's. However Gnome and KDE both do not work correctly and crash.
Fluxbox, Mate, XFCE, LXDE, all work as they should with Lightdm.
If there's anything I missed you can add it below, PM me and ask, whatever and I'll try to answer as soon as I am able.
If you are interested in building the entire thing from start to finish here are the original sources
https://forum.xda-developers.com/nexus-9/general/guide-linux-nexus-9-t2985958
https://forum.xda-developers.com/nexus-9/general/guide-linux-nexus-9-t2985958/page14
And thanks to @sonicadvance1 for his original guide & @Vartom for his work on porting some of the necessary Kernel drivers. And @Vartom again for his contributions to the Bluetooth and everything else to get us this far :good::good::good::good::good::good::good::good:
Xubuntu-Desktop Preinstalled 21.5 Drivers 1GB username=ubuntu password=ubuntu
https://drive.google.com/open?id=0B8NgGANYGMhOZS1OenNzZl94bEE
rootfs base only necessary packages root password=toor
https://drive.google.com/file/d/0B8NgGANYGMhOMjVObElVVnBWamM/view?usp=drivesdk
boot.img
https://drive.google.com/open?id=0B8NgGANYGMhOZXAwZHVrUUotZ0k
In order to get the preinstalled to fix login if having issues use the command as root in virtual terminal Ctrl+Alt+F1/F2, etc
Code:
chown ubuntu:ubuntu /home/ubuntu
.
This should fix the login issues, if you want you can create a different user and remove the premade user using these commands as root in virtual terminal.
Code:
deluser username
adduser username
addgroup username adm
addgroup username sudo
Additionally if you have an error when running glxgears there is a fix
Code:
xauth list
It should output something similar to this
Code:
localhost.localdomain/unix:0 MIT-MAGIC-COOKIE-1 a4f6256398303725763c5595f404afbb
You will need to export the display and add that MIT-MAGIC-COOKIE you got from xauth list
Code:
export DISPLAY=":0"; xauth add $DISPLAY . a4f6256398303725763c5595f404afbb
This should fix the display error.
And finally,
Enjoy Ubuntu on your Nexus 9
Video of it booting
https://youtu.be/PIGm47pwzj0
Booted fine.... However a username and password would help...lol
---------- Post added at 10:30 PM ---------- Previous post was at 09:45 PM ----------
andyroidking said:
Booted fine.... However a username and password would help...lol
Click to expand...
Click to collapse
Found the root password in the other thread. toor
Now on to getting wifi up so i can get a de installed....
Reserved
andyroidking said:
Booted fine.... However a username and password would help...lol
---------- Post added at 10:30 PM ---------- Previous post was at 09:45 PM ----------
Found the root password in the other thread. toor
Now on to getting wifi up so i can get a de installed....
Click to expand...
Click to collapse
sk1tch said:
Ha! Sorry I updated the guide above to include that little tidbit of info. Sweet I'm excited to read it worked so far. Hope the guide is simple enough for everybody who wants to try it out
Click to expand...
Click to collapse
Yeah now that I got wifi working I'm off to study how to get xfce4 installed. Everyone says Arch is hard but I'll tell you their repo's are extensive. Now I have to learn about ppa's...
Also, I'm over 50 and because we have a 2048 x 1536 display everything is very tiny making all of this more of a challenge... I tried a couple things to bump the font size but they don't work....
andyroidking said:
Yeah now that I got wifi working I'm off to study how to get xfce4 installed. Everyone says Arch is hard but I'll tell you their repo's are extensive. Now I have to learn about ppa's...
Also, I'm over 50 and because we have a 2048 x 1536 display everything is very tiny making all of this more of a challenge... I tried a couple things to bump the font size but they don't work....
Click to expand...
Click to collapse
I knew you were old school. I did get Arch Linux running on the original guide but it was choppy at best and only ran in the framebuffer but this was the aarch64 version. I do think it could be done because it's my preferred distro these days as well. I think we'd have to change a few things in the CPIO init scripts.. You know point to what it needs but, that's a little too advanced for me.
Also try setting a custom dpi in the settings menu if you're using XFCE I know there's the option there
and to install it you need to uncomment all the extra repos in /etc/apt/sources.list then do apt update && apt install xubuntu-desktop
it should look like in the picture
Well, I'm stuck. X won't start... I'll have to pull the log and see what up. Unfortunately I'm back to work tonight so it will be a while before I get to play again. Don't fret, I'll be back. :silly:
Edit: Pulled logs:
As root user:
https://pastebin.com/3bJE7HkJ
As reg user:
https://pastebin.com/ZVBrCAuM
They look the same to me...
andyroidking said:
Well, I'm stuck. X won't start... I'll have to pull the log and see what up. Unfortunately I'm back to work tonight so it will be a while before I get to play again. Don't fret, I'll be back. :silly:
Edit: Pulled logs:
As root user:
https://pastebin.com/3bJE7HkJ
As reg user:
https://pastebin.com/ZVBrCAuM
They look the same to me...
Click to expand...
Click to collapse
They look identical to me as well. Um try apt install xorg xubuntu-desktop lightdm-gtk-greeter.
then reboot it should automatically enable it with systemd while installing
Error 404
The links to the downloads are no longer working.
sk1tch said:
They look identical to me as well. Um try apt install xorg xubuntu-desktop lightdm-gtk-greeter.
then reboot it should automatically enable it with systemd while installing
Click to expand...
Click to collapse
I'll give that a shot. Sounds like solid advice. Probably not until Thursday or Saturday. Busy week kids back to school
a such...
humannequin777 said:
The links to the downloads are no longer working.
Click to expand...
Click to collapse
I fixed the links but the rootfs.tar.bz2 is down as I am uploading a preinstalled image archive with the XFCE4 DE w/ onscreen keyboard, still ironing out Bluetooth made good progress so hopefully I will have that finished soon
Cameras are not included in the kernel. I did not check their performance in this kernel.
Linux Inside... Nice. Well I found a few minutes and got this far.... https://imgur.com/a/VuDEN Xauthority issue? I'll check into it later. I assume suspend doesn't work? I tried once but didn't want to crash it right now. also changed scroll bar width... easier to tap. Border width is next.
Scroll bar width:
Open the .gtkrc-2.0 file, add the following to a new line starting at the bottom of the file:
Code:
style "myscrollbar"
{
GtkScrollbar::slider-width=XX
}
class "GtkScrollbar" style "myscrollbar"
How's the performance ?
Can I use it as a desktop?
Yes indeed it does work as a desktop I got screen rotation down to two three command scripts with desktop widgets. Most things work as of now Bluetooth sucks no matter what I do but, touchscreen works fine WiFi works fine no Cameras yet Sound only through headset. Hardware acceleration works at anywhere from 800 FPS - 2000 FPS. Videos like on YouTube stutter a little if you are doing other things while watching. Swipe gestures work in Chromium browser only. (Still working on installing multifunction swipe gestures) Your best bet would be to buy one of those $11 Micro-B USB wired tablet keyboards or just use the Onboard keyboard if its already in a rugged case or whatever. Those two green arrows at the top of the desktop are my rotate widgets
andyroidking said:
Linux Inside... Nice. Well I found a few minutes and got this far.... https://imgur.com/a/VuDEN Xauthority issue? I'll check into it later. I assume suspend doesn't work? I tried once but didn't want to crash it right now. also changed scroll bar width... easier to tap. Border width is next.
Scroll bar width:
Open the .gtkrc-2.0 file, add the following to a new line starting at the bottom of the file:
Click to expand...
Click to collapse
Yes there is an .Xauthority error when I flashed it as well that was why I said it's difficult to make a working install and that it was easier to install on device but either try chown ubuntu:ubuntu /home/ubuntu as root and it may fix your issue or you have to create a new user
Vartom said:
Cameras are not included in the kernel. I did not check their performance in this kernel.
Click to expand...
Click to collapse
I added the configs for the camera to my custom config to no avail... I dont have a headset jack debug cable so I can't see what going on during boot
sk1tch said:
I added the configs for the camera to my custom config to no avail... I dont have a headset jack debug cable so I can't see what going on during boot
Click to expand...
Click to collapse
Porting the cameras was not 100% complete. Therefore, simply adding lines to the config is not enough.
---------- Post added at 02:14 PM ---------- Previous post was at 02:08 PM ----------
Porting the cameras was not 100% complete. Therefore, simply adding lines to the config is not enough.
For bluetooth work, you need to download the corresponding firmware.
with some similar string
exec /usr/sbin/brcm_patchram_plus --enable_hci --use_baudrate_for_download --scopcm=0,2,0,0,0,0,0,0,0,0 --baudrate 3000000 --patchram /lib/firmware/bcm4324.hcd --no2bytes --enable_lpm --tosleep=50000 /dev/ttyTHS2
this can be added to the nvwifibt.conf config file.
Vartom said:
Porting the cameras was not 100% complete. Therefore, simply adding lines to the config is not enough.
---------- Post added at 02:14 PM ---------- Previous post was at 02:08 PM ----------
Porting the cameras was not 100% complete. Therefore, simply adding lines to the config is not enough.
For bluetooth work, you need to download the corresponding firmware.
with some similar string
exec /usr/sbin/brcm_patchram_plus --enable_hci --use_baudrate_for_download --scopcm=0,2,0,0,0,0,0,0,0,0 --baudrate 3000000 --patchram /lib/firmware/bcm4324.hcd --no2bytes --enable_lpm --tosleep=50000 /dev/ttyTHS2
this can be added to the nvwifibt.conf config file.
Click to expand...
Click to collapse
So just add this too the sbin config file??
sk1tch said:
So just add this too the sbin config file??
Click to expand...
Click to collapse
brcm_patchram_plus this package was not found. Add it to the fast failed.

Resources