Anyone building a rom from source on a Windows machine? - Vibrant Q&A, Help & Troubleshooting

I've been wanting to start building from source so I could actually try to contribute some development time to a rom.
I've seen some of the build from source threads and even tried to use the wiki from one ROM's page. but the latest version of Ubuntu doesn't want to even get the Android SDK installed let alone get the latest code. So I was thinking that I would try to get this up and running on one of my windows boxes and was wondering if anyone else is building from a Windows machine.
If so is there a good resource or tutorial for getting started.

Don't think you can build with windows or it'll be hard to set up. Are you in Ubuntu 11.10?
Sdk should install fine though it isn't necessary to build. Follow Google's initializing build environment guide or cyanogen mods wiki guides.
Sent from my SGH-T959 using XDA

I pulled down the latest Ubuntu build through Wubi (easy dual boot and removal since I was putting it on my wife's laptop).
Doing that since I haven't found a way to get a VM to recognize my phone when it's connected. I'll look up both of those guides and try them... thanks.

The Google guide has instructions to allow computer to detect and also put adb in bash.
Would not rec wubi for anything other then temporary which you seem to be doing. Just make an actual partition for Linux later, else you will run outta space.
Sent from my SGH-T959 using XDA

ok, so on two installs of Ubuntu 10.11 the guide from setting up the Android build environment isn't going according to plan... so i'm wondering what version of Linux are you guys using to build?

Related

Dev or User - VMware inside Android, Android inside VMware on desktop computers

This isn't a guide, more an informative post and discussion for Android application and platform developers, AND regular users. Maybe a guide in the future will be a goal of mine.
Some of you may or may not know what VMware is, what it is for, or never used it. Trying to keep the OP brief; VMware is a virtualization solution(s) for desktops and servers. In layman's terms it allows an operating system to be run inside another operating system, instead of setting your desktop to dual boot (have an option at startup to load either windows or Mac as example). There are many applications and benefits to this kind of solution that I won't get into in the OP.
Currently there are solutions available and being built, but are not yet completely optimized, but you can do it. For a developer this means you can be developing Android applications or platforms on whatever OS you want by virtualizing the OS and software currently supported. It also means that you can replace the Android virtual emulator with an Android OS inside VMware for application development, but also means you can load your Android platform into VMware for testing while you develop. Why would you want to do this? Well we all know how painful slow the emulator is, and it is just made worse if your hardware is slow. Because the emulator emulates software running on an arm processor inside an x86 environment things are slow, which means your development is slowed. Using VMware however you are using binary translation to "port" your platform to x86 processing. Currently this solution is not completely optimized, or "official" but it will be. That means less development time, more support, and a more convenient option!
The other edge of the sword is also a VMware virtual machine environment inside Android's Dalvik virtual machine. For users, and developers in certain scenarios this opens even more possibilities. Imagine having the ability to use your personal Android, and that pesky dumbed down corporate phone running together, the corporate advice running inside your personal device, or vice versa. Also, the ability to run any other OS in your device. Windows, Linux and UNIX distributions, solaris, Mac, whatever you wish. This opens lots more doors for Android devices.
Now not everything is complete, but it will be. It sounds like VMware will end up and be the de facto standard for virtualization for Android, as the solution is in the works for google to put VMware into the Android core, in the kernel. Now that would be sweet, because if you have used VMware you probably agree with me that it is THE virtualization solution in any application or solution you need it in.
Maybe this isn't as exciting to others as it is for me. What do you guys think? Let the topic begin!
The following links are meant more to cite my sources, but each one of them is a more detailed read into the topic, and well worth reading to inform yourself and see what is in the works:
http://i.downloadsquad.switched.com/2011/02/15/android-dalvik-vmware-virtualization/
http://gigaom.com/2011/09/27/vmware-mobilize-201/
http://www.android-x86.org/
Run ICS in x86!
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
DoctorComrade said:
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
Click to expand...
Click to collapse
I don't know if it applies to what your doing, but it is pretty cool to be able to use VMware on your mobile device. If you are managing virtual servers there is already an official solution from VMware you can download from the Android market. It is called VMware view, for Android. Pretty cool.
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Sad Panda said:
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Click to expand...
Click to collapse
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
EGOvoruhk said:
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
Click to expand...
Click to collapse
Well in terms of doing dual boot natively, I agree, probably never going to happen...ever. However if you run it in a virtual machine, just like Android runs in the Dalvik virtual machine, it can be done.
The bootloader and drivers are already built and would be taken care of by VMware. You make or hint at a valid point, there would never be enough desire for anyone to do it natively. It isn't impossible, but just would never see anyone take the time to do it
Ice Cream Sandwich x86 in VMware
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
Bingo! Awesome contribution! Yeah this is one of the two examples I speak of, Android running on an x86 CPU (instead of arm like our phones and tablets) running as virtualization of hardware. Great reply to back me up, and even a guide to boot, AND ics!! If you must play with ICS before it gets to evo 3D
Added the ICS in VMware to OP.
I have tried this a few way and in no way can i get it to work on VMWARE gets stuck on found androidx86
Sad Panda said:
Added the ICS in VMware to OP.
Click to expand...
Click to collapse
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
digitaljeff said:
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
Click to expand...
Click to collapse
No problemo
heres some links to the vmdk images to work in vmplayer, dont thank me, thank the guy who wrote the guide on converting vdi to vmdk
ICS vmdk
http://www.megaupload.com/?d=FZWH3G20
SD card vmdk
http://www.megaupload.com/?d=15TLJZ87

Need help with Ubuntu

Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
I thought you said you were a dev over in the Epic sub forums. If you were a dev, Linux and bootloader installs should be second nature.
Sent from my SPH-D700 using Tapatalk 2
You can use the wubi installer that should be on the ubuntu DVD ISO that you downloaded.
DroidModder said:
Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
Click to expand...
Click to collapse
The Ubuntu installer should handle all that. Since you already have windows you just need to shrink the windows partition to make room for Ubuntu and install Ubuntu to the free space. Once installed Ubuntu uses the grub bootloader which will give you the option of which system to boot into everytime you start up the computer.
As far as commands and installing stuff goes you may as well start reading up on it. You'll need to know how to use the Terminal to develop in Linux. Its not complicated once you learn common commands, etc. Also, I recommend using Gnome classic or kde as your desktop environment if you want something that looks similar to Windows. I'm a KDE person myself.
Sent from my SAMSUNG-SGH-I777 using XDA
1º Windows
2º Ubuntu!
I'm building on12.04 with zero problems...just my $0.02. And like the other's said just install Ubuntu takes care of all that stuff.
Oh and ALWAYS create a backup before you start installing new OS's!
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
DroidModder said:
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
Click to expand...
Click to collapse
When I get on a computer I'll write up how I got my laptop to dual boot Windows and Ubuntu. I've actually got it triple booting Mac OSX as well.
私のEVO 3Dから送信される。
to setup a dual boot system, u only need a free partition to install linux. a very basic linux installation u have to create root partition and swap partition. u can find installation guide online, its not that hard to setup a dual boot between linux and windows.
Okay cool. Because id like to get into Rom development,etc so I need Ubuntu or Mac OS X. Not too sure which ones better though. I assume Ubuntu is because its Linux and that's Android runs on
Droid Syndicate
Leader/Founder

Linux Help Thread

So since beaups has announced that s-off for 2.06 will be for Linux only, a lot of people are preparing by either trying to set up a Linux partition or Live DVD/USB. I just thought I'd make a thread for general info and help getting it working properly. I'm not going to go super in-depth with this because there's a plethora of information online this is more just for some tips to get you started.
Disclaimer: Make sure your computer is backed up before doing this. You shouldn't run into any problems that will screw it up, but you never know what could happen. Better safe then sorry, right? If your computer explodes, it's not my fault.
Some general info about LInux
Essentially, Linux is just a kernel. Android is based off the Linux kernel, and your cable box, router, and most web servers probably are as well... And a lot of other things you might not think of.
Desktop Linux has what are called distrinutions. These are basically the equivalent of Android ROMs, just operating systems based on Linux. If you are just starting out, you probably want to use Ubuntu or Linux Mint as they are the most user-friendly.
Making the Live DVD/USB
-First you obviously need the iso. Here is a link to the Ubuntu download: http://www.ubuntu.com/download/desktop
-Unless you have a computer that doesn't support 64-bit, just get the 64-bit download. If you have a UEFI-based computer, you definitely want the 64-bit iso because it's UEFI native, which will make things easier, and you will also want to read this: https://help.ubuntu.com/community/UEFI
-If you're trying to boot the Live DVD on a Mac, you also want the 64-bit iso, and you need rEFIt: http://refit.sourceforge.net/
-If you just want to boot from the DVD, you can burn it with pretty much any DVD burning software. If you want to make a live USB, use unetbootin: http://unetbootin.sourceforge.net/ or Pendrive Linux: http://www.pendrivelinux.com/category/usb-creator/
Installation
-If you only plan on using Linux once to s-off your phone, you don't really need to do this, just use the Live DVD.
-If you haven't already, you probably want to hook up an ethernet cable to your computer in case the wireless drivers aren't available.
-If you actually want to install it on a PC, it's pretty straightforward, just use the "Install Ubuntu alongside Windows" option, unless you want to partition it manually with the "Something else" option (I won't go into that here).
-If you want to install it on a Mac, you will need rEFIt, which I already mentioned. You also need to add a fat32 partition to your drive that you will reformat to ext4 with the Ubuntu installer. Install rEFIt, reboot twice and then you should see the rEFIt boot menu where you can choose your live disc. One very important thing about this: If you are installing Linux to the same drive as an OS X installation, DO NOT choose the "install alongside" option. It will break your install. Use the "Something else" option. By default, Linux wants to install grub to the MBR, but you need to reformat your fat32 partition to ext4 instead and install it to that partition. Then you can just boot into it with rEFIt. The rest is pretty much the same as installing it on a PC.
Post-install
-At this point, it's going to want to install some updates and maybe some proprietary drivers it may need and that's it. Really all you need to do after this is install the android drivers. The easiest way is to use apt-get which is basically a package installer for everything in Ubuntu's software repos. Open up Terminal, and type in: sudo apt-get install android-tools-adb android-tools-fastboot. Hit enter, type in your password, then it will ask you to confirm and blah blah blah and then it will download and install it. That's really it. I don't know what else may be necessary at this point since the s-off tool hasn't been released yet.
Some other links that may be helpful:
-Dual-boot on PC: http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/
-Dual-boot on Mac: http://lifehacker.com/5934942/how-t...-and-take-back-your-powerhouse-apple-hardware
-Triple-boot on Hackintosh: http://lifehacker.com/5698205/how-to-triple-boot-your-hackintosh-with-windows-and-linux
-If you want to build a ROM from the source (Ubuntu 12.04): http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
-Linux forums, the folks here are very helpful: http://www.linuxforums.org/forum/
-Terminal basics: https://help.ubuntu.com/community/UsingTheTerminal
I hope this is helpful. If anyone has any suggestions to add to this post feel free.
EDIT: One more thing! If you are asking for help, please post what computer you are using, the specs, and whether it is BIOS-based or UEFI-based.
Nice write up thanks for sharing this will help a lot of folks
Sent from my Liquid Smooth Nexus 7
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
deathrow1992 said:
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
kern3l said:
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
Click to expand...
Click to collapse
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
I think he took it as "if its Linux only then the method sucks" while I can see that your just trying to say you wish it was on windows as well but whatever, it can be taken as as much more negative thing... Remember attacking back only causes more hostility let's all please get along.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
He never really said it's Linux only... Simply hinted it. For all we know he may be delaying to get a windows version working.
Sent from my HTC6435LVW using xda app-developers app
Ok so I am trying to dual boot windows 8 and linux mint 15. I have an ASUS X55C laptop that cane preloaded with Windows 8. I made a liveusb that works great but now is like to dual boot. After i install linux mint I restart and choose to run mint as the os. Then I get this message. Also here is the guide I followed to install mint
http://www.howtogeek.com/99060/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc/
Windows has failed to start. A recent hardware or software change might be the cause. To fix the Problem
1. Insert Windows installation disc and restart your computer. 2 Choose your language settings and click next. 3, Click repair your computer.
If you do not have this disc, contact your system administrator or computer manufacturer for assistance
File: \linuxmint\winboot\wubildr.mbr
Status 0xc000007b
Info: The application or operating system couldn't load because a required file is missing or contains errors
EvolutionXJ
Level 1
*
Posts: 3
Joined: Wed Jun 05, 2013 3:58 pm
Sent from my HTC6435LVW using xda app-developers app
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Using Android Tools on Ubuntu 12.04
Native Ubuntu 12.04 installed on a bootable memory stick needs also to reference the repository that the tools are located.
Once you have booted into Linux, then execute the following commands from a terminal window
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
lol i forgot about androidforums, that was the first place i used to post
i eventually came over to xda cuz all the developers at the time only supported their work here
EvolutionXJ said:
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Click to expand...
Click to collapse
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
EvolutionXJ said:
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
Click to expand...
Click to collapse
Hopefully someone else will have some more insight, for now I have to go to class. I'll look into it more when I get home.
Sent from my DNA using Tapatalk 2
I didn't see anything about Linux only in the new moonshine thread. Is this still necessary?
If the other guy is like me rooting a phone is the absolute limit of our technical abilities. Now I have to learn to change things on my desktop? I'm grateful, but I'd rather pay for a windows version than go messing around with my desktop. I guess I'll try to learn what livecd is now.
@EvolutionXJ something just occurred to me. Since your PC more than likely has GPT instead of MBR, you may need to use gptsync to sync the partition tables. To so this, boot into your live disc, open the terminal, and type sudo apt-get install gptsync. After it installs, do sudo gptsync /dev/sda. I had an issue similar to yours trying to triple boot my netbook and that was the solution. Let me know if you get stuck again.
Also are you using windows boot manager to boot Linux or are you using GRUB (it might be lilo in the case of uefi)
Sent from my DNA using Tapatalk 2
Forget the gptsync thing, I don't think that's the issue. Don't think you would need to do that with a uefi pc
Sent from my DNA using Tapatalk 2
I have Ubuntu booting on my mac through a virtual box and I've never been able to get it to recognize any of my devices. It's usually why I just wait for a Mac method, but I'm super excited to get this bad boy dialed.
Any ideas? I've tried reinstalling Ubuntu and adb multiple times through different methods, but no dice. And yes, I have usb debugging checked. I've also tried 3 different cables and all of my usb ports. Thanks for any help!
Sent from my DNA all in ya mouf

[Question] Is there anyway to get a linux running on android?

So i really am looking for a way to get linux possibly debian or ubuntu to get working on my android. tried linux deploy , complete linux installer, gnuroot...no luck. Please helo if you can
Device: xaomi mi4, android 6.0.1 cyanogenmod
Sorry for the necro, but gnuroot debian on the playstore should work! Remember it only installs the backbone of linux via a P-root (like chroot). You would need to install and set-up all dependencies you need to run applications by yourself though! I had no issues running octave (even in gui) and blender. I still have more to learn about bash. Anything that can run on arm64 (if your soc has an instruction set of armv7+). Also since you are rooted, you should be able to get even kernal installed easily, but it will take some time, patience and work!!

Native Arch Linux

I'm looking for a way to install arch Linux NATIVELY on the touchpad, I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
arrudagates said:
I'm looking for a way to install arch Linux NATIVELY on the touchpad,
That will require a new Kernel and drivers for WiFI, Sound, Touch Screen and any other hardware.
I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
Click to expand...
Click to collapse
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
HP_TOUCHPAD said:
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
Click to expand...
Click to collapse
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
arrudagates said:
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
Click to expand...
Click to collapse
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
HP_TOUCHPAD said:
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
Click to expand...
Click to collapse
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
arrudagates said:
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
Click to expand...
Click to collapse
I never installed any native Linux Os on the Tablet. The Ubuntu Touch was promising but never took off. The system must be stable for anything to be use otherwise is just experimental as most of those builds were. Running Linux in a Chroot environment is somewhat, not the same, as a Linux guest virtual machine and Android as a host.
That is the only way I know of, that is stable and current.
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
arrudagates said:
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
Click to expand...
Click to collapse
I did search for a working native linux OS for the Tablet, but did not found any.
It can surely be done, take a look at this video and the source at GitHub.
Youtube
https://www.youtube.com/watch?v=vx8_u1jhXJY
GitHub
https://github.com/CalcProgrammer1/kernel_tenderloin_debian
The Tablet uses LVM and can easily be partition in any way. It can also boot directly into Linux. The only thing to do is rename the file in /boot uImage.moboot to the Linux uImage ( example ) uImage.ArchLinux.
If any help, let me know.
Have fun!
I'm making some progress
arrudagates said:
I'm making some progress
Click to expand...
Click to collapse
Congratulations !
You did it ! once it boots is all it matters.
This is an idea, a chroot Arch can be built inside Android
A partition can be created in LVM Arch_Linux ( any size )
Inside Android with the App I posted, create the Chroot Arch Linux ( up to date )
Then modify the Ramdisk to direct at the partition Arch_Linux ( same it was use in the Chroot )
Then it should boot up ( some other changes will need to happen I guess)
Arch armv7l as chroot in Android 8.1 with HpTp_MAX
Testing the new kernel settings in Android and installed the latest version of Linux Arch using Linux Deploy.
It is fast and it would be even better running native!
Attached are the screenshots.

Categories

Resources