[Q] Please repackage and Run the emulator file system(system.rfs.... - Android Q&A, Help & Troubleshooting

I also want to care about this issue. I have 1 rom, I pulled the file system, for example: system.rfs or system.img.ext4 or factoryfs.rfs. I added, customize the apk and want to put it back and want to be first to run the emulator software to check for errors before running
Core issues, problems I faced
1. how to repackage the system files that (system.rfs, system.img.ext4, factoryfs.rfs, system.img)
2. Using software to run the emulator

(Sorry for my very bad English)

Related

[Q] A few questions related to porting...

ok so im trying to port for the first time to a i5800.
Now i have Ubuntu and the disxda's kitchen in it.
I've got the boot.img , system.img, data.img, zImage and factoryfs.rfs of my phone with me.
Now my questions are:
1. would a Froyo init.rc work for the ICS?
2. When i try to mount the factoryfs.rfs of my phone, the aplications i tried to use always gave an error stating its not a valid CD image or somethingsimimlar(ive used UltraISO and MagicISO)
3. When i try to extract boot.img using disxda's kitchen, it says Android header not found in boot.img or anywhere in the boot.img and the kernel pagesize is 0.
4. i dont want an Update.zip instead i want it like a flashable rom(are they the same?)
Any help would greatly be appreciated.

[Q]Android SDK Emulator rooting/building system.img

Hey,
i have a problem with android sdk emulator. I want use it to test custom roms for i9001 but first i must root it and install custom recovery. The problem is i cant root it. I cant find guides how to root android 2.3.3 in emulator and those which i find doesnt work.
So i decided to extract the system.img. After one hour i found the tool unyaffs and extracted the system.img and added superuser and su. But my problem i doesnt find a tool which packs the system folder to system.img The only thing i founded was a ext4 tool with many files and where i must use some commands but cmd shows always some errors.
Is there any tool which can pack system folder to system.img which isnt so tricky ? Or any guide how to root android 2.3.3.
Many people in forums say that the roms in android sdk are prerooten or rather the terminal has root privileges but when i type in su terminal always show me the message: permission denied
Have you any idea what i can do
Has anybody a idea ?
nobody?
There's a post about modifying the system.img of the emulator here: http://malsandroid.blogspot.co.uk/2012/03/modify-emulator-systemimg.html
EDIT: Although I don't think you'll be able to install a custom recovery on the emulator. It doesn't have a recovery device.
but why in many posts they say that the emulator can ?play? custom roms. i dont know how i should write it.
In vielen anderen Posts wird beschrieben das es möglich ist eine custom roms im emulator zu installieren
I've never heard of anyone running custom ROMs with the emulator, but I assume if you were able to do it you'd replace the .img files with ones from the custom ROM, possibly slightly modified.
I also want to care about this issue. I have 1 rom, I pulled the file system, for example: system.rfs or system.img.ext4 or factoryfs.rfs. I added, customize the apk and want to put it back and want to be first to run the emulator software to check for errors before running
Core issues, problems I faced
1. how to repackage the system files that (system.rfs, system.img.ext4, factoryfs.rfs, system.img)
2. Using software to run the emulator
thinh182009 said:
i also want to care about this issue. I have 1 rom, i pulled the file system, for example: System.rfs or system.img.ext4 or factoryfs.rfs. I added, customize the apk and want to put it back and want to be first to run the emulator software to check for errors before running
core issues, problems i faced
1. How to repackage the system files that (system.rfs, system.img.ext4, factoryfs.rfs, system.img)
2. Using software to run the emulator
Click to expand...
Click to collapse
did you manage to sort it as im in same situation tried every were and dont seem to get any were with everything i found can get a basic emulator to work but cant get galaxy note 2 rooted stock rom to work any help would be usefull

[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!

[Q] Custom Firmware - Running SH scripts on boot

Hey there,
I am around 85% complete on a custom firmware I am developing on the amlogic platform for a new device I am working on.
The base firmware I have used runs sh scripts during boot - and upon shell launch. I have added what sh I want to run into the same directory with the same permissions as existing but mine won't run.
The sh files I need to run either during boot or as soon as boot has completed - simply unpack an tar archive files to a specific location.
Can anyone assist?
Thanks in advance
DA

[Q] Android system dump to emulator

Hi All,
I'm trying to launch a system dump in Android emulator. I have the dump itself ('boot_signed.img' and 'system' folder). If I am not mistaken, Android emulator requires system.img file and a couple of another .img files. As far as I understand, the dump should be packed somehow to get 'system.img' as an output. Could you please help me to clarify a solution of my problem? I use mac so I think the most part of linux tools is available for me.
Thanks in advance.

Categories

Resources