Files to Flashtools - Android Q&A, Help & Troubleshooting

Sorry if this post is not in the correct subforum but I think this is the right place. If not please, a moderator can put it in the correct place. I readed the ROM from my phone (MTK6572) with MTK Droid tools and I made a backup of my ROM. I loaded it again in my phone and it works without problem. Now I'm trying to make changes to the ROM. Change the build.prop and install an apk. I use MTK Thai Developer Tools to unpack my system.img and I'm able to do it without problems. Afther make the changes I repack the file with the same tool and I get a file called system_ext4_new.img without errors or warnings. Now I rename the file to system.img and overwrite the original system.img in the folder "!Files_to_flashtool". I'm able to write the ROM back to my phone with SP Flashtools but the phone doesn't work. It try to start but get stuck and I have to remove the battery. I have tryed to simply unpack my system.img and repack it whitout changes but the problem still remains. So I'm thinking that the file that I get from MTK Thai Tools can't be used in a ROM that will be flashed with SP Flashtools. What I'm doing wrong?. I need another tools to repack my system.img and use it with SP Flashtools?
Sorry if the question was already answered but I'm seaching over the forum and I found no answer.
Thanks in advance.
P.D. Sorry I forgot to say that the ROM is from Android 5.1

Related

[Q] Need new alcatel boot.img (from sourcecode?)

Hello there,
I accidentally flashed a wrong boot.img with sp flash tool. I can still acces CWM based recovery. I do not have a ROM or boot.img backup and was unable to find either one online. The phone is an Alcatel one touch 916D, since Alcatel is open source, I downloaded the source code something.xz file (sourceforge.net/projects/alcatel/files/OT_991D_20120718.tar.xz/download), it should be possible to flash this to my phone using Odin right? I tried so, but Odin does not detect my phone. So I was wondering, is it perhaps possible to extact/create a boot.img from the source code file I have? I unzipped it and there are the folders kernel, mediatek and webkit. I have not found a boot.img anywhere in the files. I hope someone is able to help me.
thank you,
Jeroen
PS: If someone has the boot.img or can extract it from his/her phone that'd be even better

[Q] How to extract boot.img from my device?

Is it specific for each device? Or does it depend only on finding the correct partition/block to be extracted?
Could you point me to further readings about that?
Thanks.
It is at least device specific, for extracting the bootimage, check this http://forum.xda-developers.com/showthread.php?t=1951426
Sent from my Acer Cloudmobile S500
IF YOU THINK I MADE SOME SENSE, PLEASE HIT THE THANK BUTTON !!!
What if everything is an illusion, and nothing exists?
In that case, I definitely overpaid my carpet....!
DopeyTheOne said:
It is at least device specific, for extracting the bootimage, check this http://forum.xda-developers.com/showthread.php?t=1951426
Sent from my Acer Cloudmobile S500
IF YOU THINK I MADE SOME SENSE, PLEASE HIT THE THANK BUTTON !!!
What if everything is an illusion, and nothing exists?
In that case, I definitely overpaid my carpet....!
Click to expand...
Click to collapse
Well, that link is to proceed AFTER you have boot.img at hand. I want to find a way to extract it from my phone (assuming default.prop can be changed in there).
Thanks.
When you make a back up with CWM, you have a copy of your bootimage in the clockworkmod map, not?
That's the thing ... I am trying to figure out how to get that backup in hand at first.
Currently, following the method in http://droidcore.blogspot.com.br/2012/12/how-to-edit-initrc-in-android.html
It seems to use the same scripts as cited in your link.
Will post results afterwards.
Don't make things more complicated as they are. If you just install CMW recovery (or TWRP for that matter) for your device, you have your full backup in minutes, including one of your bootimage, then use the script from my first post.
I managed to find boot.img, made the necessary changes, sent it back to device (used MPK Rom Studio and SP Flash Tool).
The problem is, the reason I want to change boot.img is to root my device. I thought that disabling ro.secure, I would be able to do so. But I couldn't.
I believe cmw recovery, or twrp, both need my phone to be rooted, no?
MrCabana said:
I managed to find boot.img, made the necessary changes, sent it back to device (used MPK Rom Studio and SP Flash Tool).
The problem is, the reason I want to change boot.img is to root my device. I thought that disabling ro.secure, I would be able to do so. But I couldn't.
I believe cmw recovery, or twrp, both need my phone to be rooted, no?
Click to expand...
Click to collapse
I used a CWM image to root my device. Booted up with that image, and flashed SU....after that you can use su, and apparantly, with the changes you made with your bootimage...you'll be like God on your phone
Sent from my S500 using xda app-developers app
I have the same problem, I need the boot image of my device to root it using magisk manager, but I can't find it.
Help!!!!!
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
I think this only possible when you have root..
It is also not possible with adb without root...so
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Edit:- If your device is Mediatek, using SP Flash Tool you can readback. If you have Snapdragon, then bkerler's edl tool can readback. (No need of root)
HemanthJabalpuri said:
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Click to expand...
Click to collapse
Do you mean the stock firmware on the device, where is this located? or do you mean from the vendors web page?
bromeara said:
Do you mean the stock firmware on the device, where is this located? or do you mean from the vendors web page?
Click to expand...
Click to collapse
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
Alright thank you. I'm fairly new to the android ecosystem and to boot I'm working on a Fire tablet so its running fireos and amazon doesn't really make it easy to touch their code
think he is facing the same situation as mine, for hk version of htc u12+, its hard to find the proper RUU or firmware from internet. Just wanna know the method of ...pulling the boot.img directly from device. Thanks in advance for any assistance.
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
Vita.T said:
Just wanna know the method of ...pulling the boot.img directly from device. Thanks in advance for any assistance.
Click to expand...
Click to collapse
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
I think this only possible when you have root..
It is also not possible with adb without root...so
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Edit:- If your device is Mediatek, using SP Flash Tool you can readback. If you have Snapdragon, then bkerler's edl tool can readback. (No need of root)
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
It's not that simple though, firmware comes in KDZ extension..have to extract using Extraction tool & even then extracted files are in .BIN extension..Boot.img is not available immediately after DZ extraction
dano.556 said:
It's not that simple though, firmware comes in KDZ extension..have to extract using Extraction tool & even then extracted files are in .BIN extension..Boot.img is not available immediately after DZ extraction
Click to expand...
Click to collapse
Ok....
I am assuming that the op has a samsung device....
Same Problem
Loku_kika said:
I have the same problem, I need the boot image of my device to root it using magisk manager, but I can't find it.
Help!!!!!
Click to expand...
Click to collapse
The Boot Image for oppo ax7 isn't available so i am trying to find aswell, OR i need help: taking the boot.img off my unrooted, non bootloader unlocked phone. Or extracting it from the stock ROM, unfortunately i'm not ble to open oppo's OFP file.
Lloydster said:
The Boot Image for oppo ax7 isn't available so i am trying to find aswell, OR i need help: taking the boot.img off my unrooted, non bootloader unlocked phone. Or extracting it from the stock ROM, unfortunately i'm not ble to open oppo's OFP file.
Click to expand...
Click to collapse
just google "Latest Software Version for OPPO OPPO AX7" and go to the Software Updates page on oppo-uk.custhelp.com. Download 2.4GB ozip file (like CPH1903EX_11_OTA_0210_all_oStq7F7jxqfF.ozip) and unpackit with 7zip program. You'll find boot.img inside .ozip file.
I do not have root, there is no recovery or rom for my phone, Can I extract the boot.img from my phone storage, to patch it with Magisk?

Root for Asus Zenfone 3 Max

Hello,
I've been recently trying to root my Asus Zenfone 3 Max (ZC520TL) using SP Flash tool,
however, I haven't found the correct scatter file for my device. Does anyone know where
I could find a MT6737 scatter file? Thanks in advance!
Hi. From my experience, correct scatter files that work (not just any random scatter file) reside in a ROM/Firmware zip.
Doing a little searching, I found that you can download stock firmware for you device from Asus officially. They offer them in the support section.
Here is the link: https://www.asus.com/us/Phone/ZenFone-3-Max-ZC520TL/HelpDesk_Download/
Should you download the official firmware specific to your device and unzip the file, (in all probability) you will also find the correct scatter file which you are looking for (something like xxxxx_scatter_file.txt).
(also keeping in place a stock rom is never but never a bad idea )
However... You mentioned that you need the scatter file to root??? I have not any idea as to why you would need SP Flash tool for any other reason than flashing stock.
Unless you are flashing full custom rom which cannot be flashed through recovery perhaps?
Anyway... Good luck!!!
Thanks for the quick response!
r&xp said:
Hi. From my experience, correct scatter files that work (not just any random scatter file) reside in a ROM/Firmware zip.
Doing a little searching, I found that you can download stock firmware for you device from Asus officially. They offer them in the support section.
Here is the link:
Should you download the official firmware specific to your device and unzip the file, (in all probability) you will also find the correct scatter file which you are looking for (something like xxxxx_scatter_file.txt).
(also keeping in place a stock rom is never but never a bad idea )
However... You mentioned that you need the scatter file to root??? I have not any idea as to why you would need SP Flash tool for any other reason than flashing stock.
Unless you are flashing full custom rom which cannot be flashed through recovery perhaps?
Anyway... Good luck!!!
Click to expand...
Click to collapse
I needed the Flash tool because I was trying to flash TWRP, and from there install superuser. I did as you said, but when I tried loading the scatter file
the program recognized it as invalid. A huge thanks for the help though!!!
mcAlex42 said:
I needed the Flash tool because I was trying to flash TWRP, and from there install superuser. I did as you said, but when I tried loading the scatter file
the program recognized it as invalid. A huge thanks for the help though!!!
Click to expand...
Click to collapse
Ok... No worries!! We will probably figure it out in the end.
By the way, I am not sure I understand exactly how you were going to use SP Flashtool to flash TWRP. From my experience it does not work that way. You need platform tools (adb and fastboot).
platform tools here ----> https://developer.android.com/studio/releases/platform-tools.html
It is with these that you will unlock bootlader, and after bootloader is unlocked, first flash supersu, install busybox and lastly flash twrp.
Please look at my how-to root and twrp section. It is not for your device, but it will give you a good idea of the process: https://forum.xda-developers.com/android/help/lenovo-tab-3-8-tb3-850f-unbrick-root-t3598727
Please also check your private messages. I am sending you some links you might find helpful.

Need help! Tp-Link C5a install fresh original firmware! (bypass google sign lock)

Greets i hope this is the right place to post this. I am trying to bypass google lock on this phone by installing a fresh copy of the original firmware. The only place ive found with the firmware is this one http://www.neffos.com/en/support/download/C5A.
I have SP flash tools, drivers and everything, it is using a mediatec chip. The issue im running in is that the said firmware is in a different format(?) than the ones people are using with sp flash tools. It doesn;t have the correct format of the scatter file (only a scatter.txt which sp flash tools won't recognize). So my question is, has anyone done this to this phone, and how exactly? Can't find anything on the net.
Thanks in advance

Question Lost rooting Realme GT

Hi!,
I am trying to root my phone, I already unlocked fastboot and loaded TWRP. The main problem is that I try to extract with Python the boot.img from the firmware .ozip but I can't find the OZIP file, I just downloaded from realme page and some sites a firmware version with the .zip extension...
I tried to change it's extension to .ozip and then extract but there is no boot.img in the extracted file so I am a little bit lost right now.
On the other hand when I enter TWRP the touchscreen doesn't works and the phone always go to recovery when rebooted or fastboot when I press the - volume button.
What should I do..?
i dont know your version so im not sure which solution is better for you
if you wanna just make boot.img use just download your ROM from here and use payload dumper go from this post
if you wanna root directly this post will help you (just update the command from 24.3 to 25.2)
grown_man said:
i dont know your version so im not sure which solution is better for you
if you wanna just make boot.img use just download your ROM from here and use payload dumper go from this post
if you wanna root directly this post will help you (just update the command from 24.3 to 25.2)
Click to expand...
Click to collapse
Thank you very much, the payload dumper go tool worked fine and could flash the boot.img!

Categories

Resources