dual boot android/sailfish project - Sailfish General

hello sailfish fans and experts i need your help
i would like to make a kind of dual boot on my ARM netbook running android for now .
I have read that sailfish uses the modules of android that
means my idea must be possible but i have not enough knowledge of the starting process of sailfish
i have copied a sailfish tree ( from HTC portage zip ) on an USB key i have the chance that i have 2 USB , one micro SDcard slot, and OTG
my idea is to build one zip i will start from my CWM .recovery lets call it sailfish.zip ,this zip will mount the USB sailfish partition
and will do all the things necessar y create socket , start the daemon etc ...
it is on that point i dont yet what to do i know it will be hard for me but i am stubborn and i am sure it is possible
i already use linux debian in concert with android like that without Xorg run ( i use Xserver android application when i need to use Xwindows programs)
i am sure i can win time on that small project if you can help me i am sure that that the sailfish community is full of experts
may be that is also already done who knows.
and that will help to do the same on others machines .my netbook is a lenovo A10
in updater-script i call this script
http://jeanmichel.gens.free.fr/etc/updater-unpack.sh

Related

Android on PC? is it possible?

OK, i'm hearing all the time about different ROM's being put on phones like cyanogenmod and many others. even some people dual booting. is it possible to dual boot with ubuntu and an android ROM? if you're wondering i have the HP touchsmart (has a touchscreen) would it be possible to boot into android. i've done alot of research but can't find anyone that has done it or has a guide. would it be possible to load it into my grub or are the files entirely different. i've seen people put ubuntu on phones why not android on my laptop. (oh and not the SDK...its too slow to be seriously used and then i'm still using it as more of a virtual machine than an OS)
google search Chromium OS , Beta build , lolz , looks like android
Chromium OS is not android in the slightest!
If you want to play with Android on your PC, there are two ways you can run it:
A) Install the emulator - this is pretty slow, but gives you a phone-in-a-box you can play with
http://www.androidguys.com/2010/12/15/android-emulator/
B) Use Android x86 - a port of Android that runs on PCs
http://www.android-x86.org/
(Grab the generic iso from here: http://android-x86.moonman.dk/old/)
Now either burn that to a cd, and boot from that, create a bootable usb stick with http://unetbootin.sourceforge.net/ or install it in a VM like VirtualBox

[concept] Help me to make galaxy tab 10.1 as a super powerful

Hello 'developers' here,
i want to make my galaxy tab 10.1 superpowerful on software side too,
i recently entered android world, i have been using nokia n900 [maemo] and i want to bring some of its powers to galaxy tab.
i want to run full desktop linux on top of android by chroot.
yes you are right, some people did "TABUNTU", i appreciate them, but you know it is not usable.
enough of story(its my first post, so wrote in that way).
¬I meant to say the chroot linux (tabuntu) is not usable, i guess the bottleneck in performance is becuase the chroot-image is stored on VFAT or NTFS filesystem ( wiz. mounted at /sdcard ).
>>>so, (1) need to repartition internal '/sdcard' memory in a *safer* way, create new 2GB ext3 partion and use it for chroot-ing. =>this will greately improve performance and makes it very usable(from my own experience on N900)
¬we can share resources b/w guest and host OS, by properly mounting( oh! i mean binding) the android filesystem hierarchy to guest linux (can be *buntu, arch,fedora,backtrack anything).. just check out how: qole.blogspot.com /2009/03/easy-chroot-for-maemo.html
>>>> (2) well, i need this bcoz, i want to run arduino IDE on gtab 10.1, so we need to share usb dev to guest linux. I have searched for /dev/sda , /dev/sdb or similar devices but couldn't find them in honeycomb,do you know where the USB device is located below '/dev/' in android
I am noob so i request experts here should give a try
And one bottom line:" If xda-developers wishes, then everything is possible"
so, whynot a Xephyr port for android to nest a xsession instead of vnc, for chroot-ing?
Sent from my GT-P7500 using XDA App

[Install Android on your PC]

Hell... This is a guide on how to install android on your PC.
I wouldn't actually call it a guide but rather a organized collection of links where you can get the information required.
There are basically two ways to install android on your PC
1) Installing it in your hard drive
2) Using VirtualBox
First of all... the exporting of android to PC is made possible lthrough the Android x86 project en.wikipedia.org/wiki/Android-x86
Things you will need
1) A PC powered by AMD or Intel processors.
2) android x86 iso image www.android-x86.org/download
3) Blank CD/DVD or a USB flash drive
4) VirtualBox https://www.virtualbox.org/wiki/Downloads ( if you are using virtualization)
Note - It is recommended that you use Virtualization Technology rather than installing it on hard drive.
1) Installing on hard drive
Now in this one you can dual boot with your current OS or just use Android as a standalone.
To install android on your hard drive you can follow this guide here logytips.blogspot.com.es/2014/02/how-to-dual-boot-install-android-kitkat.html?m=1
Personally I found this guide the most useful one on the internet ( if you have any better then please comment) Now this guide specifies only on dual booting with Windows but the good thing is you can modify the instructions to do the way you want.
If you want to install Android as a standalone then just delete all the partitions and install Android
If you are using any other OS then just create or modify partitions the way you do in that OS
2) Using VirtualBox
For the folks who don't know, VirtualBox is a virtualization software by Oracle that lets you run an OS in your current OS as a guest OS without making anything permanent.
To use Android using VirtualBox you can follow the official Android_x86 guide here www.android-x86.org/documents/virtualboxhowto or
the Wikihow guide here www.wikihow.com/Install-Android-OS-4.3-on-Windows-8-PC
Or watch this video www.youtube.com/watch?v=o3YcSJJlxio
f you need any additional information or got into some problem then please comment
Hit thanks if it helped!
Solution to common errors
1) Make sure that Virtualization is enabled in your BIOS settings.
2) Wi-Fi , camera and USB storage may not work on KitKat.. so try older versions.
3) If you have a new PC or rather a UEFI system then you need to install Android via USB stick.
What this has to do with Moto G?
This should not be in the moto G section but android general. However, as there are already threads about this there I will close this thread
Thread closed

Stuck On Porting With HADK For LG Optimus HD 4x

Stuck on Porting with HADK (simple question)
Hello sailors,
I want to port Sailfish OS to my LG Optimus HD 4x with the official HADK, but got stuck on chapter 14.3.2: Configure mountpoint information.
I don't know how to check (neither with cyanogenmod nor with TWRP) if initrd mounts the correct /boot and /data partitions.
On CM, I've checked with the CM file manager the directory /dev/block (there is no /dev/mmc on my device), but I don't know where I can find the information I need.
Below the list what i can see in /dev/block:
directory platform
directory vold
loop0
loop1 (and more file-iterations until loop7)
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p2 (and more file-iterations until mmcblk0p13)
mmcblk1
mmcblk1p1
in the platform directory, there is:
directory sdhci-tegra.2
directory sdhci-tegra.3
and in these directories are a few more files.
Can anyone give me a hint? I'm a newbie on porting, although I have some experience on Linux and Android. So I think it is be a simple question, just a few examples on how to solve this issue would help me a lot.
Link to HADK:
see sailfishos.org
Hiya,
I'm also new to this stuff, but maybe you could look into fstab? I could not find it on my lg 4x hd either.
i tried checking /etc/fstab and mount, but could not find anything which tells which mount point to use for /boot and /data partition.
i read somewhere you can check mount points in recovery in the file recovery.fstab.
I'm at work now, so i will try to help later!
Hey Sailor!
I checked in my device, but there were totally no binds to those specific mounts. But I found this:
https://github.com/CyanogenMod/android_device_lge_p880/blob/cm-10.2/fstab.x3
I think these are the ones which you have mentioned were in the platform directory right?
Keep up the porting power!
LGSailor said:
I want to port Sailfish OS to my LG Optimus HD 4x with the official HADK, but got stuck on chapter 14.3.2: Configure mountpoint information.
I don't know how to check (neither with cyanogenmod nor with TWRP) if initrd mounts the correct /boot and /data partitions.
On CM, I've checked with the CM file manager the directory /dev/block (there is no /dev/mmc on my device), but I don't know where I can find the information I need.
Click to expand...
Click to collapse
Hi, the basic idea is to look at the device paths described in your device fstab with "ls -l /dev/something" and it should be a symbolic link to the actual device which is usually something like /dev/block/mmcblk*. Then you have to create a separate case for your device in the $ANDROID_ROOT/hybris/hybris-boot/fixup-mountpoints, you can use the other ones as an example to see how it should look like. I suggest you come to #sailfishos-porters IRC-channel on Freenode where you can get help quickly with various problems. Also a little hint, you should use cm-11.0 as a base for Sailfish OS instead of cm-10.1.
Ok great, thanks a lot for your help!
I also thought about taking my question in the #sailfishos-porters IRC-channel, but I knew that that I'll be very busy in September with no time for porting, and hoped that in the meantime someone could help me.
Nevertheless, I will show up in the IRC-channel sooner or later
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Thank you two again for your help!
LGSailor said:
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Click to expand...
Click to collapse
You should get a new version of HADK, it has changed a lot just a few days ago. It is now more logical for new porters. The reason why you should use either CM11 or CM12.1 is that CM10.1 ports don't currently have the possibility for camera, hardware video decoding etc and most likely won't have in the future either.
LGSailor said:
Ok great, thanks a lot for your help!
I also thought about taking my question in the #sailfishos-porters IRC-channel, but I knew that that I'll be very busy in September with no time for porting, and hoped that in the meantime someone could help me.
Nevertheless, I will show up in the IRC-channel sooner or later
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Thank you two again for your help!
Click to expand...
Click to collapse
Hi LGSailor i want to port sailfish os on my lg g3 32 gb and i want to know if there is a simple way to port sailfish on my device. I've to install a linux distro on my pc?!
elio935 said:
Hi LGSailor i want to port sailfish os on my lg g3 32 gb and i want to know if there is a simple way to port sailfish on my device. I've to install a linux distro on my pc?!
Click to expand...
Click to collapse
Yes you need a linux distro. In the HADK, it is recommended to use a ubuntu 64bit machine, but if you don't like to install ubuntu (although you can use it parallel to windows), you can also use a virtual machine like Oracles Virtual Box. The only thing you have to keep in mind is that you should have at least 4 GB RAM (the more the better), and with a virtual machine, Windows itself needs at least 1 GB RAM.
But installing ubuntu is the easiest step in porting, so you'll have to learn and read a lot. Nevertheless, the HADK is a good guide
LGSailor said:
Yes you need a linux distro. In the HADK, it is recommended to use a ubuntu 64bit machine, but if you don't like to install ubuntu (although you can use it parallel to windows), you can also use a virtual machine like Oracles Virtual Box. The only thing you have to keep in mind is that you should have at least 4 GB RAM (the more the better), and with a virtual machine, Windows itself needs at least 1 GB RAM.
But installing ubuntu is the easiest step in porting, so you'll have to learn and read a lot. Nevertheless, the HADK is a good guide
Click to expand...
Click to collapse
okok i will try!:S thanks!

Windows 10 ARM UEFI development for SD-835 devices

Hello!
As you may know, win10 arm has already been ported to lumia 950 - sd820 device.
The challenge is to make, hack, port the UEFI to install it on our Sony devices.
As I'm a noob I wantto know if this is achieveble to be able to multi boot android and win10 arm. Maybe from there we can do intresting things like root, drm back-up etc.
Waiting your comments on this.
I don't know what is need for UEFI but I think whole new bootloader is reguired for that, but getting it on our sony device which have trim area partition at the start of emmc I think whole thing is very nonportable.... here is some initial work https://forum.xda-developers.com/showthread.php?t=2507665 by Cottula (xda legend on legendary HTC HD2 multi os phone). First reguirement is getting LK (litle kernel bootloader) bootable but I think thats useles because you need to replace sony bootloader which is not replaceable. Even if you somehow get a way to replace bootloader there would be nightmare porting LK to our devices. Sony is not very development friendly device I can say that with 99 percent sure at least for two models which I owned, not blaming it but just my experience with them, third phone no thanks, I'm waiting this one https://puri.sm/shop/librem-5/ for the next phone, hope I get finally my and only my own phone and hope it get runing what I want and not what somebody want. Win 10 on xperia? Good luck!
With all respect for you, Munjeni, but:
1. Win 10 ARM can be installed in QEMU virtual machine
https://winaero.com/blog/install-windows-10-arm-qemu/
2. QEMU is available for android
https://github.com/subho007/qemu-android/blob/master/INSTALL
3. Can you install QEMU then Windows 10 ARM then boot win10 from QEMU and see if it has acces to the storage?
My bet is that from there we can make a full backup, bit by bit of all partitions, regarding that the data will be encrypted, it does not afect us. It can be restored later encrypted as it was
Are you willing to try?
Z2 tablet has a windows 10 arm on it however due to legal issues it wasn't released https://plus.google.com/+kholk/posts/ayf2C2saF4Y
Inerent said:
With all respect for you, Munjeni, but:
1. Win 10 ARM can be installed in QEMU virtual machine
https://winaero.com/blog/install-windows-10-arm-qemu/
2. QEMU is available for android
https://github.com/subho007/qemu-android/blob/master/INSTALL
3. Can you install QEMU then Windows 10 ARM then boot win10 from QEMU and see if it has acces to the storage?
My bet is that from there we can make a full backup, bit by bit of all partitions, regarding that the data will be encrypted, it does not afect us. It can be restored later encrypted as it was
Are you willing to try?
Click to expand...
Click to collapse
Not going to try that have no free time right now for anything phones, pc...etc related but thats interesting I must admit. In the same time I don't own 64bit device so I can't try even if I get any idea
Sdio emmc 5.1 controller... Win driver ?

Categories

Resources