How to port libs to Android x86 - General Questions and Answers

Hi! Take a look at this situation: I have an Android x86 tablet (model Multilaser M7i Nb190) Intel, Android 4.4, but the internal emmc memory i'snt working anymore, but the rest of the device still 'works', Generic Android x86 boot up, even Ubuntu n' ZorinOS Lite, but I can go after setup screen because there's no touchscreen support for my device, I have the original rom, but the structure of the device rom and of the Android x86.iso seems to be different. How to port the device drivers (libs) to the Android x86 generic.iso rom? I have version of Android x86 4.4, its better to use it because it is the same version of the device rom (in general)? Thanks for any help. ... And why xda app still giving network error after trying to upload an image?!

Related

Dual boot understanding

Hello everyone,
Can anybody explain how dual boot works.
Whether android is booted on top of windows mobile as some upper layer or does it rely on hardware as it is native OS installed. Is there any difference between native android phone and android booted from windows mobile, except missing some functionality?
Thanks
Cheers!
when you use heret to boot android winmo is shut down, then android runs as the native os, this is nessesary as without android being flashed to the devices rom there would be no way to boot it obviously. in theory if android is made stable enough on a device it would be possible to make an android rom for that device
To add some additional information:
You are probably talking about the Gen Y dual boot software.
Gen Y dualboot is nothing more than an application that runs immediately after Windows is booted. So before you get to the dualboot, Windows is actually already booted.
Then, after pressing Android, Windows Mobile launches the Haret, by which Windows Mobile shuts down and the Android Kernel loads up.
So to have it in a schematic view:
-----------------------------------------------------Stay in Windows Mobile
Kernel WM --> WM booted --> DualBoot <
-----------------------------------------------------Launch Android Kernel --> Android booted

[Q] Linux in Kyros 7015 possible?

Hi.1 st post.
I have a Kyros 7015 4Gb , got it real cheap. Although Android is cool and all, I really am a Ubuntu/Debian guy at heart. I have installed Debian in PC's as low as 300mhz/64Mb running OK with Ice. I'm really curious about installing a more or less Debian or ubuntu with any light GUI in the Kyros. As far as I know, Debian 5 and 6 have ARM support in the kernel.
There is a blog from a known linux tinkerer which shows how to install linux inside a smartphone. it has a Debian and a Ubuntu compressed image :
nerd65536.blogspot.com/2011/01/how-to-instal-debian-or-ubuntu-in
I have tested this on a Motorola Cliq with a Ext3/SD-EXT/Swap partitioned 8gb microsd card and damn it works. I was able to have a full running Debian distro inside the phone. Even has a Gui through a VPN session.
But the same method wasnt possible in the Kyros. The install scripts expects at least 2 available partitions to install. As we know the Kyros only has 1 partition available.
SmartQ 5 and 7 sport a triple boot firmware that has Ubuntu 9.04 selectable. That would be a nice alternative, because SmartQ's have the same telechips cpu as the Kyros, and the Kyros has 2 more internal gb's.
However, SmartQ's dont have a Clockwork recovery based firmware, firmware has to be loaded through a USB cable and Windows (ughhh).
Kyros wifi seems to be based a Atheros 6000 variant. Might as well work for Aircrack,lol
So, what could be done? Can the blog based linux install.sh be modified? Or can a SmartQ recovery image be ported to the Kyros to use their firmware?
Thanks in advance..

Is there some kind of pc emulator that i could restore an entire phone on to it?

I have a full backup of my phone,plus samsung and google backups.
i want to restore it onto something on a pc .(it should look just like a phone with all the apps+data,files etc)
Is there anything like this?
Thank you
Android emulators for PC are x86 / x86_64 based, Android phones are ARM32 / ARM64 based. So you need on PC an emulator that has libhoudini in-built - what is the ARM to INTEL translation tool - developed by Intel.

Boot into Debian or Arch possible on Smartphone? Universal Image for most Devices?

Hello Community!
I am asking myself it is possibe to direkt boot a debian ARM Port or ARCH Linux ARM Port (maybe from SD Card) on my Smartphone? I saw lots of videos booting a Linux on Top of Android but i would like to "natively" run a OS. Where a Custom ROM typically has drivers for a special type of device i am thinking if a very generel distribution could detect most of the devices hardware...
Any Ideas if this would be possible?
AFAIK it's not possible.
Can you give me a (detailled) hint why you think this would not work?
When reading the informations: https://archlinuxarm.org/about/downloads
The released downloads are designed for the specific systems above; however, our package repositories work with any ARM device compatible with ARMv5, ARMv6, ARMv7-a, or ARMv8-a AArch64 instructions.
In TWRP i can select Storage - maybe starting from TWRP command line a image start from SD Card would be possible?
You initially said your goal is to completely replace Android by Linux ( ARCH Linux - what is for tablets only ) on a smartphone, IIRC.
Now you say you want to run Linux ( ARCH Linux ) on top of Android. Confused ...
hello! i meant that my smartphone can start the TWRP bootloader and from there the boot process could be (maybe) handed over to an image at the SD card....
thats the idea... ;-)
TWRP is a Custom Recovery means a restricted Android OS ( like Windows RE for Windows machines), not a bootloader ( what is comparable to UEFI / BIOS on Windows machines ).
The Android bootloader starts the recovery mode and the kernel, which then starts the operating system of your smartphone.

s5 neo 64bit capabilities & custom roms

i picked up on a s5 neo because of the 64bit cpu over the snapdragon 801, cost only 60$ and is supported by lineage-os to my surprise the latest official version of it runs on 32bit even though the cpu can run 64bit, i did look at phone info [samsung] on the stock rom and it ran in 32 bit as well, the most i know about it is that it was android 6.0.1, so my questions is will lineage-os put this phone on 64bit since it can run it and did it ever have 64bit support at all from android, because i didn't try android 7 at all, i did try the Cosmic-Kernel that appears to run in 64bit but truth be told i haven't got a clue what im doing as to install it so i didn't try to hard to install it, heres a link to the github for it
https://github.com/Cosmic-Kernel/android_kernel_samsung_s5neolte
You have to distinguish between a device's Linux kernel and device's Android OS. Both are different to each device.
A kernel for Android OS basically is a mainstream Linux kernel, with additional drivers for the specific device, and other additional functionality, such as enhanced power management or faster graphics support.
If I'm not mistaken the kernel determines if the OS is 32bit, not necessarily the OS am I right or can the OS and kernel be 32bit
Actually any 64-bit ARM SoC can run 32-bit software ( Linux kernel -> modules, Android OS -> libraries & executables ) due to its 32-bit compatibilty mode.
This will change: ARM has announced that from 2023, all of its new smartphone CPU cores will be 64-bit only, with no 32-bit compatibility mode.
BTW:
Have never heard that Linux kernel determines whether Android OS has to run in 32-bit mode or 64-bit mode.
jwoegerbauer said:
Actually any 64-bit ARM SoC can run 32-bit software ( Linux kernel -> modules, Android OS -> libraries & executables ) due to its 32-bit compatibilty mode.
This will change: ARM has announced that from 2023, all of its new smartphone CPU cores will be 64-bit only, with no 32-bit compatibility mode.
BTW:
Have never heard that Linux kernel determines whether Android OS has to run in 32-bit mode or 64-bit mode.
Click to expand...
Click to collapse
jwoegerbauer said:
Actually any 64-bit ARM SoC can run 32-bit software ( Linux kernel -> modules, Android OS -> libraries & executables ) due to its 32-bit compatibilty mode.
This will change: ARM has announced that from 2023, all of its new smartphone CPU cores will be 64-bit only, with no 32-bit compatibility mode.
BTW:
Have never heard that Linux kernel determines whether Android OS has to run in 32-bit mode or 64-bit mode.
Click to expand...
Click to collapse
I know of running 32bit software on a 64 bit processor works on the same way with typical desktops and laptops, I'm trying to figure out how to make it run in 64bit mode, and determine the easiest way to do it

Categories

Resources