Hi,
I need to change some file in system,ext4.tar generated from nandroid backup.
I try to open tar with 7zip. deleted some files in system/app and system/framework. Then added some files in the directories app and framework
then i fixed md5
But in restoring with nandroid backup I receive an error in restoring system files.
is there a right way to make new system.ext4.tar good for nandroid backup?
thanks and sorry for my poor english
Hi
For what device ?
So I give you some general links
I would suggest you to go here => [Guide] How to create EXT4 images.
and [GUIDE] Unpack/repack ext4 Android system images
and Android Development and Hacking > Android Software Development >[APP][v2.4] Nandroid Manager (idea from my colleague @Perseus71)
and finally go here => General discussion > XDA-University - The best place for learning
Related
[Script] General Backup/Restore CWM script for Flasholic !
This is nothing but plain script which backup many commonly used applications to Sd card.
Basically i have made this for my MultiMod user, but I am reading daily new thread by new user, upload this and that as they loss it after flashing mod. Here this will come handy.
It includes backup of following applications/frameworks
SystemUI.apk
SystemUI.odex
SecPhone.apk
SecPhone.odex
SecSettings.apk
SecSettings.odex
SecMms.apk
SecMms.odex
FlashBarService.apk
FlashBarService.odex
SamsungCamera.apk
SamsungCamera.odex
Nfc.apk
Nfc.odex
SecLauncher2.apk
SecLauncher2.odex
ClockPackage.apk
ClockPackage.odex
JobManager.apk
JobManager.odex
SamsungIME.apk
SamsungIME.odex
SecCalculator2.apk
SecCalculator2.odex
SecContacts.apk
SecContacts.odex
SecDownloadProviderUi.apk
SecDownloadProviderUi.odex
SecNoteMyFiles.apk
SecNoteMyFiles.odex
csc/others.xml
services.jar
services.odex
android.policy.jar
android.policy.odex
framework-res.apk
twframework-res.apk
To whom it helpful
It's useful to anyone who want to make makeup of existing application before trying mod. If mod doesn't work, you can use revert zip to restore your previous stat (at time of backup)
Some Tips for newbies
-This will backup your current theme/mod and when you revert, it restore stat to 'time of backup'
-This will make backup of above said files to int sdcard/DrKetanMod
-It will backup as tree structure on device like System/app will be in DrKetanMod/app and system/framework files in DrKetanMod/framework folder.
So manually you can easily figure out where to place in case restoring single app.
-Better to make backup when you have device clean like just after flashing stock ROM. it will create complete stock backup. Now suppose you have one backup of stock applications and you have flashed many mods after that and you want to try one more mod, do this
rename your stock backup folder DrKetanMod to DrKetanMod-stock
Again make backup, try new mod , if doesn't work then flash revert zip, so that will restore your previous mod Not stock. and still you can preserve all previous mod. whenever you need to go complete stock, re rename DrKetanMod-stock to DrKetanMod and flash revert zip
Download
For CWM/TWRP user
Backup Utility
Revert utility
For Mobile Odin user
Download This, extract it and read read.txt inside.
Hallo, I've Been Playing With My GT-S5301 Boot Animations & It's Easy To Change It. Now, I Made An CWM Backup With Rom Manager Yesterday & But I Forgot That The BootAnimation On It was Faulty, So Now When I Restore That Backup I Have An Boot Loop Issue. I Want To Know If It Is Possble To CHANGE The BootAnimation Inside The Nandroid Backup Folder & If Yes, Can You Tell Me How Please.
Hi,
There are a few ways such as using android kitchen to disassemble the system.img but this depends on the back up format (probably not .img unless an old recovery)
But the easiest way I can think of is to restore ROM and then within recovery use adb to push a working bootanimation to /system and then fix permissions.
But the purpose of xda-assist is not to be a help thread rather to point you in the right direction. So if you have any further questions please post in the general q&a forum found here
http://forum.xda-developers.com/android/help
Either I or another helpful member will coach you through this if you aren't able to search out the answer yourself.
Best of luck!
GUIDE: CREATING SMALL FLASHABLE ZIPs TO RESTORE FILES OR SETTINGS WITHOUT HAVING TO DO FULL NANDROID RESTORE
This will enable you to apply MODs without having to do a FULL NANDROID restore to recover if the MOD fails or if you don't like it
This brief guide will teach you how to create a flashable ZIP file that you can use to restore your phone to pre-MOD settings if you want to revert back or if the MOD simply does not work
WITHOUT having to do a full restore of your phone.ā
It is a very good idea to create these backup flashable ZIPs and keep them safe to recover from mishaps or when creating/testing MODs/themes.ā
*************************************************************************************************************************************************
As usual: Disclaimer: I am not responsible for any loss of data or functionality on your phone. To be 100% sure, always make a NANDROID backup if you are not 100% certain you can recover.
*************************************************************************************************************************************************ā
There are many reasons you might want to do this, for example when testing a MOD for another ROM that is similar to yours but not exactly the same (eg: Optimus G3 vs Cloudy G3) or when upgrading your ROM to a new version and wanting to re-apply old MODs.
There are many ways to get into boot loops or fail to boot, the biggest culprit being fonts installations, but include also bootanimations and others.
INSTRUCTIONS:
Part 1: general
1. Install ZIPme app from playstore
2. Find out which files are being modified by the MOD you are trying to apply, this is usually framework-res.apk, LGSystemUI.apk, lge-res.apk, but be aware that some MODs affect a lot of files. See part 2 for more details on how to do this.
3. If you are applying a font, don't worry, the FONTs section (see part 2) should cover all Fonts.
4. If you are applying a bootanimation, don't worry, the bootanimation section (see part 4) should cover all Bootanimations.
5. For every flashable ZIP you create you can test it straight away by booting into recovery and applying the zip file. There is no reason why it should not work.
Part 2: FONTS
1. In ZIPme select the following:
- ADD FOLDER: /system/fonts
- ADD FILE: /system/etc/system_fonts.xml
2. Create the flashable zip in an /sdcard location you can access from recovery
Part 3: MODs that affect framework-res.apk, LGSystemUI.apk or any other app
1. Find out which apks are being modified:
- You should of course read the OP (instructions for the MOD)
- The easiest way to find out modified apks is to download the MOD and open it: the zip file will contain either the apk files themselves or have directories with the names of the apks being modified.
- You can always ask the developer to make sure
2. Once you have a full list of files being affected you can create the flashable zip:
- in ZIPme, simply select "ADD -> File" for every file being affected
- If you have an ODEX ROM (.odex files are present) make sure you pick those too!
- save the flashable zip in an /sdcard location you can access from recovery
Part 4: Bootanimations
1. In ZIPme select the following:
- ADD FILE: /bin/bootnimation
- ADD FILE: /system/media/bootanimation.zip
- ADD FILE: /system/media/shutdownanimation.zip
2. Create the flashable zip in an /sdcard location you can access from recovery
Part 5: Other flashable files you should always keep handy
1. Always keep with you the following files for good measure: they don't take much space but can help recover from problems without having to fully restore from NANDROID backup
- original kernel from your ROM
- flashable bootloader (if you do not know what I am talking about then DON'T do it)
- flashable baseband (if you do not know what I am talking about then DON'T do it)
- flashable recovery image (TWRP, etc)
- "Xposed-Disabler-Recovery.zip": this is created by Xposed when you install it. It is located in the root folder of your sdcard. Copy it and put it somewhere safe.
- SuperSU: keep a flashable latest SuperSU with you to recover root
Any comments, suggestions, feedback are welcome
reserved
bloof said:
Any comments, suggestions, feedback are welcome
Click to expand...
Click to collapse
good work mate, i'm out of Thanks for today.
Just tried, nice and easy to use. Thank u
does it save paired bluetooth and wifi devices?
deleted
Can you use this to make a zip of boot.img and libs? Not finding how to do that. Thanks for any information.
matusala said:
does it save paired bluetooth and wifi devices?
Click to expand...
Click to collapse
Nope. It saves what you tell it to save.
The guide as it is only saves files, was meant for modding restore, not other stuff.
If you try mods a lot and don't like a certain theme or icon set you don't need to do a full nandroid backup and full restore because you changed 3 files in your mod.
countryfolk07 said:
Can you use this to make a zip of boot.img and libs? Not finding how to do that. Thanks for any information.
Click to expand...
Click to collapse
Not with what I wrote.
The app ZIPme can do a lot more than simple file recovery, but I am not an expert at flashable zips so can't comment on more advanced uses like buildprop etc.
I would certainly not write anything about boot images, way too likely to cause someone to screw up their phone....
Pick a flashable boot/libs zip file from somewhere and try to reproduce at your own risk.
Sry i duno where to ask this question.
So, i have nandroid backup done by Philz Touch Recovery. I want to edit the backup. Basically i want to delete some files in the backup to reduce the size of system file. i can see that
system.ext4.tar 0KB
system.ext4.tar.a 953mb
system.ext4.tar.b 953mb
system.ext4.tar.c 400mb
i tried to open files using 7zip but failed. is there a way to edit the backup and recompile them?
using s4 i9500 - Halcyon 6 - Voltaqe kernel - OD4 bootloader
thanks
SONY
open rom project
what is the open rom project ????
this project is dedicated for ''newbie'' users don't know what is a mod rom .
in this thread i want to help you create your own rom , but this thread is only for root and sony users !! , but other phones users (samsung , huawei ... ) can ask about other questions
dear users , if you have a root and twrp here you can paste link to your backup
of rom , but this backup must have : Boot and system only !!
if you do that make a copy of system and edit in 7 zip and try to delete one file
if you can do that , your backup is editable and i can mod your android !!!!
you publish here original (not a copy with deleted file !!) backup with not deleted files
in your editable stock backup i do little mods , and i delete some apps and i mod boot for performance of your phone
after mod your stock rom , i publish backup and you download this file
and wipe all (system , data , dalvik , cache )
make a copy important files and data from os
than you make a wipe
ok you have all ????
no go up
yes look down
if you are ready restore my file , and wait to fully boot , first boot have max 40 minutes , relax and wait
restore your important files
that's all you have little moded stock rom
have fun :dā