Possibility on Linux running on the mojo - M.O.J.O. General

Hello, I was bored today and decided to dust off my old mojo, I thought about installing linux on it for running more stuff on it.
I've found two possible routes for achieving this:
Flashing linux through Tegra RCM: the tegra 4 SoC on the mojo has the same booting procedures to other tegra boards, by pressing the RCM button (the one under the USB 3.0 port) while plugging in the device to power, one can see it boots up into nvidia tegra rcm (like the nintendo switch rcm). There is software for flashing the device to run linux this way, but I lack the knowledge to use the nvidia dev tools for this.
Flashing postmarketOS through TWRP: I am also experimenting with building a postmarketOS android recovery zip for the mojo, using the methods for other tegra 4 android devices, haven't achieved much, but this way seems more promising.
If anyone has tried any of this or is willing to help me out with this I would greatly appreciate it. Running linux on the mojo is far from a necessity, but given that most tegra drivers are already integrated in the linux kernel, it should be possible.

Related

Not sure which rooting method to use please help

Being a newbie I cannot post in the developer forums until I have at least 10 posts. So I am asking here for now.
I am very new to rooting on an android and very good with JailBreaking on an Iphone. I am currently experimenting a lot work with Micro controller hardware and software such as Adruino hardware etc. Also doing a lot of jtag experiments to understand more about it fully.
Good with linux customizing kernels etc and running OSX on all my PC's
This is sort of the thing I would like to do to my Andorid. Not to play games on but to root it to use it for development software and connecting micro controllers to it either by dongle, bluetooth or even WIFI!!
Enough on that.
So my Dilemma is which method do I use below or should say which is the overall best and safest one for now.
Also will the TriangleAway work if I use it on a JB or ICS custom ROM/kernel?
I do have ODIN Mobile Pro but not installed onto the tablet yet and I don't think I put a link up using that method. If you know of one please let me know using that method or should I stay away from that one?
http://forum.xda-developers.com/showthread.php?t=1746794
http://forum.xda-developers.com/showthread.php?t=1722745
http://forum.xda-developers.com/showthread.php?t=1791193
http://forum.xda-developers.com/showthread.php?t=1722304
http://forum.xda-developers.com/showthread.php?t=1657056&highlight=4+04+triangle
http://forum.xda-developers.com/showthread.php?t=1788625
The Last link is for rooting only I believe?
For now I will do this on a Samsung Tab 2 7 inch. Its has ICS stock 4.04 with the latest update since today!!
I am starting to grasp a few things like Mobile ODIN and Desktop versions and that the stock Samsung ODIN which when I first saw thought my previously owned unit was rooted already.
I am assuming I will need CWM6 etc. A lot of acronyms to go through on these tutorials one would think just a page on them alone should be viewed before moving onto the hard core stuff.
Its too bad there is not a real basic thread on all these steps that one can view and choose from as well as all the acronyms used on these threads.
Thanks!!
If you have a Samsung Galaxy TAB 2.0 - 7" - then i'd say go with this :
http://forum.xda-developers.com/showthread.php?t=1722745
Works fine - And far as you wanting to experiment with android etc - explore on!
As far as i can think, the reason there is not one simple thread to explain rooting / flashing roms etc is because every phone / tablet etc has is different and as such has to be rooted / customized according to its hardware / software specs etc -
http://forum.xda-developers.com/showthread.php?t=1880010
Thanks,
Those were the two I was concentrating on.
@ketut,
Where do you run those scripts? If the android is not rooted yet I have to guess your running them from a Linux box or laptop? I have to read your thread more carefully.
I am a bit confused on the prepping scenarios.
1. Download and then install Heimdall package for OSX
2. Type in console:
Code:
# heimdall flash --recovery recovery.img --cache cache.img
recovery.img and cache.img extracted from P31xx_CWM*.tar.md5.zip or P31xx_SAMSUNG*.tar.md5.zip depend on your device and your choice to install CWM or Samsung recovery.

[Q] Rikomagic V5 (mk802V) Dual boot or ROM work

Is any one working on or been successful in getting one of these devices Rikomagic mk802V V5 (RK3288) HDMI stick to dual boot with Linux and Android OR succeeded in backing up the ROM it ships with?
I have the android version and would like to dual boot it to Linux. I have looked at work done by lunuxium and others, however the methods used require a Linux PC. I have many versions of the Flashtool software for windows from version 1.3 through to 2.3. I have the factory flash tool as well and several images to replace the boot sector of the device. Not sure if boot sector is correct terminology.
While the device is detected by some of the software when I turn on USB debugging and Connect to PC via the OTG USB port, however the software reports a device mismatch and halts when I try to do something. All versions I have tried do this.
I'm also a bit lost on the instructions that I have read that do apply for windows. I might not be succeeding because of this. So my questions for anyone who has succeeded:
Does anyone have a software application that actually does succeed to write to a rk3288 chip device?
Do the boot img files by linuxium work as is or do they need to be injected into a device ROM to be flashed onto the device?
Is the correct way to flash it to just use the boot img or the whole ROM?
Do I need to download the original ROM and modify that to make it work?
How can I download the original ROM from the device so I have a backup?
Does the device need to be in recovery mode or is it acceptable to boot it with USB debugging?
If anyone can help I'd really appreciate it.
thanks
303.
Looks like a workable solution has been found. Taking a bit of time and reading through linuxiums' web page on Latest news for RK3288's here:
sitesDOTgoogleDOTcom/site/ianwmorrison/Downhome/Topic6
The above link contains instructions for several different methods of dual booting an rk3288
Looking at the section: Simplified dual boot Android and Ubuntu Utopic Unicorn 14.10
I followed those instructions and it was straight forward.
There are several bootable images linked on that page. I think they are the same image but they might not be. I ended up with an Ubuntu image although I don't recognize the desktop.
At this time the ethernet network does not work. It is configurable but not working. I will look at the images and see if there is some different ones there to try.

Looking for a group of Ubuntu Touch devs to join

Hi,
I have some free time and would like to join a group of Ubuntu Touch devs. Is this a good place to ask or should I re-post on Canonical?
You can attempt to re-post on Canonical's forums, but the Ubuntu Touch Google+ Community is pretty active with both developers that work on Ubuntu Touch and consumers. I know I've seen Canonical's Michael Hall post in there as well as a couple others at some points.
https://ubports.com
This might be the place for you. They are asking for devs.
Good luck. I hope you start with the shamu (Nexus 6)
kidhudi said:
https://ubports.com
This might be the place for you. They are asking for devs.
Good luck. I hope you start with the shamu (Nexus 6)
Click to expand...
Click to collapse
I have a Nexus 5 and I want to dual boot Ubuntu with Android. There are 2 instructions on ubports.com but the one using MultiROM(to dual boot) has no link! I followed other guides with MultiROM but Ubuntu won't boot. Android's still working fine, though.
Matrixians 14 said:
I have a Nexus 5 and I want to dual boot Ubuntu with Android. There are 2 instructions on ubports.com but the one using MultiROM(to dual boot) has no link! I followed other guides with MultiROM but Ubuntu won't boot. Android's still working fine, though.
Click to expand...
Click to collapse
You will likely need to look into the official Ubuntu Dualboot solution and adapt that for the hammerhead. Ubports ROMs are intended to be installed via the ubuntu-device-flash commands only and are likely not supported under MultiROM easily.
That said, if you have an UBports system image installed via MultiROM, and it appears via multirom, you can always check /proc/last_kmsg after a failed Ubuntu Boot (while in multirom's boot manager) to see where the boot went bad, you could also open the ROM under MultiROM's recovery and hit Patch init and see if that helps.
Other than that, I'm afraid the only supported installation method for the community ports are the instructions listed on the page. You may also have some luck looking for KDE Plasma Mobile tutorials (which use a standard Ubuntu Touch image for their basic installation, not sure if they do the same thing as ubuntu-device-flash though).
One last thought, have you tried MultiROM manager? It may have images for your system (I recommend going no further than rc-proposed, devel does not run many apps from the Store and is based off Xenial, sp there's some library incompatibilities with apps installed from the Ubuntu Store. Devel branches are also not guaranteed to boot, however rc-proposed and stable should at least boot for you unless their builds are fundamentally broken, in which case, you should bring it up with the maintainer)
Thanks, but now Ubuntu Touch worked. I installed the dual boot app and added the channels for hammerhead. But now Everytime I boot into Ubuntu it removes my custom recovery. Instead of booting into the recovery, it boots into Ubuntu Touch, and it only happens if I reboot into Ubuntu Touch, so I basically have to reinstall recovery after using Ubuntu, which is very inconvenient.
Matrixians 14 said:
Thanks, but now Ubuntu Touch worked. I installed the dual boot app and added the channels for hammerhead. But now Everytime I boot into Ubuntu it removes my custom recovery. Instead of booting into the recovery, it boots into Ubuntu Touch, and it only happens if I reboot into Ubuntu Touch, so I basically have to reinstall recovery after using Ubuntu, which is very inconvenient.
Click to expand...
Click to collapse
I replied on the G+ page too, but figured I'd post here as well so others may benefit if I'm right here. -SNIP-
Edit: I just realized how the dualboot utility works.. It is likely the application overwriting your recovery image. If you want to keep MultiROM, I'm afraid you'll need to reinstall Ubuntu with MultiROM manager as the dualboot utility writes Ubuntu's boot.img to the recovery partition to boot Ubuntu.
Yeah, thanks, but it only works with the dual boot utility. I have my issues with MultiROM if you've read the first post on G+. But now I restored my system to a previous state when there was no dual boot utility so I don't want Ubuntu Touch anymore. Linux Deploy would do the trick, but now even IT has problems installing trusty. After the installation, I reconfigured it from the Linux Deploy menu and when I start it, it failed to start the VNC server and I don't know why. Is it the architecture of Trusty that i chose?
I did see your post, my apologies that MultiROM isn't booting for you, I ran into this weird issue myself on the Flo, normally it can be solved from trying other revision numbers in either the stable or rc-proposed channel. Sadly, through the Dualboot installer, there's no way around this (bar writing an /etc/init.d script for Android that automatically flashes the TWRP image when Android boots back up)
It may very well be the architecture of trusty. I would recommend trying vivid, saucy, wily or xenial. (any of the more recent versions, trusty is rather old at this point and you would've been getting Vivid [15.04] via Ubuntu Touch)
That said, you'll get much more performance using XServer XSDL from the Play Store and setting Linux Deploy to use it (X Server -> Use XServer XSDL), it also allows you to use any X application remotely or locally (on a remote machine you'd do export DISPLAY=[Tablet IP]:0)
As for Ubuntu Touch, if you go back through and attempt MultiROM again, start with the latest revision (I recommend staying far away from devel and devel-proposed unless you are purposely wanting to develop applications for Xenial, most applications targeting Vivid here don't work.) and then if the latest fails to boot, try the next one down the line. Another issue here could be a kernel that doesn't properly support KEXEC, have you tried MultiROM with a different KEXEC compatible kernel? I honestly can only recommend two different configurations, the singluar installation (Ubuntu being the only OS, gives you the most storage space) or MultiROM :\ I don't have much experience with the Dualboot app.

Android to Windows Hack or Dual boot Option?

So im thinking of purchasing one of these when the come out here and i was wondering about an android to windows os hack. Will there be one in the immediate future and will dual booting be an option?
The hardware is exactly the same.
There must be a way to dual boot, hopefully others on this forum can figure out how to do this if Lenovo doesn't facilitate dual boot themselves
Best
I believe there's a different BIOS for Win vs Android. Could have sworn I saw the Windows BIOS posted on the Lenovo support site prior to the Oct 17 launch. It seems gone now though, unless I'm missing something or went to the wrong link? Unlikely you can install Win without a different BIOS.
There is some clear hardware differences with the Android and Windows tablets. Specifically, 2 different physical layouts for the halo keyboard, where the windows one has defined left and right mouse click buttons. There doesn't seem to be any way of accessing the BIOS on the Android tablet, and it does have the usual Android power + volume up, power + volume down recovery options, so it looks like it boot directly to the boot loader.
The Bios is still there ... but how would you flash it?
http://support.lenovo.com/de/de/products/Tablets/Yoga-Series/YOGA-Book/downloads/DS119182
ok so there is also android open source code available in their site, any chance of making a custom rom?
I wonder if we could flash the Chuwi 12 roms onto this given that Chuwi12 has dual boot already?
This is reallly really stupid to me, why not provide dual boot in the first place? I would not mind shelling out $100 more for a dual boot version. Now if I want the windows version I will need to spend another $550 to get another OS with the same device. I will end up having 2 same devices, but that is so anti-mobile really. Do I have to carry 2 hardware devices so i can have 2 OSes at the same time?
Lenovo get some grip please and provide a dual OS version.
win 10 driver
Today, the windos 10 drivers are online..
The drivers you get with levono support with input of the serial number
It must now be possible to build a dual system
Tastertur chipset audio and more .
igelelf said:
Today, the windos 10 drivers are online..
The drivers you get with levono support with input of the serial number
It must now be possible to build a dual system
Tastertur chipset audio and more .
Click to expand...
Click to collapse
Could you post the link for the windows 10 drivers? also any idea on how to unlock the bootloader?
Hi,
earthCallingAngela did unlock the bootlader. .
My background knowledge about booting is very low. But I think there are huge differences between Android and Windows. I think If a system can boot via PC-Bios or Android-Boot-Loader is "on the chip". If this is correct you would need a Android-Boot-Loader that does boot into a windows ... IMO this is no "easy to do". May be the guys who did create Remix OS found a way to do that ...?
Can we use Chuwi 12's disk image somehow? It comes with dual boot.
hajkan said:
Can we use Chuwi 12's disk image somehow? It comes with dual boot.
Click to expand...
Click to collapse
Are the two the same hardware? My understanding is that unless the hardware is very similar, you can't use other ROMs without a *TON* of work.
so i was able to install android x86 6.0 on my yoga book, unfortunately i managed to do it over my windows install so now i just need to reinstall windows lol.....
---------- Post added at 06:35 PM ---------- Previous post was at 05:54 PM ----------
decided to install 7.0 over my 6.0 install i just made and messed everything up. now im back to just trying to get gparted to run so i can reformat and start over.
bisharat said:
Could you post the link for the windows 10 drivers? also any idea on how to unlock the bootloader?
Click to expand...
Click to collapse
http://support.lenovo.com/kr/en/pro... and Software|Drivers and Software&beta=false
you can download yogabook win10(64bit) driver here.
edited--
you should change operating system dropdown menu from android to windows10
Hi & Happy New Year
Now it's possible to get root with android version
I have a YogaBook with Windows version ; Someone can make a backup Android version?
Maybe it's possible to create a dual boot with the windows version I cross the fingers :fingers-crossed:
Where and how?
ThomasHardy said:
Hi & Happy New Year
Now it's possible to get root with android version
Click to expand...
Click to collapse
someone can said me, where i found an android image? (original yoga book, of course) i try to install Remix OS and Android-x86 6.0-r1 released from Android-x86.org but, its can't run. graphics issues and reboot.
i install in a MicroSD and boot it booting yogabook hold volume up + power boton and select boot menu, but it fail on boot.
i have yoga book windows. any idea?
thanks
sorry for my english..
I'm exploring this as well.
Since the BIOS and drivers available (just tested with my serial#), it does seem like it would be relatively easy to dual-boot, provided you can get past the loader issue.
I've done many dual-boot setups, just not since the Win7 days, with the Win8 and forward it's gotten quite a bit trickier, the loader does a bunch of "extra" stuff, boot timing and such, to protect itself.
I've also never done an Android/Windows dual-boot, mostly just Win/Win or Win/Unix.
I think you'd have to figure out how to bootstrap these, so the custom loader can take over, and load from there, but this is a bit beyond my Android capabilities.
Has anyone even tried this? I assume the power/volume keys must work, to get at the loader?
Hi there !
I've just unlocked my Yoga Book's android bootloader and made a backup. I'm trying to install Windows 10 and replace Android with it. The problem is that I don't know how to boot the device from the USB drive.
Does anyone know how to do that ? Even if rooting is required ?
P.S. : I can't google it as all results link to "how to boot a PC from android device", which is the reverse...
Totjoss said:
Hi there !
I've just unlocked my Yoga Book's android bootloader and made a backup. I'm trying to install Windows 10 and replace Android with it. The problem is that I don't know how to boot the device from the USB drive.
Does anyone know how to do that ? Even if rooting is required ?
P.S. : I can't google it as all results link to "how to boot a PC from android device", which is the reverse...
Click to expand...
Click to collapse
simple...you can't do that! it's not possible to boot usb from android bootloader or recovery.

I've lost the ability to trigger or interact with bootloader via controller/keyboard.

I fastboot flashed a system update and now the only way i can get into the bootloader is via adb, then once i am in I cannot interact with it on screen.
Any thoughts on this?
2me3 said:
I fastboot flashed a system update and now the only way i can get into the bootloader is via adb, then once i am in I cannot interact with it on screen.
Any thoughts on this?
Click to expand...
Click to collapse
Are you sure that the Controller/Keyboard is plugged into the USB port next to the HDMI port?
!1
ACiDxCHRiST said:
Are you sure that the Controller/Keyboard is plugged into the USB port next to the HDMI port?
Click to expand...
Click to collapse
yes. this was on my first stv which i ended up bricking. I have 4 of the OG shield tablets which are much more durable in terms of software mods.
In my research I found someone on youtube with a process to downgrade the bootloader, in his tutorial he states clearly that you will no longer be able to interact with the bootloader via controller/keyboard and must use ADB to reach it (exactly where I was)
I believe i got there being trigger happy flashing DTB files, from what i've read (also elsewhere on the internet) the DTB file is the most dangerous thing to flash to the STV and in many cases is not necessary (moving between small updates)
It would seem its better to flash an update without the DTB first and have to re do it than flash it as the flashboot script provided by nvidia states.
Regardless I am disappointed there seems to be such little development on this great little machine, especially compared to the shield tablet. We barely even have a custom rom and the thing ships with an unlock-able bootloader!
Wait I to have lost control of bootloader in my Nivida Shield tv 2017 version after the 7.2.2 update I put in the keyboard and i can select anything in the bootloader. Im not sure if the controller works b/c at first it didnt I had to update the controller as well for it to recognize the controller again. Anyone also having usb driver issues. I'm on windows 7 still so that could be the reason I'm having issues finding these new tegra drivers and the ones from 2018 dont work?

Categories

Resources