Source files for making own ROM image - MDA, XDA, 1010 Software Upgrading

Where can be obtained original default.reg and initobj.txt files or how to extract it from ROM image?
I want to make my own ROM image not based on a XDA Developers one, so I want unmodified these files.
Thanks,
McLEI

Related

Is it possible to remove Fire.tsk and Bliss.tsk?

I pretend to delete the files Fire.tsk and Bliss.tsk or its corresponding links so as not to appear in -Settings->Today->Appearance, but as they are in ROM I think It wouldn`t be possible.
if you can backup the rom to the computer and open it with the tools on this site and remove the files from the rom you dont want there and make it back into a rom and flash your xda with it
they would be gon
Bliss.tsk and Fire.tsk are ROM parts
As Fire.tsk and Bliss.tsk are in the ROM, you can extract them making dumprom, but you can't do the reverse proccess, so I think that you can't make a ROM from its parts.
Regards.
There is one way to overwrite them.
The solution is to make an auntoinstall program to copy fire.tsk and bliss.tsk in RAM, but it will ask you confirmation to overwrite them.
Regards.

status on rooting cliq

I found this on http://cliq-development.com/forums/viewtopic.php?f=5&t=13
hopefully this can help anyone who is trying to develop a way for root on the cliq.
To get where we are at in development you must learn about a few things
.SHX = A re-flashing file similar to a .nbh on the HTC brand. It is a full re-flash of everything on the phone, full stock. When extracted it creates three files the main one is the CG2
CG2 = A file extracted from the shx that hold the main partitions that will be flashed to the phone.
-----------------------------------------------------------------------------------------------------------------------
How to extract a shx
(http://modmymoto.com/forums/showthread.php?t=525344)
A developer by the name of Meiner Einer created a program named SbfRecalc. With this program we can extract three files and as i stated above the most important one is the CG2
How to extract a CG2
(http://modmymoto.com/forums/showthread.php?t=525477)
A developer by the name of Skrilax_CZ created a program named CG2 Parser. With this program we can extract all of the files within the CG2.
-----------------------------------------------------------------------------------------------------------------------
After you extract all of the files from the CG2 you will find that some of the names were similer to the partitions of the cliq. With a little file manipulation i recreated a boot.img and a recovery.img from some of the files. The guys over at modmymoto dumped a full system partition.
(http://android-dls.com/wiki/index.php?t ... oot_Images)
To recreate both the boot.img and the recovery.img just do these simple steps
1. Create a directory and put either bootsec.mbn or recoverysec.mbn from the CG2 dump inside it
2. Download the split_bootimg.pl from the link above and run it with the file in the directory to get both a kernel and a ramdisk file.
3. Using the mkbootimg from the android source code you can recombine the kernel and the ramdisk files to create your boot.img/recovery.img strait from the re-flash file
------------------------------------------------------------------------------------------------------------------------
With the system dump from modmymoto and my boot.img(+a little root) I created an update.zip file with root ready to be flashed when the keys are ready.
This is where we are at any help would be greatly appreciated.
Wow, nice work!
This could really so with a sticky...
Thanks for the update! The cliq goes hard. Once rooted its ova, best android phone on tmo!
Nice! It would be really great if you could repost this at android-devs.org over in the cliq development section of the forum
Since XDA is only for HTC phones and most people here most likely don't have the cliq and there really isn't a correct forum to have this posted in..
I'd reccomend using android-devs.org forums

Putting Custom Kernel into a rom

Hello, I am a developer for the Evo and i was curious how i would install a custom kernel (Netarchy-Toastmod) into my rom (Tha Boss Rom. So far i copied all the files into the appropriate folder but what do i do with the boot image. I tried flashing with the files in place but it did not take. Any advice?
KyleCole90 said:
Hello, I am a developer for the Evo and i was curious how i would install a custom kernel (Netarchy-Toastmod) into my rom (Tha Boss Rom. So far i copied all the files into the appropriate folder but what do i do with the boot image. I tried flashing with the files in place but it did not take. Any advice?
Click to expand...
Click to collapse
You probably should ask this in the EVO Android Development forum. However, since I'm here, I'll do my best.
The boot.img should be at the root of the folder structure.
../NewFolder/system
../NewFolder/META-INF
../NewFolder/boot.img
You then have to zip the CONTENTS of ../NewFolder and sign the resulting zip with something like EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=Extras).
Or you can just load the original ROM into dsixda's kitchen in the original_update folder (http://forum.xda-developers.com/showthread.php?t=633246), select '1' to create a work folder, copy the files into the correct locations, and then select '99' to zip and sign the ROM. It will then be in the OUTPUT_ZIP folder. The kitchen walks you through these steps really well, if you read the prompts.
Then flash the ROM.

[Q] Stock rom ?

Hi,
i would like to know how i could get my stock rom from my N4, like a .zip file. Because i tried nandroid, but i would like to modify the rom with the kitchen, and i don't know how to do if i don't have a zip file... Thanks !
AutruiP said:
Hi,
i would like to know how i could get my stock rom from my N4, like a .zip file. Because i tried nandroid, but i would like to modify the rom with the kitchen, and i don't know how to do if i don't have a zip file... Thanks !
Click to expand...
Click to collapse
You should be able to extract the boot and system images from Google's factory image.
https://developers.google.com/android/nexus/images#occam
I wasn't aware that the kitchen worked with the Nexus 4 as its still listed as one of the unsupported devices but the thread hasn't been updated since October of last year so maybe that changed.
this is copied from dsixda's kitchen thread (http://forum.xda-developers.com/showthread.php?t=633246 post #3):
How do I import a ROM into the kitchen to use as my base?
(The instructions below are for HTC devices in general. For other devices, please visit the appropriate thread.)
From a shipped ROM:
First, find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device's sub-forum).
This link may help: Various devices
Please don't ask me for links, as I don't know everything or own all devices.
The shipped ROM can be found in three different formats. Identify the type you have downloaded:
If the shipped ROM is in a .ZIP format, then simply copy it to the kitchen's original_update folder.
OR if the shipped ROM consists of system.img and boot.img files, then copy those two files to the kitchen's original_update folder. If the ROM also includes a lib.img (found in some newer HTC ROMs), then copy that as well!
OR if the shipped ROM is in an .EXE format, then do the following:
In Windows, run the shipped ROM's .EXE file till it gets to the first dialog. Stop there but don't close the window yet.
Go to Start->Run and type: %TEMP%
When the folder opens, search for Rom.zip (use the "magnifying glass" Search button)
Copy Rom.zip to your kitchen's original_update folder
OR from a cooked/custom ROM:
Copy the update.zip (or equivalent ZIP file) to your kitchen's original_update folder
OR from a Nandroid backup (under /sdcard/nandroid) [NOT RECOMMENDED FOR NON-STOCK ROM BACKUPS]:
Copy the system.img and boot.img files from the backup folder to your kitchen's original_update folder
Hm, i see. But the problem with the dev links for Google is that it's 4.2.2 and not 4.2.1... I would like to stay to an older version for the moment, with those problems with bootloaders, kernels etc... I will try with system and boot img, thanks !
Sent from my Blade S using xda app-developers app
Well, i tried to use the tutorial about shipped rom, but my system.img and boot.img files aren't recognized by the kitchen... So i don't know how to do Halp ?
In this thread you have posted link to factory image with android 4.2.1 http://forum.xda-developers.com/showthread.php?t=2145848
Great !! Thanks a lot eskeyy !

extraction of kernel form rom installation file

Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help
tomaasz said:
Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help
Click to expand...
Click to collapse
Hi,
Sorry for the delayed reply.
Can you be little more specific? Do you want to 1) extract the kernel (that is an "zImage") image or 2) simply the "boot.img"?
The second task is simple as you can simply copy the "boot.img" from the ROM zip. You can flash "boot.img" directly via twrp (no need to make flashable zip).
The first task, however, is bit complicated as it requires the use of some tools like mkbootimg or Android Image Kitchen to split the "boot.img". You can flash the obtained "zImage" by simply copying that into an existing anykernel based klte custom kernel. :laugh:
Feel free to contact me for any further clarification/help.
Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot
tomaasz said:
Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot
Click to expand...
Click to collapse
Hi, if you have a Linux, you can easily extract the zImage from the "boot.img" using mkbootimg (see previous comment for links). If you want me to do that job, feel free to send the "boot.img" of that mentioned ROM (I'll make a flashable anykernel zip file for you so that you can flash over any ROM).
Regarding the DualBoot, I really do not know...

Categories

Resources