Unroot & Re-pack firmware? - Galaxy S 5 Q&A, Help & Troubleshooting

I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.

wee2000 said:
I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.
Click to expand...
Click to collapse
Your best bet is to post this question within the following Q&A thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

ok done, thx 4 the info

just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img

just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img

wee2000 said:
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
Click to expand...
Click to collapse
Should we search for this firmware or you can provide a link to its thread?

the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/

wee2000 said:
the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/
Click to expand...
Click to collapse
Generally, if it's 6.0.1 and rooted systemlessly, you need to replace boot.img with a stock one and remove SuperSU app from system.img.
This ROM intended to be flashed from TWRP, so it's an ext4 image.
You can mount it to a linux system on your PC and remove anything you want.

I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.

wee2000 said:
I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.
Click to expand...
Click to collapse
Ok, here' a simpler way:
1. Make changes on one phone.
2. Make a TWRP backup of boot and system partitions.
3. Restore this backup on other phones. They must have TWRP installed, a 6.0.1 bootloader and modem.
You'll have to rename backup's folder path and to wipe cache/data/system before restore.

can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..

wee2000 said:
can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..
Click to expand...
Click to collapse
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.

thx so much, already passed all units to the buyer. ill try that on next batch restock, may iknow if there's a way to get the service menu shortcode *#0*# to work again? This rom doesn't has the service menu.

bbsc said:
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.
Click to expand...
Click to collapse
I've replaced the updater-script in the zip file, but supersu is still there

Related

Rom in .img format??

Hey guys
The volume rocker on my HD2 is broken, and I have cLK flashed on my device. My problem is that I can only boot into cLK and fastboot mode as recovery is useless to me because I cant navigate through the options using the volume rocker.
I am looking for a rom (android/winmo) that is a .img file so that I can flash through fastboot, or if any of you know any other possible way I can flash a rom through fastboot so I can get my phone working again. Right now I dont mind which rom I flash, as long as I get my phone in working order again.
All help is GREATLY appreciated....!!!
If anyone also knows how I can compile a rom into a .img file so I can flash through fastboot, that is also welcomed help!
Any ROM you download that is for cLK has a. img file in it. you will have to extract the file from the. zip hou download to find it. Read my post here it will give youthe details on how to flash your ROM.
T-Macgnolia said:
Any ROM you download that is for cLK has a. img file in it. you will have to extract the file from the. zip hou download to find it. Read my post here it will give youthe details on how to flash your ROM.
Click to expand...
Click to collapse
Hey bud, thanks for the reply, but my question still remains... what about the other 2 folders in the rom folder (META-INF and SYSTEM) what happens with those? lol....
atsavlis said:
Hey bud, thanks for the reply, but my question still remains... what about the other 2 folders in the rom folder (META-INF and SYSTEM) what happens with those? lol....
Click to expand...
Click to collapse
Sorry for the late response but those two files do get used, the img file oules the information from them as it is flashing. To put it simply when you initiate the flash the img does the rest of the work. The img file is sort of like a cab file for Windows Mobile only it is not all self contained and has more functions than just to install the software. Note I said sort of not exactly like, that is just a comparison to help you understand. When you flash a Android ROM via CWM it essentialy just activates the img file to flash the ROM.
Daf roms come as a system.img
or
if you have access to another hd2, flash the target rom to it and then use mkyaffs2img command in the terminal to dump the system folder to a system.img file.
Benefit of this would be you can tweak the rom(reduce size for example, by removing unwanted apps) before you dump to system.img
samsamuel said:
Daf roms come as a system.img
or
if you have access to another hd2, flash the target rom to it and then use mkyaffs2img command in the terminal to dump the system folder to a system.img file.
Benefit of this would be you can tweak the rom(reduce size for example, by removing unwanted apps) before you dump to system.img
Click to expand...
Click to collapse
Thanks for getting back to me buddy! Unfortunately I dont have a second HD2, and I dont know anyone willing to help me out in Greece, lol... Would you be willing to dump your system folder for me and upload it so I can use yours?? I would GREATLY appreciate the help... sitting with my HD2 "semi" bricked... lol
Also, if I use the .img file from the DAF roms, can I flash it using fastboot??? You have any suggestions on how I can flash it considering I cant use the volume rocker on my mobile?
Well id like to say yes but it's Easter weekend and my sons 1st birthday tomorrow, so the likelihood of getting near a PC are slim for a few days.
You could always learn how to use the android emulator,, build the image on a virtual hd2
As for flashing,,, no idea, no clue what fastboot does, magldr for me, but in your OP you implied you could use it to write img files to partitions.
You ever got a solution for this? I'm in the exact same situation right now.

[FIRMWARE][SM-T700] Galaxy Tab 8.4 (Wifi) T700XXU1ANF7 No-Wipe Factory Image

This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model.
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358554636
Click to expand...
Click to collapse
No 10.5 love?
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
+1, can't forget us 10.5 owners
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
Stock Firmware SM-T800 (Wi-FI)
Stock Firmware SM-T805 (LTE)
Now all I need is a rom to screw my rig up with so I'll need this
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
suzook said:
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
Click to expand...
Click to collapse
Please don't coming from the one that said root is okay from the note 10.1 2014 edition. Root and profit. Sound familiar. You mean root and brick.
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
ewells38 said:
+1, can't forget us 10.5 owners
Click to expand...
Click to collapse
Apologies for the delay folks. It's now uploaded.
http://forum.xda-developers.com/showthread.php?t=2800372
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
well, we need some step by step instruction here
anyone able to extract system files??
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Chainfire needs recovery.img to make cf autoroot for us. Are u able to extract the recovery.img for the q0.5 as well as 8.4 so I can post it in the cf auto root thread so we can get root?
FYI for those of you who have PMed me I have fixed the corrupt download and updated the OP link.
Zip
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Can you please zip extracted and provide a link!!
Thanks
No
jazzespresso said:
well, we need some step by step instruction here
anyone able to extract system files??
Click to expand...
Click to collapse
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
EMSpilot said:
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
Click to expand...
Click to collapse
bare with me on that one since I tried too many different options, following worked for me - required files attached here (I ziped, so hopefully XDA did not blocked it)
This is for Windows PC:
1. Download sgs4ext4fs.exe, and download firmware, unzip firmware up until you see system.img.
2. Open command prompt (on windows, click start, type cmd) where system.img, and type
sgs4ext4fs --trim system.img systemt.img
........ > you will see bunch of ............., but wait until it finishes.
3. Once it finishes it creates systemt.img, get sgs2toext4.jar (save it to the same folder), and open sgs2toext4.jar, and drag and drop newly created systemt.img to the window (sgs2toext4.jar's window), wait until it finishes, when it finishes it will create systemt.ext4.img
4. Now last step, download ext2explore.exe, and open it, and go to file --> open image and pick systemt.ext4.img, it will show the img file there (on both side of window), on the left side, select the systemt.ext4.img (should be showing full path), right click your mouse, and select save to your desktop or any other folder location you pick.
Obviously, next step will be odexing everything:laugh:
Yorgo1982 said:
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Click to expand...
Click to collapse
Here you go:
System img from Galaxy Tab 10.5
How about a custom recovery .the build your own recovery with stock recovery.IMG leads to a http// 404 error online after it builds it.any of you smarter than me individuals know how to build a custom CWM/TWRP img ?
Nexus 5 via Tapatalk
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
Click to expand...
Click to collapse
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
restore
jball said:
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
Click to expand...
Click to collapse
Thanks this worked like a charm!!! Great work!!!

Flash Stock ROM missing META-INF directory

Kinda makes this noob sick. I just got a new Moto G4 X1625 (not Amazon). Next came the steps to unlock the bootloader with Motorola and to install TWRP. Everything had gone so easily by following some how-to steps I jumped to the next step of installing SuperSU without doing a backup – thinking it was simply adding an app. Big mistake! Reboot and now always stuck on the logo boot animation.
Okay, so I found and tried use TWRP to install ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip in an attempt to get back to stock. No luck there since install always aborts with a "Could not find 'META-INF/com/google/android/update-binary' in the zip file."
I checked a couple of other ROMs and that META-INF directory doesn't seem to be included in them either.
What do I need to do just to get back to normal eliminating the effects of that SuperSU install? Help greatly appreciated.
That file you downloaded is not a flashable file.
Instead, read this linky
Thanks for the helpful clue @t0mm13b. I followed the approach at <http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/> and executed the listed commands from my MacOS Terminal. They did the job resulting in a fresh install after bootup.
2-1/2 questions…
1. Are flashable ROM files readily available? The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
2. Is TWRP not useful for these stock ROMs?
The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
Click to expand...
Click to collapse
As a general rule of thumb, read the accompanying text to the link of the download, on a web page where you find one. It will tell you if it's flashable or not.
Factory images, just like what you had to carry out previously, never have, and do not have the `META-INF` directory. They usually contain img files that requires `fastboot flash`.
On the other hand, OTAs and flashable zips will have that in their respective zip file.
Thanks again @t0mm13b for the clarification. I often didn't see info about whether a ROM is flashable in link or web page text, but it may have just been assumed based on being aware of what the zip contains.

over stepped my bounderies

Here it is, I need to extract stock img from root folder so I can supply a few guy with it . I lost the tutorial on how to do that can someone brush me up on the how tops thanks in advance guys
I need to deliver I gave my word
Woody Herald said:
Here it is, I need to extract stock img from root folder so I can supply a few guy with it . I lost the tutorial on how to do that can someone brush me up on the how tops thanks in advance guys
I need to deliver I gave my word
Click to expand...
Click to collapse
So, where is the problem? If you just want it completly original download the flashable unrooted stock zip from here and unzip the file. It contains all partitions from the phone. If you need the files inside of those images just rename the *.bin- and *.img-files to *-zip and unzip them. Done.
Good luck.
Jan Philipp said:
So, where is the problem? If you just want it completly original download the flashable unrooted stock zip from here and unzip the file. It contains all partitions from the phone. If you need the files inside of those images just rename the *.bin- and *.img-files to *-zip and unzip them. Done.
Good luck.
Click to expand...
Click to collapse
Can I give u a hi five
and a thanks Now I can live up to my end. Peace!
Sent from my LGLS675 using XDA Labs

Please please Help me!!! I want file zip firmware for TA 1021

I need a zip firmware file for nokia 6 TA 1021. Because my nokia 6 can not flash with OST. However, I can flash the zip file by recovery 3.2.1. Thanks.
P / s: My English is very bad. sorry
letgol said:
I need a zip firmware file for nokia 6 TA 1021. Because my nokia 6 can not flash with OST. However, I can flash the zip file by recovery 3.2.1. Thanks.
P / s: My English is very bad. sorry
Click to expand...
Click to collapse
I already shared the firmware here: https://forum.xda-developers.com/showpost.php?p=75076587&postcount=7
This is the September version. In order to get to the newest version of Nougat, you have to install the update zips one by one. They are on the forum too.
Happy flashing
ZeroPointMax said:
I already shared the firmware here: https://forum.xda-developers.com/showpost.php?p=75076587&postcount=7
This is the September version. In order to get to the newest version of Nougat, you have to install the update zips one by one. They are on the forum too.
Happy flashing
Click to expand...
Click to collapse
Now I have to flash 7z file by recovery?
letgol said:
Now I have to flash 7z file by recovery?
Click to expand...
Click to collapse
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
ZeroPointMax said:
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
Click to expand...
Click to collapse
Thank you. I will try
ZeroPointMax said:
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
Click to expand...
Click to collapse
Thank you. I did it
letgol said:
Thank you. I did it
Click to expand...
Click to collapse
:good:

Categories

Resources