Question How to Merge Multiple super.img files into one super.img file - Realme 8

So I have tried to flash realme 8 stock rom. I have downloaded the stock firmware appropriate for my region (Philippines). I have extracted the .ofp file ready for flashing, but as I was about to flash it, I noticed multiple super.img files and a super_map.csv.
I opened the super_map.csv and saw different regions, including PH (Philippines.)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I only needed files for PH, so I deleted other regions and I am left with these three super.img files:
So for me to flash super.img, I only need one super.img. How do I merge these? Please help me

ryxnrxwxll said:
So I have tried to flash realme 8 stock rom. I have downloaded the stock firmware appropriate for my region (Philippines). I have extracted the .ofp file ready for flashing, but as I was about to flash it, I noticed multiple super.img files and a super_map.csv.
I opened the super_map.csv and saw different regions, including PH (Philippines.)
View attachment 5586717
I only needed files for PH, so I deleted other regions and I am left with these three super.img files:
View attachment 5586719
So for me to flash super.img, I only need one super.img. How do I merge these? Please help me
Click to expand...
Click to collapse
hello, from where did you downloaded the stock firmware? is it exported or already decrypted ? i need RU firmware ?
PS: I guess you have to select only one which is "PH" stands for Philippine ! thank you in advance (just wait for the others confirmations)

ryxnrxwxll said:
So I have tried to flash realme 8 stock rom. I have downloaded the stock firmware appropriate for my region (Philippines). I have extracted the .ofp file ready for flashing, but as I was about to flash it, I noticed multiple super.img files and a super_map.csv.
I opened the super_map.csv and saw different regions, including PH (Philippines.)
View attachment 5586717
I only needed files for PH, so I deleted other regions and I am left with these three super.img files:
View attachment 5586719
So for me to flash super.img, I only need one super.img. How do I merge these? Please help me
Click to expand...
Click to collapse
https://github.com/bkerler/oppo_decrypt i found this, it may help you ... you can merge them using python

aymen.mesbahi said:
hello, from where did you downloaded the stock firmware? is it exported or already decrypted ? i need RU firmware ?
PS: I guess you have to select only one which is "PH" stands for Philippine ! thank you in advance (just wait for the others confirmations)
Click to expand...
Click to collapse
Hi, I got it from here (https://realmefirmware.com/realme-8-firmware/). I think there is also a Russian region variant here if you are looking for it.

aymen.mesbahi said:
https://github.com/bkerler/oppo_decrypt i found this, it may help you ... you can merge them using python
Click to expand...
Click to collapse
Thank you! Finally, I have been looking for this for a long while!!!

ryxnrxwxll said:
Hi, I got it from here (https://realmefirmware.com/realme-8-firmware/). I think there is also a Russian region variant here if you are looking for it.
Click to expand...
Click to collapse
but how did you decrypt it? so i can flash it with SP Flash Tool

aymen.mesbahi said:
but how did you decrypt it? so i can flash it with SP Flash Tool
Click to expand...
Click to collapse
I got it here (https://forum.xda-developers.com/attachments/mct_ofp_extractor-zip.5570913/)

thank you !

ryxnrxwxll said:
So I have tried to flash realme 8 stock rom. I have downloaded the stock firmware appropriate for my region (Philippines). I have extracted the .ofp file ready for flashing, but as I was about to flash it, I noticed multiple super.img files and a super_map.csv.
I opened the super_map.csv and saw different regions, including PH (Philippines.)
View attachment 5586717
I only needed files for PH, so I deleted other regions and I am left with these three super.img files:
View attachment 5586719
So for me to flash super.img, I only need one super.img. How do I merge these? Please help me
Click to expand...
Click to collapse
Get a copy of simg2img.exe (from CRB kitchen)
Put that into your extracted firmware folder or a folder containing your multiple super.img(s)
Open cmd into that folder
Type the command
simg2img.exe super0.xxx.img super1.yyy.img super2.zzz.img super.img
You'll get combined super.img (x, y, z referring to those random numbers)

AE_Fahim said:
Get a copy of simg2img.exe (from CRB kitchen)
Put that into your extracted firmware folder or a folder containing your multiple super.img(s)
Open cmd into that folder
Type the command
simg2img.exe super0.xxx.img super1.yyy.img super2.zzz.img super.img
You'll get combined super.img (x, y, z referring to those random numbers)
Click to expand...
Click to collapse
thank you also for this! i didn't know there was another way to use simg2img other than using Ubuntu Linux and then installing it there, but thanks for the response! i was able to merge it using simg2img.

I know I'm over looking at something obvious here, but my simg2img has no extension? Can't seem to run it via powershell or CMD? How is this done, please? I moved my super.img stuff in the folder, put CMD in the address bar (where full file path is displayed) and tried to start my command with simg2img. Failed however.

AE_Fahim said:
Get a copy of simg2img.exe (from CRB kitchen)
Put that into your extracted firmware folder or a folder containing your multiple super.img(s)
Open cmd into that folder
Type the command
simg2img.exe super0.xxx.img super1.yyy.img super2.zzz.img super.img
You'll get combined super.img (x, y, z referring to those random numbers)
Click to expand...
Click to collapse
how to fix Invalid sparse file format at header magic?

Yukina21 said:
how to fix Invalid sparse file format at header magic?
Click to expand...
Click to collapse
use dumped super image

Yukina21 said:
how to fix Invalid sparse file format at header magic?
Click to expand...
Click to collapse
Extract ofp again. Your file got corrupted during extract

AE_Fahim said:
Get a copy of simg2img.exe (from CRB kitchen)
Put that into your extracted firmware folder or a folder containing your multiple super.img(s)
Open cmd into that folder
Type the command
simg2img.exe super0.xxx.img super1.yyy.img super2.zzz.img super.img
You'll get combined super.img (x, y, z referring to those random numbers)
Click to expand...
Click to collapse
i tried that, cmd returns "can not open input file super.xxxx, super.yyyy, super.zzz" is there any other tool , and why did they broke the super.img in the first place, also oppo_custom.img is divided into multiple files ,

braille0109 said:
I know I'm over looking at something obvious here, but my simg2img has no extension? Can't seem to run it via powershell or CMD? How is this done, please? I moved my super.img stuff in the folder, put CMD in the address bar (where full file path is displayed) and tried to start my command with simg2img. Failed however.
Click to expand...
Click to collapse
known file type extensions are hidden in windows by default, if you are still sure there is no .exe just add it, and what was the error in cmd.

tony 54325 said:
i tried that, cmd returns "can not open input file super.xxxx, super.yyyy, super.zzz" is there any other tool , and why did they broke the super.img in the first place, also oppo_custom.img is divided into multiple files ,
Click to expand...
Click to collapse
never mind found out what i was doing wrong , i forgot to remove commas from the super.0xxx names , you have to remove commas, ..

Related

Fail in downgrading

First, there is no error message.
I was using this guide (http://forum.xda-developers.com/showpost.php?p=11745519&postcount=21) to try to downgrade my nexus one, after extreme irritation with gingerbread 2.3.3. When I got to step 8, it never automatically search for that, I think. Instead, I get this pic.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It flashes briefly for half a second, so I had to take the picture to be able to read it.
So, for my question, what should I do? Thanks in advance!
.zip.zip?
Sent from my Nexus One using XDA App
Just .zip
Tried to post a pic, won't let me. Not enough posts...
Hey
Make sure you're using the correct stock rom (FRG33). Try downloading the rom again.
Regards
Raptor
Yes, I have thee FRG33 one, from shipped ROMs. (Passion_Google_WWE_2.16.1700.1_FRG33_MFG_Shipment_ROM.z
ip). It was the only FRG33 one I found there. Still getting the same thing, every time.
When they say place it in the root of your SD card, just put it on the first part of the card? Not in any folders, right?
You have the file in the right place, because your phone is finding it. I've no idea what the "lack of heap" error is, or how to get around it, but it's not a file location problem...
Sent from my Nexus One using XDA Premium App
So, there aren't any solutions for this? Would it help to say I'm on a dev phone?
Unlock phone,flash custom recovery, flash rom.
Sent from my Nexus One using XDA App
Upon reading and re-reading the guide over and over, I found a different problem. When I extract the file, I get 9 other files, not just the one.
"2. Extract the zip file contained within the zip you downloaded. You should have a file called PASSIMG_Passion_Google_WWE_2.16.1700.1_FRG33_relea se_signed.zip"
What I get are all these files in a folder:
android-info (txt file)
boot (disc image file)
hboot_850_0.35.0017_100610.nb0 (nb0 file)
radio (disc image file)
recovery (disc image file)
spcustom (disc image file)
splash1 (disc image file)
system (disc image file)
userdata (disc image file)
Am I somehow extracting it wrong?
It's a zip within a zip. Extract it and repeat.
Oh, I didn't see you post, so I edited my previous one to save space. I checked it and got these inside of it:
android-info (txt file)
boot (disc image file)
hboot_850_0.35.0017_100610.nb0 (nb0 file)
radio (disc image file)
recovery (disc image file)
spcustom (disc image file)
splash1 (disc image file)
system (disc image file)
userdata (disc image file)
moose9045 said:
Upon reading and re-reading the guide over and over, I found a different problem. When I extract the file, I get 9 other files, not just the one.
"2. Extract the zip file contained within the zip you downloaded. You should have a file called PASSIMG_Passion_Google_WWE_2.16.1700.1_FRG33_relea se_signed.zip"
What I get are all these files in a folder:
android-info (txt file)
boot (disc image file)
hboot_850_0.35.0017_100610.nb0 (nb0 file)
radio (disc image file)
recovery (disc image file)
spcustom (disc image file)
splash1 (disc image file)
system (disc image file)
userdata (disc image file)
Am I somehow extracting it wrong?
Click to expand...
Click to collapse
Listen. You need to have a zip file on the root of your sdcard which contains those 9 files that you mentioned, and is called PASSIMG.zip. There's nothing more to it than that.
Sent from my Nexus One using XDA Premium App
Well, I have that, so something on my phone may be messed up?
In the highlighted folder is exactly where I have those 9 files. The folder is in the very first section of the SD card, as seen in the first place it's highlighted.
In Java "lack of heap" means that you don't have enough memory, is that my problem you think?
There's some confusion somewhere, you want a zip file, not a folder.
moose9045 said:
Well, I have that, so something on my phone may be messed up?
In the highlighted folder is exactly where I have those 9 files. The folder is in the very first section of the SD card, as seen in the first place it's highlighted.
Click to expand...
Click to collapse
Like Rusty said, those files need to be in a zip file called PASSIMG.zip, not a folder. Don't extract them!
Sent from my Nexus One using XDA Premium App
So, I should just skip step 2? I end up with the file listed in the second part of the step before extracting.
When I right click --> properties the filetype is "File folder(.zip)"
Sorry to be such a hassle, but I'm really new at this type of stuff.
Thanks for going thru my stupidity.. my roommate just gave me the Doofus of the Year award...
moose9045 said:
So, I should just skip step 2? I end up with the file listed in the second part of the step before extracting.
When I right click --> properties the filetype is "File folder(.zip)"
Sorry to be such a hassle, but I'm really new at this type of stuff.
Click to expand...
Click to collapse
Do you know what a zip file is? Do you know what the difference is between a file and a folder? Do you know how to extract the contents of a zip file? These are basic computer issues, that if you are not familiar with, I would figure those out first before attempting anything.
Now, assuming you know the answers to the questions above: the file I linked to in the guide you referenced is a zip file. INSIDE that zip file is ANOTHER zip file. THAT is the file that you need to place in the root for your sdcard, NOT the contents of the second zip file...
You pic shows you have a folder called PASSIMG.zip, which tells me you probably extracted the contents of the second zip file, which you should not have done.

[DUMP] Requesting one for dev purposes

While my LG Black doesn't arrive I don't have a way to toy around with it since KDZ files come with a WDB inside (which can't be unpacked) unlike the DZ file used before.
That being said, can anyone get me a nandroid .img files?
In practice I only need boot.img and system.img but I'm a bit curious about the rest so I'd appreciate if anyone could zip them all, upload them somewhere (multiupload.com) and post here the link.
For a nandroid backup, you need cwm installed (follow the tutorial in this section), then you just need to boot into the custom recovery (use AnReboot for example) and pick backup. Afterwards, you can find the backup files in internal or external sdcard on /clockworkmod.
Thanks.
Noejn said:
While my LG Black doesn't arrive I don't have a way to toy around with it since KDZ files come with a WDB inside (which can't be unpacked) unlike the DZ file used before.
That being said, can anyone get me a nandroid .img files?
In practice I only need boot.img and system.img but I'm a bit curious about the rest so I'd appreciate if anyone could zip them all, upload them somewhere (multiupload.com) and post here the link.
For a nandroid backup, you need cwm installed (follow the tutorial in this section), then you just need to boot into the custom recovery (use AnReboot for example) and pick backup. Afterwards, you can find the backup files in internal or external sdcard on /clockworkmod.
Thanks.
Click to expand...
Click to collapse
I did a nandroid backup back in 23th June, but system.img is 364MB. I don't think I can upload it "soon", but I'll try while someone else does.
antonio1475 said:
I did a nandroid backup back in 23th June, but system.img is 364MB. I don't think I can upload it "soon", but I'll try while someone else does.
Click to expand...
Click to collapse
Sorry, 3 and a half hours collapsing my internet... I just can't. But I hope someone does.
Yes I‘m going to upload it today just give me one or two hours.
Sent from my LG-P970 using XDA App
Files upload finished
I have just finished the img files upload. I wish they can contribute for something.
The download link is: http://www.multiupload.com/9IOE4QTEYV
there's a way i found in a Chinese forum,i hope it can help you .btw i'm trying to develop a rom too
http://www.opda.com.cn/thread-375968-1-1.html
dxdiag32 said:
there's a way i found in a Chinese forum,i hope it can help you .btw i'm trying to develop a rom too
http://www.opda.com.cn/thread-375968-1-1.html
Click to expand...
Click to collapse
forget it ....i tried it ,it doesn't work ...we'd better ask nunogil for help
nunogil said:
I have just finished the img files upload. I wish they can contribute for something.
The download link is: http://www.multiupload.com/FLJCP2D9GS
Click to expand...
Click to collapse
hey dude ,can you please share how were you got the img files ?through dd command or convert .kdz file ?
I got the img files by doing a backup with cwm. Just install cwm as it is discribed in the tutorial and go to recovery mode using anreboot. Choose the backup option at recovery UI. After that open your sdcard/clockworkmod and get the img files and thats it.
Sent from my LG-P970 using XDA App
Like I've written in the first post, P970's KDZ files don't have a DZ inside but a WDB which can't be unpacked.
So that guide won't work.
aracks said:
Here's the google translate translation for this (saved time for you).
"1 Extract the official ROM
Download the official rom tools required:
Visitors, if you want to view hidden content please reply to this post
1) Download the tool to extract to any folder
I have the tools in "D: \ KDZtools" under
2) Extract the KDZ file, for example here in Hong Kong line V10A
Will V10A_00.kdz into any folder, where I put "D: \ ROM" folder.
Run KDZtools inside KP500-Utils-EN.exe, input i, carriage return (to extract files from KDZ)
Enter KDZ files, D: \ ROM \ V10A_00.kdz, Enter
The same directory to find V10A_00.cab file, extract the CAB file to get dz file, Hong Kong Bank V10A as: LGP500AT-00-V10a-454-XX-OCT-05-2010 +0- DZ.dz
3) Extract the files DZ
Extract the files need to use DZExtract.exe DZ
In the command line into the ROM folder: cd D: \ ROM
In the command line, enter D: \ KDZtools \ DZExtract.exe-x LGP500AT-00-V10a-454-XX-OCT-05-2010 +0- DZ.dz
Completed in the current folder will be a lot of files, which boot.img, system.mbn_0, system.mbn_1, system.mbn_2 we need the file.
4) merge and extract system.mbn
System.mbn to extract three files must first be combined to continue the command line, enter: copy / b system.mbn_0 + system.mbn_1 + system.mbn_2 system.mbn
Will system.mbn to a new folder, for example D: \ ROM \ system, enter the command: D: \ KDZtools \ unyaffsmbn.exe system.mbn
After completion of the official rom will be in system directory of all files, then you can delete system.mbn the.
5) Production of basic rom package
With 7-zip or winrar and other tools to create a zip format compressed archive
Step 3 will be the boot.img and 4 together to get the system folder into the directory with the compressed package to save.
Note: v10e, v10b etc. 2.2.1 version of the rom can not require special handling or root, as follows:
system / bin folder, delete all the file size of 28 bytes of system files.
Here we have a base rom package, you can begin to develop after a rom.
(2) customize their own ROM
Here you can own the "custom ROM" gorilla in the kitchen area to use the system"
Click to expand...
Click to collapse
My Black arrives next monday.
I'll decide then if it stays with me or goes to my gf.
Just keep it please :d
Sent from my LG-P970 using XDA App
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yusei kindly volunteered himself for a tweak of mine.
This is on stock ROM, no overclock, no anything.
is much more fluid and faster
open apps, multi tasking...
5*
Yusei said:
is much more fluid and faster
open apps, multi tasking...
5*
Click to expand...
Click to collapse
what kind of tweak did you do?
i04055 said:
what kind of tweak did you do?
Click to expand...
Click to collapse
it's a tweak made by Noejn and tested by me
at this time i'm very happy with the differences
Yusei said:
it's a tweak made by Noejn and tested by me
at this time i'm very happy with the differences
Click to expand...
Click to collapse
looks great... when will it be published?
at this time, i'm using go launcher ex and it get some laggy when scrolling in app drawer with cylinder effect. In the other hand, my old optimus one with custom rom done it smoothly... so frustrating...
did you modify the cache?
Noejn said:
Yusei kindly volunteered himself for a tweak of mine.
This is on stock ROM, no overclock, no anything.
Click to expand...
Click to collapse
Publish the tweak, please.
Sent from my LG-P970
that tweak will be posted soon
i'm testing in day-a-day use

[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In

[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In
Q&A for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Can' t Flash
Every time I try to flash the Optus AU reset onto my VODAPHONE AU M7, it either gets stuck at 10% if i do it with a full wipe, or 0% if I don't. Also, it never passes and MD5 verification, after multiple separate downloads.
Anyone know what to do?
Thanks.
TWRP back up of stock rom and stock recovery OTA 6.11.980.12
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Australian Optus Firmware & Nand of stock rom Rom
Crushalot
In case the mood takes you, and you one day feel like making an easy aroma reset for Optus Aussie users that will reset HTC m7-ul PNO7400 devices back to a (only just) pre Android L update, here is a TWRP back up of stock rom (ota 6.11.980.12) Optus Australia as, well as the Optus Aussie OTA 6.11.980.12 (contains stock recovery) 2x OTA links originally posted by deevan
TWRP Nand of stock rom Android 4.4.3, from ota 6.11.980.12 (Australia Optus)
mega.co.nz/#!BhBXBaBT!Fjsg4FNe3AzUCR-aTdiNOwM71zx6-zzKkVbuY-rZqWk
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
firmware.6.11.980.10.zip 43.1 MB (by deeevan)
mega.co.nz/#!QlIjzZoA!R18LEGCFJ85YV91rgiViohqw-QCzXO4fVEVm9h4ab68
firmware.6.11.980.12.zip 19.1 MB (By deeevan)
mega.co.nz/#!N4oS3aSZ!z2aM04WPtN2p1d9cWnmwkBi6UY_sNCbDB0ZBDAe 2RMY
Im still under 10 posts so I cant post full links.
This may help ppl go back to stock in time for the Android L OTA push!
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
Joeisgood99 said:
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Click to expand...
Click to collapse
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
yatindroid said:
Install ubuntu open ubuntu
Extract backup file in ubuntu
Click to expand...
Click to collapse
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar -xvf data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Yes sir, that's exactly the method i use :good:
Thank you So MUCH!
I'll try that as soon as I get a chance, and report back
Cheers for the help. ?
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Thanks Mate.
I will try on Ubuntu first as I use that about 90%of the time. I'll reply with results hopefully tomorrow! Excited to make my own easy reset with aroma.
Had to unlock bootloader via HTC token when my phone is S-Off...
My HTC M7 UL (PID)PNO7400, was rooted and later S-Off with fire water.
I had custom rom and recovery ect. After 6 months of this I wanted to update my firmware but for various reasons didn't want to do it via RUU so I found and used crushalots Easy Recovery Reset Tool.
This worked perfectly.
During the aroma install I chose NOT to install any firmware, just stock recovery and rom.
I also chose not to keep root as I believed that I may not be able to install OTA updates with rooted stock. (right or wrong?)
Immediately after everything was installed I was running stock 2.24.980.2 rom and recovery on 4.20.980.x firmware.
After relocking my bootloader via fastboot, there was no issues, my phone just downloaded several OTA in a row, installed each without a hitch, and about an hour and a half later I had a stock phone with the latest 6.11.980.12 firmware and software, with S-Off.
(BTW re locking the bootloader did not delete any of my data.)
As soon as this was finished I wanted to re install my beloved eragon rom, re gain root, and get my phone back the way it was pre the firmware update.
Having S-Off I thought this would be easy (fastboot flash recovery path/to/custom/recovery.img)
Didn't work.
Unfortunately I didn't keep a copy of the error message I got in terminal, however, I didnt have write permissions on that particular partition. (apologies to anyone trying to help as I know details are important here)
This stumped me, as I have rooted 3 other (older) HTC desire by getting S-Off then flashing custom recovery.img, (These phones were running 1.44 version of fastboot as opposed to my M7s 1.57) I tried to un lock the bootloader via fastboot commands just in case that worked post S-Off ie (fastboot oem unlock) but that didn't work. Firewater doesn't install its own bootloader so locking and unlocking via the s-off tool were not an option either.
I had to re apply to HTC for an unlock token and flash that before I could flash a custom recovery. I plan go back to stock again for the purposes of taking carrier OTA when my carrier starts updating with Android L, so would like to know if this is normal, if not how I possibly stuffed up.
Can any one explain why I had to unlock bootloader via HTC site when my phone is S-Off?
I'm interested in peoples thoughts/knowledge
Many thanks
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Joeisgood99 said:
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Click to expand...
Click to collapse
I simply extract system.ext4.win000 file in Ubuntu nothing more needed not a single error
its tar not rar !
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Joeisgood99 said:
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Click to expand...
Click to collapse
I asked some questions via PM he just replied that
ask anything when you stuck
yatindroid said:
I asked some questions via PM he just replied that
ask anything when you stuck
Click to expand...
Click to collapse
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar.
Click to expand...
Click to collapse
Exactly, see post #6
In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Click to expand...
Click to collapse
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Click to expand...
Click to collapse
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Click to expand...
Click to collapse
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
yatindroid said:
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
Click to expand...
Click to collapse
Thanks again yatindroid
I already have 7zip installed, However there is no option in archive manager to extract anything with it. After cd to file location I can view the . win file in terminal using [7z l file. win] but the [7z x file.win - d folder/i-want/extracted/to] command outputs the same error as stated in above post.
Q1) That aside the last step in this whole process is to zip it all up again as a . zip, so I'll be changing the file extension anyway, so does it matter if I change the file extension from . win to .tar for the purposes of extracting? If so ease explain why.
Q2) the ONLY place I have found a data/preload folder is inside a firmware .zip extracted from an OTA. It's definitely not in any TWRP back up. Did you leave that detail out of your initial instructions? Can you please tell me where to get the /preload folder from if not from the same OTA the recovery.img comes from.
Q3) do I put the data/preload folder inside the system folder of the reset tool or have it separate, along with radio.img, boot. img, recovery.img and aroma files ect.
Thanks for your time.
---------- Post added at 09:46 AM ---------- Previous post was at 09:33 AM ----------
alray said:
Exactly, see post #6
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Click to expand...
Click to collapse
Thanks array.
I replied to the other post before yours came up. Forgive me if I ask similar questions.
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Joeisgood99 said:
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Click to expand...
Click to collapse
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Click to expand...
Click to collapse
the folder must be in your_reset_rom.zip/data/preload
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
alray said:
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
the folder must be in your_reset_rom.zip/data/preload
Click to expand...
Click to collapse
Thanks for your excellent and timely reply.
More Qs.
I now have all folders as per your above post. I have taken data/preload, boot.img radio.img and recovery.img straight from OTA. 6.11.980.10
However my stock nand was of 6.11.980.12.
Q1) So do you know if having a system folder derived from a slightly newer version work? As far as I know the .12 OTA was a patch for the 'no voice during call' bug. OTA. 6.11.xxx. 12 did not contain a radio.img AND I can't get a data/preload folder for that ota as I can only find a 6.11.xxx.12 firmware. Not the whole OTA, which is why I reverted to making a . 980.10 reset tool despite having a slightly newer NAND.
Q2) I have edited the updater script in META-INF to reflect new radio and Android version ect. Do I need to update the MANIFEST. MF?
Hope that was clear enough to understand.
A big THANKS for your Help and time!

MOTO MAXX / DROID TURBO / X STYLE LOGOs BIN

I made some LOGOs.bin for our Moto Maxx, I believe this will work on Droid Turbo and X Style, but I can't confirm without the device in my hands. (resolution=1440 x 2560) Try at your own risk.
INSTALL MODE: Install Drivers in your PC, enable USB debugging (or load bootloader), download and run *.exe of your choose .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
DOWNLOAD
Alternative: ARQUIVOS .BIN
ENJOY!
Equipe Maxximizar
These are awesome. I'm flashing one on my phone this morning. Thanks
Any chance of u making a flash able zip
Sent from my DROID Turbo using Tapatalk
PILLMUZIK3600 said:
Any chance of u making a flash able zip
Sent from my DROID Turbo using Tapatalk
Click to expand...
Click to collapse
Not Any time soon, I'll travel tomorrow. By the way I tryed before to put this logo.bin in another flashable.zip with no luck. Can you try?
Sent from my Moto MAXX using XDA-Developers mobile app
"Sorry, the file you have requested does not exist." None of the "DOWNLOAD" links I tried are working. And the alternate at the bottom of the OP gives a 404. Two different browsers, same results.
do these links work for anyone?
rayjr13 said:
do these links work for anyone?
Click to expand...
Click to collapse
These do.
ADB flashable:
https://forum.xda-developers.com/showpost.php?p=68538894&postcount=2
TWRP flashable:
https://forum.xda-developers.com/showpost.php?p=68579272&postcount=5
ChazzMatt said:
These do.
ADB flashable:
https://forum.xda-developers.com/showpost.php?p=68538894&postcount=2
TWRP flashable:
https://forum.xda-developers.com/showpost.php?p=68579272&postcount=5
Click to expand...
Click to collapse
That's awesome...but do these links work for anyone?
rayjr13 said:
That's awesome...but do these links work for anyone?
Click to expand...
Click to collapse
IF you are referring to the links in post #1, I just tried the last 2 working from the bottom up and YES the links caused a file to download to my PC from a Google Drive. But using my PC web browser, they seem to be downloading as .exe files, which makes no sense.
You can't run .exe files on an Android, and why would you need Windows .exe files for an Android boot logo on a PC? An EXE file is to INSTALL something on a PC. I scanned with Malwarebytes and there was no threat detected.
I took a peak at one using 7-Zip and Resource Hacker. Using 7-Zip, I found it is a compressed file that contains: ADB, mfastboot, AdbWinUsbApi.dll, AdbWinApi.dll, a logo.bin file, a copy of the image in JPG format, an icon file, and a command file to automate the process of flashing from Windows and open the website www.maxximizar.vai.la (redirects to maxximizar.wordpress.com) in your default browser when done. Using Resource Hacker I found it is a self-extracting archive made using WinRAR using a custom icon, so that's why it's an .exe instead of .zip, .rar, etc.
hitokage004 said:
I took a peak at one using 7-Zip and Resource Hacker. Using 7-Zip, I found it is a compressed file that contains: ADB, mfastboot, AdbWinUsbApi.dll, AdbWinApi.dll, a logo.bin file, a copy of the image in JPG format, an icon file, and a command file to automate the process of flashing from Windows and open the website www.maxximizar.vai.la (redirects to maxximizar.wordpress.com) in your default browser when done. Using Resource Hacker I found it is a self-extracting archive made using WinRAR using a custom icon, so that's why it's an .exe instead of .zip, .rar, etc.
Click to expand...
Click to collapse
@hitokage004, you've been very helpful in a lot of threads. Thank you!
ChazzMatt said:
IF you are referring to the links in post #1, I just tried the last 2 working from the bottom up and YES the links caused a file to download to my PC from a Google Drive. But using my PC web browser, they seem to be downloading as .exe files, which makes no sense.
You can't run .exe files on an Android, and why would you need Windows .exe files for an Android boot logo on a PC? An EXE file is to INSTALL something on a PC. I scanned with Malwarebytes and there was no threat detected.
Click to expand...
Click to collapse
I made those EXE files because it's easier to flash logo trough fastboot commands and those EXE ia an automated way to do it on your computer. I linked the .bin files if anyone wants to do it backuping/restoring the right partition from Android terminal or third app..

Error message when using MiFlash/Phone stuck in Recovery/Fastboot no OS installed.

Hi I tried to install a new Rom Ive had experience before in doing this so thought it would be like the countless other times ive done on Samsung.
Ive unlocked
Ive installed a recovery (did have TWRP but now using PitchBlack)
It says I dont have any download or storage in recovery
stuck in fastboot
When using MiFlash (which Ive no experience of)error message, see attached image.
Any help in next steps be much appreciated.
In the folder where rom is, create an empty folder and rename it to log.
Then try reflashing. It should work
Cheers
i dont have the rom on my phone anymore and miflash is giving that error
abhi24365 said:
In the folder where rom is, create an empty folder and rename it to log.
Then try reflashing. It should work
Cheers
Click to expand...
Click to collapse
any other ideas bud?
needs to do testpoint and flash china rom using miflash tool+authorized account
---------- Post added at 04:27 PM ---------- Previous post was at 04:26 PM ----------
for the screenshot means your windows doesnt support the miflash tool
you need to switch to other windows 7 pc
I got the log folder done now giving this error:
checasey said:
I got the log folder done now giving this error:
Click to expand...
Click to collapse
That's not an error, it means it's done installing your drivers
oh really?!! what do I do now then?
cheers for the help
trying to install stock rom using miflash, it says cannot find file flash_all_lock.bat anyone help?
Hi, it happened yesterday, I did the following:
1- download my flash last
2-decompress my flash and create empty folder with the name of log inside what was decompressed
3-download compatible firmware in .tgz format not in .zip
4- unzip .tgz file on disk C, rename the folder to raphaeli (I don't know if necessary, I don't think so I did).
5- open miflash, install drivers.
6-find the raphaeli folder and click on refresh.
7- uncheck the box below where it says block if this is not the case.
I hope you understand me, sorry for the English use a translator
hallowinx said:
Hi, it happened yesterday, I did the following:
1- download my flash last
2-decompress my flash and create empty folder with the name of log inside what was decompressed
3-download compatible firmware in .tgz format not in .zip
4- unzip .tgz file on disk C, rename the folder to raphaeli (I don't know if necessary, I don't think so I did).
5- open miflash, install drivers.
6-find the raphaeli folder and click on refresh.
7- uncheck the box below where it says block if this is not the case.
I hope you understand me, sorry for the English use a translator
Click to expand...
Click to collapse
Ill give this a whirl thank you
hallowinx said:
Hi, it happened yesterday, I did the following:
1- download my flash last
2-decompress my flash and create empty folder with the name of log inside what was decompressed
3-download compatible firmware in .tgz format not in .zip
4- unzip .tgz file on disk C, rename the folder to raphaeli (I don't know if necessary, I don't think so I did).
5- open miflash, install drivers.
6-find the raphaeli folder and click on refresh.
7- uncheck the box below where it says block if this is not the case.
I hope you understand me, sorry for the English use a translator
Click to expand...
Click to collapse
how do you download in .tgz format?
checasey said:
how do you download in .tgz format?
Click to expand...
Click to collapse
or sorry how do you unzip a .tgz file it does not give that option?
checasey said:
or sorry how do you unzip a .tgz file it does not give that option?
Click to expand...
Click to collapse
You don't unzip the .tgz file. You flash the .tgz file using MiFlash. Before you flash the file make sure the "clean all and lock" on the bottom right corner IS NOT SELECTED. If you flash it with it selected it will lock your bootloader and you will most likely brick your phone.
I just got the .tgz file but now getting this error, anyone able to help? please im begging at this stage!!!
checasey said:
I just got the .tgz file but now getting this error, anyone able to help? please im begging at this stage!!!
Click to expand...
Click to collapse
Try extracting the tgz file into C: drive. If you see an image folder flash that folder
Bubble Tea said:
Try extracting the tgz file into C: drive. If you see an image folder flash that folder
Click to expand...
Click to collapse
Getting this error. Everything is done exactly as it should be not sure whats the problem
Can you show pictures of what's inside of the folder you're trying to flash.
Bubble Tea said:
Can you show pictures of what's inside of the folder you're trying to flash.
Click to expand...
Click to collapse
yeah sure, i attached the folder. i really appreciate the help
checasey said:
yeah sure, i attached the folder. i really appreciate the help
Click to expand...
Click to collapse
EDITED.
My bad. Failed to notice you're not showing file extensions, so didn't realise the .bat files are actually there. Ignore original post.
After seeing the error have you tried booting into the phone?
Many times users say they get an error at the end of flashing with the Mi Flash Tool, but after, they can boot into MIUI and everything is fine. Not seen this error myself, so don't know if it's the same as your seeing.

Categories

Resources