*Solved* Android 9 update for other Countries. - Sony Xperia XZ2 Compact Questions & Answers

Hello
Yesterday I tried (Xperia XZ2 Compact H8324) to flash on the new Android 9.
My device was built in Hong Kong.
I went like this:
First I downloaded the current German Android 9 Stock Rome via Xperifirm. H8324_Customized DE_1313-6204_52.0.A.3.84_R2B
Before the flash, I created the * .ftf file in flash tool 0.9.25.0, as shown in a Youtube video. The whole thing worked fine.
Then I put my device into Flash mode and integrated the latest drivers into my PC.
Before I could start the flash process, I had to move the *. Fsc script from the folder "devices \ H83XX" in the folder "my devices" and rename in the current firmware. Since he gave me the message when starting the flash process that no update script would be available.
Then the flash process started asking if he should skip certain things stored in the script. Of course I confirmed that.
The flash process ran without any further error message and ended with the message that the flash was successful.
However, after starting the Xperia, the message "Your device is corrupted - it can not be trusted" was displayed. The device shuts down after 5 seconds.
Fortunately, I was able to recover my original firmware through the PC Companion.
Can someone tell me where I might have made a mistake on the way and how can I fix this? I would like to have Android 9, but that has not arrived in Hong Kong yet.
This is my first tutorial, hope you enjoy it and take you further.
Thank you first to juandiazmora
So you get Android 9 on your smartphone without any regional restrictions.
The following programs are required: Xperifirm, flashtool 0.9.25.0
1. Download the Rome at Xperifirm which is compatible with your device and you want it. For me, the firmware was unpacked directly by Xperifirm otherwise uses Flashtool Tools> Bundles> FILESET Decrypt
!!! Important with the downloaded files the "fwinfo.xml delete" !!!
2. In the Flash tool go to Tools> Bundles> Create
2.1 There you choose the folder in which the firmware is located.
2.2 Then select your device at Device.
2.3 When branding enter your country version. In my case Germany.
2.4 In version your firmware version you want to install.
2.5 Now important and careful. With folders list you add all files except * .ta files to the firmware content.
2.6 Then click Create and wait.
3. Adapt Flashtool. Go to the folders "Users" \ flashTool \ devices \ H82XX and the
"User". \ Flash tool \ devices \ H83XX
3.1 Copies the 52.fsc from the H82XX to the H83XX
Deletes the 51.1.fsc
3.2 Then copy the complete folder H83XX into the folder "User" \. FlashTool \ mydevices
4. Connect the mobile phone in Flash mode to the PC. Do not forget to install the appropriate driver. Flashtool also provides drivers and Xperia Companion.
4.1 If everything is ready then go to step 5.
*
5. Flashing
5.1 Click on the flash symbol in the flash tool.
5.2 Select flash mode
5.3 For Source folder, select the folder with the previously created firmware file in * .ftf.
5.4 Select Device for Device Filter.
5.5 At Firmwares, select your created firmware.
5.6 For Wipe Sin, select APPSLOG / USERDATA
5.7 Select Disable final verification.
5.8 Flash
6. When flashing, he asks if he should use the 52.fsc.
Simply confirm everything then works well.
For me it all worked out but of course I take no guarantees. Everything at your own risk.

Double that. I havent flashed pie too, requesting a little guide how to do it properly to have full stock firmware.

I think you should use a fsc for 52 firmware, not just remane the 51.1. On github page is available the data for create that specific file. Also you can use xperifirm to download the firmware easily and safely

52.fsc
juandiazmora said:
I think you should use a fsc for 52 firmware, not just remane the 51.1. On github page is available the data for create that specific file. Also you can use xperifirm to download the firmware easily and safely
Click to expand...
Click to collapse
Hi, I need help on the flashscript thingie.
Don't have a clue where to get it from.
Thanks in advance.

I'm with Customized CE1 in my H8314 and I'm still in Oreo. It would be possible do this steps with my same firmware without doing wipe? Only deleting the country restricion.
Regards

Why can't we just flash using the downloaded and unpacked firmware from Xperiafirm? Why this need to exclude some specific .ta files and disable final verification checks?

Quarzkopf said:
Hello
Yesterday I tried (Xperia XZ2 Compact H8324) to flash on the new Android 9.
My device was built in Hong Kong.
I went like this:
First I downloaded the current German Android 9 Stock Rome via Xperifirm. H8324_Customized DE_1313-6204_52.0.A.3.84_R2B
Before the flash, I created the * .ftf file in flash tool 0.9.25.0, as shown in a Youtube video. The whole thing worked fine.
Then I put my device into Flash mode and integrated the latest drivers into my PC.
Before I could start the flash process, I had to move the *. Fsc script from the folder "devices \ H83XX" in the folder "my devices" and rename in the current firmware. Since he gave me the message when starting the flash process that no update script would be available.
Then the flash process started asking if he should skip certain things stored in the script. Of course I confirmed that.
The flash process ran without any further error message and ended with the message that the flash was successful.
However, after starting the Xperia, the message "Your device is corrupted - it can not be trusted" was displayed. The device shuts down after 5 seconds.
Fortunately, I was able to recover my original firmware through the PC Companion.
Can someone tell me where I might have made a mistake on the way and how can I fix this? I would like to have Android 9, but that has not arrived in Hong Kong yet.
This is my first tutorial, hope you enjoy it and take you further.
Thank you first to juandiazmora
So you get Android 9 on your smartphone without any regional restrictions.
The following programs are required: Xperifirm, flashtool 0.9.25.0
1. Download the Rome at Xperifirm which is compatible with your device and you want it. For me, the firmware was unpacked directly by Xperifirm otherwise uses Flashtool Tools> Bundles> FILESET Decrypt
!!! Important with the downloaded files the "fwinfo.xml delete" !!!
2. In the Flash tool go to Tools> Bundles> Create
2.1 There you choose the folder in which the firmware is located.
2.2 Then select your device at Device.
2.3 When branding enter your country version. In my case Germany.
2.4 In version your firmware version you want to install.
2.5 Now important and careful. With folders list you add all files except * .ta files to the firmware content.
2.6 Then click Create and wait.
3. Adapt Flashtool. Go to the folders "Users" \ flashTool \ devices \ H82XX and the
"User". \ Flash tool \ devices \ H83XX
3.1 Copies the 52.fsc from the H82XX to the H83XX
Deletes the 51.1.fsc
3.2 Then copy the complete folder H83XX into the folder "User" \. FlashTool \ mydevices
4. Connect the mobile phone in Flash mode to the PC. Do not forget to install the appropriate driver. Flashtool also provides drivers and Xperia Companion.
4.1 If everything is ready then go to step 5.
*
5. Flashing
5.1 Click on the flash symbol in the flash tool.
5.2 Select flash mode
5.3 For Source folder, select the folder with the previously created firmware file in * .ftf.
5.4 Select Device for Device Filter.
5.5 At Firmwares, select your created firmware.
5.6 For Wipe Sin, select APPSLOG / USERDATA
5.7 Select Disable final verification.
5.8 Flash
6. When flashing, he asks if he should use the 52.fsc.
Simply confirm everything then works well.
For me it all worked out but of course I take no guarantees. Everything at your own risk.
Click to expand...
Click to collapse
@Quarzkopf I know this thread is a bit old but I ran into similar "Your device is corrupted..." error when trying to flash US customization to my UK Xperia 1 ii. I was wondering how you got resolved this to a clean flash without this error at the end? Wasn't clear from instructions. Much appreciate your help

Related

Already possible to flash/generate a FTF File

Hi,
i would like to know if there is any way to flash a ftf file yet?
With the latest Flashtool 0.9.23.2 you can already download the roms for XA1 but you cannot create a ftf file, because the device is not listed yet.
I found some ftf .files on the net but i can't flash them also with flashtool. the firmware is not listed. if i use a older version of flashtool, the firmware is listed,
but when i want flash the file, it's says no loader for the device has been found.
i have a branded firmware, and would like to flash a unbranded version of the firmware.
if i use xperia companion, i only can flash the same branded version.
i tried to trick the xperia companion, the software loading the firmware files in the background if using software repair.
i tried to replace the file with the ones downloaded with flashtool/xperifirm, but it won't work.
i
Yes. download newflasher tool from my signature
It is now. Since today or for some days, but I checked today. Already started creating ftfs for my forum.
Hello friends i can not flash stock firmware on G3223 is there a way? I have custom recovery but i erase system to have a clean installation but flasher from androxyde dosent work nor munjeni one. Any advise? I have the stock ftf Thanks
jotade said:
Hello friends i can not flash stock firmware on G3223 is there a way? I have custom recovery but i erase system to have a clean installation but flasher from androxyde dosent work nor munjeni one. Any advise? I have the stock ftf Thanks
Click to expand...
Click to collapse
Hello mate I have had that issue and it was resolved by using a fresh download of xperiafirm (via it built in button on flash tool) then click yes to use script!!
@jotade
You need add support for XA1 Ultra to Flashtool. Download this: https://drive.google.com/open?id=0B7UqjtcLWyHOMDhGTjlJLW15TlE, than unpack it. Start Flashtool and uncheck AutoSync (Devices -> Device Sync -> Auto Sync -> Off). After that copy unpacked G32XX folder into /Flashtool/devices folder.
Than You can create and flash the firmware on Your device.
There are modded by me XA1 .properties and .fsc files to match Ultra (second one has only name changed to match fws' name).
ch3mn3y said:
@jotade
You need add support for XA1 Ultra to Flashtool. Download this: https://drive.google.com/open?id=0B7UqjtcLWyHOMDhGTjlJLW15TlE, than unpack it. Start Flashtool and uncheck AutoSync (Devices -> Device Sync -> Auto Sync -> Off). After that copy unpacked G32XX folder into /Flashtool/devices folder.
Than You can create and flash the firmware on Your device.
There are modded by me XA1 .properties and .fsc files to match Ultra (second one has only name changed to match fws' name).
Click to expand...
Click to collapse
Thanks my friend but i already flash and root whitout doing that. Everything is great know. ROOT is the best
Hi guys, I've been poking around on here for the first time in many years..
Are you guys telling me that I can get a stock .ftf for my XA1 Ultra (G3221) via flash tool, if I first update flash tool into something that @munjeni maintains? Also, this new flashtool runs in x64 Ubuntu 16.04?
I would like to unpack the stock ftf, tweak it for root, repack it and flash it with flashtool - having first tried the stock ftf. I've done this before a while ago.
So far with the G3221 I unlocked the bootloader, and that's it. There are many adverts on this site on a smartphone, and it makes searching these forums difficult so I've struggled to find out what I need. Your guidance would be appreciated.
You can use both Flashtool (not sure if it supports Ultra already, but I attached, few post back, neede files to add support) and Xflasher. Both will flash the stock fine. Both works fine on Linux.
However You cannot flash modded stock using this apps. There is no way to repack it to .sins and than .ftf to make it seen and flashable by any of this 2 apps. It was possible with X10, but XA1 is not X10...
Only way to flash modded rom i use recovery. If Im right there is TWRP for XA1 Ultra already.
Sent using XT1562 - Resurrection Remix/Optimus Kernel
ERROR - Error flashing. Aborted
ch3mn3y said:
@jotade
You need add support for XA1 Ultra to Flashtool. Download this: url, than unpack it. Start Flashtool and uncheck AutoSync (Devices -> Device Sync -> Auto Sync -> Off). After that copy unpacked G32XX folder into /Flashtool/devices folder.
Than You can create and flash the firmware on Your device.
There are modded by me XA1 .properties and .fsc files to match Ultra (second one has only name changed to match fws' name).
Click to expand...
Click to collapse
Flashtool needs "loader.sin", but it isn't included in the folder you provided. Any idea what to do?
user845 said:
Flashtool needs "loader.sin", but it isn't included in the folder you provided. Any idea what to do?
Click to expand...
Click to collapse
It's not needed. It was with older devices, but not XA1.
ZUK Z2 Pro ✓ᵛᵉʳᶦᶠᶦᵉᵈ

Flashtool - Android Pie (52.X) - FSC File

Hi all,
Because I was stuck at Android 8 with Customized_CE1 and Sony didn't released any further updates for it. I decided to flash Android 9 with diffrent customization via Flashtool. But Flashtool didn't offered any 52.x fsc file for H83XX devices. I've waited for a relative long time and Flashtool still wasn't adding a fsc file for XZ2 Compact v52.X (Android Pie). So I decided to try myself. I've looked into an already existing 52.X FTF file and compared the names of the files inside with the ones inside the old 51.1.X fsc files. Then I renamed those, in the fsc file, which had different names. After that I was finally able to flash Android Pie on my Phone.
So for anyone else, who need this. I'll add it to this thread as attachment.
Please note:
You first have to start Flashtool and after it initialized, then copy the fsc file to its folder. If you don't use this order. Flashtool will remove the file on initialization. This has to be done on every start of Flashtool again until this fsc officially gets added to the git repo.
Install Order:
1. Start Flashtool and wait until it initialized
2. Copy fsc file (inside ZIP) to Flashtool Home Directory (e.g.: "C:\Users\<USERNAME>\.flashTool\devices\H83XX"
3. Flash your FTF and say yes, if Flashtool asks if it should use the found fsc file
4. Done
Warning:
I don't give any guarantee that this will work for your phone as well. You do this at your own risk.
There is a fsc file data for flashing Pie in this phone on github, you can compare to be sure it's totally correct
juandiazmora said:
There is a fsc file data for flashing Pie in this phone on github, you can compare to be sure it's totally correct
Click to expand...
Click to collapse
Where do you mean? There is nothing here as far as I can tell: https://github.com/Androxyde/devices/tree/master/H83XX
But it looks very similar to this one: https://github.com/Androxyde/devices/blob/master/H82XX/52.fsc
Can anyone confirm that McBane87's file is working on the H8324? I don't want to brick my phone.
https://github.com/Androxyde/devices/blob/17cc3bb993ff4f1bffdfcc34815f8efe5e9f36a9/H83XX/52.fsc
juandiazmora said:
github.com/Androxyde/devices/blob/17cc3bb993ff4f1bffdfcc34815f8efe5e9f36a9/H83XX/52.fsc
Click to expand...
Click to collapse
And for H81XX??? I have XZ2P and I can't find the archive...
I've been flashing my H8324 (& H8314) perfectly with a 52.fsc I pulled from one of the H2XX:
https://github.com/Androxyde/devices/blob/master/H82XX/52.fsc
38b2af9404eff0cc6a0d08145e3b5d9a 52.fsc
Maybe someone could push a quick patch to so everyone can easily enjoy.

Can't find Device in Sony Mobile Flasher by Androxyde

I've been trying to stock flash my Xperia XZ2 with the flasher tool by Androxyde.
However, when I want to bundle my created FTF file, I can't find my device in the Bundler.
When I start up the Sony Mobile Flasher, it lists 64 devices. I found in another thread that they had around 94 devices listed. When I look for the Androxyde thread on... github?... I can see my device family listed there (Mine is a H2896, so H82XX would work), but sadly it's nowhere to be found how I can add the file manually. I tried syncing, but restarting the software, my pc and then syncing again several times did not help.
I managed to export (Devices > Manage > Export) a device profile of a device that is present in the Bundler/Device list. That yielded an .ftd file... But sadly nowhere I can find an ftd file for my device family...
So I really hope someone could help me out, since I'm stuck with a bricked phone (thank you, Xperia Companion).
Thank you for letting me vent my frustrations! x
I found the solution myself!! :laugh:
For any future Sony Mobile Flasher user - here's how you can add a device yourself.
Mind you, I did this on a Windows PC. I don't know where exactly the folders are in MacOS.
Go to the devices page for the Androxyde Flashtool on Github
See if your device model is there and if there is a <model name>.properties file in that folder. Download that .properties file. (mine was called H82XX.properties)
Locate the /.flashTool/ folder on your system
Then go to the 'devices' folder
Make a folder with the model name of your smartphone model. In my case, the Xperia XZ2, it was H82XX
Place the <model name>.properties file in this folder
Manually sync in Flashtool
Now close and reopen Flashtool - it should have added one extra model
With these steps, you should now be able to download the firmware through Xperifirm, and in Flashtool, you can finally select your model in order to bundle the unpacked/decrypted firmware files.
Good luck!
Junior
Why dont my flashtool have "devices" folder? i downloaded the newest one. I only have Custom,drivers,10xflasher.lib that's all :crying:

Mi a2 Lite Stock Rom

Hi! I need your help.
I currently have Miui 11 port from sakura.
I want to go to the stock rom. latest version on android 9.
Where can I download it?
How do I install it? Using twrp as a custom rom or through MiFlash or another program?
Thanks for reading, I use google translator
There is lot of ways but the easiest ( in my opinion) is downloading Fastboot rom and flashing it via MiFlash
[CLEAN] Install Xiaomi Mi A2 Lite STOCK ROM:
(Instructions based windows)
Requiremets:
* Bootloader must be Unlocked. ()
Steps ahead assumes know-how-to-use ADB-fastboot.
Can be done through ADB-fastboot: "fastboot oem unlock" , but ...
search & study about it before as it brings critical changes,
and additionally 'oem unlock' will normally wipe all data on your device.
although "platform-tools" in the next steps includes this ADB-fastboot and uses its function(s).
Device Drivers for Windows needed. (Qualcom is the xiaomi's recomended, but Google's general driver works too.)
* If PC already "sees" the Phone Device through ADB then you don't need to install latest driver.
( Source: https://gsmusbdriver.com/wp-content/uploads/Qualcomm_USB_Driver_v1.0.zip ~10MB
includes "Qualcomm_USB_Driver_V1.0.exe" installer,
so I don't need to guide how to point .inf file through Device manager to manual update driver.
At any cases you need to Restart Computer for take effect installed driver, If there were not already installed. )
Download the latest "platform-tools" .zip for Windows.
( Source: platform-tools-latest-windows.zip ) ~11MB
Download the latest official [STOCK] ROM for your device model. (V11.0.21.0.QDLMIXM)
( Source: https://xiaomifirmwareupdater.com/archive/miui/daisy/ ) ~1.39GB
1. Extract platform-tools_.zip into a folder:
i. Just double click on "platform-tools_.zip" and drag & drop the "platform-tools" folder into the C:\ .
ii. Open "platform-tools" folder C:\platform-tools in a window as you will need it next in step "3." .
2. Manage needed files from downloaded latest official [STOCK] ROM:
This is the latest: "daisy_global_images_V11.0.21.0.QDLMIXM_20210630.0000.00_10.0_5cab9352ea.tgz"
Exract it in a folder, and then drag & drop from within, these "14 items, included 'image folder'",
into -> "platform-tools" folder. C:\platform-tools
Point "flash_all.bat" for later...
3. Open admin CMD in "C:\platform-tools":
Open "platform-tools" folder directory C:\platform-tools in a window, (from step "1. ii.")
[Shift+]R-Click in empty space -> "Open command window here",
or just type cmd in addrress navigation bar and press [Enter].
This will bring cmd prompt in C:\platform-tools\ with adb-fastboot commands environment.
Remember: "platform-tools" includes "adb-fastboot" 's functions, (ie .dlls & .exes).
i. Use ADB cmd to boot in fastboot.
(boot to "FASTBOOT" bootloader environment to proceed fastboot flash cmds between devices)
a. At this point, connect Phone to PC through USB !
b. In the cmd window opened, type adb devices just to check if connected...
should show device #Num plus connection type. (eg. 234afd3f0405 recovery)
c. Type adb reboot bootloader (to boot device in bootloader [FASTBOOT])
wait a moment, device should show FASTBOOT logo...
ii. Use Flash-All .bat script from [STOCK] ROM to install all system files at once:
By running this, ALL data existed on device will be wiped as a "factory reset".
a. In the CMD type: fastboot devices just to check if connected...
should show device #Num plus connection type. (eg. 234afd3f0405 fastboot)
b. In the CMD type: flash_all to start flash procedure.
should be look like: C:\platform-tools>flash_all
Remember, "flash_all.bat" script from STOCK ROM... doing now automatically the job:
wait the "flash_all" script to finish erasing old, and installing all system files, one by one, in both a/b slots . . .
/!\ DO NOT INTERRUPT procedure ! . . .
The phone will boot automaticaly in brand new fresh factory settings system.
Was a xiaomi Mi A2 Lite (daisy) "CLEAN" install . android One/ 10/ Q, stock ROM
Don't forget to delete C:\platform-tools folder as it weights 3.14GB and don't needed any more.
* Maybe you check the "platform-tools" for regulary use. (ie pull/push files or flash, install img, apk, zip etc.)
* maybe yet, want to TWRP, Magisk, root + OpenGapps with SafetyPass and other magi(s)k modules...
I hope this guide(s) will some day became useless because of future exists of Stable custom ROM for miA2Lite as possibly as degoogled. amen!
Sorry for my English

Question Problems with the connectivity on Poco F3 LineageOS + Magisk

I using my Poco F3 since a few month with lineageOS and I'm quite happy. The only problem: Wify and mobile data. Most of the time there is an exclamation mark in the topline on the icons for wify and mobile data.
I tried all the normal stuff:
– reboot the mobile phone (which sometimes really works)
– reboot thr router
– check the settings
– swap the sim cards (because sometimes I was only able to call somebody with one of the sim cards
With the last update of lineageOS it seems that the sim cards work again properly for calls, but not for mobile data.
Despite the exclamation marks surfing und emails works fine. I just can't synchronise my calendar via DAVdroid.
Any hint is appreciated.
are you using the recommended firmware version?
i had some issues with sounds with newer firmware versions
Good question.
I didn't change the firmware. How can I check, which version is runing on my device?
Idk how you'd check the firmware version but you could install the latest firmware for your region regardless.
Or if LineageOS recommends a specific FW version, install that instead.
Xiaomifirmware.com is one place where you can find official MIUI ROM versions and Firmware (/vendor).
You can just install it in Recovery, install itself takes a couple of seconds since Firmware is around 100 MB.
Isn't there an official site to download the firmware?
RunnersHai said:
Isn't there an official site to download the firmware?
Click to expand...
Click to collapse
xiaomifirmwareupdater.com is a reputable source for official Xiaomi FW and ROMs.
Xiaomi do have a website where you can DL ROMs but it's bad.
Perfect, thx a lot. I will try,if it works. Keep fingers crossed ;-D
Sorry, I don't get any further. I only find complete Roms with 3.1 GB and more. But not a vendor with the code POCO F3 Global - V13.0.3.0.SKHMIXM as mentioned on the website of Lineageos.org (https://wiki.lineageos.org/devices/alioth/fw_update). Even the direct link downloads a complete Rom.
And can I install the vendor with my linux computer or should I switch windows and the mi-tool as mentioned on some websites?
Thanks for your help.
Okay, I'm a little bit further. As far as I understood it. I download the whole Rom but install just a few parts via adb. Following the instructions here: https://wiki.lineageos.org/devices/alioth/fw_update
I should install the payload-dumper-go to unpack the zip-file of the ROM. But I don't know how to start the programm
I downloaded it from github for Linux, but I don't know how to get any further.
RunnersHai said:
Okay, I'm a little bit further. As far as I understood it. I download the whole Rom but install just a few parts via adb. Following the instructions here: https://wiki.lineageos.org/devices/alioth/fw_update
I should install the payload-dumper-go to unpack the zip-file of the ROM. But I don't know how to start the programm
I downloaded it from github for Linux, but I don't know how to get any further.
Click to expand...
Click to collapse
You're right. I checked out that website and those links are indeed full Recovery MIUI ROMs, not just firmware.
Those instructions show you how to manually flash just the firmware from a ROM.zip
However, you don't need to do that. Here is a link to just the firmware for that exact ROM:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
v13.0.3 seems rather old to me, but if it's their recommendation, then I guess go ahead. After all you simply want these problems to go away.
How to flash:
Simply boot into Recovery and do ADB Sideload
"adb sideload firmware.zip"
If you want to use the Payload Dumper anyway:
In your Linux Machine, open the Payload Dumper folder,
right-click an empty space in the folder, click "Open in Terminal",
type "payload-dumper-go -o . " and drag & drop the MIUI_ROM.zip into the Terminal (this will autofill the path to that ROM),
Hit Enter.
Then, open the created folder where all the extracted partition-images are. Open that folder in Terminal, and do the fastboot commands listed on the LineageOS-website that you linked to me.
Great thanks a lot for your help. New stuff to learn – that's great.
Unfortunately I figured out that the reason for the problems could be a wrong setting in my AFWall+. I will double check that and if it's not the reason, I will follow your instructions. Thanks a lot for your work – awesome.
heres the firmware archive,no need for full rom and fastboot commands
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com

Categories

Resources