[Q] Custom ROM from CWM backup ? - Android Q&A, Help & Troubleshooting

I need remove and replace some stock app of my phone, so I try to backup with CWM and get 2 file:
_"system.ext4.tar" 0kb
_"system.ext4.tar.a" 5xxmb
Then I extract "system.ext4.tar.a", replace and remove some app, and compress to .tar again. Here is the problem, I have try some software to compress "system" folder extract from "system.ext4.tar.a", put it back to my sd and use CWM to recovery it. But some compress soft I get the error can't extract form CWM when I recovery, some compress soft CWM can be done with it, but I still can't boot my phone, it just stay at loading screen. If I use original backup, everything work fine.
I think maybe I doing something wrong with .tar compress, can anyone give me an advice. Sorry about my bad english

Related

[Q] Question about Nandroid MD5 checksum and modifying backed up files.....

Hey guys, just 2 quick questions about nandroid.
Is it possible to either bypass the MD5 checksum right at the start of every nandroid restore? OR, is it possible to generate your own one somehow?
The reason I ask is, I wanna try and replace the backed up files made by nandroid such as "boot.img", "system.img", "cache.img", "recovery.img" etc with the ones that I have extracted from a stock rom.
The stock rom I have can only be flashed through USB connected to PC, by using "SP Flash Tool". However, I have 2 problems using it. The first is that it doesn't work properly for me. I can only flash the "system.img" file but not the other .img files. It seems I need a USB-to-UART cable to flash ALL the .img files, which I don't have and I don't plan on wasting my money buying it either. Besides, I find flashing on a PC a lot more risky than from memory card.
The 2nd problem I have is that I often have problems getting my phone detected by "SP Flash Tool". I tried using Windows 7 and XP and it's hard to get a connection properly. It's most likely because the phone i'm using a chinese clone, called "STAR A1000". It's cheap and crap, so I'm not surprised that I can't establish a stable connection to my PC. I only got lucky like once or twice but haven't been able to flash from my PC ever since.
So anyway, the stock rom I have contains all the .img files. I wanna try and replace those files with the files generated by nandroid, but of course there's the problem with the MD5 checksum file that will check if the file matches or not. So I need a way to bypass the MD5 checksum completely or force nandroid to perform a restore regardless of the conditions. Either that, or I need a way to generate a MD5 checksum for the .img files from the stock rom, and use that for my nandroid backup.
My last question is, I also have custom roms that are made to be flashed on the memory card. Of course, they contain the "boot.img" file, and so I wanna try and replace that with my own working "boot.img" file. I want to know if this will work when I try to flash it in the recovery, or will it fail and brick my phone?

Corrupt nandroid backup - how do I delete a single file from the system.ext4.tar?

Today I wanted to see what the JellyBean for SGS III is like so I made a nandroid backup of my current setup. After playing with JB for a while, I wanted to restore the backup, but I was greeted with an error message.
I've been messing with this the entire F****** day and so far I've isolated the file that is corrupted (it's /system/app/Keystring_factory.apk).
So I need to delete that file from within the archive. The problem is how do I do that? When I try to copy the file to my computer, it hangs on it and says "corrupted file" (tried windows explorer but also total commander). I am able to open the archive on my SGS III using something like ZArchiver, but it doesn't have the option to delete the file from within the archive.
Help?
Deusdies said:
Today I wanted to see what the JellyBean for SGS III is like so I made a nandroid backup of my current setup. After playing with JB for a while, I wanted to restore the backup, but I was greeted with an error message.
I've been messing with this the entire F****** day and so far I've isolated the file that is corrupted (it's /system/app/Keystring_factory.apk).
So I need to delete that file from within the archive. The problem is how do I do that? When I try to copy the file to my computer, it hangs on it and says "corrupted file" (tried windows explorer but also total commander). I am able to open the archive on my SGS III using something like ZArchiver, but it doesn't have the option to delete the file from within the archive.
Help?
Click to expand...
Click to collapse
U can extract cwm with titanium backup or use a file explorer to extract the backup and delete the file then zip it.
But I would flash a new Rom and extract cwm with TB and restore the parts u need with TB.then when all is good make a new backup.
I don't think it's a good idea to restore a corrupted file even if u find the errors
Btw. Fayaab has tweeted that he is going to release a JB for gs3 tomorrow and this should be working
Tried that too, Titanium got stuck at the file. 7-Zip got stuck even when "Testing Archive". I'll write the file off as corrupt. Interestingly enough, the data.ext4.tar is also corrupt. Does this mean it's a time for a new microSD card? Or is it CWM that's writing corrupt files somehow?
Access system files from recovery any use .
http://forum.xda-developers.com/showthread.php?t=1646108
Works on SGS3
jje

[Q] Please help! I lost all my backup files!

Hey guys, I used TWRP to back up files, then by mistake :silly: I used format data instead of advanced wipe!
So I lost everything on my mobile with the back up files! :crying:
Now I googled file extension for TWRP back up, it was .WIN
Even though all TWRP backup files carry the extension .win, they are either tar archives or filesystem images. System, data, cache and .android_secure are backed up as tar archives or gnu-zipped tar archives if compression is enabled. You can rename those .win files to .tar (.tar.gz if compressed) and extract them like a regular archive. Boot and recovery partitions are backed up as .img files using dd.
Click to expand...
Click to collapse
HTML:
http://forum.xda-developers.com/showthread.php?t=1694617
So is there any program that I can use to restore the back up files? (.win files) If not, How can I restore at-least the pictures, videos, messages, contacts.. etc?
If someone there can help me, please do! any little info can be useful! :good:
Thank you.
any help please!

[Q] I broke it

Hi guys!
I was hoping one of you could help me.
Yesterday i modified a build.prop file on my NextBook EBM8000ND (Next800T) tablet, causing it to get stuck in a bootloop every time it's turned on. I've been searching the Internet all day long but it's hard to find support when you have a device which no one in the world uses . It was rooted but I did a factory reset hoping that it would fix it. It didn't and now it's also unrooted. I tried to make a custom update.zip with the backup of the original build.prop file but the stock recovery simply refuses to load any update file. It always stops at verification. I used 7zip with store option. I tried signing the zip, I even edited the updater script to only print some text on the screen but the recovery still wouldn't load it. I tried to find a way to install CWM using sdcard but with no luck. When i tried to use ADB in recovery the device says: "failed to open driver control: No such file or directory". It might be worth mentioning that I found my device's ROM online with boot.img and recovery.img files and a .tar file which contains the original system folder.
Is there any way to make the stock recovery (since installing CWM or TWRP seems impossible) read my update file? Or is there another way to fix this? I only need to replace that single file.
Hoping to get help soon.
Cheers!

from Online Nandroid (CWM) to flash-able zip for Odin, need Meta-inf folder

After a failed online nandroid backup recovery I just shake my head.... not again. Don't want to flash stock rom, root, custom recovery flash path again!
So, I really like to create a flashable rom from my old backup. I just lack the meta-inf.
All these make flashable threads say get the meta-inf folder from any rom. I don't think that it is THAT easy.
(I tried a Meta-inf from a custom rom
http://forum.xda-developers.com/galaxy-s5/development/rom-noble-rom-t3403867/page19#post69117710
, but during zipping I get an error that it could not create something....)
Where can I get a working meta-inf file for Samsung S5 G901F, that I do not need to alter or just works?
Thanks you very much.

Categories

Resources