Before everyone jumps on me for posting this in the dev section, let me please say that I did ask this in Q&A and all anyone could come up with was "do a nadroid backup." So, I am purposely asking in here now.
If there is a guide somewhere that could take me through the process, please post a link. If it's simple enough, post a quick walkthrough here for me, please.
I just want to make an odin-flashable backup of my entire phone that I can flash back to when I hose things up.
Any help is appreciated.
I tried to make one actually. It seems there is a problem when you try to write back to the phone. Odin will fail part of the way through. I've been trying to look through everything and figure out exactly what the issue is but theres not much odin documentation...
Sent from my Nexus One using XDA App
I just found this:
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
It's for the behold 2, which shouldn't really matter, but could make some difference (I think...), and is geared for making roms for distribution. What I'm after is actually a backup for personal use only.
(Edited to delete)
Aspeds2989 said:
Smh. The arrogance of some people. Wow. Just wow.
Click to expand...
Click to collapse
I'm not trying to start an argument or anything but why is that arrogant? I'm trying to think of how that could be construed as arrogant. I don't think it was a comment made in excessive pride or self-importance.
Also if he hadn't said that, he would have been bombarded with "wrong forum nub", and he already explained the "right" forum was no help.
BrandonB1218 said:
I'm not trying to start an argument or anything but why is that arrogant? I'm trying to think of how that could be construed as arrogant. I don't think it was a comment made in excessive pride or self-importance.
Also if he hadn't said that, he would have been bombarded with "wrong forum nub", and he already explained the "right" forum was no help.
Click to expand...
Click to collapse
+1 sir, +1
OP try changing the title to Think Tank instead of a Question, because this is a pretty good idea and yall are rounding up info on how it can be done. that way noone will bash you...well most people lol
speedysilwady said:
OP try changing the title to Think Tank instead of a Question, because this is a pretty good idea and yall are rounding up info on how it can be done. that way noone will bash you...well most people lol
Click to expand...
Click to collapse
Thanks for the tip... Noted and acted upon.
(Edited to delete)
Aspeds2989 said:
I used "arrogance" for lack of a better word, but damn.. You already posed a question and got back a ton of responses in another thread all saying to do a nandroid backup, but then u decide u don't like the only suggestion it seems anyone else could think of, so u "purposely" decide to violate forum rules simply to satisfy ur need.. Also, bluntly stating that you know its wrong but are doing it anyway is clearly an attempt at preventing being flamed by admitting to being guilty before anyone else could accuse u.. It just doesn't deserve a pass. Anyone else would've been flamed in the first reply.
Btw I'm not mad or trying to argue either, just trying to explain my previous post.
Edit:
The right forum was help, he just didn't like the responses/suggestions. I think what another user suggested would've been ok tho, to make it a think tank, other than that it doesn't belong in DEVELOPMENT.
Click to expand...
Click to collapse
Now that you've explained it, I do understand why you said it and I do agree with it. I'm not excusing it or anything, but I will say that the Development forum seems to be a lot more helpful than the other Vibrant forums I've been to.
On topic, I would definitely like to see a custom ODIN backup.
I really don't see what is arrogant about my posting here. I asked in Q&A and all anyone could offer was: "Do something other than what you are asking how to do." If I wanted to know about doing a nandroid backup, I would have googled it. Believe me when I say that I have searched and searched and searched, and the documentation specific to what I am trying to accomplish is rare if it even exists. So, I am posing my question to an area of people who generally are more knowledgeable about such things. I even took the initiative to post something that might be helpful.
To make a Custom ODIN, all you have to do is edit the system how you would like it.. Then dd the system image like this
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
Click to expand...
Click to collapse
Next you will need a utility called Cygwin if in Windows, not needed for linux..
Command would be like so..
tar --format=ustar -cf JPK.tar factoryfs.rfs cache.rfs zImage
Click to expand...
Click to collapse
This is an example if you have the system / cache / zImage
Eugene, I wanted to try this and the .tar file was created successfully but is it ok if I get these warnings/errors when creating the JPL.tar?
$ tar --format=ustar -cf JPK.tar factoryfs.rfs cache.rfs zImage
tar: cache.rfs: Cannot stat: No such file or directory
tar: zImage: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
frankencat said:
Eugene, I wanted to try this and the .tar file was created successfully but is it ok if I get these warnings/errors when creating the JPL.tar?
$ tar --format=ustar -cf JPK.tar factoryfs.rfs cache.rfs zImage
tar: cache.rfs: Cannot stat: No such file or directory
tar: zImage: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Click to expand...
Click to collapse
I'm guessing a similar command needs to be run for each type, but not sure what it is... damn curious. Would be great to Odin back to my current ROM state via Odin and not back to JFD, Kies update to JI5.... lol just flash and done.
Starting to see how apk files are structured as well... might make a dev outta me yet! Least a "MOD"...
frankencat said:
Eugene, I wanted to try this and the .tar file was created successfully but is it ok if I get these warnings/errors when creating the JPL.tar?
$ tar --format=ustar -cf JPK.tar factoryfs.rfs cache.rfs zImage
tar: cache.rfs: Cannot stat: No such file or directory
tar: zImage: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Click to expand...
Click to collapse
You have to define you export path to the folder you are putting the images into
eugene373 said:
You have to define you export path to the folder you are putting the images into
Click to expand...
Click to collapse
How do you generate the zImage and cache.rfs files?
Edit: Reading the wiki...
Edit Edit: That was wrong as well.
Making a zImage:
dd if=/dev/block/bml7 of=/sdcard/bml7.img
mv bml7.img zImage
tar --format=ustar -cf kernel-vibrant-version.tar zImage
md5sum -t kernel-recovery-vibrant-version.tar >> kernel-recovery-vibrant-version.tar
mv kernel-recovery-vibrant-version.tar kernel-recovery-vibrant-version.tar.md5
Making a factoryfs.rfs:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
Any ideas on how to make dbdata.rfs param.lfs cache.rfs and modem.bin dumps?
eugene373 said:
To make a Custom ODIN, all you have to do is edit the system how you would like it.. Then dd the system image like this
Next you will need a utility called Cygwin if in Windows, not needed for linux..
Command would be like so.. This is an example if you have the system / cache / zImage
Click to expand...
Click to collapse
Eugene, thank you for your help. Quick question: Is that first command from an adb shell?
I have cygwin installed, and hope to try this out soon.
jereader i take back what i said about just using nandroid, it was my inexperience with Odin....messed with it more today.
Now to try to make an Odin backup
inverseflux said:
How do you generate the zImage and cache.rfs files?
Edit: Reading the wiki...
Edit Edit: That was wrong as well.
Making a zImage:
dd if=/dev/block/bml7 of=/sdcard/bml7.img
mv bml7.img zImage
tar --format=ustar -cf kernel-vibrant-version.tar zImage
md5sum -t kernel-recovery-vibrant-version.tar >> kernel-recovery-vibrant-version.tar
mv kernel-recovery-vibrant-version.tar kernel-recovery-vibrant-version.tar.md5
Making a factoryfs.rfs:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
Any ideas on how to make dbdata.rfs param.lfs cache.rfs and modem.bin dumps?
Click to expand...
Click to collapse
Where is the wiki you are reading this from? I would definitely like to check it out.
jereader said:
Where is the wiki you are reading this from? I would definitely like to check it out.
Click to expand...
Click to collapse
I would really love to know how these dumps are done. It's one piece of this that prevents me from starting to break my own/other peoples stuff for fun. I can see the device names in that wiki, but unknown as to what i need to run against it to image that data.
Sorry for the screwy URL, to new to post them...
forum[dot]xda-developers[dot]com/wiki/index.php?title=Samsung_Galaxy_S_Series
Related
Here's what I got so far:
K12K (256/500hz) Speedmod Kernal (zImage file)
cygwin and 7-zip installed
Un-tarred JL2 rom
SU/Superuser.akp/Busybox install files
Magic-iso
I keep having to reflash, re-root then apply the speedmod when I'm done which is becoming a pain in the butt as I'm testing out every rom on the site I always wanna start from basic scratch
I'd like to:
use magic iso and combine all my root files into into the factoryfs.rfs
use the zImage from Speedmod so I have CWM included
Is this possible?
I know where to put the zImage and howto combine them together with tar in cygwin:
tar -H ustar -c image_1 [image_2 ...] > your_odin_package.tar
md5sum -t your_odin_package.tar >> your_odin_package.tar
Then I can use that in odin. I was looking around, and aside from the "howto cook your own from" I don't see where I can put the "root" file to install busybox allowing the rest of it.
Can anyone tell me if it's possible to do this?
Thanks.
Found where to change the updater-script, had to open cache.rfs in magic iso, extract sec_csc.zip, open that with 7-zip, edit the updater script for su/busybox and calling busybox install
Flashing now, just in case I hope it dont brick lol
windraker said:
Found where to change the updater-script, had to open cache.rfs in magic iso, extract sec_csc.zip, open that with 7-zip, edit the updater script for su/busybox and calling busybox install
Flashing now, just in case I hope it dont brick lol
Click to expand...
Click to collapse
Resulting tar is 288 mb >.>
failed unsigned /cry
Belongs in Q&A...
sorry I thought it might fall in here, can an admin please move this? thanks
failed unsigned /cry
Sign it .
jje
Ill have to look that up then thought im not sure what failed. it might be the sec.zip file though.
Sent from my GT-I9000M
Hey guys.
Today I flashed JVT via ODIN resulting in no signal and no IMEI - /efs seems kinda empty. But clever me has got a backup of my /efs files. I made it with
busybox tar zcvf /sdcard/efs-backup.tar.gz /efs
which created a tar.gz with all attributes like permissions and owner. Since I'm an absolute ubernoob with tar archives and I don't know how to make it work again I'd really really really appreciate any help with restoring it.
Thanks in advance!
-
Solved it by myself. Some mod could close this thread now.
need to read until the end
frenetico said:
Hey guys.
Today I flashed JVT via ODIN resulting in no signal and no IMEI - /efs seems kinda empty. But clever me has got a backup of my /efs files. I made it with
busybox tar zcvf /sdcard/efs-backup.tar.gz /efs
which created a tar.gz with all attributes like permissions and owner. Since I'm an absolute ubernoob with tar archives and I don't know how to make it work again I'd really really really appreciate any help with restoring it.
Thanks in advance!
-
Solved it by myself. Some mod could close this thread now.
Click to expand...
Click to collapse
hey my friend. how did you solve that issue. i have an exactly same issue with my gs2 and i have efs backup. but unfortunately i dont know how to restore it. can you please help.
Hi Everyone
Im trying to apply the terminal patch for the webtop. I updated my bionic to 902. im rooted and running eclipse 2.1 and just recenlty purchased a lapdock. i am trying to apply the webtop hack to enable the terminal and i am getting the fiolowing error
[email protected]:/osh# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
tar: /mnt/sdcard-ext/mbm.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
I have the MBM.tar file on my sdcard not the internal memory. i have also tried naming the file to make sure i didnt need to have .bz2 as the file extension. has anyone been able to apply this on 902? i had another bionic that i was able to push this to but that one was on 901 with a diffrent download of the file before megaupload wnet down.. i have also tried to fxz back to 5.5.893 and i still get this same error.
Below i have posted the full set of commands i ran in ADB to see if maybe i did something wrong.
[email protected]_targa:/$ su
su
[email protected]_targa:/# /bin/bash
/bin/bash
bash: groups: command not found
bash: lesspipe: command not found
[email protected]:/# source /ipath.sh
source /ipath.sh
bash: /ipath.sh: No such file or directory
[email protected]:/# source /upath.sh
source /upath.sh
[email protected]:/# cd /osh
cd /osh
[email protected]:/osh# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
tar: /mnt/sdcard-ext/mbm.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[email protected]:/osh#
Someone posted in the dev form that this works on 902. i think the file im using from http:slash slash sandbox.mindcrime.net slash ?p=137 is bad? is anyone able to verify that this file is working?
so they edited the post at the link i posted if anyone need to run this file they need to run tar xvf /mnt/sdcard-ext/mbm.tar
take the j out because it is not a bz2 file. this comes from the site i hope this helps anyone who has this problem.
I have been having the exact same problem. I downloaded the same file from mind crimes and it wasn't a bz2 file. I used 7-zip to convert it then ran again but got this:
tar: ignoring unknown extended header keyword 'SCHILY.dev'
I will download the original file again and rerun with out the j in the command and report back...hopefully this is it.
I have still not been able to get mbm.tar to apply successfully. I reformatted my sd card redownloaded the file from the site above... Does anyone have a different mirror for the webtop patch (mbm.tar)?
Sent from my DROID BIONIC using xda premium
i was not able to get the TAR working i thought i did but i bricked my webtop. i didnt have webtop to sd properly configured. i found a version of the file in one of my backup locations it is the mbm.tar.bz2 file. i can upload it if someone gives me a good location to upload it.
This is a link to the mbm.tar.bz2 file that works for me. Please let me know if this link does not work, it's to my dropbox. http://db.tt/fuEKeYDs
A word of advise so you dont brick the webtop like me. make sure to erase the webtop on your sdcard and remake it if you have tried the mbm.tar file. i bricked mine by running that tar file then running the bz2 file at a later time.
I got a bit overzealous and excited...What process did you use to get webtop back working again so you could use your mbm patch? Do i jut need to go through the webtop2sd process again through the app?
---------- Post added at 02:56 AM ---------- Previous post was at 02:19 AM ----------
Do you also have the webtop restore that was in the original post but was also a megupload download? The mindcrime mirror doesnt have that link.
i used the 902 fxz that is floating around to fix my webtop. it will bring you back to stock. it will wipe everthing but your sdcard.
But if you did not mess up your internal webtop then just redo the webtop to sd process. you should not need to repartition the sd card.
I used the same thing and reflashed with RSD Lite and got back to stock. Just got through the webtop2sd and im about to run the mbm.tar file again you posted.
squito said:
This is a link to the mbm.tar.bz2 file that works for me. Please let me know if this link does not work, it's to my dropbox. http://db.tt/fuEKeYDs
Click to expand...
Click to collapse
First, thank you. this what i need to contiune my quest with webtop mods!
Second, does anyone have any suggestions on reliable mods?
good question. Any suggestions?
Can't get the webtop to show up
Hey, sorry to interrupt. I did the webtop2sd, busy box, etc. My final step was the "mount -o remount, rw /" command. I cannot get webtop to boot. Here's the funny thing. One time, it did boot, but it was just a mirror of my phone. No mouse or trackpad. Some of the other attempts give me the Moto "M", but most are just blank screens, getting brighter until they hit the screen's normal brightness. I'd love to get this working, rather than flashing back in defeat, but I need help. Thanks!
Is there someone who can make a tar file flashable with odin? PM me please if you have that knowledge. I know it requires Linux which I do not wish to install. Thanks in (S) Advance
bobfrantic said:
Is there someone who can make a tar file flashable with odin? PM me please if you have that knowledge. I know it requires Linux which I do not wish to install. Thanks in (S) Advance
Click to expand...
Click to collapse
You can use cygwin
Sent from my GT-I9070 using xda app-developers app
frapeti said:
You can use cygwin
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Oh really, cool. I searched google for a nice clear tutorial and found a few but didn't explain how to with Cygwin. Like where to put the file I want to add to an odin flashable tar. If you know of one it will be greatly appreciated.
bobfrantic said:
Oh really, cool. I searched google for a nice clear tutorial and found a few but didn't explain how to with Cygwin. Like where to put the file I want to add to an odin flashable tar. If you know of one it will be greatly appreciated.
Click to expand...
Click to collapse
I guess you just need to 'tar' it and then 'md5sum kernel.tar >> kernel.tar', just type 'tar' in the cygwin shell and you will get some help on how to use it
Sent from my GT-I9070 using xda app-developers app
frapeti said:
I guess you just need to 'tar' it and then 'md5sum kernel.tar >> kernel.tar', just type 'tar' in the cygwin shell and you will get some help on how to use it
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Nope you need to tar -H ustar to make odin flashable
KINGbabasula said:
Nope you need to tar -H ustar to make odin flashable
Click to expand...
Click to collapse
I don't see any H flag, and that's not necessary, just use tar -cf kernel.tar kernel.bin.md5, Odin packages are just tar's with the md5sum at the end.
There is also a tar.exe binary built for windows already, Google it
Sent from my GT-I9070 using xda app-developers app
frapeti said:
I don't see any H flag, and that's not necessary, just use tar -cf kernel.tar kernel.bin.md5, Odin packages are just tar's with the md5sum at the end.
There is also a tar.exe binary built for windows already, Google it
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Yep i use the tar binary for windows
KINGbabasula said:
Yep i use the tar binary for windows
Click to expand...
Click to collapse
:0
Sent from my GT-I9070 using xda app-developers app
Ok, thanks for the information. What I have is an odin flashable tar that changes the first screen to say Samsung SII lite GT-I9070. Found it on a Brazilian site. What I want to do is to make another one with the S Advance splash out of the param.lfs.md5 in an original firmware. I want to do this so people have a choice of what their phone will show when they boot up. Just a fun thing cause I like my phone showing that (see attached pic)
Where to put that param file to tar and make into odin flashable file is where I am stuck LOL. I have my Cygwin setup for the kitchen right now if that makes any difference.
Just do tar -H ustar param.lfs.md5 param.tar and then md5 and flash via Odin. Odin knows where to flash automatically
Sent from my GT-I9070 using Tapatalk 4 Beta
KINGbabasula said:
Just do tar -H ustar param.lfs.md5 param.tar and then md5 and flash via Odin. Odin knows where to flash automatically
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Do I put the param.lfs.md5 in the same folder that the kitchen is or somewhere else within Cygwin ?
I just need to know where to put the file please. If there is a clear tutorial share it if you can. Thanks in advance. I have searched and failed...
Sent from my GT-I9070 using xda app-developers app
bobfrantic said:
I just need to know where to put the file please. If there is a clear tutorial share it if you can. Thanks in advance. I have searched and failed...
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
1.Download tar.exe (you can find it googling)
2.Download md5sum.exe (google too)
3.Run cmd
4.Put param.lfs.md5, tar.exe, md5sum.exe in the same folder
5.Do this: tar -H ustar -c param.lfs.md5 > param.tar
6.Do this: md5sum -t param.tar >> param.tar
7.Do this: rename param.tar param.tar.md5
8.Check you did all correctly
9.Flash through odin
Sent from my GT-I9070 using Tapatalk 4 Beta
Pay attention!!! This isn't just like changing SystemUi.apk, this is the bootloader. If you do something wrong editing the param.lfs and you flash it you can say goodbye to your phone
Sent from my GT-I9070 using Tapatalk 4 Beta
Ok thanks for the info. I followed your instructions to the letter (copy and paste) I had to change the -H to -h then I got the file into the tar but the md5sum didn't work. here is the text:
C:\Program Files\GnuWin32\bin>tar -H ustar -c param.lfs.md5 > param.tar
tar: invalid option -- H
Try `tar --help' for more information.
at this point I changed -H to -h
C:\Program Files\GnuWin32\bin>tar -h ustar -c param.lfs.md5 > param.tar
tar: Cannot add file ustar: No such file or directory
tar: Error exit delayed from previous errors
Not sure what it means that it cannot add file ustar, but after the above the param.lfs.md5 was in the tar. mode is -rw-rw-rw
C:\Program Files\GnuWin32\bin>md5sum -t param.tar >> param.tar
md5sum: invalid option -- t
Try `md5sum --help' for more information.
mode didn't change after this part tho and I think it should be something like 0rwxrwxrwx
I am aware of the danger of a brick LOL but I am very very cautious and it isn't the param.lfs.md5 I am editing, just trying to make it in an odin flashable tar. But at least I am farther than before, so thank you for your assistance to this point
bobfrantic said:
Ok thanks for the info. I followed your instructions to the letter (copy and paste) I had to change the -H to -h then I got the file into the tar but the md5sum didn't work. here is the text:
C:\Program Files\GnuWin32\bin>tar -H ustar -c param.lfs.md5 > param.tar
tar: invalid option -- H
Try `tar --help' for more information.
at this point I changed -H to -h
C:\Program Files\GnuWin32\bin>tar -h ustar -c param.lfs.md5 > param.tar
tar: Cannot add file ustar: No such file or directory
tar: Error exit delayed from previous errors
Not sure what it means that it cannot add file ustar, but after the above the param.lfs.md5 was in the tar. mode is -rw-rw-rw
C:\Program Files\GnuWin32\bin>md5sum -t param.tar >> param.tar
md5sum: invalid option -- t
Try `md5sum --help' for more information.
mode didn't change after this part tho and I think it should be something like 0rwxrwxrwx
I am aware of the danger of a brick LOL but I am very very cautious and it isn't the param.lfs.md5 I am editing, just trying to make it in an odin flashable tar. But at least I am farther than before, so thank you for your assistance to this point
Click to expand...
Click to collapse
Lol you can't change -H to -h. It's different and it's because you have error ustar. For me it always worked
Sent from my GT-I9070 using Tapatalk 4 Beta
KINGbabasula said:
Lol you can't change -H to -h. It's different and it's because you have error ustar. For me it always worked
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
LOL what a dolt I am. was doing it with the windows cmd and not the Cygwin... will try again now, report back...
bobfrantic said:
If you can, post the tar and md5sum files you use. I may not have got the right ones. before changing the H the file didn't go into the tar file. but did after changing it. hmmm
Click to expand...
Click to collapse
Are you using Cygwin? If yes use cmd
Sent from my GT-I9070 using Tapatalk 4 Beta
KINGbabasula said:
Are you using Cygwin? If yes use cmd
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I am now LOL see edited post :cyclops:
bobfrantic said:
I am now LOL see edited post :cyclops:
Click to expand...
Click to collapse
Lol now i give you links to tar and md5sum
Sent from my GT-I9070 using Tapatalk 4 Beta
I've been a member of the Galaxy S3, S4, Galaxy Tab 4 8.0 and now I'm proud member of the Galaxy S6 Gcommunity..
I'm a modder and I have been having a lot of trouble with decompiling and extracting the system.img..
All my old methods will not work like ext4_unpacker...
I've been looking at youtube videos among other things and came up empty..
All I need is a point in the right direction and I can do the rest..
BTW I have the Samsung G920T 128 gig model..
I've tried so many old methods, this is a new device.. I'm likely to be ignored...
But I'd appreciate the help
I dont know much about that stuff but have seen this mentioned before. http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
Really depends on who ya ask for help bro..............
The Sickness said:
Really depends on who ya ask for help bro..............
Click to expand...
Click to collapse
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Alarand said:
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Click to expand...
Click to collapse
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Zaphodspeaks said:
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Click to expand...
Click to collapse
Thanks man.
Alarand said:
Thanks man.
Click to expand...
Click to collapse
I'm just passing it on.. It was @The Sickness that pointed me in the right direction..
alternative solution for img extraction/fix here
How do you compile it? That way its back into a Odin compatible system.IMG?
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
You use Winrar to zip it up with the appropriate file structure and flash in recovery. That's if you extracted files from the image.
For a tar, follow this....
http://forum.xda-developers.com/showthread.php?t=2665283
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
For remaking system.img you do need make_ext4fs:
make_ext4fs -s -S file_contexts -l <system size> -a system system.img /directory/to/system/folder
System size can be found by dh command
File_contexts should be extracted from kernel ramdisk