[Q] convert system and user folders to system.img and userdata.img - EVO 4G General

I’m trying to take the system and user folders from an update.zip I’ve built in dsixda’s kitchen, and convert them to system.img and userdata.img images. Reason is, I want to take the .img files and zip them into a PC36IMG.zip file that I can flash from hboot. I’ve searched everywhere, but I can’t find an answer. Any help would be appreciated.

bver said:
I’m trying to take the system and user folders from an update.zip I’ve built in dsixda’s kitchen, and convert them to system.img and userdata.img images. Reason is, I want to take the .img files and zip them into a PC36IMG.zip file that I can flash from hboot. I’ve searched everywhere, but I can’t find an answer. Any help would be appreciated.
Click to expand...
Click to collapse
What you could do is do a nandroid backup, and then take the system.img and data.img (rename data.img to userdata.img) and then put into your PC36IMG.zip

AssassinsLament said:
What you could do is do a nandroid backup, and then take the system.img and data.img (rename data.img to userdata.img) and then put into your PC36IMG.zip
Click to expand...
Click to collapse
Thanks for the quick reply. I'm actually trying to make an easily-distributable, all-in-one PC36IMG.zip, complete with the Wimax, Radio, NV, System, etc. Basically, I want to include all the 3.70.65.1 updates in one package. Since a NAND backup shouldn't be used on other devices, I'm looking for an alternative method. Any other suggestions?
Thanks.

bver said:
Thanks for the quick reply. I'm actually trying to make an easily-distributable, all-in-one PC36IMG.zip, complete with the Wimax, Radio, NV, System, etc. Basically, I want to include all the 3.70.65.1 updates in one package. Since a NAND backup shouldn't be used on other devices, I'm looking for an alternative method. Any other suggestions?
Thanks.
Click to expand...
Click to collapse
Well, if you're sharing the PC36IMG.zip with others, just make sure to use stock images except userdata.img and system.img, here is basically what I did:
I take the original rom.zip from the 3.70.65.1 ruu, remove system.img and userdata.img, then I make a custom rom and flash it, test it. If it works the way I want it to, I then wipe everything, then reflash it and nandroid backup even before booting it. This should leave system.img and data.img (userdata.img) untouched and should not have any of your personal info. Also, since you're using the original 3.70 PC36IMG.zip, it will have the latest everything including wimax (which won't be your personal wimax image). Do I make sense?
Basically use stock everything from PC36IMG.zip, and just replace the system.img and userdata.img (Just make sure you nandroid those two images before you even boot into it so they won't have any personal data)

AssassinsLament said:
Well, if you're sharing the PC36IMG.zip with others, just make sure to use stock images except userdata.img and system.img, here is basically what I did:
I take the original rom.zip from the 3.70.65.1 ruu, remove system.img and userdata.img, then I make a custom rom and flash it, test it. If it works the way I want it to, I then wipe everything, then reflash it and nandroid backup even before booting it. This should leave system.img and data.img (userdata.img) untouched and should not have any of your personal info. Also, since you're using the original 3.70 PC36IMG.zip, it will have the latest everything including wimax (which won't be your personal wimax image). Do I make sense?
Basically use stock everything from PC36IMG.zip, and just replace the system.img and userdata.img (Just make sure you nandroid those two images before you even boot into it so they won't have any personal data)
Click to expand...
Click to collapse
Okay. I get what you're saying. I'll give it a shot and try it on my wife's EVO. Thanks again for your help.

Related

Request: Acer_A500_1.104.02_COM_GEN1 boot.img

Anyone have a boot.img available for Acer_A500_1.104.02_COM_GEN1? I need it to do a full restore.
I wouldnt mind a clean system and flexrom dump as well, though I have those already. Thanks!

[Q] I can't restore my cwm backup, what should I do? [urgent,please help]

Hi,
I had a problem with my NDT miui nand buil recently, it was sticking on boot animation, so I made a backup via cwm, I saved the backup folder on my pc. Now I want to restore that backup. I tried all the usual methods for it, I did tas29, flashed new clk, and tried backup, still stuck on boot animation, I flashed my last rom and then tried to restore the backup, again stuck on boot animation. I did everything for it, but doesn't works for me. It does the restore process as usual, but I wan't to boot, my phone stuck in boot animation. So I beg you to help me with one of these alternatives, please.
-I only want to restore my contacts, call logs and sms. Anyway to restore them only? there are some .img files in backup folder, which one are these files stored?
-Is there anyway I can extract backups files on my pc and get my contacts,sms,... in it?
-If none of above works, is there anyway to install cwm on pc android emulator, and then restore my backup in it, and again get my contacts,sms there?
I will really be thankful of your helps
behnam2016 said:
Hi,
I had a problem with my NDT miui nand buil recently, it was sticking on boot animation, so I made a backup via cwm, I saved the backup folder on my pc. Now I want to restore that backup. I tried all the usual methods for it, I did tas29, flashed new clk, and tried backup, still stuck on boot animation, I flashed my last rom and then tried to restore the backup, again stuck on boot animation. I did everything for it, but doesn't works for me. It does the restore process as usual, but I wan't to boot, my phone stuck in boot animation. So I beg you to help me with one of these alternatives, please.
-I only want to restore my contacts, call logs and sms. Anyway to restore them only? there are some .img files in backup folder, which one are these files stored?
-Is there anyway I can extract backups files on my pc and get my contacts,sms,... in it?
-If none of above works, is there anyway to install cwm on pc android emulator, and then restore my backup in it, and again get my contacts,sms there?
I will really be thankful of your helps
Click to expand...
Click to collapse
Are you using the correct partition size? Too small a partition normally causes the phone to hang at the bootanimation. If you have used the correct partition size and it still doesn't boot, try simply increasing it to account for any bad blocks you may have.
It's also possible that your backup is corrupted somehow, it happened to me once. If this is the case, try flashing the same ROM and then restoring the data partition in CWM.
When you rename backup file do not use spaces (exp. icsromv3)
Sent from my E15i using xda premium
2010matej said:
When you rename backup file do not use spaces (exp. icsromv3)
Sent from my E15i using xda premium
Click to expand...
Click to collapse
I don't think that's the problem because if the ROM gets up to the bootanimation (after a Task29) then it's clearly been [somewhat] flashed correctly so it's probably down to the backup itself, or of course an error somewhere on his part.
behnam2016 said:
... it was sticking on boot animation, so I made a backup via cwm, ...
Click to expand...
Click to collapse
Come on guys, this is common sense. If he made the backup with the rom ALREADY not booting up, no matter what he does, it'll always stick to the boot animation.
The back-up saves your ROM at its current state, not the one it was working at before. Backups should only be done when your ROM is actually fully functioning, not when it is broken. So unfortunately, you have to do what Nigel Suggested. Make a clean install of that ROM and then only restore the data partition.
You may be able to do the emulator thingy, but I'm not sure, you can give it a shot though.
For extracting something from your backup see appextractor or nandroid browser
Marvlesz said:
Come on guys, this is common sense. If he made the backup with the rom ALREADY not booting up, no matter what he does, it'll always stick to the boot animation.
The back-up saves your ROM at its current state, not the one it was working at before. Backups should only be done when your ROM is actually fully functioning, not when it is broken. So unfortunately, you have to do what Nigel Suggested. Make a clean install of that ROM and then only restore the data partition.
You may be able to do the emulator thingy, but I'm not sure, you can give it a shot though.
Click to expand...
Click to collapse
Whoops, I should have read the OP more carefully
@OP Yeah, just fresh install then restore the data partition. I still don't understand why the other ROM isn't working though unless it's your fault somwhere

CWM not backing up system.img

I wanted to flash a custom ROM and decided to do a nandroid backup first. Every time i did one it did not contain the system.img file which means that the stock ROM wasn't backed up. It only backed up recovery and boot. I have the official CWM from clockwordmod.com.
Please help.
BTW. I know that i can use the stock system image from google, but it's much easier to just recover a nandroid backup.
painfactory said:
I wanted to flash a custom ROM and decided to do a nandroid backup first. Every time i did one it did not contain the system.img file which means that the stock ROM wasn't backed up. It only backed up recovery and boot. I have the official CWM from clockwordmod.com.
Please help.
BTW. I know that i can use the stock system image from google, but it's much easier to just recover a nandroid backup.
Click to expand...
Click to collapse
What version of CWM are you running?

[Q] stock kitkat 4.4.2 rom zip

Hi everybody,
does anyone have or can do a flashable zip with the latest stock android 4.4.2 image?
If not, even the flashable zip with just the stock kernel would be enough.
Thanks a lot
Flashable stock rom 4.4.2 KOT49H , odex & deodex are posted HERE.
jase33 said:
Flashable stock rom 4.4.2 KOT49H , odex & deodex are posted HERE.
Click to expand...
Click to collapse
Well, i forgot to say i need the tilapia rom.
However, thanks for taking the time to answer.
andreapier said:
Well, i forgot to say i need the tilapia rom.
However, thanks for taking the time to answer.
Click to expand...
Click to collapse
I'm bumping this up (only for this time)...
It seems strange that nobody can help with my request...
Doesn't seem like anyone has created a flashable zip for the latest KOT49H build for Tilapia. You could just as easily download the latest factory image and flash it via fastboot
Eregoth said:
Doesn't seem like anyone has created a flashable zip for the latest KOT49H build for Tilapia. You could just as easily download the latest factory image and flash it via fastboot
Click to expand...
Click to collapse
Do i need to wipe data if i flash it via fastboot?
Or is it just like plain ota?
andreapier said:
Do i need to wipe data if i flash it via fastboot?
Or is it just like plain ota?
Click to expand...
Click to collapse
If you using a custom kernel and want to revert back to stock kernel, you only need to flash the boot.img from the factory image archive. This does not wipe your data.
If you are on a custom ROM, then it would probably be wise to wipe your data. Flash boot.img, system.img and userdata.img (the last file wipes user data automatically). Remember to also format the cache partition.
If you are on a stock ROM with a custom kernel, root access or any modified system files, you only need to flash system.img and boot.img. Formatting the cache partition wouldn't hurt either, just to be safe. This does not wipe your data.
Keep in mind that not wiping data ("dirty flashing") is generally a bad idea if you are flashing from one version to another, e.g. 4.4 (KRT16S) to 4.4.2 (KOT49H).
If this is the case, then you should first download the correct factory image for your current version and flash the system.img and boot.img (if you have made any changes to the system partition or kernel), and then flash the right OTA update, either with a custom recovery or with the stock recovery via ADB. This also does not wipe your data.
Hope this wasn't too confusing
Eregoth said:
If you using a custom kernel and want to revert back to stock kernel, you only need to flash the boot.img from the factory image archive. This does not wipe your data.
If you are on a custom ROM, then it would probably be wise to wipe your data. Flash boot.img, system.img and userdata.img (the last file wipes user data automatically). Remember to also format the cache partition.
If you are on a stock ROM with a custom kernel, root access or any modified system files, you only need to flash system.img and boot.img. Formatting the cache partition wouldn't hurt either, just to be safe. This does not wipe your data.
Keep in mind that not wiping data ("dirty flashing") is generally a bad idea if you are flashing from one version to another, e.g. 4.4 (KRT16S) to 4.4.2 (KOT49H).
If this is the case, then you should first download the correct factory image for your current version and flash the system.img and boot.img (if you have made any changes to the system partition or kernel), and then flash the right OTA update, either with a custom recovery or with the stock recovery via ADB. This also does not wipe your data.
Hope this wasn't too confusing
Click to expand...
Click to collapse
this is not confusing at all!
Infact thanks to your explaination i just understood what i have to do!
Thanks
andreapier said:
this is not confusing at all!
Infact thanks to your explaination i just understood what i have to do!
Thanks
Click to expand...
Click to collapse
Great! Glad I could help

Help needed! Firmeware CAN-L11 EU Version

Hello,
i need help. I messed up my phone while trying to repair my only read mode system partition after boot.
Current state:
Phone CAN-L11 with EU Firmeware and working TWRP Recovery.
I did a full wipe, but have no data partition to restore, because this couldn´t be saved with twrp while i made my first nand backups during no read access to data partition.
My phone always shows 2 times the huawei logo and then boot in erecovery from huawei where i tried to restore, but it shows always "fail to get data" (wifi works).
When i restore all partitions backups that i own via twrp i miss the data partition (is the cause why it wont boot - isn´t it?)
Now i searched for any img that i can use to get my phone working again - anyone has a tip what img i could use (i have a huawei update extractor) - through twrp or fastboot.
Could anyone help me with a twrp backup or a img file of data partition - or has another tip how to get my phone working again?
Thanks for tips!
merlin21 said:
Hello,
i need help. I messed up my phone while trying to repair my only read mode system partition after boot.
Current state:
Phone CAN-L11 with EU Firmeware and working TWRP Recovery.
I did a full wipe, but have no data partition to restore, because this couldn´t be saved with twrp while i made my first nand backups during no read access to data partition.
My phone always shows 2 times the huawei logo and then boot in erecovery from huawei where i tried to restore, but it shows always "fail to get data" (wifi works).
When i restore all partitions backups that i own via twrp i miss the data partition (is the cause why it wont boot - isn´t it?)
Now i searched for any img that i can use to get my phone working again - anyone has a tip what img i could use (i have a huawei update extractor) - through twrp or fastboot.
Could anyone help me with a twrp backup or a img file of data partition - or has another tip how to get my phone working again?
Thanks for tips!
Click to expand...
Click to collapse
I think that you need a system.img, so you can flash. This system imagem would write everything you need, so you can boot normally.
Have you tried to dowload @bluesmoothie backup from dropbox from the Root and Recovery post?
Here is the link, in case you don't find it https://www.dropbox.com/sh/qrk0fbpn5rnukxn/AAAmhFwBTNoqq0sWfCH-VMHLa?dl=0
Sent from my victara using XDA Labs
Here the full Backup for the CAN-L11:
https://drive.google.com/open?id=0B134drJ4-Ed0R3VSY3A5NGpjVWc
Format /data, reboot recovery and than restore from backup. After the restore is complete make a wipe.
I restored my system from twrp (original first save). But that did not help.
After that i loaded the can-L11c432 update.zip from huawei and extracted with others the system.img - that also did not help to boot.
Tomorrow i flashed the orignal recovery.img from c432 but i did not find an update.zip wich works to manually flash in stock recovery.
@Vinnom the link you shared leads to twrp.img (no system.img).
@-=MoRpH=- thanks, i will try and report back. Is this anyway a chinese version in there? I think i have the same struggle you had days back. Is your phone completely working again?
So sick that my phone did not work. Now working with my "old" LG G2...
I report back later - first family dinner
merlin21 said:
I restored my system from twrp (original first save). But that did not help.
After that i loaded the can-L11c432 update.zip from huawei and extracted with others the system.img - that also did not help to boot.
Tomorrow i flashed the orignal recovery.img from c432 but i did not find an update.zip wich works to manually flash in stock recovery.
@Vinnom the link you shared leads to twrp.img (no system.img).
@-=MoRpH=- thanks, i will try and report back. Is this anyway a chinese version in there? I think i have the same struggle you had days back. Is your phone completely working again?
So sick that my phone did not work. Now working with my "old" LG G2...
I report back later - first family dinner
Click to expand...
Click to collapse
Inside the folder twrp and its subfolders there it is system.img. I'm downloading it myself.
Sent from my victara using XDA Labs
Share if you have another workarounds for me
Gesendet von meinem LG-D802 mit Tapatalk
@merlin21 yes it sounds like my problem after I tried to flash the emui5 beta.
My phone is fully working again with the backup I posted.
This is not the Chinese version, if nothing works, you can try the caz ROM. But there are massive problems with the gapps, they are not included in the rom.
Gesendet von meinem HUAWEI CAN-L11 mit Tapatalk
@ -=MoRpH=-
i just flashed the twrp.img with fastboot from xelfmade v22.12. and then rebooted twrp.
Then formated data and confirmed with yes - rebooted recovery and tried to restore your twrp. It did not restore and aborted instantly with the error message
during restoreing cust...
extractTarFork() proecess ended with ERROR: 255
what could that be?
IT WORKS! Thanks @murph... I had to use the cust from my backup, but with your data partition it successfully booted again. Locking forward if i now have still the problem with read only system partition. I am away setting up phone again (and of course rooting, modifying etc.. but FIRST do a full backup after basic setup and safe in PC !!!)
Thanks!
P.S. how did you manage to back up data partition in recovery? I thought this wouldn't be possible?! What is the cost for having this full working twrp?
PPS. Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Click to expand...
Click to collapse
That only work if the is not rooted... Idk whats up with that, but for now i use the quicksetting screenshot function.
Somehow it worked with my rooted device before. Must be the decrypted data partition?
With the recovery of your backup I could not access data or change memory from data to sd. What version do you use?
I flashed xelfmades v22 and now have rw access and could backup all partitions and restore. Root and xposed modules everything works, just the knock on screen to capture don't...
merlin21 said:
IT WORKS! Thanks @murph... I had to use the cust from my backup, but with your data partition it successfully booted again. Locking forward if i now have still the problem with read only system partition. I am away setting up phone again (and of course rooting, modifying etc.. but FIRST do a full backup after basic setup and safe in PC !!!)
Thanks!
P.S. how did you manage to back up data partition in recovery? I thought this wouldn't be possible?! What is the cost for having this full working twrp?
PPS. Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Click to expand...
Click to collapse
I have the same problem! What do you mean by "I had to use the cust from my backup" ? Sadly i dont have any data from my own backup..
can you tell me what to do to get the backup from @murph to work without error?
--solved.
P1xl said:
--solved.
Click to expand...
Click to collapse
May I ask how?
I'm kinda stuck personnaly. I have tried both Nand backups but no cigar. Still can't boot. I had the Data issue which I managed to get rid of.
I still end up with a ExtTarFork 255 kind of error. I tried to change the files attributes via adb shell, but it failed so I've got an OS-Less phone...
Any help would be greatly appreciated.
rak500 said:
May I ask how?
I'm kinda stuck personnaly. I have tried both Nand backups but no cigar. Still can't boot. I had the Data issue which I managed to get rid of.
I still end up with a ExtTarFork 255 kind of error. I tried to change the files attributes via adb shell, but it failed so I've got an OS-Less phone...
Any help would be greatly appreciated.
Click to expand...
Click to collapse
I copied the backup, which is linked somewhere in this thread, to my sdcard and restored it on my Nova using twrp. The extractfork issue showed up while restoring '/cust' so i disselected cust in the restoring menu. After that the restoring worked and my nova was able to boot.
Hope this is any help to you.
P1xl said:
I copied the backup, which is linked somewhere in this thread, to my sdcard and restored it on my Nova using twrp. The extractfork issue showed up while restoring '/cust' so i disselected cust in the restoring menu. After that the restoring worked and my nova was able to boot.
Hope this is any help to you.
Click to expand...
Click to collapse
That didn't do the trick for a while, or I might have forgotten a step, but deselecting CUST did the trick.
Thanks for the tip!
Although, maybe flashing the Cust partition I found in one of the two upgrade zips via fastboot might have helped? I dunno...
But in short, for those who haven't followed through, here's what I did, but I'm not sure this is why it worked:
1. Bricked my device : be sad;
2. DLed all the posted Nandroid backup on this thread and others;
3. With fastboot, reflashed TWRP from Xelfmade using "fastboot flash recovery twrp.img";
4. Flashed the CUST.img I found in the UPDATE.APP of the update_data_full_CAN-L11_hw_eu.zip; or maybe the other, only one of the two seem to have it; I extracted it using Huawei Firmware Extractor; using "fastboot flash cust cust.img";
5. Created a "fake" backup to create the right folder structure on my SD (TWRP Couldn't see the backups) and put the Nandroid Backups I DLed earlier in it;
6. Reboot in TWRP and Restore all partitions except CUST;
7. Reboot, sweat, wait, cry, roll on the floor in fear, heard the huawei startup sound, cried as if it was my first born child;
8. Setup the fone and profit; then enjoy Nova goodness;
92.324. and probably most important, TWRP BAAAACKUUUUP!!!!!
All done!
Thanks for your help my phone is saved with your method!!!
i downgraded my MLA-L03 variant with this, but now im stuck in french language with no other languages to choose from
Vinnom said:
I think that you need a system.img, so you can flash. This system imagem would write everything you need, so you can boot normally.
Have you tried to dowload @bluesmoothie backup from dropbox from the Root and Recovery post?
Here is the link, in case you don't find it https://www.dropbox.com/sh/qrk0fbpn5rnukxn/AAAmhFwBTNoqq0sWfCH-VMHLa?dl=0
Sent from my victara using XDA Labs
Click to expand...
Click to collapse
someone please make this thread sticky!!!!!!!
there are some guides in internet how to get nougat for nova and that is were I broke my phone. I was searching solutions for a week, DLed Flahsed tons of things nothing worked. this one fully worked!!!!!!!!!!!!!!!!!!!!
rak500 said:
That didn't do the trick for a while, or I might have forgotten a step, but deselecting CUST did the trick.
Thanks for the tip!
Although, maybe flashing the Cust partition I found in one of the two upgrade zips via fastboot might have helped? I dunno...
But in short, for those who haven't followed through, here's what I did, but I'm not sure this is why it worked:
1. Bricked my device : be sad;
2. DLed all the posted Nandroid backup on this thread and others;
3. With fastboot, reflashed TWRP from Xelfmade using "fastboot flash recovery twrp.img";
4. Flashed the CUST.img I found in the UPDATE.APP of the update_data_full_CAN-L11_hw_eu.zip; or maybe the other, only one of the two seem to have it; I extracted it using Huawei Firmware Extractor; using "fastboot flash cust cust.img";
5. Created a "fake" backup to create the right folder structure on my SD (TWRP Couldn't see the backups) and put the Nandroid Backups I DLed earlier in it;
6. Reboot in TWRP and Restore all partitions except CUST;
7. Reboot, sweat, wait, cry, roll on the floor in fear, heard the huawei startup sound, cried as if it was my first born child;
8. Setup the fone and profit; then enjoy Nova goodness;
92.324. and probably most important, TWRP BAAAACKUUUUP!!!!!
All done!
Click to expand...
Click to collapse
Hi. First of all, thanks for the tutorial. I've tried it but I have one problem. My /data particion is ext4. Should be f2fs. The thing is I can't convert coz my /data particion is unvisible
Can any help, please?
Bunkier said:
Hi. First of all, thanks for the tutorial. I've tried it but I have one problem. My /data particion is ext4. Should be f2fs. The thing is I can't convert coz my /data particion is unvisible
Can any help, please?
Click to expand...
Click to collapse
Frankly, I don't know. I had not modified the partitions prior to bricking my phone, so I think the partitioning was OK. However, I think one of the TWRP availble in this forum can format Data partition properly, which would utlimately allow you to select which File Format you want. I haven't tried it myself, and I haven't been able to do much with TWRP since I flashed Lineage unfortunately. Most of my Mods were just upgrading and I had to ADB Sideload pretty much everything since I flashed Lineage...
Sorry I couldn't be more helpful than that!

Categories

Resources