yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 1 Guides, News, & Discussion] Das_Sams:
Ideas to hack into the phone to backup

Is there still no way to backup the calibration/DRM partition? Are there maybe any general security holes in Android which we could use to execute code as route or with the permissions of the apps using this stuff?

When I attached the phone to a computer it asked me if it shall install some update software (for windows). I clicked yes and it emulated a cdrom containing the files autorun.inf settings.xml and startme.exe . I think this is some software used to flash downloads from Sony. Maybe this would be a way to inject something. Those files are from 2014 and 2013. So this might lack some security. Have a look at it with a dissassembler. Is there any checksum checking? If yes, where does it happen (phone or windows program)? How is the download cached?

My home and my business is windoze free zone and the last time I did some windows stuff was creating OEM floppies for Windows 95. (This was the time with proprietary CD-ROM connectors and drivers and the DOS had to be loaded from the floppy disk and make the installer CD-ROM available.) Well this was in fall 95 and so I think it's someone else's job to hack on that.

Setting the sticky bit on /system/bin/sh would do the job. Then the phone could be read out and the su files could be installed. Just don't forget to remove the sticky bit from the /system/bin/sh binary as this completely opens the system. Also the boot loader would not have to be unlocked.

For anyone reading this and waiting for the results I recommend to switch of updates until you backed up your phone, in case Sony reads this and tries to fix holes.

I paid a lot of money for that phone. I want all my 3 camera's be working perfectly (The 3rd Party Camera Apps I tried only detected 2 of them.). I want to install my CAD program and my loved email client mutt with gpg and other linux stuff on that phone. What's Sony's Problem with that? How does Sony take my right to use MY phone like I want. It's my property.
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Probably will never be a DRM fix.

Use stock camera app

It's your property that you use based on the Sony agreement you signed, did you read it all? Probably not
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
magsik canary installed

I have magisk canary can I keep updating updates when they come in manager and magisk without messing system
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
root

What breaks when you root
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Nothing as things have already broke when you unlocked bootloader
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
g

Like what though my gps doesn't work ?
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Only DRM related stuff
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
gos

Has anyone GPS failing it was working before
[Sony Xperia 1 Guides, News, & Discussion] Das_Sams:
I have never signed any agreement. I red the Sony page about that phone claiming all the nice features of that phone and there was no word that my for work needed programs cannot be installed without getting the calibration of that expensive camera taken away by Sony. I don't care about Netflix. I paid the full price and I want the full features. I cannot even make a decent backup nor install stuff from a backup of my old phone.

So options are:

General Android exploit

Injection on Update (If we get the sticky bit to the sh binary we won.) either in Windows Software (see my last post) or OTA-update.

Code injection with a manipulated document on any app using the calibration and drm partition.

return the phone (like it is it's broken)

legal action

If it doesn't work cause Sony has got more money

attack Sony's servers

hijacking the responsible manager's kids

Well I think the first three are the better options.

Does anyone know if it's possible to solder the flash memory out and read it or better physically read it without unsoldering it? There is someone upgrading iphone's flash memory. So this should be possible somehow.
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
It took a lot of effort for storm to crack the xz lineup, I just can't see it happening again as Sony will always make it harder. By the time it does happen (if it even happens) you'll probably be on a different phone
[Sony Xperia 1 Guides, News, & Discussion] iArvee:
Camera is no longer broken when you unlock the bootloader though (as from what I've read). While your ideas sound great, I'm pretty sure the other developers have already thought of that idea a long time ago.

The 3 cameras are working fine? Unless there's defect with your phone.

Legal action? hahahahaha ok. You sound like a Karen, but sure.
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
This made me laugh as well. They signed an agreement when phone first booted up and they would of signed an agreement saying you'll lose features when unlocking the bootloader.

Cameras work just as well as they did before unlocking
[Sony Xperia 1 Guides, News, & Discussion] sudd1976:
Little help

Hey Guys,

Hope someone can help me, I have an Xperia 1 8110 which I have unlocked the bootloader on and have installed the unofficial TWRP, i thought rooting it would be a case of just flashing Magisk but now I am in a bootloop.

Following the guide i downloaded the rom, I should be able to get my device working if I can flash a patched boot image, but none of the files in the boot folder match those in the OP.

Which one should i choose ?

bootloader_39_X-FLASH-ALL-0A82.sin

bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD

bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD

Griffin_XBootConfig_MiscTA

Thanks
[Sony Xperia 1 Guides, News, & Discussion] hotz3nplotz:
Hi,

i rooted my xperia 1 this way. Downloaded the image with "sony mobile flasher" and "xperifirm". All files are stored in the user folder, and under ".flashtools\firmwares\downloads\J9110_..." you will find a file named "boot_X-FLASH-ALL-A2CD"...
[Sony Xperia 1 Guides, News, & Discussion] CoinsClassic:
Did anyone already install latest Magisk 20 on Xperia 1? Are there any issues or is it safe to upgrade from v19.0 to v20.0?
[Sony Xperia 1 Guides, News, & Discussion] hotz3nplotz:
doesn't work on my device --> bootloop
[Sony Xperia 1 Guides, News, & Discussion] CoinsClassic:
That's nasty. Did you try it via patched boot image and pushing via fastboot or directly via Magisk APP?

Also, is there an issue already open for Xperia 1 devices and Magisk 20 incompatibility?
[Sony Xperia 1 Guides, News, & Discussion] hotz3nplotz:
i tried it through Magisk Manager and directly in TWRP, not via Fastboot... will try that after work...
[Sony Xperia 1 Guides, News, & Discussion] jailscene:
solutions

Solutions.

I had trouble finding my ROM image, not available on google, nor XperiFirm. My european model is not listed (1319-5388).

* I tried with OP's boot.img BOOM got a bootloop!

* I downloaded (with XperiFirm.exe) this: J9110_Customized EU_1318-8327_55.0.A.6.56_R23A then selected "boot_X-FLASH-ALL-A2CD.sin", I had to run "tar xvf boot_X-FLASH-ALL-A2CD.sin" and then "fastboot flash boot boot.000").

The device restarted booting.

After installing "Magisk 19.0" I patched my boot.img, and GOT ROOT! Thanks OP and thanks everyone :eek:
[Sony Xperia 1 Guides, News, & Discussion] CoinsClassic:
You could've also use unsin.exe from here to create the boot.img.
[Sony Xperia 1 Guides, News, & Discussion] hotz3nplotz:
works! To install Magisk 20,

- choose "Update" in the latest Manager,

- then choose the "patch a file" method and use the "boot_X-FLASH-ALL-A2CD.sin" from stock image...

- finally flash the created "magisk_patched.img" via fastboot...

- --> fastboot flash boot magisk_patched.img

- reboot
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
boot loop

Can anyone help since I flashed busybox I got boot loop and to fix it I flashed Twrp-X1-sjll-V1.0.img I don't know how it fixed it but it did and it works but I can't use magisk I tried flashing my patched boot IMG but doesn't boot so can't flash magisk Any ideas ?
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
magisk

Is there a way to remove magisk all together with out internel storage is not accessible maybe ADB command ?
[Sony Xperia 1 Guides, News, & Discussion] CoinsClassic:
Reverting back to unrooted stock

Before doing anything you should remove all modules installed via Magisk.

Then:

- Download latest firmware for your device,

- extract the "boot_X-FLASH-ALL-A2CD.sin" from stock image and unsin it...

- flash the unsinned "boot_X-FLASH-ALL-A2CD.img" via fastboot...

- --> fastboot flash boot boot_X-FLASH-ALL-A2CD.img

- reboot

Magisk SU should be gone, then you can just uninstall the Magisk Manager.

Hope this helps :)
[Sony Xperia 1 Guides, News, & Discussion] Jamesy_Boy20:
how to root sony xperia 1

hello i want to root my sony but i need a video step by step to do it can someone send me a video on how do to do it please thanks James
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Already loads of videos available so YouTube how to root android 9 with/without twrp then follow the guide on page 1
[Sony Xperia 1 Guides, News, & Discussion] Jamesy_Boy20:
how to root sony xperia 1

yes i have looked and it doesn't work can you help me root it please inbox me so we can root thanks James
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Do you know how to use ADB and fastboot?
[Sony Xperia 1 Guides, News, & Discussion] Jamesy_Boy20:
And no but fastboot yes but when i use emma on fast-food or flash it keeps telling me phone is locked and it isn't
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Dont use Emma for fastboot, use command window and follow steps in OP
[Sony Xperia 1 Guides, News, & Discussion] Jamesy_Boy20:
Okay let me try that now also if I root can I make my headphone/earphones louder as I think it's low with headphones or can I do that with root because I just want root for louder headphone volume
[Sony Xperia 1 Guides, News, & Discussion] amakuramio:
does rooting harm low light shooting etc
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
No difference, camera performs just as OK as it does when not rooted
[Sony Xperia 1 Guides, News, & Discussion] nreuge:
Some Sony camera stuff is DRM protected since years. If it would not be the case for Xperia 1 and 5, it would be good news and a radical change of Sony policy. I doubt about this...
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
It's not as bad as before and camera remains OK
[Sony Xperia 1 Guides, News, & Discussion] nreuge:
Are you sure that denoising in low light remains OK ?

Anyway, display enhancements don't, AFAIK... :(
[Sony Xperia 1 Guides, News, & Discussion] argonhxor:
android 10 is coming , im not sure imma going updating it.

is there a way to disable updates? I dont wanna break my root.

also my magisk dont update at all..... i got magisk 19.4 (19307)
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Yes, don't click the install button

---------- Post added at 10:18 AM ---------- Previous post was at 10:18 AM ----------

I couldn't see a difference. You'll lose display enhancements but I couldn't really see a difference there either
[Sony Xperia 1 Guides, News, & Discussion] whoosename:
You won't get an OTA update with an unlocked bootloader!
[Sony Xperia 1 Guides, News, & Discussion] Das_Sams:
https://xperifirm.com/

The page offers 5.37 as latest Version. It is not and not working. You need 5.40 (while I write this). It is here https://xdaforums.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142

Anyways the xperifirm.com page gives you install instructions for your OS.

BTW, while emerging mono (takes some time on a gentoo system) I was wondering which ebuild(package) would supply the programs for the next two steps. Actually they were supplied with mono.
[Sony Xperia 1 Guides, News, & Discussion] Das_Sams:
How it works for me

1. unlock the device as in the first post, with the sony code generator and choose the XZ2 (Update: Xperia 1 now available) and their guide.

THIS WILL DELETE EVERYTHING YOU MADE ON THE PHONE, ALL DATA, SETTINGS, APPS!

2. Allow Chrome 3rd Party APK install. Stop Chrome. Restart it. Install magisk apk.

DO NOT CLICK THAT LINK BEFORE YOU ALLOWED CHROME THE 3rd PARTY INSTALLS. If it happened to you copy the APK to another location (e.g. webspace) and try from there after chrome is allowed to install.

not 3. patching the painfully downloaded image didn't work for me. It took a lot of time. Skip XperiFirm and patching!

3. download Magisk-v20.1zip on the PC (I guess can be saved on the phone too, just remember when you do step 8 an use 8b.)

4. download TWRP-2.2 and unzip it on the PC

5. connect phone to usb cable:

adb reboot bootloader
fastboot flash boot recovery-2.img

There is NO partition called recovery on the phone. So the command

fastboot flash recovery some_name.img

found in another guide does not work.

Take care you give the fastboot command the right path to the recovery-2.img or start it in the same directory. Well if you don't know what it means maybe it's better you don't root. ;)

6. disconnect the cable and power on the phone while pressing the volume down button.

7. twrm starts move the slider right to allow it make changes

8a. somewhere in a sub menu you can activate sideload. Do it, connect the cable and do

adb sideload ../Downloads/Magisk-v20.1.zip

while ../Downloads/ was my path to the file. Your's can be different!

or

8b. if you downloaded Magisk-v20.1.zip to the phone TRWP can also install it from there.

9. When one of the step 8s was successfull reboot. You're done.
[Sony Xperia 1 Guides, News, & Discussion] argonhxor:
I just updated to ANDROID 10

just flashed with newflasher "J8110_EE UK_1319-2550_55.1.A.0.748_R7B"

but seem I cant patch the boot with magisk canary 20.2
[Sony Xperia 1 Guides, News, & Discussion] Das_Sams:
Resolution Problem - 4K Display gone by rooting

I think this can be fixed but I don't know how yet.

As rooting takes away the creator mode the screen resolution is set to 2560*1096.

Before you try the folloing code read the whole text or you make your phone unusable!

You can set it to the phone's 3840*1644 with the following shell commands

wm size 1644x3840
wm density 630

but then you have a new problem: The Touchscreen still only work's in the Area to 0,0 to 1095,2559.

This means the lower 3rd and the right 3rd of the touchscreen are dead making some buttons and the virtual keyboard unusable.

So before toying around with that make sure you have a adb connection that works and works after a reboot too. You cannot click OK when you get asked if you want to allow the adb connection.

(I managed to rescue via a BT Keyboard with mouse. I also had to pull the SIM because the startup does not proceed if you cannot enter the SIM's PIN and my sshd only runs in the Gentoo chroot.)

Does anyone know a way to switch the Touchscreen size to what is needed for the 4K. Yes I need 4K and sometimes I use it with a magnifying class. No, that's not crazy it's much more conveniant than carrying a 45" screen to the mill/lathe where the things are physically done I designed in the CAD. And also, if I paid for a 4K Display I want it working. So please do not make a debate about if someone needs 4K.

Yes, I'm asking for a f***ing command I don't know as I'm very experienced with Debian, Gentoo and GNU/Linux in general but not so familiar with Android design - actually I'd prefer to have the Android in the chroot and the GNU system around, but that's for the future. Anyway I posted this little off topic (How to adjust Touchscreen size?) question here as anyone who roots his phone will have the problem sooner or later when he/she realizes the issue and the full answer should be part of the whole rooting walk through.
[Sony Xperia 1 Guides, News, & Discussion] AJHutchinson:
Here you go https://drive.google.com/file/d/1CBGv03wchYyR45VtgsA-Jq7khNnB3AyU/view?usp=sharing
[Sony Xperia 1 Guides, News, & Discussion] DanielMode:
is there nothing yet like this for the Xperia 5 :confused:
[Sony Xperia 1 Guides, News, & Discussion] argonhxor:
thank you so much it worked!!!!!!!! thanks to AJHutchinson, I got root on my android 10 !!! Noice!
[Sony Xperia 1 Guides, News, & Discussion] AJHutchinson:
Upload your boot.img and I'll take a look buddy ??

---------- Post added at 04:50 PM ---------- Previous post was at 04:49 PM ----------

No worries buddy ??
[Sony Xperia 1 Guides, News, & Discussion] argonhxor:
I've flashed today the EdXposed module and boom got, bootloop, any way to fix it and remove a module without erasing everything? since we dont have twrp.......

nvm: I got factory reset using android recovery (still android 10) you guys know that this devices had this mode? very cool xperia 1 have android recovery!! but it came out for me after like 10 reboot of the phone........you guys know the keys to boot in that? probably for me was: volume up + shutdown , then after the vibrate switch to volume down....

I found these command pretty useful if you get stuck
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
I'd be very surprised if any android phone doesn't have recovery
[Sony Xperia 1 Guides, News, & Discussion] zippy01:
Are you new to Sony? As Sony phones have never had stock recovery
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
A simple Google search would prove you wrong
[Sony Xperia 1 Guides, News, & Discussion] Pandemic:
Doesn't say any, i use more then 12 years sony and it never have recovery dude. How long you use sony ? Not so long i think.
[Sony Xperia 1 Guides, News, & Discussion] DanielMode:
no Recovery for sure thats a fact....believe it or not.!
[Sony Xperia 1 Guides, News, & Discussion] MartinX3:
Anyway google removed the recovery with A/B because it was only used to update the ROM

Luckily it is still in AOSP due to the fact that google doesn't want to make A only devices I compatible at the moment.
[Sony Xperia 1 Guides, News, & Discussion] titigunner01:
Hello,

I tried to root the device without success, I was stucked with a non working Home Page touchscreen.

Im on Android 10, I tried with Magisk 20.1 and TWRP V2.2. (Should I use Canary Magisk 20.2, if yes, where I can find it ?)

I generated a boot image from my rom (J9110_Altice FR-PT_1319-1707_55.1.A.0.748_R4B). I took the boot_X-FLASH-ALL-A2CD.sin and generated a boot.img file but I didn't use it, I don't know when or how to use it.

I tried the following command to flash the boot image :

c:\adb>fastboot flash recovery boot.img
Sending 'recovery' (65536 KB) OKAY [ 0.216s]
Writing 'recovery' FAILED (remote: 'No such partition.')
fastboot: error: Command failed

Now Im back with a fresh install (Thank you New Flasher), I want to try again, but I want to be sure that Im using the correct stuff for Android 10 and use my generated boot img.

Could you please help with a detailed process ?
[Sony Xperia 1 Guides, News, & Discussion] snake218:
Is someone working in a drm fix solution? To be able to root without loosing video enchantment features for example?
[Sony Xperia 1 Guides, News, & Discussion] DanielMode:
i know it's Xmas time...but stop dreaming

a DRM fix will stay a wish nothing else
[Sony Xperia 1 Guides, News, & Discussion] argonhxor:
You unlocked the bootloader??? from the sony website ???

you can get magisk 20.2 from here https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337

you can't flash on recovery you need to flash on boot partition as op says on first post. I assume we dont have recovery partition.

AND

You can't flash twrp for now, that is not working with android 10 only on android 9 it work.

so the command would be:

fastboot flash boot your_patched_boot.img

---------- Post added at 02:01 AM ---------- Previous post was at 01:58 AM ----------

this phone have the android recovery, when I get into it again I will take photo for you.
[Sony Xperia 1 Guides, News, & Discussion] titigunner01:
Hello,

Yes I unlocked the bootloader from the Sony website.

Thank you, I will not install anymore TWRP as I use Android 10.

So I will install Canary Magisk Manager from your link, And I will run "fastboot flash boot my_patched_boot.img" (I generated my img image using unsin). Is that correct ? Anything else I should do ?

I confirm by the way that there is a recovery on Xperia 1, it launches automatically after some bootloops. I saw it on Pie and 10 roms.

Thank you.
[Sony Xperia 1 Guides, News, & Discussion] unikris:
Hello,

I got the problem when unlock the bootloader

When device is in fastboot mode, The device manger is shown the "The drivers for this device are not installed. (Code 28)"

Could you please help to share the ADB software and USB drive to me?

Thank s
[Sony Xperia 1 Guides, News, & Discussion] whoosename:
Look here: https://developer.sony.com/develop/drivers/. Install "Minimal ADB and Fastboot" from here: https://xdaforums.com/showthread.php?t=2317790.
[Sony Xperia 1 Guides, News, & Discussion] unikris:
Thanks.

But still not working on my phone. When the machine is fast mode. My PC still doesnot find the driver.
[Sony Xperia 1 Guides, News, & Discussion] whoosename:
Install [MENTION=2807379]Androxyde[/MENTION]'s Flashtool (Thread here:https://xdaforums.com/showthread.php?t=920746).

Afterwards open your file-explorer and open Flashtool --> drivers folder and execute the "Flashtool-drivers.exe" You'll usually find it under C:\Flashtool\drivers.

The" FlashTool Xperia Driver Pack" appears, there choose" Flashmode Drivers" and "Fastboot Drivers" Later a warn report will appear click on "install this driver software anyway" (or something like that).

When the installation is done your PC should recognize your device (if you've the developer options and usb debugging enabled).
[Sony Xperia 1 Guides, News, & Discussion] xzpremium1976:
if any Sony developer reads this please we want android 10 in UE

Enviado desde mi J9110 mediante Tapatalk
[Sony Xperia 1 Guides, News, & Discussion] Luhccas-X10:
Any root user using stock ROM can share the build.prop? Preferentially J9110.

Sent from my Sony Xperia 1!
[Sony Xperia 1 Guides, News, & Discussion] hotz3nplotz:
perhaps his will help you...
[Sony Xperia 1 Guides, News, & Discussion] xFirefly93:
Anyone around here that have managed to root their Xperia 1's on Q yet? If yes, how did you do it..? :silly:
[Sony Xperia 1 Guides, News, & Discussion] Pandemic:
+1

Someone ?
[Sony Xperia 1 Guides, News, & Discussion] DanielMode:
sometime's it's helpfull to open your eye's and check other thread's :rolleyes:

https://xdaforums.com/xperia-1/how-to/updated-to-android-10-xperia-1-802so-t4037565
[Sony Xperia 1 Guides, News, & Discussion] Pandemic:
Yeah ? Maybe he need to add the steps howto not only screenshots in chinese -__-
[Sony Xperia 1 Guides, News, & Discussion] whoosename:
I suspect you're talking about European Union, the v55.1.A.0.748 Customized EU3 (J9110) is out (according to XperiFirm).
[Sony Xperia 1 Guides, News, & Discussion] pashkvmisha:
root android 10

how did you root on android 10?
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
Using Magisk patch the new boot.img and flash it with fastboot
[Sony Xperia 1 Guides, News, & Discussion] Shsl:
Can anyone upload the old firmware 55.0.A.10.26
[Sony Xperia 1 Guides, News, & Discussion] pashkvmisha:
root q10 android

hi this root not full root, no write system , sorry for my bad english:o
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
I don't think there is a way for full root now
[Sony Xperia 1 Guides, News, & Discussion] Pandemic:
Hello people, i have xperia 1 with android 10 latest and is it worth to unlock the bootloader to get root and what we losing ?

I need some info about it. Please let me know.
[Sony Xperia 1 Guides, News, & Discussion] Mackay53:
More hassle than what it's worth IMO.

The only thing I noticed was gone was the video enhancement feature. Camera etc still works like normal.
[Sony Xperia 1 Guides, News, & Discussion] Pandemic:
Well oke so better keep the bootloader locked indeed [MENTION=3894108]Mackay53[/MENTION] ?