Formatting the Phone? - Sony Xperia M4 Aqua

Hello everyone.
I recently unlock bootloader and root my phone. I used flashtool with boot.img and recovery.img.
I want official latest software again. How can I find it?
Code:
https://developer.sony.com/file/download/open-source-archive-for-26-3-a-0-140-26-3-b-0-140/
As you can see, I found this page but I downloaded .tar file; not .img file. Besides, it is only one file; how can I find two files like boot.img and recovery.img?
I am new at these things and I could not solve it. Can you help me?
Thanks for advance.

You need to use flashtool. Download latest stock rom (official ie os6.) approx. 1.8gb file. Then connect your device to flashtool. Open a tutorial video from youtube to flash your device to latest stock rom. You need to take a nano backup of system and data. And then enter twrp and wipe cache, system and datav. And then flash

Related

Tablet Z 321 with latest Lolipop firmware in boot loop

I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
When you say boot loop, do you mean the screen goes black and starts to boot again?
Or do you mean the boot animation is repeating for a long time?
The first time you boot up after flashing an ftf will take a long time. It can range from a few minutes up to tens of minutes.
Did you select wipe USERDATA when you flashed the ftf in flash mode?
Try that if you haven't. See attached screenshot.
Checking it will wipe all your apps, data and internal storage.
I'd recommend you use the latest ROM, 10.7.A.0.228. Root and Xposed works on Lollipop 5.1.1.
Here is a Generic Germany FTF 10.7.A.0.228.
You'll need to root it by flashing supersu zip in recovery.
If you don't have a recovery flashed/installed, you should flash one.
Let me know if you need instructions on installing a recovery.
fantastic, that little trick did the job and I am now on 4.1 .
I am considering now to flash your firmware but could you give me some detailed instruction on what to do please, especially the recovery part.
thanks a lot again.
No problem.
Requirements
Program to open ZIP files
Flashtool (flashtool.net/downloads.php)
Flash mode and Fastboot drivers installed (Comes with Flashtool. Find the installer at C:\Flashtool\drivers\)
A few things you should know about recovery
If you plan on using an official Sony ROM with an unlocked bootloader, the recovery needs to be part of the kernel image.
Sony's official kernel images do not contain a recovery.
The kernel gets overwritten when you flash new ROMs (Official and Custom), so you will lose recovery every time you flash a ROM.
Thus you must reflash the kernel with recovery every time you change ROMS.
Kernel's for different versions of ROMs should not be used interchangeably.
It always best to use the kernel made for the ROM.
Flash official ROM before flashing recovery
If you are planning on using an official ROM, flash the official ROM in Download Mode before flashing the recovery (for the reason mentioned above - kernel gets overwritten).
You should wipe USERDATA to minimise compatibility issues.
Do this first before proceeding.
Downloading a kernel with recovery
Fellow xda member [NUT] has an awesome kernel builder tool which allows you to create kernel images with built in recoveries.
Head over to nut.xperia-files.com and navigate to XZDualRecovery > Kernel Builder
Check the checkbox "Yes, I have unlocked my bootloader!".
Select the Make and model of your device (Xperia Tablet Z SGP321 in your case).
Then select the firmware version you will be using (10.7.A.0.228 in your case).
Cross your fingers. If someone has already uploaded the kernel for that version, you can simply download the link provided. Otherwise you will need to upload the kernel. If you have an FTF, simply open it as a zip file and upload the kernel.sin inside.
Flashing Kernel with Recovery
Open the zip file downloaded from the Kernel Builder and open the tmp folder. Extract the boot.img file inside the tmp folder to somewhere on your computer.
Open Flashtool.
Click on the Flash Icon.
Select Fastboot mode.
Click "Select Kernel to Flash".
Put device into Fastboot mode. (2012+ devices: Press and hold VOL+ button while plugging in USB cable)
Once connected, a file selection dialogue will show. Select the boot.img file extracted earlier. You may need to select the type of file (sin, elf, img) before you can see the file in the explorer.
Flashing will start immediately after selection. Check the log and ensure there are no errors.
Unplug the USB cable.
You now have recovery (Two recoveries to be specific - as XZDualRecovery has PhilZ and TWRP).
I would recommend TWRP as it is easier to use and has more features than PhilZ (Based on CWM).
The VOL+ key is associated with PhilZ and the VOL- key for TWRP.
To enter recovery, simply turn the device on and when the notification LED turns Magenta (Pink) start pressing the button associated with the recovery you want to use.
e.g. Press VOL- a few times for TWRP.
Flashing zips
Copy your ZIPs to your SD card.
In TWRP, tap the Install button.
Select the zip file you want to flash
Swipe to the right to start flashing.
Rooting
Download the latest SuperSU zip (download.chainfire.eu/supersu)
Copy to SD card.
Flash zip in recovery.
Enjoy root.
about to start the process, just wanted to clarify some things:
what zip files are you talking about putting on my sd card? is this the file I downloaded from NUT?
thanks again for your help
Just in general, to flash a zip, you would perform those steps.
You would want to flash the SuperSU zip to get root.
You can also flash the file downloaded from NUT.
It will install a program called NDRUtils which will allow you to reboot into recovery from within Android.
I just saw when I wanted to flash the firmware from your link above (Here is a Generic Germany FTF 10.7.A.0.228.) that this identifies as for device C6603. But I have SPG321.
Do you have a link to a firmware which would work with your way and is for my device?
Oh, sorry about that. Forgot to check the model. I grabbed it from XperiaBlog.
I think I should just explain how to download and create an FTF for yourself from Sony's servers.
Install the latest Flashtool if you haven't already.
Start Flashtool
Click on the XF icon (The rightnost icon)
In XperiFirm, select the series and model of your device (Xperia Tablet Z > SGP321)
Then select the Market+Operator for your country/region. The market only differs by the apps that are pre-installed, which can be removed. Your region may not have the latest firmware available, so you can click the "Check All" button to get the versions of all the markets. You may wish to avoid commercial Operators as they can have different boot logos etc. Download a "VMo" or "Customized" operator if possible. The 228 firmware is only out in a few regions at the moment, so Germany VMo DE would be a good choice.
After selecting a row for the firmware you want, click on the latest version near the top right corner.
A window will show the details of the ROM. Click Download to start downloading. The downloads will get saved to FlashTool's Firmware Download folder.
Once the download completes, close XperiFirm.
In Flashtool, Click Tools > Bundles > Create.
Select the downloaded folder (Which should be in C:\Users\<Username>\.flashTool\firmwares\Downloads).
Double click in the device field to select the model of your device
Branding should be set to the Operator you downloaded (e.g. Generic DE)
Version should be set to the ROM version (e.g. 10.7.A.0.228)
Then in the folder list, select every item except for .ta files (e.g. cust-reset.ta, fota-reset.ta). Click the -> button to add to the Firmware Content.
Click create.
An FTF file will get created in the firmware folder. You can start flashing it in Download Mode.
If you need some screenshots. The procedure may differ slighty.
xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash
Bilbo0a said:
I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
Click to expand...
Click to collapse
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash from flash tool

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 recovering from soft brick

Hi everyone,
I have an 10.8 inch wifi only tablet imported from China, non-pro, model CMR-W09C00 which was running firmware B123.
I was playing around trying to convert it to a global firmware and tried to flash it with the same firmware 123 but for CMR-W09C432 using Huawei Firmware Finder.
Turns out this was a pretty bad idea
Now the tablet is not booting and I can't figure out how to recover. Here's what I tried:
1. eRecovery is not working, it downloads the firmware completely and tries to install but fails. It did work fully once before I tried to flash the wrong firmware.
2. Wiping cache and data partition does nothing
3. I have access to fastboot and can unlock/lock the bootloader at will.
4. I have the full-OTA zip file for the original firmware CMR-W09C00B123 and have extracted all the img files contained in update.app
5. I'm trying / hoping to flash images to recover (with bootloader unlocked) but I'm a bit confused at this step.
All the instructions I found in my research mention mostly flashing just boot.img, system.img and recovery.img but I'm missing some of those files from the update.app or I guess they could be named differently. I don't have a boot.img, just a fastboot.img which I'm sure is not the same. I also don't have a recovery.img, just recovery_ramdis, recovery_vbmeta, recovery_vendor, erecovery_ramdis, erecovery_vendo, erecovery_vbmet and erecovery_kerne.
I was able to flash system.img successfully but that didn't help.
Also tried to use the unbrick feature from Huawei Multi-Tool but here again I seem to be missing image files. Multi-Tool says it needs system.img, ramdisk.img, cust.img, ramdisk_recovery.img and userdata.img.
Of those, I think I'm missing cust.img for sure, ramdisk_recovery I might have but it's named differently (recovery_ramdis) and userdata.img I don't think I really need.
I'm attaching a txt file with a list of all the img files I do have in case it can be useful or rings a bell for someone.
Oh yeah, I also tried flashboot update update.zip but it's only giving me this warning:
archive does not contain 'android-info.txt'
error: update package 'update.zip' has no android-info.txt
So...does anyone have any advice or suggestions? Is there a better method to recover that I missed?
Any help is appreciated!
Flash the ramdisk.img to ramdisk and report back please. I have an M3 that is in the same condition as yours, but I am on an extended deployment and won't be able to test this for at least another month :/
fargonaz said:
Flash the ramdisk.img to ramdisk and report back please. I have an M3 that is in the same condition as yours, but I am on an extended deployment and won't be able to test this for at least another month :/
Click to expand...
Click to collapse
Thanks for taking the time to the reply mate, sorry to hear about your M3.
I tried fastboot flash ramdisk ramdisk.img and it said flashed successfully but the device is still not booting. Nothing else seems to have changed either.
Let me know if I misunderstood what you wanted to try or if you have any other ideas.
Cheers
etheberge said:
Hi everyone,
I have an 10.8 inch wifi only tablet imported from China, non-pro, model CMR-W09C00 which was running firmware B123.
I was playing around trying to convert it to a global firmware and tried to flash it with the same firmware 123 but for CMR-W09C432 using Huawei Firmware Finder.
Turns out this was a pretty bad idea
Now the tablet is not booting and I can't figure out how to recover. Here's what I tried:
1. eRecovery is not working, it downloads the firmware completely and tries to install but fails. It did work fully once before I tried to flash the wrong firmware.
2. Wiping cache and data partition does nothing
3. I have access to fastboot and can unlock/lock the bootloader at will.
4. I have the full-OTA zip file for the original firmware CMR-W09C00B123 and have extracted all the img files contained in update.app
5. I'm trying / hoping to flash images to recover (with bootloader unlocked) but I'm a bit confused at this step.
All the instructions I found in my research mention mostly flashing just boot.img, system.img and recovery.img but I'm missing some of those files from the update.app or I guess they could be named differently. I don't have a boot.img, just a fastboot.img which I'm sure is not the same. I also don't have a recovery.img, just recovery_ramdis, recovery_vbmeta, recovery_vendor, erecovery_ramdis, erecovery_vendo, erecovery_vbmet and erecovery_kerne.
I was able to flash system.img successfully but that didn't help.
Also tried to use the unbrick feature from Huawei Multi-Tool but here again I seem to be missing image files. Multi-Tool says it needs system.img, ramdisk.img, cust.img, ramdisk_recovery.img and userdata.img.
Of those, I think I'm missing cust.img for sure, ramdisk_recovery I might have but it's named differently (recovery_ramdis) and userdata.img I don't think I really need.
I'm attaching a txt file with a list of all the img files I do have in case it can be useful or rings a bell for someone.
Oh yeah, I also tried flashboot update update.zip but it's only giving me this warning:
archive does not contain 'android-info.txt'
error: update package 'update.zip' has no android-info.txt
So...does anyone have any advice or suggestions? Is there a better method to recover that I missed?
Any help is appreciated!
Click to expand...
Click to collapse
I think I am in a similar spot. I went from a custom ROM back to stock, but now all attempts at installing full OTAs fail. Did you ever figure this out how to fix it?
Thanks

Install Original ROM Huawei on Y6 2018 Brand TIM Italy.

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 ..

Question How to flash stock firmware/ROM obtained from Asus website?

Hello I've downloaded latest stock firmware/ROM from: https://dlcdnets.asus.com/pub/ASUS/...2202-ASUS-32.2050.2050.34-1.1.1-2210-user.zip
But unable to find any guide or tool on how to install it? From searching I understand there's supposed to be a flashfile_AFT.cmd, but can't find it in the zip. I've unlocked bootloader already. thanks
Flashing a working device? Just copy to root dir and reboot.
The instructions said to choose the zip from recovery, but stock recovery doesn't have an option to "install from zip". I only managed to flash the stock firmware after installing twrp.
Hermann2306 said:
Flashing a working device? Just copy to root dir and reboot.
Click to expand...
Click to collapse
That's also what instructions said, but I never got the notification you are supposed to get. Also, we are more likely to want to flash the stock firmware on a non-working device and I really can't find how we are supposed to do it with stock firmware.
For the updatenotification you maybe have to activate something like "apply updates on reboots / automatic updates" in developer options.
If the device only boots to fastboot you need a raw firmware file with the flashall.bat (I think it was WW-AI2202-32.2004.2004.84-REL-2206-M2.13.33.11-ASUS_1.1.1-user-20220722.zip for example). You can find it on romdevelopers.
All I had to do was take the firmware zip, plop it into my 'home' directory (i.e. not the actual root directory!), and I got the notification that an update was available via that zip. Standard installation after that.
I had and continue to have root access through Magisk, though I did have to apply that 'after update' magisk function before rebooting to complete the update. Rebooting without doing that loses your root access.
Yes, i mean that folder. Its "root" If you use the standard filemanager.
ok this will update the phone but if a phone was bricked, does any stock ROM file exist that can be flashed via fastboot?
Or is there a script which can be used to flash the contents inside payload.bin through fastboot? there are lots of files if payload.bin is extracted, not sure if everything it meant to be flashed?

Categories

Resources