Question Root on Android 13 ? - Sony Xperia 10 IV

Hey folks,
has anyone already successfully rooted Android 13? If yes, is there an instruction available?
Thanks!

refresh5 said:
Hey folks,
has anyone already successfully rooted Android 13? If yes, is there an instruction available?
Thanks!
Click to expand...
Click to collapse
Just patch boot.img and flash it

Can we update firmware after root? If not where can we download full firmware? This is my first Sony phone so I don't know where to download full firmware and how to flash it

Adnan008 said:
Can we update firmware after root? If not where can we download full firmware? This is my first Sony phone so I don't know where to download full firmware and how to flash it
Click to expand...
Click to collapse
Xperiafirm on xda to download full fw and newflasher to flash it

King081 said:
Xperiafirm on xda to download full fw and newflasher to flash it
Click to expand...
Click to collapse
do we lose data when flashing firmware?

Adnan008 said:
do we lose data when flashing firmware?
Click to expand...
Click to collapse
You can choose using newflasher

King081 said:
Just patch boot.img and flash it
Click to expand...
Click to collapse
Can you tell me how?

zaxdamian said:
Can you tell me how?
Click to expand...
Click to collapse
Use unsin to get boot.img from stock file, then install magisk apk, use magisk to patch boot.img then flash in fastboot

King081 said:
Use unsin to get boot.img from stock file, then install magisk apk, use magisk to patch boot.img then flash in fastboot
Click to expand...
Click to collapse
I have stock file but dont know which file unsin. When I try to instal twrp, "Download is not allowed on locked devices". How to unlock bootloader? Command from cmd dosen't work

zaxdamian said:
I have stock file but dont know which file unsin. When I try to instal twrp, "Download is not allowed on locked devices". How to unlock bootloader? Command from cmd dosen't work
Click to expand...
Click to collapse
I don't know what twrp you have, because we don't have one here and clearly your phones bootloader locked, this is about root and not twrp

Ok. I cant unlock bootloader, so how to get boot.img from stock file?

Unlock bootloader:
https://developer.sony.com/open-source/aosp-on-xperia-open-devices/get-started/unlock-bootloader

I tried it. Either I'm doing something wrong or it's not working

Everything works, I unlocked it myself, I just don't remember which command:
fastboot oem unlock
or
fastboot flash unlock

fastboot devices ok
fastboot oem unlock 0xunlockcode "FAILED (remote: 'Command not supported in default implementation')
fastboot: error: Command failed"
fastboot oem unlock unlockcode the same
fastboot flash unlock "unknown partition 'unlock' fastboot: error: cannot determine image filename for 'unlock'"
I think the problem is with entering fastboot mode. When "phone is turned off and press and hold the Fastboot key Volume up* when you connect your phone to the computer" i have blue diode but in SDk no devices

On comand fastboot flash unlock i have "fastboot: error: ANDROID_PRODUCT_OUT not set"

zaxdamian said:
fastboot devices ok
fastboot oem unlock 0xunlockcode "FAILED (remote: 'Command not supported in default implementation')
fastboot: error: Command failed"
fastboot oem unlock unlockcode the same
fastboot flash unlock "unknown partition 'unlock' fastboot: error: cannot determine image filename for 'unlock'"
I think the problem is with entering fastboot mode. When "phone is turned off and press and hold the Fastboot key Volume up* when you connect your phone to the computer" i have blue diode but in SDk no devices
Click to expand...
Click to collapse
Did you do that in fastboot or fastbootD

Fastboot D

Related

Unlocked bootloader but I can't flash anything

I had unlocked bootoader for more than 1 year and didn't have any problem with it. But now for some reason I can't flash anything.
When I try to flash using TWRP i get ERROR 1. From recovery log:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
and when i try adb (not only flash but other commands like fastboot oem device-info aswell)
Code:
FAILED <Remote: command not allowed>
Any idea how to fix this?
woooz said:
I had unlocked bootoader for more than 1 year and didn't have any problem with it. But now for some reason I can't flash anything.
When I try to flash using TWRP i get ERROR 1. From recovery log:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
and when i try adb (not only flash but other commands like fastboot oem device-info aswell)
Code:
FAILED <Remote: command not allowed>
Any idea how to fix this?
Click to expand...
Click to collapse
Try to unlock again!
Bootloader say locked in green or unlocked in red?
.
persona78 said:
Try to unlock again!
Bootloader say locked in green or unlocked in red?
.
Click to expand...
Click to collapse
Unlocked red.
woooz said:
Unlocked red.
Click to expand...
Click to collapse
try to unlock again, and check what it say will you try to unlock.
.
Note: The only file system that works with fastboot is the file system that you extract from update.app, only!
But doesn´t work if you flash with twrp, for twrp is the file system that you pull from the phone.
.
persona78 said:
try to unlock again, and check what it say will you try to unlock.
Click to expand...
Click to collapse
FAILED (remote: already fastboot unlocked)
persona78 said:
Note: The only file system that works with fastboot is the file system that you extract from update.app, only!
But doesn´t work if you flash with twrp, for twrp is the file system that you pull from the phone.
Click to expand...
Click to collapse
I know. Tried to flash stock boot img with fastboot and zip with magisk in twrp.
EDIT: I was able to flash boot.img after this, I guess it worked. Thanks!
I have the same problem again... But now unlocking bootloader again doesn't help.
Also reflashed twrp.
Anyone?
woooz said:
Anyone?
Click to expand...
Click to collapse
If you only want to flash boot.img you can do that in TWRP.
keikari said:
If you only want to flash boot.img you can do that in TWRP.
Click to expand...
Click to collapse
Not only and I can't.
When I try flash anything in twrp i get this error:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
woooz said:
Not only and I can't.
When I try flash anything in twrp i get this error:
Click to expand...
Click to collapse
You still didn't fixed since then?
D1stRU3T0R said:
You still didn't fixed since then?
Click to expand...
Click to collapse
When I created this topic all I had to do to fix this problem was unlocking bootloader again.
But few days ago this problem occured again and unlocking bootloader doesn't help.
It's a bug. REINSTALL default firmware it 3 buttons, let it turn on. Unlock boot again and flash twrp. If that does not work either your phone is damaged or you did something wrong in the middle.

oreo twrp install error

Hi guys
I want to install android 8 (emuı or custom rom) but the oreo twrp doesnt installing, ı tried every time and show an error, how to fix this thing?
kadirc5 said:
Hi guys
I want to install android 8 (emuı or custom rom) but the oreo twrp doesnt installing, ı tried every time and show an error, how to fix this thing?
Click to expand...
Click to collapse
You must give more info so that anyone can understand your problem. Which steps did you follow, which error is it...??? BTW better post it in its right thread (Oreo flashing guide)
CarlosAG10 said:
You must give more info so that anyone can understand your problem. Which steps did you follow, which error is it...??? BTW better post it in its right thread (Oreo flashing guide)
Click to expand...
Click to collapse
First part, is the twrp installation on the fastboot mode. I wrote this code > fastboot flash recovery_ramdisk recovery_ramdisk.img and pressed enter
Sending... Ok
Writing...
FAİLED
kadirc5 said:
First part, is the twrp installation on the fastboot mode. I wrote this code > fastboot flash recovery_ramdisk recovery_ramdisk.img and pressed enter
Sending... Ok
Writing...
FAİLED
Click to expand...
Click to collapse
Try sending command "fastboot devices". Does a number appear? In that case, check your recovery_ramdisk img and directory
CarlosAG10 said:
Try sending command "fastboot devices". Does a number appear? In that case, check your recovery_ramdisk img and directory
Click to expand...
Click to collapse
Yes, shows a number
How can ı check?
kadirc5 said:
Yes, shows a number
How can ı check?
Click to expand...
Click to collapse
Download the files again and make sure you are correctly using fastboot
since you rebranded the device, you should unlock the bootloader again. fastboot doesn't allow running command with a locked bootloader
fastboot oem unlock yourcodehere
Striike said:
since you rebranded the device, you should unlock the bootloader again. fastboot doesn't allow running command with a locked bootloader
fastboot oem unlock yourcodehere
Click to expand...
Click to collapse
Im gonna try at the weekend thanks

Help bricked mi a2

I was trying to install stock rom after installing RR rom. MiFlash said "flashing is not allowed for critical partitions" and when i did "fastboot flashing unlock_critical" from cmd i got "remote: Flashing Unlock is not allowed". I then used the allinone tool from xda and pressed "lock loader" to unlock it again and ended up bricking the device as it now shows "your device is corrupt. it can't e trusted and will not boot" I can't enter recovery either only fastoot and nothing works. PLEASE HELP FAST
have you tried flaashing via edl mode ?
medkim said:
have you tried flaashing via edl mode ?
Click to expand...
Click to collapse
how to do that
Hammad1029 said:
how to do that
Click to expand...
Click to collapse
reboot into edl mode and flash stock rom by mifilash tool
medkim said:
reboot into edl mode and flash stock rom by mifilash tool
Click to expand...
Click to collapse
how do I reboot into edl mode without dissembling the phone
Hammad1029 said:
how do I reboot into edl mode without dissembling the phone
Click to expand...
Click to collapse
reboot into bootloader then issue this command via adb
fastboot oem edl
medkim said:
reboot into bootloader then issue this command via adb
fastboot oem edl
Click to expand...
Click to collapse
it gives "FAILED (remote: 'Device is already locked!')"
@__harmeet reply here please
Hammad1029 said:
it gives "FAILED (remote: 'Device is already locked!')"
Click to expand...
Click to collapse
friend
first of all, you shoud unlock the bootloader
try with this guide
medkim said:
friend
first of all, you shoud unlock the bootloader
try with this guide
Click to expand...
Click to collapse
@Hammad1029 He Is Right, Firstly Unlock The Bootloader, Then Unlock Its Critical Partition And Boot Up Into EDL Mode By Typing "fastboot oem edl#
medkim said:
friend
first of all, you shoud unlock the bootloader
try with this guide
Click to expand...
Click to collapse
have tried already it says "FAILED (remote: Flashing Unlock is not allowed"
bump...
Dude, how many threads do you need to create, it won't make it any more likely that anyone will help you
Your problem is caused by that you only unlocked the bootloader and not critical partitions
Which stock rom were you on before flashing a custom one?
Nebrassy said:
Dude, how many threads do you need to create, it won't make it any more likely that anyone will help you
Your problem is caused by that you only unlocked the bootloader and not critical partitions
Which stock rom were you on before flashing a custom one?
Click to expand...
Click to collapse
I created the 2nd thread in desperation of restoring my only phone so sorry. How do I unlock the ootloader it shows the error I mentioned above
Hammad1029 said:
I created the 2nd thread in desperation of restoring my only phone so sorry. How do I unlock the ootloader it shows the error I mentioned above
Click to expand...
Click to collapse
I asked you what stock rom you were on
Nebrassy said:
I asked you what stock rom you were on
Click to expand...
Click to collapse
10.0.2
Hammad1029 said:
10.0.2
Click to expand...
Click to collapse
Are you sure?, if so, manually flash boot, system and vendor using fastboot to your current slot
Fastboot flash boot_a boot.img
Or boot_b if active slot is B etc...
Then go to developer options and enable oem unlocking, if you can't enable that option, lock the bootloader, enable the option then unlock bootloader and critical flashing
Nebrassy said:
Are you sure?, if so, manually flash boot, system and vendor using fastboot to your current slot
Fastboot flash boot_a boot.img
Or boot_b if active slot is B etc...
Then go to developer options and enable oem unlocking, if you can't enable that option, lock the bootloader, enable the option then unlock bootloader and critical flashing
Click to expand...
Click to collapse
can I claim warranty on this issue
Hammad1029 said:
can I claim warranty on this issue
Click to expand...
Click to collapse
Hi , sorry for my bad English , if you can open you phone and enter to EDL MODE and flash the stock rom of your device may be solve your problem ,
(I get the same problem trying to install a custom rom)
If you can't acces to EDL via ABD i think that you only can enter to EDL disasembly your phone .. Suertee xd
Yo también me desesperé
same problem
i got the same problem, won't start normally, hangs in boot screen so can't enter the phone to put it in usb debugging, only responce is through fastboot mode. Every attempt is failing due to locked state and unlocking is not allowed.

Help me , my phone is corrupt data, not boot!

My phone can't boot . The display is " your device is corupt . It cant be trusted and will not boot after I root and install twrp, gapps , i have used the command "fastboot oem lock" "fastboot flashing lock" "fastboot oem relock" .
i can't unlock bootloader ( flasing unlock not allow )
my bootloader is lock
plz help me !
nil3m1 said:
My phone can't boot . The display is " your device is corupt . It cant be trusted and will not boot after I root and install twrp, gapps , i have used the command "fastboot oem lock" "fastboot flashing lock" "fastboot oem relock" .
i can't unlock bootloader ( flasing unlock not allow )
my bootloader is lock
plz help me !
Click to expand...
Click to collapse
You need to enable bootloader unlock through setting in developer option enable oem unlock, and then you can use the ' fastboot flashing unlock'
You can't root with locked bootloader as it will show an error message your device is corrupt,
At you situation now you should flash stock boot and then the phone will open and then you go to settings as i mentioned to enable oem unlock through developer option in settings
Fastboot unlock bootloader with long command, you will see it unlock temporarily till reboot, flash boot.img and recovery.img, reboot into recovery wipe data & cache, utilize USB otg to reinstall rom.
em902566 said:
You need to enable bootloader unlock through setting in developer option enable oem unlock, and then you can use the ' fastboot flashing unlock'
You can't root with locked bootloader as it will show an error message your device is corrupt,
At you situation now you should flash stock boot and then the phone will open and then you go to settings as i mentioned to enable oem unlock through developer option in settings
Click to expand...
Click to collapse
-I cannot boot into os to enable oem unlock ,I can't go into recovery
Hope you will help me,thank you
SuperDroidMe said:
Fastboot unlock bootloader with long command, you will see it unlock temporarily till reboot, flash boot.img and recovery.img, reboot into recovery wipe data & cache, utilize USB otg to reinstall rom.
Click to expand...
Click to collapse
I used the command "fastboot oem nubia_unlock NUBIA_NX629J" ,"fastboot flashing unlock" , command but it reported an error "flashing unlock not allow"
Please help me with what I should do. thank you
nil3m1 said:
I used the command "fastboot oem nubia_unlock NUBIA_NX629J" ,"fastboot flashing unlock" , command but it reported an error "flashing unlock not allow"
Please help me with what I should do. thank you
Click to expand...
Click to collapse
Okay now you have to download the stock cn version from official site, and extract the zip file , now olyou have to flash the stock boot image and recovery image
,Fastboot devices
,Fastboot fastboot oem nubia_unlock NUBIA_NX629J
,Fastboot flash boot boot.img
,Fastboot flash recovery recovery.img
,Fastboot reboot
And wait let it reboot at least 3 time
And it will work just fine ?
em902566 said:
Okay now you have to download the stock cn version from official site, and extract the zip file , now olyou have to flash the stock boot image and recovery image
,Fastboot devices
,Fastboot fastboot oem nubia_unlock NUBIA_NX629J
,Fastboot flash boot boot.img
,Fastboot flash recovery recovery.img
,Fastboot reboot
And wait let it reboot at least 3 time
And it will work just fine
Click to expand...
Click to collapse
it dont work . my device not boot with report " your device is corrupt .It can not be trusted and wil not boot " .
update?
nil3m1 said:
it dont work . my device not boot with report " your device is corrupt .It can not be trusted and wil not boot " .
Click to expand...
Click to collapse
did you fixed it? we have same situation.
godric12 said:
did you fixed it? we have same situation.
Click to expand...
Click to collapse
Use "Fastboot fastboot oem nubia_unlock NUBIA_NX629J" to unlock the bootloader and flash the correct boot img. Or you can go to stock recovery flash the whole system. It is caused by an unsigned boot file.
JerryYin said:
Use "Fastboot fastboot oem nubia_unlock NUBIA_NX629J" to unlock the bootloader and flash the correct boot img. Or you can go to stock recovery flash the whole system. It is caused by an unsigned boot file.
Click to expand...
Click to collapse
I have this error when installing the rom, what should I do to fix it?
mos98p said:
I have this error when installing the rom, what should I do to fix it?
Click to expand...
Click to collapse
Maybe you can check other post and find the solutions, there are someone already fix the phone with same issue

Need Help - LLD-AL10 ........... Recovery Issue

I had installed LOS 8.1 on my phone with some chinese recovery few years back (may be 2018)......... working great.
Now i uninstalled Magisk ..............
Now I have Pretoria https://forum.xda-developers.com/t/...e-unofficial-twrp-3-2-1-0-12-05-2018.3789306/ installed .......... which is stuck on very first page.
i Want to reinstall MAgisk which needs TWRP
I have tried to flash new twrp in fastboot ........ but every time.......... error shows ............. command not allowed.
so guide me
kdark said:
command not allowed.
Click to expand...
Click to collapse
make sure you have both FRP and bootloader unlocked
-Alf- said:
make sure you have both FRP and bootloader unlocked
Click to expand...
Click to collapse
FRP is locked
how to revert to stock rom?
kdark said:
how to revert to stock rom?
Click to expand...
Click to collapse
A. Use eRecovery
B. Flash full stock FW using dload method
-Alf- said:
A. Use eRecovery
B. Flash full stock FW using dload method
Click to expand...
Click to collapse
i dont think erecovery is working bcoz twrp is flashed
kdark said:
twrp is flashed
Click to expand...
Click to collapse
How did you install it? Over Recovery or over eRecovery?
-Alf- said:
How did you install it? Over Recovery or over eRecovery?
Click to expand...
Click to collapse
dont remember coz it was in 2018........ but in erecovery ...... it only show reboot option
kdark said:
. it only show reboot option
Click to expand...
Click to collapse
I'm not sure I fully understand you... There is no Recovery or eRecovery which shows only one option.
-Alf- said:
I'm not sure I fully understand you... There is no Recovery or eRecovery which shows only one option.
Click to expand...
Click to collapse
if i boot to recovery from phone ........... it goes to TWRP {which is stuck} ........ otherwise erecovery shows only reboot option
-Alf- said:
I'm not sure I fully understand you... There is no Recovery or eRecovery which shows only one option.
Click to expand...
Click to collapse
give me fastboot commands to flash both twrp and erecovery
kdark said:
give me fastboot commands to flash both twrp and erecovery
Click to expand...
Click to collapse
maybe you meant to say "give me please"...
Google it.
-Alf- said:
maybe you meant to say "give me please"...
Google it.
Click to expand...
Click to collapse
plz
in fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Some might fail, so don't worry about it.
-Alf- said:
in fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Some might fail, so don't worry about it.
Click to expand...
Click to collapse
LLD-AL10 8.0.0.160(C675)
(bootloader) LLD-AL10
vendorcountry: hw/in
FAILED (remote: 'The reason of failed input oem_nv_item error!')
fastboot: error: Command failed
(bootloader) :LLD-AL10 8.0.0.160(C675CUSTC675D2)
FRP still locked?
Try to perform factory reset in fastboot mode, run command
fastboot erase userdata
Then try reboot TWRP and flash this file:
https://mega.nz/file/Q1dzQAqK#VGEZOvTalbDWow8epmN6ht7XNc9VH-4rapKtqU_3Y3A
FRP status will change to Unlock.

Categories

Resources