[Request] need some help info - Galaxy S III Mini Q&A, Help & Troubleshooting

Hello i searche on internet for tool can unpack and repack .IMG files i use kitchen de decompile but for repack all tut find are on linux i dont have linux perhaps have tool work with cygwin want to share my rom and root it but need unpack put su /xbin and .apk in /apps also i gona to deodex it thank for every one in advance

Related

Extracting files from KDZ

HI,
I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?
Thanks
ballandbiscuit said:
HI,
I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?
Thanks
Click to expand...
Click to collapse
How you extracted KDZ?
Why don't you get it from the sapps module zip on void's rom?
I need a particular app from the Orange UK ROM - the app is called Signal Boost and it is for UMA calling.
Is that app in the ROM you mention?
What you need is this: http://forum.xda-developers.com/showpost.php?p=6303911&postcount=827
It allows you to decompress system.mbn (where all the files are).
Compile it under linux, or use cygwin.
Remember that official ROMs are odexed. If you want to deodex apks, you can use dsixda's excelent kitchen. It is used to make lots of ROMs you see around here.
For that, take a look here (you can also use it under cygwin):
http://forum.xda-developers.com/showthread.php?t=633246
If you understand portuguese, or use a translator, check these:
http://www.androidpt.com/index.php?option=com_kunena&func=view&catid=97&id=91547&Itemid=30
http://www.androidpt.com/index.php?option=com_kunena&func=view&catid=97&id=97416&Itemid=30
Most info was gathered from xda forums, only translated and organized to portuguese folks.
Many thanks, I will see if I can get anywhere with this.
You just need to compile unyaffsmbn (gcc unyaffsmbn.c -o unyaffsmbn).
Then copy system.mbn to unyaffsmbn folder. Then do:
./unyaffsmbn system.mbn
You'll have all files extracted in few seconds.
Then if you want to use those files in kitchen, do this:
First install kitchen, as explained in link i posted above.
Delete all symlinks in bin/ (i think there are 52)
Then you must create a zip file with this structure:
/boot.img
/system/ (here you put all the files you extracted. You should have 10 folders and 1 file)
Now just copy this zip to PATH_TO_KITCHEN/original_update/
Then run it with:
cd PATH_TO_KITCHEN
./menu
Right I have three system.mbn files named:
system.mbn_0
system.mbn_1
system.mbn_2
I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73
I then tried another version which didn't error but also didn't do anything!
A different tool errored with "the header states that its binary is longer than the whole file" which makes me think perhaps these three files need combining into one?
I have tried combining them into one file using the copy /b command in Windows which creates a single large file but I still have the same issues trying to unpack it.
Any more ideas? Thanks
Right have now installed Cygwin and managed to extract the files using unyaffsmbn! Thanks for all your help, learnt a lot today!
Right I have three system.mbn files named:
system.mbn_0
system.mbn_1
system.mbn_2
Click to expand...
Click to collapse
How did you decompress kdz? I use LG Utils to extract to dz, then dzdecryptor to decompress dz to individual files. Then i use the tools i named to do the rest of it.
Also i can see that lg utils finds those system*, but puts them together before it ends. Maybe you used different software.
Anyway, i'm glad you managed to work it out
I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73
Click to expand...
Click to collapse
There is unyaffs, and unyaffsmbn. unyaffs also never worked with me.
I've read somewhere that with lg roms we must use unyaffsmbn. Don't remember were i saw it, neither why...
I used LG utils to extract the KDZ, then used DZExtract to expand the .dz file. Then I combined the system.mbn_0,1,2 files using copy /b.
I then used Cygwin and gcc to make unyaffsmbn.exe which then worked on the combined system.mbn file. Managed to get the apk I needed too.
PLease upload unyaffsmbn.exe for me please as i seriously need it.
Here you go...

[Q] How to edit....

Hi everybody,
I have a small and simple question : how to edit xml files (I know I can use notepad but it doesn't work :crying and another one if I recompile an apk as zip file and then I change zip extansion to .apk will it work ??
Ann I think it's the last one how to open .img file on linux ?? all appps cannot mount cause it's not iso etc...
Hope you'll answer :good: :good:
1- use notepad+ or notepad2. Or gedit or geany on linux.
2- u cant. No such thing as compile as zip.
3- using mount. But that depends on filesystem format supported by kernel. Eg:
su
mkdir /mountpoint
mount /path/to/file/filename.img /mountpoint
If its system.img or som other img which cannot be extracted using poweriso,etc, you will need unyaffs or cygwin
Ok thanks a lot
Sent from my GT-S5830 with Tapatalk

Tweaking rom - begginer question ;)

Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
it can be opened with Diskinternals Linux Reader. if not. use "sgs2toext4.jar" to convert it to .img.ext4 and then open it
Nihiliu said:
Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
Click to expand...
Click to collapse
Everything for theming is in the System folder. All the APK's(Applications) Boot.img is probably the recovery image it installs. But to theme you would need to decompile the apks in the system folder
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
I don't know much about S2 but can't you just use 7zip to make it an archive and flash it through rrecovery?
"Anger and intolerance are the enemies of correct understanding." -Mahatma Gandhi
Nihiliu said:
How can i extract this system.img ?
Click to expand...
Click to collapse
Hi. You can use dsixda's Android Kitchen for that.
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
You can pack them with the android kitchen, install the zip, then you do this in terminal emulator to make the system.img file:
Code:
su
cat proc/mounts
now look up the system partition, in my case it's mmcblk0p14
Code:
dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img BS=4096
This will dump the system partition to system.img (for example when making an odin image)

[Q] Odex rom from pc.

Hey guys,i didnt find a tutorial so i will ask you here.How can i download a rom and odex it from pc before i flash it?Because its not easy to odex every rom i download with universal odex script.Im too lazy to do this(and many times terminal print errors and i have to do this again).I know it could be happen cause many of you create roms and upload which already are odexed!Thanks guys for your help!
I found solution from alin.p. So here is a nice tutorial:
You have to flash it de-odexed first, then odex whatever part of your system you want with the Universal Odex Script which you'll find in the Mini forums, then extract the odex files from:
1. /system/app if you odexed system apps
2. /system/framework if you odexed the bootstrap or the framework
Put the extracted files inside the zip in the appropriate folders.
A little warning here: even a single (no matter how little) change inside the framework code, will break the whole ROM if it is odexed.
where do i find the script need it link please
[email protected] said:
where do i find the script need it link please
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2527268

Extract Boot.img failed

Hello,
I search to unpack the boot.img to change files but impossible, I tested all, no program can unpack ... could you pleased help me ?
Thank you in advance.
The RAZR I one? Look in the development section. It will extract it very easy.
Sent from my XT890 using xda app-developers app
I don't find thé hex dump tool ans didn't understand the tuto..
Search in the dev section for:
Unpacking RAZR I boot.IMG from turl.
Our boot image isn't the same as others. There is no way u can extract things without the needed files. If u can't do anything with the topic about the boot.IMG in the dev section, I can't help u.
Sent from my GT-P5110 using XDA Premium HD app
I have find this.. But i don't understand what is the ''tool'' when you use...
can you give me all the URL of files and tool and... For editing the boot.img please ?
Thank's..
Up...
The only way (as far as i know) to unpack a boot.img from the Razr I is to use an linux powered PC. The tools in the topic that are provided need to be build first. And for it to build u need a linux (ubuntu) operating system. I will upload (when i have the time) my tools to unpack and repack the boot.img with a description on how to use them, but they only work on linux.
p.s. don't bump the post if it isn't answered in 1 day. Sometimes someone that will reply isn't online or is doing other things and didn't noticed it. If it were 3 or more days, oke. Just my opinion
Hazou
Bootimage tools
Here u go. My bootimage extract and pack package. It only works on linux. See the zip, and extract it somewhere in your linux distribution.
Instructions:
1. Put a boot.img in the root of the extracted bootimage packages (where the folders Ramdisk, Bootimage, Kernel, Tools are)
2. Execute the file extract.
3. Kernel can be found under the map kernel
4. Ramdisk can be found under the map Ramdisk/ramdisk
5. Modify your things
6. Pack the files by executing create.
Notes:
In the map Bootimage is a bootstub (bootold.img) needed for rebuilding the boot.img and some old scripts
In the map Kernel will be the extracted kernel. The file bzImage will always be used for rebuilding.
In the map Ramdisk will be the extracted ramdisk in the map ramdisk. The map 'ramdisk' will always be used for rebuilding,
In the map Tools will be the tools needed for extracting and creating.
If u have some questions about this tool, ask!
Credits to Turl1 for the tools
Hazou

Categories

Resources