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?
Related
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.
Hi there
I bricked my Huawei Honor 7i (ATH-UL06) while trying to root it, I only have TWRP in it now, whatever combination of keys I use to turn it on, it always goes to TWRP. So I wanted to know if there a way to make the stock rom (from the official website) into a flashable zip file, to install it through TWRP. The stock one is a .app file "UPDATE.app".
Here's the link: http://download-c1.huawei.com/download/downloadCenter?downloadId=91392&siteCode=cl
I hope you guys can help me, I can't think of any other way to do it.
There's supposed to be a way using SP flashtool, but I'm not sure if it works, I don't remember where to get the scatter file for it, and besides, for that I think I've to put it in fastboot mode, but the keys for that take it into TWRP, so wouldn't work, I think(?).
Please, help :'c
Rommco05 said:
For example, Honor 8 have flashable firmwares (B131 Marshmallow and B360 Nougat) personally tested, so but this is for Honor 8
Click to expand...
Click to collapse
yes, but its a complicated process,
but you can also extract the .app file and manually flash boot.img, system.img through twrp or through fastboot
Rommco05 said:
I think is more complicated flashed each one img
Click to expand...
Click to collapse
not too much complicated tho,
Alexei.Robles said:
Hi there
I bricked my Huawei Honor 7i (ATH-UL06) while trying to root it, I only have TWRP in it now, whatever combination of keys I use to turn it on, it always goes to TWRP. So I wanted to know if there a way to make the stock rom (from the official website) into a flashable zip file, to install it through TWRP. The stock one is a .app file "UPDATE.app".
Here's the link: http://download-c1.huawei.com/download/downloadCenter?downloadId=91392&siteCode=cl
I hope you guys can help me, I can't think of any other way to do it.
There's supposed to be a way using SP flashtool, but I'm not sure if it works, I don't remember where to get the scatter file for it, and besides, for that I think I've to put it in fastboot mode, but the keys for that take it into TWRP, so wouldn't work, I think(?).
Please, help :'c
Click to expand...
Click to collapse
Yes it possible to to make .zip file (for flashing via twrp ) from .app file Check out for Huawei multi tool
I successfully used it for honor 7 but don't know about honor 7i you should try on multi tool thread
It's ok. I was going to, but ended up using Huawei Update Extractor to get the stock boot.img. Then installed it through TWRP, and rebooted to bootloader to get into fastboot. With that I only needed to flash system.img and recovery.img to get it unbricked. Took me a lot of time, but I got the phone back. I'll be uploading a flashable backup of the stock rom soon, so others can get it faster.
Thanks anyway.
Alexei.Robles said:
It's ok. I was going to, but ended up using Huawei Update Extractor to get the stock boot.img. Then installed it through TWRP, and rebooted to bootloader to get into fastboot. With that I only needed to flash system.img and recovery.img to get it unbricked. Took me a lot of time, but I got the phone back. I'll be uploading a flashable backup of the stock rom soon, so others can get it faster.
Thanks anyway.
Click to expand...
Click to collapse
Goodluck with that man.
Alexei.Robles said:
It's ok. I was going to, but ended up using Huawei Update Extractor to get the stock boot.img. Then installed it through TWRP, and rebooted to bootloader to get into fastboot. With that I only needed to flash system.img and recovery.img to get it unbricked. Took me a lot of time, but I got the phone back. I'll be uploading a flashable backup of the stock rom soon, so others can get it faster.
Thanks anyway.
Click to expand...
Click to collapse
So i can help u with updater script for flashing all those in twrp
I was rooted using supersu. Because I wanted to pass safety net I decided to unroot, but the supersu uninstaller gave me an error. So I unrooted using a zip file, which worked. However did this not restore to original boot image, which is why I am still not passing safety net.
Does anybody know where I could find the stock boot image and can I flash it simply through twrp?
Thanks in advance!
Edit: Or does dirty flashing the stock firmware fix it, too?
I recently flashed an original Boot.img to install Magisk on my Note 4. You basically just have to open a downloaded firmware (of course the one you are using at the moment), open it with 7zip and extract the boot.img file. You can then flash that with ODIN.
TheGoD said:
I recently flashed an original Boot.img to install Magisk on my Note 4. You basically just have to open a downloaded firmware (of course the one you are using at the moment), open it with 7zip and extract the boot.img file. You can then flash that with ODIN.
Click to expand...
Click to collapse
Where would I find the original boot.image in the rom once I downloaded it?
mcfiish said:
Where would I find the original boot.image in the rom once I downloaded it?
Click to expand...
Click to collapse
Extract the AP file with 7-Zip. But you can't flash a .img file with odin. You'd have to convert it to a .tar.md5
Sent from my [device_name] using XDA-Developers Legacy app
Can I use TWRP instead of Odin without any problems?
themanoirish said:
Can I use TWRP instead of Odin without any problems?
Click to expand...
Click to collapse
I would think so. But I'll admit I've never done it with a Samsung device.
Sent from my [device_name] using XDA-Developers Legacy app
themanoirish said:
Can I use TWRP instead of Odin without any problems?
Click to expand...
Click to collapse
TWRP does have an install image option under... Well, install.
Thank you*jd1639 and jhill110 for the input. I'm not the most experienced at all this yet and I usually find myself in the deep end of the pool. I've already managed to soft brick my phone last year and just end up extra cautious since then. I just didn't want to end up wiping TWRP off my phone with a stock boot image with no way to flash it back on at the moment. Sorry I couldn't quote you two, my account is new and I can't use external links or quotes until the tenth post.
How should I install an original Huawei rom , no brand, downloaded from their cloud?
The name file is: ATU-L11C55CUSTC55D1B150 (8.0.0.150).zip
the ROM is a .zip with the files in the photo inside:
I tried the procedure to extract the update.app file and put it in the dlod folder of the SD card, but it does not install.
I have the privileges of ROOT and I have unlocked the bootloader, I can not install the
* TWRP Recovery.
Help!
since it is not possible to install the ROM version "update.APP", unzipping this with "HuaweiUpdateExtractor", which files should I flash with fastboot in bootloader mode?
Is this possible?
Yes, use the HuaweiUpdateExtractor and flash the system.img with fastboot.
Best regards
Yes, use the HuaweiUpdateExtractor and flash the system.img with fastboot.
Best regards
which files should I flash?
you need to download the full rom, go here: https://www.mobileheadlines.net/download-huawei-y6-2018-firmware-files-all-versions/
download the FullOTA-MF for your model and extract the zip, after that use huaweiupdateextractor on the update.app and extract SYSTEM.img
reboot into bootloader and flash the extracted SYSTEM.img to your phone using fastboot flash system SYSTEM.img
please make a tutorial thread. i want to use the original rom too.
Fakkurai said:
you need to download the full rom, go here: https://www.mobileheadlines.net/download-huawei-y6-2018-firmware-files-all-versions/
download the FullOTA-MF for your model and extract the zip, after that use huaweiupdateextractor on the update.app and extract SYSTEM.img
reboot into bootloader and flash the extracted SYSTEM.img to your phone using fastboot flash system SYSTEM.img
Click to expand...
Click to collapse
I tried and despite the flash of fastboot is successful I always find myself with the original TIM branded ROM, I do not know what else to do!
henryxp said:
I tried and despite the flash of fastboot is successful I always find myself with the original TIM branded ROM, I do not know what else to do!
Click to expand...
Click to collapse
there are paid rebranding services, which can work for qualcomm based devices
mutahharbashir said:
there are paid rebranding services, which can work for qualcomm based devices
Click to expand...
Click to collapse
yes I know, there's a guy, the one who gave me the bootloader code, that wants $ 20 to debrandize it, too much for so little ..
Is there any way to root this phone? I would like to root just to edit the build.prop for the camera api in order to install the Gcam port ....
If you have an unlocked bootloader, the patched boot generated by Magisk Manager did work for me.
cubano2031 said:
Is there any way to root this phone? I would like to root just to edit the build.prop for the camera api in order to install the Gcam port ....
Click to expand...
Click to collapse
Sent from my LGE LM-X410.FGN using XDA Labs
Zaben said:
If you have an unlocked bootloader, the patched boot generated by Magisk Manager did work for me.
Click to expand...
Click to collapse
Do you mind to elaborate about the steps taken to get and patch boot image?
What I did is I grabbed the "boot_X-FLASH-ALL-8F02.sin" file, used UnSIN tool to convert it to "boot.img" and then Android Image Kitchen AIK to unpack and repack the image (this step is necessary on older Xperia phone, is that the case here?), then finally patch the repacked boot image using Magisk.
But when flashing the new patched boot image, I get a non functional touch screen and wifi. I was able to control the phone using ScrCpy tool to mirror the phones screen on my computer and control the phone from the window that appears on the computer. But since WIFI won't even turn on, I couldn't even verify that Magisk was working or not.
What is worse, is that if I tried to flash the original untouched Boot image SIN or the converted IMG, the phone still has non-working touch-screen and WIFI.
FlashTool by Androxyde and EMMA tools do NOT support this phone yet. I ended up using Newflasher tool to go back to stock (still unlocked bootloader) and everything works fine, but no root.
I have the US model I3223 btw.
Thank you kindly, awaiting your response.
Rebel_X said:
Do you mind to elaborate about the steps taken to get and patch boot image?
What I did is I grabbed the "boot_X-FLASH-ALL-8F02.sin" file, used UnSIN tool to convert it to "boot.img" and then Android Image Kitchen AIK to unpack and repack the image (this step is necessary on older Xperia phone, is that the case here?), then finally patch the repacked boot image using Magisk.
But when flashing the new patched boot image, I get a non functional touch screen and wifi. I was able to control the phone using ScrCpy tool to mirror the phones screen on my computer and control the phone from the window that appears on the computer. But since WIFI won't even turn on, I couldn't even verify that Magisk was working or not.
What is worse, is that if I tried to flash the original untouched Boot image SIN or the converted IMG, the phone still has non-working touch-screen and WIFI.
FlashTool by Androxyde and EMMA tools do NOT support this phone yet. I ended up using Newflasher tool to go back to stock (still unlocked bootloader) and everything works fine, but no root.
I have the US model I3223 btw.
Thank you kindly, awaiting your response.
Click to expand...
Click to collapse
Magisk Manager (the app) was able to patch boot_X-FLASH-ALL-8F02.sin directly and return an img file. I used fastboot to flash the patched boot.
Zaben said:
Magisk Manager (the app) was able to patch boot_X-FLASH-ALL-8F02.sin directly and return an img file. I used fastboot to flash the patched boot.
Click to expand...
Click to collapse
Thanks a lot!! And it was as simple as that. It works fine. :good:
I can do kernel with magisk for you I need only sin file boot_X-FLASH-ALL from .ftf file Who want to get the kernel , please send to me pm with this file and variant (I32XX or I42XX) !!
MAREK10747 said:
I can do kernel with magisk for you I need only sin file boot_X-FLASH-ALL from .ftf file Who want to get the kernel , please send to me pm with this file and variant (I32XX or I42XX) !!
Click to expand...
Click to collapse
Hi,me devie is I4293
I have unrar the rom , so i get the boot_X-FLASH-ALL-8F02.sin
would you mind to make the kernel for me?
the file is here :
https://drive.google.com/file/d/1sywqfBtELSTgRXtTBEvlI454K_1ul-1h/view?usp=sharing
my gmail is [email protected]
you can send it to me.
thank you.
Zaben said:
Magisk Manager (the app) was able to patch boot_X-FLASH-ALL-8F02.sin directly and return an img file. I used fastboot to flash the patched boot.
Click to expand...
Click to collapse
You patched boot with magisk19 or 19.1?
Now i use magisk19.1, my phone always go into a boot loap.
yishisanren said:
You patched boot with magisk19 or 19.1?
Now i use magisk19.1, my phone always go into a boot loap.
Click to expand...
Click to collapse
See https://forum.xda-developers.com/10-plus/how-to/magisk-19-1-7-1-2-notes-t3926611
Zaben said:
See https://forum.xda-developers.com/10-plus/how-to/magisk-19-1-7-1-2-notes-t3926611
Click to expand...
Click to collapse
So now Xperia 10 or 10 plus can not be rooted by magisk. Because Maigsk 19.1 will be failed
yishisanren said:
So now Xperia 10 or 10 plus can not be rooted by magisk. Because Maigsk 19.1 will be failed
Click to expand...
Click to collapse
yes, i think so. it caused looping on my Xperia 10. (by Maigsk 19.1)
do you know any place and download older version of Maigsk??
wang4632 said:
yes, i think so. it caused looping on my Xperia 10. (by Maigsk 19.1)
do you know any place and download older version of Maigsk??
Click to expand...
Click to collapse
older version can not patch boot.img, because when you click "install the zip",it will let you update the new verison.
Any news on the boot loop situation? I also encounterd this problem and back to running original boot.img. having an unlocked bootloader is useless without root ?
Zaben said:
If you have an unlocked bootloader, the patched boot generated by Magisk Manager did work for me.
Click to expand...
Click to collapse
Did you lose any feature like super vivid mode and camera focusing after unlocking the bootloader?
can't find the driver, the model is l421dual sim, can't rooting, have i already patched the boot img?
My I4293 stuck in bootloop~~help ~!
After installing Magisk19.3 with TWRP, my phone stuck in bootloop and can not enter the recovery mode.
I tried to flash I4293_53.0.A.6.96_1318-2077_R1A.ftf (Factory ftf. downloaded from experifirm) with flashtool to solve this problem.
when I tried to create bundle, I found that I4293 did not show in the ID list.
I can't do anything about it.
Anybody can help me plz~~ I'm fresh in XDA and just try to root my phone first time :crying:
This phone cannot be rooted at this time due to the lack of the img.patch and no driever.
Zack_U said:
After installing Magisk19.3 with TWRP, my phone stuck in bootloop and can not enter the recovery mode.
I tried to flash I4293_53.0.A.6.96_1318-2077_R1A.ftf (Factory ftf. downloaded from experifirm) with flashtool to solve this problem.
when I tried to create bundle, I found that I4293 did not show in the ID list.
I can't do anything about it.
Anybody can help me plz~~ I'm fresh in XDA and just try to root my phone first time :crying:
Click to expand...
Click to collapse
Are you still stuck? For all of the latest Sony phones try NewFlasher instead.
https://forum.xda-developers.com/cr...gress-newflasher-xperia-command-line-t3619426
Flashtool doesn't support our phones. Magisk 19.1+ currently doesn't work with our phones. Hopefully 19.4 will fix that.