Boot from SD card? - General Questions and Answers

Does anyone know of a way to boot an Android phone from an SD card or USB drive? I'd prefer not to root the device or do much modification, but I might if I have to. There's got to be a way, though!
The device that I'm trying to do it on is a ZTE Z5157V and I'd like to try to boot another OS, either Linux or another Android image. Any ideas?

Such capabilities are provided by TV Boxes and only selected software n.e.g. EmuELEC or CoreELEC. In phones it is not accepted, because they are used for something else.

Particularly, I'd like to boot Kali Linux. Their site has images for Android devices and also for ARM powered decides (I'm assuming this device has an ARM processor, but I didn't check).

It doesn't work like that, if you have ARM support you'll run on the phone. Kali Nethunter installs on android, not as a standalone system.

I was assuming nethunter was a bootable OS. So that clears that up.
How do these devices boot? What type of memory do they have? Are they partitioned, like one for the bootloader/recovery & one for the OS? Upon powering up, what software does the device access first?

Take a look at
Kali NetHunter | Kali Linux Documentation
Kali on your Android phone
www.kali.org

Related

Ubuntu/Debian on X86 Tablet

Hello,
I would like to know where I can get some info about installing Ubuntu / Debian 7 on my X86 tablet device.
Tablet uses an Intel Atom Z2560CPU.
If possible I would like any of the following possibilities:
Possibility one:
Run Android along with Debian (something like chroot)
Possibility two:
Erase Android from the device (currently installed) and make a fresh Debian install.
Possibility three:
Dual Boot with Debian and Android.
The hard part is that the tablet device doesn't have any kind of BIOS (at least one accessible to the user)!
I already tried multiple apps (to run Linux distro's) from the Play Store, but nothing seems to work.
Presently I have the machine with Android 4.0.4 rooted.
What do I need? Where can I find some documentation?
Thank you
It can also be some other Linux distro.
Thank you

Is it possible to boot non-android linux with TWRP?

Hello,
I am looking at an ARM device that comes by default with Android.
Some people have found ways to install TWRP on it.
Am I right that TWRP is somewhat like a bios system equivalent?
Would it be able to boot or flash a non mobile distro such as Debian or Ubuntu?
Can TWRP boot from USB sticks or SD cards?

Dualboot Android/Linux for Yoga Tab 2 830F

ALARM: the device could be bricked if something will go wrong.
Actually should work for 10' and 13' as well
Introduction
The Yoga Tab 2 devices are built on the Intel Baytrail SOC, which makes them not very different from cheap Intel Atom laptops and idea to make them run something more serious than Android is too tempting to resist. Even more interesting, the Windows version of the devices do exist, so running of the full desktop OS is definitely possible.
Beginning
The easiest method to boot Linux on the Yoga is to unlock bootloader and replace standard EFI loader with GRUB. To do it, use the set of files, available here.. Unzip the file, put the tablet into fastboot mode, connect to PC and use script hack.cmd to flash the ESP with GRUB. Now, the system will be booting the GRUB, which will normally boot Android (if no buttons is pressed). The volume buttons are configured as hotkeys in grub.cfg, so it is possible to load arbitrary system, supported by GRUB.
To modify the grub.cfg from Android, mount the ESP partition:
Code:
su
mkdir /esp
busybox mount /dev/block/by-name/ESP /esp
vi /esp/boot/grub.cfg
Kernel
The device is able to boot mainline Linux kernel in the described way, but due to erroneous ACPI tables majority of hardware won't work. I did my best to repair the tables to make system usable. Still, not everything is working, mainly screen brightness control and sound. The kernel development info is available at https://github.com/Trel725/yoga2linux
System
I've chosen Manjaro Linux as a distro to work with because of my own taste. It shouldn't be a problem to run any other distro with modified kernel, but I provide rootfs only for Manjaro.
How to get it working
1. Flash the modified ESP as desribed above.
2. Download the archive, create folder /factory/manjaro (folder /factory should be already present in the tablet) and unzip archive to that folder. It is necessary because GRUB can't access the external SD, so kernel need to be loaded from internal memory and then find SD card. /factory is just a partition, used for storing tablet configuration, and as it is usually empty for 90-99 % it is convenient to use it to store the kernel and initramfs.
3. Find a good SD card, format it to the ext3 or ext4 FS and unzip RootFS to the SD card. Insert card to the tablet.
4. Reboot and press Volume+ to boot Linux.
Some ideas
1. After tablet has booted Linux and USB is initialized, it keep it's state on reboot. This means that following trick is possible:
boot linux -> reboot -> get to GRUB (by pressing Volume-) -> USB keyboard should work as it was initialized -> go to the GRUB command line (press c) -> type exit, press enter -> should get to BIOS with working keyboard -> if USB flash disk was inserted before entering the BIOS (usb hub is needed as device has only one port) it is possible to boot from it.
2. TODO
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Also -- maybe some stuff from here is relevant? e.g., WM5102.
NaEpoch said:
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Click to expand...
Click to collapse
Which tutorials do you mean? Linux usage in general?
raenye said:
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Click to expand...
Click to collapse
Linux is very good in backward compatibility, even support for 80386 (released in 1985) was discontinued only in kernel 3.8. Moreover, I am particularly interested in mainline kernel without need to support ancient code (like for majority of android devices).
raenye said:
Also -- maybe some stuff from here is relevant? e.g., WM5102.
Click to expand...
Click to collapse
Thank you for the suggestion. I didn't try the patch for WM5102 from github, hopefully it will work for mainline kernel. I will try to find some time for it in the future.
sorry,my bad
i mean install linux for yoga tablet2 ' tutorials.
The tutorials in the forums all failed.
If you are free, can you teach me how to install it?
Thanks very much.
Unfortunately I don't have time for complete guidance, but if you have any questions I will readily answer them. The more details you provide the easier to help you.
alright, Thank you all the same.
But if you have time, please help.
My E-mail is [email protected]
Just a simple tutorial.
thank you
I can get Manjaro to boot but it can't load LightDM. I'm on 1050L.
I cant get this to work... All i get is a shell command line. no dual boot. Doesnt default into Android if nothing is imputed.
I tried connecting a keyboard. And cant type anything in.
I feel some steps have been skipped.
Tried this and now can't do anything but sit in empty shell. Can't type, volume buttons do nothing

Need help trying to run Linux Mint 19 as a liveCD on an Alldocube Iwork10 pro

The device I'm trying to do this on isn't your typical x86 device. The device mentioned in the description ships with a dual boot of android 5 and windows 10. Normally plugging in a USB stick with a flashed ISO into most other devices would make it boot into the flashed OS install options or a liveCD, but in this case, it still boots into the default boot meant to choose between windows and android, and yes trying to boot into either OS from there still boots it into the selected OS. I've tried with the micro USB, USB C, and the 2 ports on the keyboard that comes with package C or D, none of them make it boot into the Live CD. The image was flashed with Rufus if that helps any.

Linx 1020 Tablet install Linux

I have an issue installing any OS other than windows on a Linx 1020 Tablet. It is locked with secure boot which is I am unable to disable and insall anything. I want to install Linux on to it. Can someone help me out. Thanks
Look inside here:
8 Lightweight Linux Distros Ideal for Intel Atom Processor PCs
Don't let your Atom-powered laptop gather dust. Install a lightweight Linux distro and enjoy mobile computing once again!
www.makeuseof.com
How to install Linux on the tablet is explained here:
HOWTO: Install Linux on a Linx 1010B Tablet
What’s Working? Equipment Required Considering Dual-Boot Ensuring you can go Back to Windows Later Preparing for the Install Installing Fedora Reverting your USB Stick to Normal Post-Install Notes Other Setups Other Desktop Environments Ubuntu Ubuntu 20.04.3 Later Versions: Ubuntu 20.04.4—22.10...
ianrenton.com
I have, but i still cannot disable secure boot.
With the tablet connected to the keyboard change the settings you require in the secure boot screen then press F10 on the keyboard. This allows the new settings to be saved. I have already tried MXLinux and Lubuntu with no joy so far. mainly autorotation not working or wifi. Good luck.

Categories

Resources