Tool... Easiest way to unpack and pack a boot image - Samsung Galaxy J7 Guides, News, & Discussion

http://forum.xda-developers.com/showthread.php?t=2073775
Found it on the forums here and thought id share it.. its basically drag and drop and it does the rest.. ive used it a few times and it pretty easy to use.. i dont recommend just unpacking the modifying then repacking youre boot image if youre unsure of anything. But if you ever been interested in looking at the ram disk and kernel then this would be great for you..

Related

Overclocking....i need some help

Ok so on my adventure of overclocking the Eris i have ran into a bit of an issue.
I started with making a nandroid backup of my phone. this gives you system.img, boot.img, and data.img. I have successfully extracted everything from the image files except for one thing...the kernel.
I have taken the boot.img and split it up into the ramdisk and kernel and sorted through the garbage to get working directories and file structures.
I now have the ramdisk in a editable format but the /sys files are created from the kernel on boot and those are the ones i need to edit.
I have the kernel file on my computer, isolated, but i do not know where to begin on decrypting this jumbled mess. As far as i know it isnt compressed as i cant find magic numbers in the headers but this has baffled me.
Any devs out there wanna shed some light as i dont know much about android and i just started this yesterday.
Wait for HTC to give us the kernel source code
That would work if i had some patience. Any idea when we could get the source?

Extract *.img files on Windows

I've been wandering and wondering about my failed first ROM, and while I was looking for ressources, I found this:
http://android.modaco.com/content/a...es-inside-the-nandroid-img-file/#entry1745667
Unyaffs is used to extract *.img files, but it seems that it only works on Linux. So I searched and found this windows port. I think it can be useful: the 5 "similar threads" I am seeing right above this topic are questions on how to extract .img files
I menage to past that dbus error but after loading some modules i got cant init bnep module ...i give up for now
I think "yaffey" pretty much cover that dont u think??
Sent from my R800i using xda premium
are you also able to extract and repack kernel images with this tool? ??

sysMapFile TWRP Error - Custom ROM

Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Lawlrus said:
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Click to expand...
Click to collapse
Oh ok so I post in wrong place... I was..sure :crying: ...
Thanks!
casual_kikoo said:
Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
Click to expand...
Click to collapse
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
First of all, thanks you so much for your fast answer. Yeah, I know Windows isn't the easiest platform to start development. Well, I've already have Ubuntu installed on VMWare, I just took screenshots on Windows .
Ok, so if I understood well, update-binary file is created during the signing step? That's why it doesn't work right now, 'cause I don't signed my ZIP.... Yeah ok I start to understand !
I'm gonna download Android Kitchen (this one right?) and start cooking !
Again, thanks you so much dude you make me more and more enthusiast about creating ROMs on Android.

Extract, modify and repack stock rom?

Hey!
I really want to make a custom rom, a heavily debloated stock rom. At this stage I am not thinking about adding customization or anything just debloat the stock rom as much as possible, recompile it, and flash it!
I've searched everywhere on how to do this but have not found any relevant information.
COULD SOMEONE PLEASE POINT ME IN THE RIGHT DIRECTION?!?!?!
I have tried using sgs2toext4.jar to convert img.ex4 files from I9506 stock firmware and the mounting it in Linux Internals.
This does not work, as Internals does not show any files (0.00 bytes) even though the converted img.ext4.img file shows over 2.5gb in windows explorer.
How can I do this, what kind of tools do you DEVs use to extract, modify and finally repack it to a tar.md5 or flashable zip?
I am grateful for any response!
EDIT: Currently using windows 7 x64, I have access to a Linux/ubuntu if that is necessary. Also the device in question is I9506.
Regards,
mrd0pe

Deleted. Moderator attention wanted

Deleted.
turkkilainenpippuri said:
Hi!
I would like to create a boot animation that uses the basic J5 bootloop.
I would need you to convert the .qmg to .png and send to me. It's very simple with this app created by @xperiacle (Original thread). I would do it myself but the ROM used to convert the file must be either stock or stockish to work and I would lose so many settings, tweaks etc. by flashing stock and then back. As a reward I would of course hit the thanks button, send you the animation (if you please) and honor you as my savior for life! :angel: Also if you have an idea or reasonable preference(s) for the boot animation, I will make it happen.
Anyways here are the instructions stolen from the original thread (don't kill me xperiacle!):
"So just download the app(Qmg2Png), install, and pick an apk(Extract_this.apk) from sdcard and the app will extract the qmg resources and convert them to png format and saving them in the QMg2Png folder in the sdcard. The output folder retains the folder structure of the extracted apk."
Thank you in advance! Peace! :good:
Click to expand...
Click to collapse
If you want the stock boot animation then download the relevant firmware and pull it out of the system.img.
Please don't ask me to guide you how as there are plenty already out there.
ashyx said:
If you want the stock boot animation then download the relevant firmware and pull it out of the system.img.
Please don't ask me to guide you how as there are plenty already out there.
Click to expand...
Click to collapse
It's in the .qmg format. There is no other way to extract it that I know of. Bootanimation.zip? No problem. Qmg? Pain in the ass.
Edit: just to be clear the stock rom uses an encoding/decoding method for qmg files that don't exist in custom roms nor is it used by any other than samsung phones. But anyhow it is not the end of the world for me if I don't get it extracted. Then I just focus on some other ideas for animations.
turkkilainenpippuri said:
It's in the .qmg format. There is no other way to extract it that I know of. Bootanimation.zip? No problem. Qmg? Pain in the ass.
Edit: just to be clear the stock rom uses an encoding/decoding method for qmg files that don't exist in custom roms nor is it used by any other than samsung phones. But anyhow it is not the end of the world for me if I don't get it extracted. Then I just focus on some other ideas for animations.
Click to expand...
Click to collapse
It's in the stock system image. All you need do is extract it.
@ashyx You just don't get it.. I have already extracted it from the system img. I need to convert the qmg to png files to edit it. Read my posts more carefully to understand.
turkkilainenpippuri said:
@ashyx You just don't get it.. I have already extracted it from the system img. I need to convert the qmg to png files to edit it. Read my posts more carefully to understand.
Click to expand...
Click to collapse
OK let me ask you this?
What is preventing yourself from making a backup of your device with twrp which literally takes minutes, install the rom you require, do what you need and then simply restore?
@ashyx You are right but I don't want to flash any rom since when I do, I get this weird issue with my screen; I am unable to turn it off and it seems to be a matter of luck to get it working again. Thank you anyways! https://forum.xda-developers.com/galaxy-j5/help/screen-help-t3585090

Categories

Resources