Hi all,
I need to make a CwM flashable .zip, but I don't know how. All I need to do is replace a few files in the /system/lib/ folder. Can anyone help me? I've been looking all over XDA and Google, but I just can't seem to find help for exactly the problem I have.
put whatever files you want on your phone and move them to wherever with root explorer ?? easier than making a zip to flash them instead
kyle51 said:
put whatever files you want on your phone and move them to wherever with root explorer ?? easier than making a zip to flash them instead
Click to expand...
Click to collapse
like that answers the OP's question....
@OP here:
http://forum.xda-developers.com/showthread.php?t=936175
http://forum.xda-developers.com/showthread.php?t=994940
http://www.synfulgeek.com/main/inde...d-off-of-kernel-source-code&catid=57:articles
http://spblinux.de/2.0/doc/commands.html
and of course you'll need some linux knowledge.
http://www.wikihow.com/Learn-to-Use-Linux
saw this before create thread.. linux not same as windows rite? i m new and confuse with those command
Anyone know how to do it? I tried google but didn't get the correct info. Any info is welcomed.
If I helped, give thanks, if you please.
........Death before dishonor........
is it nandroid backup ?
I think there are two kinds of backups- yaffs and ext3/4 images. I think most of the more recent recovery versions have switched to ext3/4 or tar.
Overall, the procedure would be to extract the data and then pack it into a zip.
The yaffs images can be extracted using unyaffs- google for the source. The ext3/4 images can be mounted using the loop option "mount -o loop path/to/image path/to/mountpoint"
At this point, you'll have the extracted image on your computer. Arrange it into a zip and be sure to update the updater-script. You will most likely have to fix some of the permissions, which you can see from another updater-script or look at the running rom. I'm not sure if you can rely on the permissions from the yaff/loop image.
This is a pretty high level overview- you'll have to fill in the details.
That seems a bit over my head, maybe in time I'll be able to do it.
If I helped, give thanks, if you please.
........Death before dishonor........
Why do you need to convert the backups into flashable zips?
sashank said:
Why do you need to convert the backups into flashable zips?
Click to expand...
Click to collapse
There's some icon png files I want to change, they way I do it is different.
If I helped, give thanks, if you please.
........Death before dishonor........
Is it something that you can push with adb? If you are only changing a few files, then adb push will be fine.
You could extract them from a backup files with the unyaffs or mount commands I listed above.
gee one said:
Is it something that you can push with adb? If you are only changing a few files, then adb push will be fine.
You could extract them from a backup files with the unyaffs or mount commands I listed above.
Click to expand...
Click to collapse
Using adb is possible, but I'm not so good with it. I have an idea of what the command would be. I just prefer being able to see the outcome my self, do I can verify it.
If I helped, give thanks, if you please.
........Death before dishonor........
try this:
before:
adb shell ls -l /path/to/your/target
push:
adb push /your/files/on/your/computer /target/on/your/phone
after:
adb shell ls -l /path/to/your/target
this will show you size and creation date changes so you can verify that it worked.
If you are really paranoid, you can use "adb shell md5sum /path/to/your/target" instead to verify the md5 hash. You have to have the md5sum binary installed- I think it's usually installed via busybox.
I'll keep that in mind, but there's still one issue. I need to knew the exact file name, the main icon.png file differs per apk
If I helped, give thanks, if you please.
........Death before dishonor........
got it- you're trying to change the icons for the apks. I don't know much about theming, but you might be able to use a script to update the apk/zip- something like zip -u email.apk /res/blah/mdpi/icon.png
Although I'm not 100% sure that you can update zips in the rom. I think some versions of busybox/toolbox are capable.
Normally I do it though 7zip,with a ROM that I already have on my sdcard. That why I wanted to create a flashable from a back up. I could try adb though
If I helped, give thanks, if you please.
........Death before dishonor........
Hey guys,
Does anybody know what commands the ClockWorkMod recovery uses to generate backup images? Like when you browse to your /mnt/sdcard/Clockworkmod/backups/ directory and see your *.img files, what command is used to generate that file? I know in linux you can use dd and cat (block partition) > *.img and that would generate it, but i want to know the exact command used by ClockWorkMod recovery.
Thanks all for your time!
ANSWER: mkyaffs2image
Bumpy bump bump bump :/
HELOO!?!?!?!?!!??
I take it you're looking to replicate the functionality of the nandroid backup? If so this thread contains a script to do so.
If you want to find out for some other reason, I suggest you examine the script and/or CWM source files.
Bloved said:
I take it you're looking to replicate the functionality of the nandroid backup? If so this thread contains a script to do so.
If you want to find out for some other reason, I suggest you examine the script and/or CWM source files.
Click to expand...
Click to collapse
THANK YOU VERY MUCH FOUND MY ANSER
mkyaffs2image is the command used to generate an image file from your partitions thanks! no i can make my app
Hi, I've gathered some resources for creating my Touchwiz 4.0 rom but I need to know how to make a flashable zip from a nandroid backup of /system.
How would I do this?
Another question while I'm here.. I get this error when using kitchen: Imgur Link , any suggestions?
DamnTarget said:
Hi, I've gathered some resources for creating my Touchwiz 4.0 rom but I need to know how to make a flashable zip from a nandroid backup of /system.
How would I do this?
Another question while I'm here.. I get this error when using kitchen: Imgur Link , any suggestions?
Click to expand...
Click to collapse
You don't need nandroid backup
Just need /system partition
Connect your device to PC
Go to platform-tools folders where you have installed adb.
Make a folder system in this folder.
Open Command Prompt in that folder and type
Code:
adb pull /system system
It will take some time.
When it's completed. What you have to do is replace the system folder in any ROMs flashable zip and modify it's updater-script to suit your needs
Thanks for taking the time to answer my question!
I have a backup of Oppo Rom for my alcatel 997 d. I would like to modify this rom, but I have only one backup? the backup file is. win format.
use adb to copy it to your computer, save it and extract a copy so you can modify the copy.
oldsoldier2003 said:
use adb to copy it to your computer, save it and extract a copy so you can modify the copy.
Click to expand...
Click to collapse
could you explain in detail? thank you very much and excuse the ignorance.