yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=6608867]Kim Lu[/MENTION], release of a fw does not mean anything. We need sony to release a source package in order to be able to rebuild a kernel from updated source, patching it to hide bootloader unlocked state.

You can watch source releases here:

https://developer.sony.com/develop/open-devices/downloads/open-source-archives
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
Here an experimental repack of 10.45 kernel for 10.62 fw:

boot-G8141-47.2.A.10.62-hideunlock-kernel-10.45.img

boot-G8142-47.2.A.10.62-hideunlock-kernel-10.45.img

(does not include magisk, patch it in your magisk manager for fota upgrade with root or just flash it and magisk over it for alt use)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] juanantofb:
Hi, aparentrly work fine, but apear again 47.2.A.10.62 OTA to upgrade.

Thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alagga:
Okai unfortunately i ran into a Problem when trying to update via OTA.

I booted to early into fastboot mode (before the update was completely finished, i think i was 1 step too early).

I booted up the magisk patched boot-G8141-47.2.A.10.62-hideunlock-kernel-10.45.img . And now i cant boot up the device, i get the red triangle, showing error.

What can i do to not lose data and get the device function again?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] shoey63:
Has anyone successfully done an OTA update with bootloader unlock hidden and no original TA backup restored ie: LOST drm keys?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4976984]alagga[/MENTION], can you boot into twrp to backup data?

After backup, try to flash 10.62 stock fw to finish the update, it might eventually boot.

[MENTION=4675598]shoey63[/MENTION], yes, that has been verified to work - at least the fw versions that these kernels threads started with worked.

And it even worked with xz2: [MENTION=3989065]serajr[/MENTION] tested my special build of xz2 kernel and went through fota system update successfully - he even posted a video with it.

Obviously he does not have a locked TA backup as there is no method for it with XZ2.

Edit: see here please.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alagga:
I did a backup in TWRP, unfortunately i did it on the internal memory.

I flashed 10.62 with Newflasher and now encryption seems broken. Is there any possibility to get all the data back?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4976984]alagga[/MENTION], can you still boot into twrp and see the data there?

I assumed when you would backup data in twrp that you would do it to not encrypted SD card. Doing backups into internal memory is quite useless.

I guess that by booting a kernel designed for 10.62 fw the boot process made that version sticky, so you cannot boot anything else than 10.62.

Flashing stock 10.62 including kernel and boot loader (i.e. boot/ directory) via newflasher should allow you to boot that fw.

But I am not sure about data - if something messed up encryption there, you are probably out of luck, unless you can access the data from twrp?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alagga:
No the set key for decryption doesnt work in TWRP anymore.

Aww thats really bad, so all data is lost -.-
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4976984]alagga[/MENTION], I am afraid so, sorry. A tiny chance might be to get a newer twrp, but I am not sure if that exists for XZp.

See here please.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alagga:
Doesnt seem to exist for the XZP.

Thanks for the help anyway.

I got a Backup but thats from about 2 months ago..
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
Sony taking so long to release last months kernel source they now release another

Xperia XZ Premium and XZ1, XZ1 Compact get June 2019 patches (47.2.A.10.80)

http://www.xperiablog.net/2019/06/1...1-compact-get-june-2019-patches-47-2-a-10-80/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
is really this will be last update for xzp ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
https://blogs.sonymobile.com/2018/02/21/five-sony-xperiatm-smartphones-recognized-android-enterprise-recommended-program/

https://www.computerworld.com/article/3281055/android-security-updates.html
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mad0701:
I couldn't see this problem at all : not with. 62 nor. 80.

I could read /data in the shell, make backups and soon still with TWRP.

Maybe it's about, that I flash via newflasher and delete some files. One of the file which I didn't flash is the ssd....... sin.

If you're using the OTA update, this file and I'll believe also the persit... sin are still in the upgrade process.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mad0701:
I have found also this information
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] PsicomonTamer:
Hi to anyone that needs TWRP I have an G8141 a d the vercion 3.2.2-0 os working just fine with any probrems it should work also for dual devices

PD. I want to ota update Im currently on. 45 but waiting for oficcially. 62 or. 80 hiding kernel

And also to let you know everiting relationed to drm working except for ps4 remote play
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] juanantofb:
Hi, 10.80 is here.

Last night my phone has benn donloaded 10.80

Regards.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
Sony must be busy, they've only just (June 24, 2019) released the 10.62 source
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
As some may noticed already I have built 10.62 blu hiding kernel using just recently released Sony kernel sources: the kernels are available on my androidfilehost:

https://androidfilehost.com/?w=profile&uid=5862345805528050190

It is a shame Sony released sources for a may patch level while releasing fw update with June(?) patch level (10.80 version) without sources.

The kernels have magisk 19.3 integrated with verity on and are not tested, just assumed to work.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
10.62 blu hiding kernel running well on my G8141 (next up my G8142, sheesh how long are they going to supply the Android Enterprise Recommended updates for?) .

Thanks, j4nn (that was quick to apply your blu hide!)

Just magisk asks for update to 19.4
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
Deleted

Hosed my data... along with my sanity.

Wiping all data every release is not fun
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gaaat:
Following directions given me through various threads I made a list of files to delete before flashing with newflasher to avoid deleting userdata, I haven't updated to 10.62 but I can assume it will work the same:

- appslog_XXXX.sin

- userdata_XXXX.sin

- diag_xxxxx.sin

- persist_xxxxx.sin

- ssd_xxxxxx.sin

- every .ta file in the main firmware update folder (keep boot\Maple_XBootConfig_MiscTA.ta)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
Just uploaded the kernel hiding bootloader unlock built from 10.62 sony sources repacked for 10.80 fw (as sony still did not release 10.80 kernel source) - available in my experimental folder here:

https://androidfilehost.com/?w=profile&uid=5862345805528050190

boot-*-47.2.A.10.80-hideunlock-kernel-10.62.img

The kernels do not have magisk integrated - just patch it from MagiskManager to get the image rooted for use with fota system update (dm-verity option may be tuned that way).

Or just flash it and your preferred magisk version over it.

You may need to take care about dm-verity according to your needs (leave it on if you plan system fota update or simply using only magisk system less customizations or be sure to disable it in case you make any mods directly in system or vendor).

Finally - none of the kernels have been tested at all. I just repacked them to integrate 10.80 stock ramdisk and uploaded...

But I assume they would work as read somewhere that a kernel built for 10.62 worked with 10.80 too.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Kim Lu:
Thank you for keep patching new boot images for people ! :fingers-crossed:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
new format of hideunlock kernels flashable to multi fw versions

Please see here for kernels released in AnyKernel3 zip format (flashable via twrp) together with howto for that there.

This allows to release the kernels without ramdisk and without magisk pre-root, giving flexibility to try to flash/use the kernel not only with the fw version it has been built for, but allows users to test if the kernel could be compatible/working also with the next stock fw as released by sony. Similarly one may choose a preffered magisk version as some need older for some modules compatibility while others prefer the latest one. Or some might even preffer just to hide bootloader unlock state without magisk flashed. All that should be possible now.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] 64801965:
After I fastbooted the kernel(boot-G8142-47.2.A.8.24-hideunlock-rooted), I found the system was not rooted!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
Magisk
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] 64801965:
Thanks, but then I fastboot boot twrp.img, the phone stuck at sony boot logo, can't go into twrp interface
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
You may have to wipe your data and follow the steps (if you've done that it should be good) carefully again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
Just released kernel-*-47.2.A.10.80-hideunlock.zip kernels, available here.

Not tested, just built from sony sources finally released today.

The 47.2.A.10.80 fw version provides 2019-06-01 os patch level.

Please follow howto in this post for usage instructions.

Sources updated on my github here too.

Edit: updated the download links in the post#2.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
Them being zip are they to be flashed with twrp? As opposed to fastboot the img!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4800473]ecksdeeay[/MENTION], yes, with twrp. But it's mentioned in the usage instructions post to which the link has been provided together with the announcement.

Please read it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
So for those who flashed the img of previous releases 62 and below this is the only way now possible to have magisk and twrp but with the advantage of fota to be applied to the kernel currently running that will eventually be out of date when Sony release 96 or whatever the next security Nº. refresh is!

Personally, I'm struggling to get my head around the steps at the moment and would find it easier to do as I have done before (with the img format)

Sorry the more I tap away on this keyboard the less I feel confident in proceeding.

I'll keep going over the steps hoping it clicks in my cranium.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4800473]ecksdeeay[/MENTION], please describe, what has been your use case with the kernel before.

Just in case it is similar as this, it would be easier than before.

If you want fota, just follow the linked guide.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
I see where he's coming from and I was not worried about fota thus the reason flashing the img with magisk included was very straight forward but if this new format means we can just let the latest fota download and install then proceed with zip and wotnot (not got it yet), so be it

I wasn't dirty;) flashing anything.

I flashed the latest supported sony fw then fastbooted your img

[Edit] I get it until

7

I guess that'll be either fun or just greif if I haven't cottoned on to what's going on until the next release
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4800473]ecksdeeay[/MENTION], 7. and 8. are key points to be able to install fota.

In case you prefer install of full fw version, you can do as described - just ignore the "dirty" word - there is nothing dirty when you flash new fw release over the older one, skipping few sin files to avoid data erase or loss of attest key.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
What's the code for backing up stock kernel and recovery and then restoring it when the new release rolls out please? Or do you mean twrp back up ms selecting to backup Boot, System, Data? Recovery/Fota!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=4800473]ecksdeeay[/MENTION], you can use twrp gui to backup stock boot and recovery partition (no need to backup anything else), just make sure twrp is loaded from usb as described in the howto.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
All went well with by G8141 (shall do my dual later)

Starting from the flashed hideunlock img 62 with magisk, running while waiting for the 80 release.

Flashed Sony stock *.80 keeping my data (so when I rebooted just magisk manager was without magisk installed [1st attchmt] )

Fastboot flashed twrp and backedup boot & system [last attchmt]

Fastboot Flashed zip hideunlock (yes I had to go back and flash magisk after this step)

Fastboot Flashed magisk [2nd attchmt] (not done in the order of the instructions)

I've understood this much. (hope I understand the fota as easily as this part!!)

thanks j4nn:good:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
obviously when you flash full stock fw including kernel.sin, magisk is gone as that is injected into 'boot' partition containing kernel with initial ramdisk - flashing kernel.sin overwrites patched kernel including magisk in it

In my opinion, you may skip backing up system, it is more useful to keep the downloaded full stock fw instead - that can be flashed from flash mode, that may serve better in case of emergency recovery.

I assume you are not interested in fota system update, so you do not make a backup of stock recovery partition (aka fotakernel) before flashing twrp.

In case of pie fw, switching the order of flashing - magisk followed by unlockhide kernel zip or vice versa - does not matter.

But in case of oreo, magisk must be first because of sony ric daemon.

Edit: seeing your twrp screenshot, I wonder why do you have only few partitions selectable for a backup.

Is that xz premium specific?

You can backup stock recovery partition from adb shell when running twrp booted from usb right after flashing stock fw (fastboot boot twrp.img as described in the howto, do not forget the reboot to fastboot by a command before) via following command:

dd if=/dev/block/bootdevice/by-name/FOTAKernel of=/sdcard1/fotakernel.img

putting you the stock recovery (fotakernel) backup into the main folder of your sd card.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
That's why I questioned the backup and restore process and I'm now more confused.

So I'm not in the same boat when it comes to installing the next fota update?

[Edit] okay thanks j4nn I think I stand after reading again the edit of your last post, I'll do that with my dual and redo the G8141 just to make sure.

{Edit, Edit] I see what you mean now. I was flashing like I had done the old way and not fastbooting via adb. Backed up boot and recovery using code via fastboot USB.

I'll check the latest twrp to see if it finds more mount points but it wouldn't mount anything externally. I'm using 3.2. which clearly isn't perfect!

I couldn't save the back up to the external card with Terminal command.

I have borked my G8141 due to flashing appslog when I was saving my data during the 80 update...not totally hosed I just can't launch the service menu with the dialer.

[Edit] Just flashed twrp and Magisk...Now the dialer Service menu has reappeared!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] luvmdy:
47.2.A.10.107 released.

https://developer.sony.com/file/download/open-source-archive-for-47-2-a-10-107/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
You mean the source! So the update is imminent then...

No consistency from Sony with these recent releases and this comes out before the update:confused:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
Just released kernel-*-47.2.A.10.107-hideunlock.zip kernels (2019-07-01 patch level), available here.

Not tested, just built from sony sources released on 2019-08-09 - this time sony released sources without releasing the fw yet...

The changes in the kernel are quite limited (Qualcomm MSM V4L2 based video driver), so I guess it would work also with the older fw (10.80).

Please follow howto in this post for usage instructions.

Sources updated on my github here too.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] juanantofb:
Hi, sorry for my english, only speak spanish.

I has been do sted 1-5, al work well.

i not view this:

Flashing with dm-verity enabled

As flashing magisk defaults with dm-verity disabled, you can use following procedure to force dm-verity not changed from stock, i.e. let it be enabled (useful if planning system fota update in future):•start twrp having adb access enabled, start 'adb shell' with it, use following commands:

Code:

stop recovery

start recovery

this will terminate the 'adb shell' session, just start a new 'adb shell' and use following commands:

Code:

stop recovery

export KEEPVERITY=true

recovery &

twrp install /sdcard1/Magisk-v19.3.zip

twrp install /sdcard1/kernel-G8441-47.1.A.16.20-hideunlock.zip

Now i can do fota update?

Thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] j4nn:
[MENTION=5309638]juanantofb[/MENTION], you can, but you need to follow the howto - you need to boot the prepared hideunlock kernel img from usb via 'fastboot boot kernel.img' command as described in the guide.

It is not possible to flash patched kernel and just use fota as with still locked phone.

You need to have all stock fw unmodified, including stock kernel, fotakernel, system and vendor partitions and boot somehow (i.e. from usb) a kernel hiding bootloader unlock state in order to be able to install system fota update and pass the current fw verification phase.

Just follow the howto closely and you should be ok.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] juanantofb:
Hi, thanks, i understand.

Only a question:

boot somehow (i.e. from usb)

adb reboot bootloader

fastboot boot boot.img

Is correct?

Thanhks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
[MENTION=5309638]juanantofb[/MENTION]

(USB= phone connected to pc and on)

adb reboot bootloader

fastboot boot twrp-3*.*.*-*.img

Open Terminal with twrp and proceed to install magisk and hideunlock.zip as per instructions
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
[MENTION=4418980]j4nn[/MENTION]

Your G8142 hideunlock.zip for the 80 fw is not right. (I haven't tried the 107)

I lose a SIM slot after installing it

So sorry, just realised I dropped the G8141 onto my dual, so I installed the wrong zip.

[Edit]

There is a problem
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ecksdeeay:
I tried the 107 hide unlock with the same result on the 80 fw.
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] richstant:
Hi, I've got a kindle fore 8 HD for my kid. Everything's great, except he really loves playing Clash Royale, and it's not available as standard in the Amazon store. I've followed various guides, so have installed ES file explorer, and made it available in the kids account. From within the kids account, I've then use ES file explorer to grab the Clash Royale APK from my cloud account, and installed it locally from within the kids account. I've also installed 'Kids Folder', which now lets me launch Clash Royale, from within the kids account. It actually lets me play, but without google play services, I can't get his previous account to carry over. I've followed various guides to download the apks for the play store, google play services, and google services framework, downloaded them through ES file explorer. Google play services seemed to install fine, but Clash Royale still said that Google Play wasn't supported on my device. So I tried to install the other two apks, but both just said they didn't install, with no hint as to why not.

So:

Do I definitely need the play store & google services framework, or is the fact that Clash Royale says that Google Play Services isn't supported on my device even after I've installed it, indicative of some deeper problem?

Is there an obvious reason why the play store & google services framework wouldn't install - there's a lot of versions of these files, I grabbed 5.1-1743759 (google services framework), 12.8.80 (google play services), 11.4.16 (play store), which were the recommended versions in some guides. Have I got the wrong versions?

Thanks!
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] TNSMANI:
I installed the apks from here in the same order in which they appear. Somehow maintaining the sequence seems to be important. I don't have any issues so far (one month).

For any app from Play Store to work properly, especially those which check back with it, you require all these installed.
[Honor View 20 Questions & Answers] mchtt:
Fast Charging worked out of the box but three days later it does not activate regardless the cable I use. ?
[Honor View 20 Questions & Answers] vuurtjih:
Did you try a reboot?

Verstuurd vanaf mijn PCT-L29 met Tapatalk
[Honor View 20 Questions & Answers] shashank1320:
Its not the cable but power adaptor which does the fast charging
[Honor View 20 Questions & Answers] mchtt:
Any USB-C cable can handle the fast charge ?
[Honor View 20 Questions & Answers] mchtt:
I will ?
[Honor View 20 Questions & Answers] shashank1320:
Type C is Faster than traditional one but if you really want fast charging then its the adaptor and phone that does the job. V20 should display the super charging logo when used with factory adaptor.
[Honor View 20 Questions & Answers] miststudent2011:
Not all USB-C cables can fast charge the which have higher amp ratings can support fast charging.

For example honor 10 has 4.5V/5A SuperCharge ratings. Hence the cable should support 5A current.
[Honor View 20 Questions & Answers] mchtt:
That was my cable.

I tried with the OEM one again after a reboot and it worked!!! Weird.

Is there a trick to let the display show the charge status (75,4%) ??? It's impressive to see it rise ?
[Honor View 20 Questions & Answers] miststudent2011:
Am I missing something ? On lockscreen you can see the charge status change ?
[Honor View 20 Questions & Answers] shashank1320:
I guess huawei supercharger display the % as 19.2, 19.3 and so on
[Honor View 20 Questions & Answers] mchtt:
Yes. And you can see the digits change in second ?
[Samsung Galaxy S9+ Questions & Answers] k1tku:
So, i bought galaxy s9 plus like 1,5 weeks ago, and i saw that csc is xfa. Ok, i flashed with odin like 3 times the newest xeo android 8.0.0 (im from poland) and nothing changed. still xfa/xfa/xfa. Then, when i wanted to see my imei, the csc is g965foxm2brj3. i searched it on google and the csc code is from germany?? if it's germany, how the heck it's xfa? and how can i change it?
[Samsung Galaxy S9+ Questions & Answers] omeryounos:
Try factory reset.
[Samsung Galaxy S9+ Questions & Answers] sarjarim:
It is Poland. Check sammobile, select S9+, select Poland.
[Samsung C9 Pro  Questions & Answers] hvnzm:
Hi, I would like to buy a c9 pro but most likely used so it will be cheaper. Can you please tell me what to look for when I get to have a meetup for the phone?

I have searched that I need to check the *#0*# and or checking IMEI and match it on imei.info but I was wondering if Korean variants have that option/function as well?

I want to get the black but does the black have Snapdragon chipset and Gold/pink to have Qualcomm? Which one is better to get? Please give examples.

I want to buy this because it has good camera MP and memory overall. I don't play much games.. So rarely and won't be a deep gamer for this phone.

S9 plus is a bit too much to get as value will get depreciated after a year. Please help. Thanks!!