[Q] What file format exacutable itself on Android ? - Android Q&A, Help & Troubleshooting

I used motorola L7 and i can run .elf files on my L7. By showing a library package to device. Can we run a program without install on android phone like elf ? ELF file is Exacutable Linking File. An android phone not need link file because have library on device. Anyone know that exacutable format?

Related

[Q] create initrd with hello world

Hello!
I've got a gt-i9100 (glalaxy SII) with android 4.0.4( No CWM, no Root)
I want to make a recovery image, that when it start running a simple HelloWorld application (printf("Hello World\n") on the screen for example).
1) Samsung Stock recovery image running init(which initializes fs, mount partitions. etc.), then running recovery binary file, which doesn't contains exec (so, I can't add "exec /sbin/HelloWorld" in recovery.rc file).
Is there a way to run the application, modifying rc files in initrd? (I can compile stock kernel from sources, pack/unpack an initrd)
2) I make my own initrd, which contains busybox+udev+some initial scripts. But after flash, phone is going into reboot loop
Maybe someone managed to create "own little" initrd?
3) I think than I can use update.zip file for my goal. So, I downloaded an example of update.zip and make my own update.zip file with HelloWorld application. I've install ZipSigner and "sign" my update.zip with all keys. But for every key stock recovery says that update.zip is not verified.
I don't know how to work with zipsigner and update.zip or ZipSigner doesn't support 4.0.4 android?
Maybe someone was trying to do the same work?
any ideas?
Thanks!

Run personalized Android ROM in a PC

Hi, I want to execute (then install) an personalized Android ROM on my PC, I tried to change the distribution of Android x86 but the ISO file reconstructed (by Nero) is not read (An error tells me that no files were found for the start) and are not able to open (for modding) the file in SFS inside the original ISO. So I tried modding the files of Windroy Project and the result was more than excellent! (I have modded files of Windroy in C drive) but now I do not know how to make these files "installed" as indipendent OS, it is possible, and if so, how? Thanks for the answers
UP!!
I would like to run the. exe file in an base operating system (also CMD) that start the .exe by start, exist?
---blacksoul--- said:
Hi, I want to execute (then install) an personalized Android ROM on my PC, I tried to change the distribution of Android x86 but the ISO file reconstructed (by Nero) is not read (An error tells me that no files were found for the start) and are not able to open (for modding) the file in SFS inside the original ISO. So I tried modding the files of Windroy Project and the result was more than excellent! (I have modded files of Windroy in C drive) but now I do not know how to make these files "installed" as indipendent OS, it is possible, and if so, how? Thanks for the answers
Click to expand...
Click to collapse
try in here
http://forum.xda-developers.com/showthread.php?t=1272270
hawaja said:
try in here
http://forum.xda-developers.com/showthread.php?t=1272270
Click to expand...
Click to collapse
My problem is not knowing how modding a ROM, but to bring a ROM on PC and open that file type, which requires a separate procedure.

[Q] How to capture a .img file after all Apps got installed

I am looking for ways that i can capture an android rom (.img file) and restore it to other same devices by using Rockchip Batch Tool 1.7
Here is my situation:
We have lot of android devices need to be deployed (MK 902). The original rom was 4.2 and I use Rockchip Batch Tool 1.7 to reload a rooted 4.4.2 img file. then I installed some APPs we needed. I dont want to go through app installation on all devices. So I am looking for a way that i can capture the img file after all APPs installed, then later on i can only use that Rockchip Tool to restore my img into rest of devices, just like Windows image restore.
I did some researches but didnot find any easy way to do so. looks like i have to unpack the image, modify it then repack it again. ....... I dont know how to modify the img file so i am looking for an easy way to do this.
Anyone knows any App or easy way?

[Q] Extract Compressed File to SD Card Director on First Boot

Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
th3magpi3 said:
Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
Click to expand...
Click to collapse
see Introduction : How to build an Android ROM - XDA-University
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS] by lokeshsaini94
This thread will be moved to Android Q&A, Help & Troubleshooting

Convert flashable ROM to ISO?

I've got a dual boot tablet that can run Android 5.1 and Windows 10. Both systems are available for download as .RAR files for flashing directly to the device.
I was wondering if there would be a way to convert the flashable Android ROM files to an ISO for installing onto a USB/Micro SD card, much like an Android x86 USB installation?
Alternatively, would it be possible to extract device drivers from the OEM Flashable ROM and add those to an Android x86 ISO?

Categories

Resources