how make a custom recovery file flashable for sp flash tool - General Questions and Answers

can someone teach me how make flashable custom recovery file for sp flash tool?.. I already know how to port custom recovery, the problem is how to make it flashble to lsp flash tool ,, the img file.. thank you

Heremias said:
can someone teach me how make flashable custom recovery file for sp flash tool?.. I already know how to port custom recovery, the problem is how to make it flashble to lsp flash tool ,, the img file.. thank you
Click to expand...
Click to collapse
It isn't specific to your device but, try going to this thread and download ONLY the TWRP 3.0.0.3 for SPflashtool file.
https://forum.xda-developers.com/k3-note/general/sp-flash-tool-tutorial-to-install-twrp-t3346041
Then extract the file, then replace the scatter file and the recovery.img in that file with your scatter file and your recovery.img(make sure to rename your recovery .img to "recovery.img")
Then just follow the flashing instructions listed under the "Now, the flashing part" in that thread.
Sent from my LGL84VL using Tapatalk

Droidriven said:
It isn't specific to your device but, try going to this thread and download ONLY the TWRP 3.0.0.3 for SPflashtool file.
https://forum.xda-developers.com/k3-note/general/sp-flash-tool-tutorial-to-install-twrp-t3346041
Then extract the file, then replace the scatter file and the recovery.img in that file with your scatter file and your recovery.img(make sure to rename your recovery .img to "recovery.img")
Then just follow the flashing instructions listed under the "Now, the flashing part" in that thread.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?

Heremias said:
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?
Click to expand...
Click to collapse
You didn't understand anything about what I said
I did not tell you to use the recovery in the link that I posted.
I told you to download the file that is linked in the thread that I gave you.
Then extract the file that you download, open the folder that extracts from it then delete the scatter file that it contains and delete the recovery file that it contains.
Then you need to place a copy of the scatter file for your device and the recovery.img for your device in the extracted folder. Make sure that you change the name of your device's recovery file to "recovery.img", otherwise, the program will not recognize your recovery file. After placing YOUR files in that folder, you are ready to flash the device.
If you didn't understand that clearly then I can't help you.
Sent from my LGL84VL using Tapatalk

Heremias said:
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?
Click to expand...
Click to collapse
im sorry, okay ill try this

Related

what's the difference between an NBH file and a rom in a ZIP file?

from what i understand... you can apply an image file with an NBH extension through fastboot... and you can also apply an image file with a ZIP extension through a flashed recovery mode.
what's the difference between these two kinds of files and two methods of flashing?
also... the instructions that i followed on the cyanogenmod website had me perform these steps.... 1) flash NBH in fastboot, 2) flash recovery using app installer, 3) flash cyanogenmod through recovery mode. my question is... why was the first step (flash NBH in fastboot) necessary? why couldn't i have just gone straight to flashing the recovery mode and then flashing cyanogenmod using recovery mode?
thanks for the help everybody!
anybody? somebody must know the answer to this.
i think nbh file contains all of the rom function such as spl, radio, system,image while zip file contains onyl apps, boot image and system folder
asterix005 said:
i think nbh file contains all of the rom function such as spl, radio, system,image while zip file contains onyl apps, boot image and system folder
Click to expand...
Click to collapse
yep and nbh is uploaded using fastboot, while a zip is done through the recovery image
tazz9690 said:
yep and nbh is uploaded using fastboot, while a zip is done through the recovery image
Click to expand...
Click to collapse
how do you fastboot :-(

how to create a boot.tar.md5 file from img For Odin

how to create a boot.tar.md5 file from img For Odin please
I already try with the script of this post => http://forum.xda-developers.com/showthread.php?t=2446269 but it does not work , Rodin speaks of a problem md5.
I join my boot.img if someone could make me a boot flashable via odin I should thank him !
link boot.img => boot.img
naudmick said:
how to create a boot.tar.md5 file from img For Odin please
I already try with the script of this post => http://forum.xda-developers.com/showthread.php?t=2446269 but it does not work , Rodin speaks of a problem md5.
I join my boot.img if someone could make me a boot flashable via odin I should thank him !
Click to expand...
Click to collapse
try this in terminal(if you use linux)
"tar cvf mykernel.tar boot.img"
don't forget to cd to directory of the boot.img file.
neonkat said:
try this in terminal(if you use linux)
"tar cvf mykernel.tar boot.img"
don't forget to cd to directory of the boot.img file.
Click to expand...
Click to collapse
try does not work via terminal emulator ! pc windows 10 no Linux
no way to flash a boot.img via odin ???
naudmick said:
try does not work via terminal emulator ! pc windows 10 no Linux
no way to flash a boot.img via odin ???
Click to expand...
Click to collapse
try this:-http://forum.xda-developers.com/showthread.php?t=2446269
Just use official tar for Windows.
You can't flash an img file in Odin needs to be tar or md5 file. 7zip tars don't work but that does.
neonkat said:
try this:-http://forum.xda-developers.com/showthread.php?t=2446269
Click to expand...
Click to collapse
already trying bootloop
Test file here => https://mega.nz/#!nxcRyJ5T!xrTinHRyxrQaln933BmBg-fM-xz2B9-RK1kqbspYHqk
exad said:
Just use official tar for Windows.
You can't flash an img file in Odin needs to be tar or md5 file. 7zip tars don't work but that does.
Click to expand...
Click to collapse
test and bootloop
Maybe the problem is your boot.img file
naudmick said:
test and bootloop
Click to expand...
Click to collapse
you can install cygwin(linux emulator for win) and try my commands in post #2 ..else request some other user who have linux to make one for you.
exad said:
Maybe the problem is your boot.img file
Click to expand...
Click to collapse
I extract the boot.img rom stock CIO9 with winrar problem just might be the !
naudmick said:
I extract the boot.img rom stock CIO9 with winrar problem just might be the !
Click to expand...
Click to collapse
Do you have TWRP installed? Custom Rom with root?
davebugyi said:
Do you have TWRP installed? Custom Rom with root?
Click to expand...
Click to collapse
No TWRP installed and stock Rom COI9 with root UniKernel v8-0002 COH9 to install the application in priv-app and wanted to return to the stock kernel.
if someone already you extract a kernel ?
naudmick said:
No TWRP installed and stock Rom COI9 with root UniKernel v8-0002 COH9 to install the application in priv-app and wanted to return to the stock kernel.
if someone already you extract a kernel ?
Click to expand...
Click to collapse
flash custom kernel,boot up,flash stock boot.img with flashify app
problem solved.
neonkat said:
flash custom kernel,boot up,flash stock boot.img with flashify app
problem solved.
Click to expand...
Click to collapse
Extract Boot.img (stock COI9 tar.md5) with Winrar, 7zip or other ?
naudmick said:
Extract Boot.img (stock COI9 tar.md5) with Winrar, 7zip or other ?
Click to expand...
Click to collapse
doesn't matter..just get the boot.img.
I talk to extract the boot.img archive. tar stock coi9
naudmick said:
I talk to extract the boot.img archive. tar stock coi9
Click to expand...
Click to collapse
you mean from stock rom.zip?
Stock rom COI9.tar samobile no zip
naudmick said:
Stock rom COI9.tar samobile no zip
Click to expand...
Click to collapse
search over google or xda,there are different tools which help to extract the samsung's stock rom(.tar.md5).
or request someone to upload it.

How To Convert .ftf files to Flashable .zip WITHOUT Extracting System.sin

This guide will help you to convert a stock ftf file to a flashable zip file for CWM or TWRP or any other Recovery. Be sure you know what your doing before proceeding!!
Steps.
1: Extract the ftf file using any unzip manager or winter etc. You will see a bunch of files, but we only need the system.sin, boot.img, and META-INF files and folders for this procedure.
2: Go to META-INF->com->google-android folder and edit updater-script with a Text editor. Go down to package_extract_dir("system", "/system."); and change that to:
package_extract_file("system.sin","/dev/block/platform/msm_sdcc.1/by-name/system");
3: Save and exit.
4: Now create a zip of the boot.img, system.sin and META-INF files and folders and flash in Recovery. Enjoy!
If bootloop occurs then you may have done something wrong. Edit ROM again in PC and move to phone sdcard and try to flash again. If bootloops again, just flash stock ROM back.
Thanks!!!
Sent from my D6503 using XDA-Developers mobile app
Brandon Nel said:
This guide will help you to convert a stock ftf file to a flashable zip file for CWM or TWRP or any other Recovery. Be sure you know what your doing before proceeding!!
Steps.
1: Extract the ftf file using any unzip manager or winter etc. You will see a bunch of files, but we only need the system.sin, boot.img, and META-INF files and folders for this procedure.
2: Go to META-INF->com->google-android folder and edit updater-script with a Text editor. Go down to package_extract_dir("system", "/system."); and change that to:
package_extract_file("system.sin","/dev/block/platform/msm_sdcc.1/by-name/system");
3: Save and exit.
4: Now create a zip of the boot.img, system.sin and META-INF files and folders and flash in Recovery. Enjoy!
If bootloop occurs then you may have done something wrong. Edit ROM again in PC and move to phone sdcard and try to flash again. If bootloops again, just flash stock ROM back.
Thanks!!!
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
Hi, I only see boot.sin and not boot.img. What do I have to do? Thx.
Edit: In META-INF folder, I only have MANIFEST.MF.
Thx for any help.
Brandon Nel said:
This guide will help you to convert a stock ftf file to a flashable zip file for CWM or TWRP or any other Recovery. Be sure you know what your doing before proceeding!!
Steps.
1: Extract the ftf file using any unzip manager or winter etc. You will see a bunch of files, but we only need the system.sin, boot.img, and META-INF files and folders for this procedure.
2: Go to META-INF->com->google-android folder and edit updater-script with a Text editor. Go down to package_extract_dir("system", "/system."); and change that to:
package_extract_file("system.sin","/dev/block/platform/msm_sdcc.1/by-name/system");
3: Save and exit.
4: Now create a zip of the boot.img, system.sin and META-INF files and folders and flash in Recovery. Enjoy!
If bootloop occurs then you may have done something wrong. Edit ROM again in PC and move to phone sdcard and try to flash again. If bootloops again, just flash stock ROM back.
Thanks!!!
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
no boot.img or boot.sin is found. False tutorial.

Difference between zip and img?

Hi
What is the difference between a flashable zip and a .img file for installing twrp?
I found an unofficial twrp and they listed a .img file and a flashable zip.
The img one is no longer available but inside the flashable zip there's a .img file. Can I take out the img file and flash that?
I don't need a detailed response all I need is a yes or no.
Thanks
(link to the twrp if you're wondering)
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-1-0-alcatel-pixi-45-t3657927
Yeah go ahead and flash the recovery.img file thats your twrp recovery

A7 (2018) – Working TWRP

Hi!
I tried 4 TWRP versions that i found on youtube and this forum, but none seems to work. Each version makes my screen glitchy then restarts into bootloop.
Can someon help me with the right TWRP version for my device?
RP SWREV: B:5 K:5 S:5
Device is SM-A750FN
{
"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"
}
itsmirel said:
Hi!
I tried 4 TWRP versions that i found on youtube and this forum, but none seems to work. Each version makes my screen glitchy then restarts into bootloop.
Can someon help me with the right TWRP version for my device?
RP SWREV: B:5 K:5 S:5
Device is SM-A750FN
View attachment 5264873
Click to expand...
Click to collapse
Download the stock recovery and any TWRP from the internet for your device. Downlaod carliv image kitchen and extract your stock recovery. Copy recovery.img-kernel and “recovery.img-kernel_offset”to any location in your pc. Now take the TWRP for your phone that you download but it's not WORKING. Extract it in the same way using carliv image kitchen. Form this extracted TWRP of your device delete recovery.img-kernel and “recovery.img-kernel_offset” and replace it with the file you copied from your stock recovery in the first step. Then repack this image and flash it. BTW is your bootloader unlocked?
Tab E said:
Download the stock recovery and any TWRP from the internet for your device. Downlaod carliv image kitchen and extract your stock recovery. Copy recovery.img-kernel and “recovery.img-kernel_offset”to any location in your pc. Now take the TWRP for your phone that you download but it's not WORKING. Extract it in the same way using carliv image kitchen. Form this extracted TWRP of your device delete recovery.img-kernel and “recovery.img-kernel_offset” and replace it with the file you copied from your stock recovery in the first step. Then repack this image and flash it. BTW is your bootloader unlocked?
Click to expand...
Click to collapse
Yes, my bootloader is unlocked (if you mean to ask if i have checked OEM/USB debugging in developer mode), I unlocked it first time i tried to run TWRP.
By "repack this image and FLASH IT", flash it using Odin, right?
My current TWRP is unaccessible
Tab E said:
Download the stock recovery and any recovery from the internet for your device. Downlaod carliv image kitchen and extract your stock recovery. Copy recovery.img-kernel and “recovery.img-kernel_offset”to any location in your pc. Now take the TWRP for your phone that you download but it's not WORKING. Extract it in the same way using carliv image kitchen. Form this extracted TWRP of your device delete recovery.img-kernel and “recovery.img-kernel_offset” and replace it with the file you copied from your stock recovery in the first step. Then repack this image and flash it. BTW is your bootloader unlocked?
Click to expand...
Click to collapse
itsmirel said:
Yes, my bootloader is unlocked (if you mean to ask if i have checked OEM/USB debugging in developer mode), I unlocked it first time i tried to run TWRP.
By "repack this image and FLASH IT", flash it using Odin, right?
My current TWRP is unaccessible
Click to expand...
Click to collapse
Is fastboot available? If yes then use fastboot to flash. If no try odin
Tab E said:
Is fastboot available? If yes then use fastboot to flash. If no try odin
Click to expand...
Click to collapse
I guess so
Ok great. Then go ahead with fastboot
Tab E said:
Ok great. Then go ahead with fastboot
Click to expand...
Click to collapse
i will use odin, i dont know how to enter fastboot and couldnt find
Tab E said:
Download the stock recovery and any TWRP from the internet for your device. Downlaod carliv image kitchen and extract your stock recovery. Copy recovery.img-kernel and “recovery.img-kernel_offset”to any location in your pc. Now take the TWRP for your phone that you download but it's not WORKING. Extract it in the same way using carliv image kitchen. Form this extracted TWRP of your device delete recovery.img-kernel and “recovery.img-kernel_offset” and replace it with the file you copied from your stock recovery in the first step. Then repack this image and flash it. BTW is your bootloader unlocked?
Click to expand...
Click to collapse
can you be more specific please? i dont know and understand how to use carliv image kitchen
this is what i downloaded
itsmirel said:
i will use odin, i dont know how to enter fastboot and couldnt find
can you be more specific please? i dont know and understand how to use carliv image kitchen
this is what i downloaded
Click to expand...
Click to collapse
ALSO, the stock rom i downloaded has only .md5 files
itsmirel said:
i will use odin, i dont know how to enter fastboot and couldnt find
can you be more specific please? i dont know and understand how to use carliv image kitchen
this is what i downloaded
Click to expand...
Click to collapse
itsmirel said:
i will use odin, i dont know how to enter fastboot and couldnt find
can you be more specific please? i dont know and understand how to use carliv image kitchen
this is what i downloaded
Click to expand...
Click to collapse
Use md5 firmware extractor
[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-D710)
I've received a TON of PM's and emails asking how to do this and I've decided to do a write-up for everyone. Now to start off, this does not automatically make you a Super Duper Developer, this does not show you how to make your own TAR ROMs...
forum.xda-developers.com
Open carliv.bat batch file.
Copy your device’s stock ROM’s recovery.img and paste it in the “recovery-resources” named folder that is located inside the unzipped folder.
In the Carliv Image Kitchen window, type in R and press enter. Next, type 1 and hit enter again.
Type 1 to unpack the image file that you downloaded earlier.
If you get a message, “Your image is unpacked in recovery folder”, you have successfully unpacked the image file.
Now open the recovery folder in the Carliv unzipped folder. Look around for a folder named “ramdisk” and other files.
Create a new folder somewhere and name it “stock” (you can name it anything you want). Copy and paste all the contents from the “recovery” folder (ramdisk folder and all 10 other files).
Next, delete the recovery.img file that was left behind on the “recovery-resources” folder before.
Also, delete all the contents in “recovery” folder.
Copy and paste the custom recovery image file, the TWRP that you want to port into the “recovery-resources” folder.
You will need to repeat the same steps as before.
never delete the custom recovery image in the “recovery-resources” folder.
Copy the “recovery.img-kernel” and “recovery.img-kernel_offset” from the stock folder and paste it to the TWRP which you extracted in recovery folder in carliv image kitchen . Overwrite it to replace existing files with the same name.
In the Carliv Image Kitchen window, type 2 and hit the enter key.
A message notifying that the image file was repacked will appear. You can view it on the output folder named “output”. This is the brand new TWRP ported image file.
Copy the newly made image file from the “output” folder and paste it to a new folder. Rename it as you want with any name of your choice. Hope it helps. If you are still stuck I'll do it for you
Tab E said:
Use md5 firmware extractor
[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-D710)
I've received a TON of PM's and emails asking how to do this and I've decided to do a write-up for everyone. Now to start off, this does not automatically make you a Super Duper Developer, this does not show you how to make your own TAR ROMs...
forum.xda-developers.com
Open carliv.bat batch file.
Copy your device’s stock ROM’s recovery.img and paste it in the “recovery-resources” named folder that is located inside the unzipped folder.
In the Carliv Image Kitchen window, type in R and press enter. Next, type 1 and hit enter again.
Type 1 to unpack the image file that you downloaded earlier.
If you get a message, “Your image is unpacked in recovery folder”, you have successfully unpacked the image file.
Now open the recovery folder in the Carliv unzipped folder. Look around for a folder named “ramdisk” and other files.
Create a new folder somewhere and name it “stock” (you can name it anything you want). Copy and paste all the contents from the “recovery” folder (ramdisk folder and all 10 other files).
Next, delete the recovery.img file that was left behind on the “recovery-resources” folder before.
Also, delete all the contents in “recovery” folder.
Copy and paste the custom recovery image file, the TWRP that you want to port into the “recovery-resources” folder.
You will need to repeat the same steps as before.
never delete the custom recovery image in the “recovery-resources” folder.
Copy the “recovery.img-kernel” and “recovery.img-kernel_offset” from the stock folder and paste it to the TWRP which you extracted in recovery folder in carliv image kitchen . Overwrite it to replace existing files with the same name.
In the Carliv Image Kitchen window, type 2 and hit the enter key.
A message notifying that the image file was repacked will appear. You can view it on the output folder named “output”. This is the brand new TWRP ported image file.
Copy the newly made image file from the “output” folder and paste it to a new folder. Rename it as you want with any name of your choice. Hope it helps. If you are still stuck I'll do it for you
Click to expand...
Click to collapse
The stock rom i downloaded has multiple .md5 archives. And [AP_A 750...] has inside a recovery.img.lz4 file
Should i download other stock rom? Or use this as .img.lz4
itsmirel said:
The stock rom i downloaded has multiple .md5 archives. And [AP_A 750...] has inside a recovery.img.lz4 file
Should i download other stock rom? Or use this as .img.lz4
Click to expand...
Click to collapse
Btw, the tutorial "How To Extract Files From a TAR.MD5 Stock ROM" isn't working anymore. his MyBB forum doesnt work. (MyBB has experienced an internal error and cannot continue.)
Tab E said:
Use md5 firmware extractor
[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-D710)
I've received a TON of PM's and emails asking how to do this and I've decided to do a write-up for everyone. Now to start off, this does not automatically make you a Super Duper Developer, this does not show you how to make your own TAR ROMs...
forum.xda-developers.com
Open carliv.bat batch file.
Copy your device’s stock ROM’s recovery.img and paste it in the “recovery-resources” named folder that is located inside the unzipped folder.
In the Carliv Image Kitchen window, type in R and press enter. Next, type 1 and hit enter again.
Type 1 to unpack the image file that you downloaded earlier.
If you get a message, “Your image is unpacked in recovery folder”, you have successfully unpacked the image file.
Now open the recovery folder in the Carliv unzipped folder. Look around for a folder named “ramdisk” and other files.
Create a new folder somewhere and name it “stock” (you can name it anything you want). Copy and paste all the contents from the “recovery” folder (ramdisk folder and all 10 other files).
Next, delete the recovery.img file that was left behind on the “recovery-resources” folder before.
Also, delete all the contents in “recovery” folder.
Copy and paste the custom recovery image file, the TWRP that you want to port into the “recovery-resources” folder.
You will need to repeat the same steps as before.
never delete the custom recovery image in the “recovery-resources” folder.
Copy the “recovery.img-kernel” and “recovery.img-kernel_offset” from the stock folder and paste it to the TWRP which you extracted in recovery folder in carliv image kitchen . Overwrite it to replace existing files with the same name.
In the Carliv Image Kitchen window, type 2 and hit the enter key.
A message notifying that the image file was repacked will appear. You can view it on the output folder named “output”. This is the brand new TWRP ported image file.
Copy the newly made image file from the “output” folder and paste it to a new folder. Rename it as you want with any name of your choice. Hope it helps. If you are still stuck I'll do it for you
Click to expand...
Click to collapse
i am in the same position, have read your guide intensively but do not succeed in finding the "recovery-resources" folder, and i my version of CiC there is no R (ecovery) in the main menu. will you be so kind to make the twrp?
benniehelder said:
i am in the same position, have read your guide intensively but do not succeed in finding the "recovery-resources" folder, and i my version of CiC there is no R (ecovery) in the main menu. will you be so kind to make the twrp?
Click to expand...
Click to collapse
Following this guide has booted TWRP on some devices. Please make sure you are on android 10
Tab E said:
Following this guide has booted TWRP on some devices. Please make sure you are on android 10
Click to expand...
Click to collapse
thx,thx,thx for the support!. I have done the carliv protocol but in the end the new compiled twrp failed in Odon. Maybe the new image converting to ,tar is the culprit? after that i tried to do the method in the video but twarp was 3 seconds visible and then back in bootloop!. i shall DL the magisk 20.3 edition. maybe that makes the difference'I bought this A7 last monday after a HUawei, that has no posibilities whatsoever for twrp or root, but in this Samsung I totally surprised that it, untill now, is so umbeatable, albeit unlocked!
benniehelder said:
thx,thx,thx for the support!. I have done the carliv protocol but in the end the new compiled twrp failed in Odon. Maybe the new image converting to ,tar is the culprit? after that i tried to do the method in the video but twarp was 3 seconds visible and then back in bootloop!. i shall DL the magisk 20.3 edition. maybe that makes the difference'I bought this A7 last monday after a HUawei, that has no posibilities whatsoever for twrp or root, but in this Samsung I totally surprised that it, untill now, is so umbeatable, albeit unlocked!
Click to expand...
Click to collapse
how to make from the new homemade recovery a tar, so you can flash with odin?
benniehelder said:
how to make from the new homemade recovery a tar, so you can flash with odin?
Click to expand...
Click to collapse
Convert TWRP .img to .tar (for ODIN)[Easy]
Sometimes the latest version of TWRP is in ".img", so some people use an older version instead, which is in .tar, so they can flash it with ODIN. The thing is that the ".tar" version is just the ".img" compressed XD, so I'm going to show you how...
forum.xda-developers.com
i had done this with z7 myself already, but to no avail, but: i began, in a moment of despair, with Odon to try all the .tars i had collected sofar , to flash and when i flashed PBRP (it was not the first time) it worked!!!. after a week the gizmo do have a recovery, that is not stock! Little new prob: By rebooting system he bootloops (for a change!) in bootloader mode.

Categories

Resources