Root Xperia Xa nougat (. 131) - Sony Xperia XA Questions & Answers

Hi I want to root my xa. Plz help me.

Chaminxa said:
Hi I want to root my xa. Plz help me.
Click to expand...
Click to collapse
You can't. We have to wait for Sony to release the open source archive for the Xperia XA and XA Ultra. After we have the archive, we can build the kernel which enables flashing the recovery. You can check when the archive will be uploaded here.

@davixdevelop,
absolutley nonsense.
@Chaminxa,
downgrade with flashtool to mm,
save your ta,
open your bootloader,
update your device to nougat with flashtool,
flash twrp,
flash kernel,
flash supersu.zip &
done.
you can mod your kernel by yourself,
the only things you need is
this tool https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 ,
your ta.img backup & your kernel.sin

MysticEnforcer said:
@davixdevelop,
absolutley nonsense.
Click to expand...
Click to collapse
Absolutely nonsense? Say that to the countless people before me, who said the same thing. And your method only works if you made a backup of the TA partition, which I'm sure a lot of people didn't do, as the only widely known tool to do that, worked based on a exploit which was patched.
And before you go out, calling people "absolutely nonsense", you got to understand that not everyone knows everything. That's why forums like this exist, to share knowledge and experience.

not everybody knows everything, is right.
this is why i've appealed to the coarse approach & to the tool
but to say directly, you can't, is in my eyes nonsense

davixdevelop said:
You can't. We have to wait for Sony to release the open source archive for the Xperia XA and XA Ultra. After we have the archive, we can build the kernel which enables flashing the recovery. You can check when the archive will be uploaded here.
Click to expand...
Click to collapse
How long does it usually take for them to release the archive?

goldblot said:
How long does it usually take for them to release the archive?
Click to expand...
Click to collapse
Well, for the version 33.2.B.4.70 it took them 13 days to release the archive after the version 33.2.B.4.70 was released for the first carrier on 21.2.2017.

Open source archive has been released...
Now we can root. Yeahh.
:fingers-crossed:

MysticEnforcer said:
@davixdevelop,
absolutley nonsense.
@Chaminxa,
downgrade with flashtool to mm,
save your ta,
open your bootloader,
update your device to nougat with flashtool,
flash twrp,
flash kernel,
flash supersu.zip &
done.
you can mod your kernel by yourself,
the only things you need is
this tool https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893 ,
your ta.img backup & your kernel.sin
Click to expand...
Click to collapse
Mediatek devices have different partition table. Does ta_poc support that?
TA partition is mounted at "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/ta"

BlueTR said:
Mediatek devices have different partition table. Does ta_poc support that?
TA partition is mounted at "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/ta"
Click to expand...
Click to collapse
ta_poc is a tool for sony devices & it is not compatible

MysticEnforcer said:
ta_poc is a tool for sony devices & it is not compatible
Click to expand...
Click to collapse
Sorry, I meant mediatek Sony devices. C5U, XA, XAU, XA1, XA1U, L1 etc.

MysticEnforcer said:
ta_poc is a tool for sony devices & it is not compatible
Click to expand...
Click to collapse
XA and Ultra aren't some Sony devices? If this is the case, Xperia X and Z lines are not some Sony devices too but Qualcomm TA and security process are same as Flagship devices but the ta_poc only need to be ported on XA (and XA1). You can look at the ramdisk in the boot.img to understand

davixdevelop said:
You can't. We have to wait for Sony to release the open source archive for the Xperia XA and XA Ultra. After we have the archive, we can build the kernel which enables flashing the recovery. You can check when the archive will be uploaded here.
Click to expand...
Click to collapse
Chaminxa said:
Now we can root. Yeahh.
:fingers-crossed:
Click to expand...
Click to collapse
Now that Sony released the source code for 33.3.A.0.131, what is the next step for rooting Nougat?
I'm not an expert, sorry if this is a noob question:
If I understand correctly, we would need a boot.img (from these sources), a recovery like TWRP, and the SuperSU binary right?
So the only thing missing is the boot.img?

jjmontero9 said:
Now that Sony released the source code for 33.3.A.0.131, what is the next step for rooting Nougat?
I'm not an expert, sorry if this is a noob question:
If I understand correctly, we would need a boot.img (from these sources), a recovery like TWRP, and the SuperSU binary right?
So the only thing missing is the boot.img?
Click to expand...
Click to collapse
Please search a little before posting, the guide is here: https://forum.xda-developers.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3638727

rrvuhpg said:
Please search a little before posting, the guide is here: https://forum.xda-developers.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3638727
Click to expand...
Click to collapse
I know the guide, my question was if the only thing missing is the boot.img which contains the kernel
I was planning to try to build it myself.

jjmontero9 said:
I know the guide, my question was if the only thing missing is the boot.img which contains the kernel
I was planning to try to build it myself.
Click to expand...
Click to collapse
Nothing is missing. If your real question is "What I need if I want to make all files alone?"
The answer is:
-the kernel sources,
-a stock boot,
-a TWRP to port or "device tree" sources to build it
-SuperSu or Magisk
-a computer with a Linux OS

rrvuhpg said:
Nothing is missing. If your real question is "What I need if I want to make all files alone?"
The answer is:
-the kernel sources,
-a stock boot,
-a TWRP to port or "device tree" sources to build it
-SuperSu or Magisk
-a computer with a Linux OS
Click to expand...
Click to collapse
Oh sorry, my fault, I didn't notice you already uploaded a boot.img for Nougat on a separate thread
Thanks and sorry for the inconvenience.

Related

Upgrading Xperia Z5 Dual from 32.1.A.1.185 to 32.2.A.0.224 without loosing ROOT?

This week sony release the new upgrade build for MarshMallow 32.2.A.0.224. I am currently using build 32.1.A.1.185 with ROOT ACCESS which I did using this ROOTING GUIDE for XPERIA Z5
http://forum.xda-developers.com/xperia-z5/general/guide-rooting-unlocking-bootloader-t3354307
I have read here in on this page http://forum.xda-developers.com/z5-compact/general/root-partially-upgrade-to-32-2-0-224-t3391235 , that one of the guys upgraded to this new build without loosing ROOT ACCESS to his Z5. All I wanted to ask should I continue like him Upgrading from my PC/PHONE to the new build without loosing root access or is there going to be some long lengthy UPGRADING GUIDE for this new Z5 Build.?:silly::crying::cyclops:
It's easy. Why don't you just flash your Firmware and your Kernel with Recovery again and install SuperSu again? Or you might try FlashFire by Chainfire
ali112 said:
It's easy. Why don't you just flash your Firmware and your Kernel with Recovery again and install SuperSu again? Or you might try FlashFire by Chainfire
Click to expand...
Click to collapse
But what do you mean by Flashing and kernel with Recovery?:crying::silly: I mean I know about Flashing and all this recovery stuff. But please can you elaborate further on what you said ? I will be thankful to you
Well, you do almost exactly the same as in the guide, but you leave out the drm backup Part (not the restore part) and you dont use the firmware version in your guide, you use the newest one avaliable which you can download with xperifirm
ali112 said:
It's easy. Why don't you just flash your Firmware and your Kernel with Recovery again and install SuperSu again? Or you might try FlashFire by Chainfire
Click to expand...
Click to collapse
ali112 said:
Well, you do almost exactly the same as in the guide, but you leave out the drm backup Part (not the restore part) and you dont use the firmware version in your guide, you use the newest one avaliable which you can download with xperifirm
Click to expand...
Click to collapse
Ahan .. Got it .... :good::silly: .. Did you try this method? Maybe the newer build might have some kind of security feature that this old guide will fail to address and thus ending up with NON-ROOTED Upgraded MarshMallow. I am optimistic about the return of Sony' STAMINA MODE. Thats why I want to upgrada ASAP because this current DOZE MODE of MM itself is sucker and doesnt deliver as it is advertised
I think what ali112 said makes sense, the only question I have is wouldn't we require an updated version of the kernel too?
This hasn't been updated yet: http://forum.xda-developers.com/xpe...-twrp3-0-z5-adv-stock-kernel-2016-03-t3333829
And from what I see, this one had a SIM detection error (haven't tried it myself): http://forum.xda-developers.com/xperia-z5/development/32-2-0-224-ftf-rootable-kernel-t3391071/page4
Dr. Mantis Toboggan said:
I think what ali112 said makes sense, the only question I have is wouldn't we require an updated version of the kernel too?
This hasn't been updated yet: http://forum.xda-developers.com/xpe...-twrp3-0-z5-adv-stock-kernel-2016-03-t3333829
And from what I see, this one had a SIM detection error (haven't tried it myself): http://forum.xda-developers.com/xperia-z5/development/32-2-0-224-ftf-rootable-kernel-t3391071/page4
Click to expand...
Click to collapse
It's easy to upgrade, download the latest . ftf extract the kernel and prepair it as before, flash the new .ftf with flashtool without wiping any, then flash the new prepaired kernel with fastboot.
This worked for me
/MKL
Yes, MKL is right. Mantis is right. I havent read the whole guide, I thought it includes the extraction of the kernel and patching it. Alternatively you could use AndroPlus Kernel v31 or higher
Don't be too exciting for stamina mode. It is really bad... I mean it disables all animations....

Root?

Why it's almost impossible for us to have the root with the locked bootloader.? Since the day the mobile went out till now it wasn't possible ?, so is there a chance?
Zewarxx said:
Why it's almost impossible for us to have the root with the locked bootloader.? Since the day the mobile went out till now it wasn't possible ?, so is there a chance?
Click to expand...
Click to collapse
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
aidy.lucas said:
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
Hollywood!! So I shall wait no more? And unlock the bootloader? Because root with locked bootloader is just a myth now?
Zewarxx said:
Hollywood!! So I shall wait no more? And unlock the bootloader? Because root with locked bootloader is just a myth now?
Click to expand...
Click to collapse
Go ahead, don't forget to backup your TA partition / DRM keys before...
https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
sxtester said:
Go ahead, don't forget to backup your TA partition / DRM keys before...
https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Click to expand...
Click to collapse
aidy.lucas said:
Nope highly unlikely, since dm-verity security was introduced on the z3+ all xperia devices after this require a unlocked bootloader for root. A modified system just won't boot up.
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
so after the searches, I did I found out the following:
1- first, since I'm on android 7.0 I need to downgrade to 6.0 in order to backup my TA ! wich I can do via Flashtool
2- I do the backup
3- I root the phone and restore the backup I did
4- I upgrade to android 7 and then I'm good to go!
my questions:
1-what will I lose after unlocking the bootloader? and if I restored the TA backup will that count as if i didn't unlock the bootloader?
2- how I will root the phone? with a custom kernel or is there any other way? and if with a kernel any advice?
3-shall I do the root before upgrading to android 7? or before? and will I be able to still get updates after the root? or i will have to do it through Flashing Ftf of the new updates?
4-anyone is running Xposed framework?
thanks so much in advance ))
im not sure what we lose after bootloader unlock.. From what i read on the androplus kernel thread, if you use androplus there is some amount of drm functionality restored. there is no clear consensus from what i have read, and being a ex-Z3 user im still paranoid about this as in Z3 without the DRM camera is basically ****.
no xposed for nougat yet - so that's out of question.
Zewarxx said:
so after the searches, I did I found out the following:
1- first, since I'm on android 7.0 I need to downgrade to 6.0 in order to backup my TA ! wich I can do via Flashtool
2- I do the backup
3- I root the phone and restore the backup I did
Click to expand...
Click to collapse
then you are locked again ... Don't do that!
4- I upgrade to android 7 and then I'm good to go!
Click to expand...
Click to collapse
For every upgrade (via SONY's FTFs):
1. Flash FTF via Flashtool
2. flash suitable recovery and AndroPlus kernel (look in this forum and follow the instructions on AndroPlus' website)
3. boot into recovery, flash SuperSU and whatever you need
There should be a possibility to flash the devicekey (not the whole TA-partition!) to another partition to get the whole DRM-enchillada back. That does not work for me since it is not included in the FSC as of today.
my questions:
1-what will I lose after unlocking the bootloader? and if I restored the TA backup will that count as if i didn't unlock the bootloader?
Click to expand...
Click to collapse
What you will loose when unlocking BL:
https://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
At least the first two AFAIK are taken care of the DRM-Patch in AndroPlus's kernel.
2- how I will root the phone? with a custom kernel or is there any other way? and if with a kernel any advice?
3-shall I do the root before upgrading to android 7? or before? and will I be able to still get updates after the root? or i will have to do it through Flashing Ftf of the new updates?
4-anyone is running Xposed framework?
Click to expand...
Click to collapse
2 see above, rinse and repeat for every new SONY Rom
3 same answer, since the modifications are overflashed by installing/flashing another ROM
4 I used to run XPrivacy, but ATM the granularity of options in MM and Nougat is enough for me -
there is no Xposed for Nougat ATM
DHGE said:
then you are locked again ... Don't do that!
For every upgrade (via SONY's FTFs):
1. Flash FTF via Flashtool
2. flash suitable recovery and AndroPlus kernel (look in this forum and follow the instructions on AndroPlus' website)
3. boot into recovery, flash SuperSU and whatever you need
There should be a possibility to flash the devicekey (not the whole TA-partition!) to another partition to get the whole DRM-enchillada back. That does not work for me since it is not included in the FSC as of today.
What you will loose when unlocking BL:
https://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
At least the first two AFAIK are taken care of the DRM-Patch in AndroPlus's kernel.
2 see above, rinse and repeat for every new SONY Rom
3 same answer, since the modifications are overflashed by installing/flashing another ROM
4 I used to run XPrivacy, but ATM the granularity of options in MM and Nougat is enough for me -
there is no Xposed for Nougat ATM
Click to expand...
Click to collapse
Thanks for your time and effort, well the reason I wanted the root is for the xposed and for the adblock only and since there's no xposed support yet I think it's not necessary to lose what I may lose just for the adblock ? thanks again

[Kernel][Stock 5.1.1] Manjuu Kernel for Sony Xperia C3 D2533 / D2502

This is a stock kernel for the Xperia C3 D2533 and D2502 running stock 5.1.1 firmware.​
I am learning from scratch in my free time so updates will be very slow or non-existent, please bear with me until then. Right now I only have a kernel image which must be flashed through ADB (you need to look up in the forums here to install it), nothing else is needed.
Make sure your phone's bootloader is unlocked and has a working recovery, use this guide to do it if you haven't done so.​
Basic requirements:
Phone is rooted and bootloader unlocked
You have a working recovery for your device
You know how to backup and flash images/kernels with TWRP
ADB and Fastboot works perfectly in your computer and phone
You know how to use ADB and Fastboot, otherwise Google it
Install instructions
Just flash the zip file through TWRP, it will take a minute or two to finish up. If you're using Magisk, you need to reflash the Magisk zip to patch the new kernel.
Download link
Manjuu Kernel v5
Changelog:
V5
- Remove Linux patch (It was the wrong way to patch this kernel and will cause conflicts)
- Revert commits from another kernel (also caused some conflicts and increased battery drain)
- Added SafetyNet patch
- This is not tested. Please flash UnSU, the kernel, then Magisk. Right now Magisk v12 will result in high CPU usage, use v11.6 instead. You will trip SafetyNet if you have Xposed or SuperSU in your device.​
Older changelogs:
V4
- Downgrade Intelliplug to 4.0 for better compatibility
- Cleaned up some coding
- Merge some bugfix and improvements (Refer to github commits)
- Now that we have a flashable zip, driver modules are added as well
V3
- Update Intelliplug to 5.0
- Added overclock to 1600Mhz
- Some compilation optimizations
- General kernel bugfix (refer to github commit)
- Update linux kernel to 3.4.5
V2
- Added Intelliplug hotplug
- Added KCAL support (get control app from here)
V1
- First build with Linaro GCC toolchain
Credits List
bauner and his guidance in building kernels
osmosis for his Anykernel2 and AIK
riccorbypro for his help in bringing development
XDA for providing a platform to contribute and share everything Android
And a special no thank you to Sony for being such a potato. The only difference is a potato is a lot more useful than Sony when it comes to customer service.​
XDA:DevDB Information
Manjuu Kernel, Kernel for the Sony Xperia C
Contributors
AutumQueen92
Source Code: https://github.com/AngryManjuu/ManjuuKernel
Kernel Special Features: Compiled with Cortex-A7 optimised toolchain
Version Information
Status: Stable
Current Stable Version: 5.0
Stable Release Date: 2017-04-13
Created 2017-02-27
Last Updated 2017-05-13
Reserved
Great dev , can i use this on D2502 ?
Seem no one use C3 anymore ?!
JustinSang said:
Great dev , can i use this on D2502 ?
Seem no one use C3 anymore ?!
Click to expand...
Click to collapse
Make a backup of your boot.img with TWRP, copy the backup file also into your PC then try flashing it. This might break recovery so be prepared to reflash them if it won't boot. Let me know if it succeeds/fails.
Nobody has yet to tell me about D2502 so this could be a chance to test it out, thanks.
AutumQueen92 said:
Make a backup of your boot.img with TWRP, copy the backup file also into your PC then try flashing it. This might break recovery so be prepared to reflash them if it won't boot. Let me know if it succeeds/fails.
Nobody has yet to tell me about D2502 so this could be a chance to test it out, thanks.
Click to expand...
Click to collapse
work g8t in c3 dual d2502:good::highfive: m used
also xperia m2 xperianze z2 rom work in c3:laugh::good:
monu09 said:
work g8t in c3 dual d2502:good::highfive: m used
also xperia m2 xperianze z2 rom work in c3:laugh::good:
Click to expand...
Click to collapse
So Dual Sim functions are all okay, including data?
AutumQueen92 said:
So Dual Sim functions are all okay, including data?
Click to expand...
Click to collapse
yes work
thkss it work fine
Kernel update to V3, if anyone is still using this thing >.>
What is the benefit to my c3 if I flash the kernel? I'm just wondering.
7thzign said:
What is the benefit to my c3 if I flash the kernel? I'm just wondering.
Click to expand...
Click to collapse
Basically better performance, and better battery life. It also fixes a few bugs here and there, so hopefully it's also more stable.
Thanks for update
error: cannot load 'Manjuu'
chetan3138 said:
error: cannot load 'Manjuu'
Click to expand...
Click to collapse
Be more specific. How did you try to flash it?
AutumQueen92 said:
Be more specific. How did you try to flash it?
Click to expand...
Click to collapse
through command window
chetan3138 said:
through command window
Click to expand...
Click to collapse
Weird, it should work. Try renaming the file to kernel.img and the change the name in the command line as well.
When you installed the fastboot drivers, did you disable signature​ verification in windows first? If not, google how to do it then reinstall drivers and reboot.
If it's still not working try using TWRP instead.
chetan3138 said:
error: cannot load 'Manjuu'
Click to expand...
Click to collapse
Try renaming the file then flash as what autumnqueen said. Thats also my problem at first but when i renamed the file. It fixes the error.
AutumQueen92 said:
Weird, it should work. Try renaming the file to kernel.img and the change the name in the command line as well.
When you installed the fastboot drivers, did you disable signature​ verification in windows first? If not, google how to do it then reinstall drivers and reboot.
If it's still not working try using TWRP instead.
Click to expand...
Click to collapse
Adb doesnt read spaces. Worked after rename and go bootlooped for odexed one.
chetan3138 said:
Adb doesnt read spaces. Worked after rename and go bootlooped for odexed one.
Click to expand...
Click to collapse
Alright, renamed it already. Btw, what odexed?
This should work on stock rom and the deodex patch as well. Is your phone's bootloader unlocked?
AutumQueen92 said:
Alright, renamed it already. Btw, what odexed?
This should work on stock rom and the deodex patch as well. Is your phone's bootloader unlocked?
Click to expand...
Click to collapse
Yeah, unlocked. Btw I have tried it on c3 dual sim. I think its for lte version only
monu09 said:
work g8t in c3 dual d2502:good::highfive: m used
also xperia m2 xperianze z2 rom work in c3:laugh::good:
Click to expand...
Click to collapse
Hi, well thats grt that this kernel works fine. But you mentioned about some rom(Xperia m2 Xperianze z2 rom) working in xperia c3 with this kernel. Can u please give the link to it. Xperia c3 dual do not have any custom rom till date. If the rom given by you works then you will be a God to al the xperia c3 users. I tried to search the rom u mentioned but I found nothing.
Thanks

Sony Xperia XZ2 TWRP Rom

Hi all,
I am urgently searching for a TWRP img for an Xperia XZ2 compact (H8324) Oreo (Android v 8) build number 51.1.A.4.225
Could someone please point me in the right direction?
starxperia said:
Hi all,
I am urgently searching for a TWRP img for an Xperia XZ2 compact (H8324) Oreo (Android v 8) build number 51.1.A.4.225
Could someone please point me in the right direction?
Click to expand...
Click to collapse
Since TWRP is not official for Xz2c, you will need to rely on custom builds, or build your own. Only one I know of for O is here - https://androidfilehost.com/?fid=11410963190603893744 - by @MartinX3. It's for a different build, but I think you should be able to update build without wiping data, and be OK. He also has a corresponding ftf here -
https://androidfilehost.com/?fid=11410963190603893384
Thanks
levone1 said:
Since TWRP is not official for Xz2c, you will need to rely on custom builds, or build your own. Only one I know of for O is here - ] - by @MartinX3. It's for a different build, but I think you should be able to update build without wiping data, and be OK. He also has a corresponding ftf here -
Click to expand...
Click to collapse
What's the FTF? I've been reading the forums and am still unsure as to how to root the phone. I have unlocked the bootloader.
Thanks Levone1
levone1 said:
Since TWRP is not official for Xz2c, you will need to rely on custom builds, or build your own. Only one I know of for O is here - - by @MartinX3. It's for a different build, but I think you should be able to update build without wiping data, and be OK. He also has a corresponding ftf here -
Click to expand...
Click to collapse
What's the FTF? I am still having difficulty understanding how to root the phone. I have unlocked the bootloader but was hoping you might be able to elaborate further?
starxperia said:
What's the FTF? I am still having difficulty understanding how to root the phone. I have unlocked the bootloader but was hoping you might be able to elaborate further?
Click to expand...
Click to collapse
Ftf is the flashing file that contains all of the information and files to flash a stock rom on your phone.
To root, just flash the ftf, and then follow the instructions in MartinX3's recovery thread here - https://forum.xda-developers.com/xp...recovery-twrp-3-2-2-0-touch-recovery-t3821597.
To flash the ftf, you need to use Flashtool by Androxyde or Newflasher. They each have their own threads with instructions / support.
If you use Flashtool, you'll need this - https://forum.xda-developers.com/xp.../flashtool-android-pie-52-x-fsc-file-t3896454
levone1 said:
Ftf is the flashing file that contains all of the information and files to flash a stock rom on your phone.
To root, just flash the ftf, and then follow the instructions in MartinX3's recovery thread here - To flash the ftf, you need to use Flashtool by Androxyde or Newflasher. They each have their own threads with instructions / support.
If you use Flashtool, you'll need this -
~Thanks so I can use the flash tool to put on the twrp as well?
Click to expand...
Click to collapse
starxperia said:
levone1 said:
Ftf is the flashing file that contains all of the information and files to flash a stock rom on your phone.
To root, just flash the ftf, and then follow the instructions in MartinX3's recovery thread here - To flash the ftf, you need to use Flashtool by Androxyde or Newflasher. They each have their own threads with instructions / support.
If you use Flashtool, you'll need this -
~Thanks so I can use the flash tool to put on the twrp as well?
Click to expand...
Click to collapse
You really should read up on the process since bricking a handset is really easy, and your questions show a lack of understanding. TWRP is not a ROM, TWRP is a RECOVERY. Your phone has a bootloader, a recovery and a ROM (the operating system). You can only change operating systems (a different ROM or a rooted ROM) by changing the recovery which enables flashing ROMs, and you can only change the recovery by unlocking the bootloader. Screwing up any of those steps can brick a handset.
XDA is chock full of information and the poster above gave you directions for several helpful threads. Read these carefully and most of your questions will be answered.
Click to expand...
Click to collapse
starxperia said:
levone1 said:
Ftf is the flashing file that contains all of the information and files to flash a stock rom on your phone.
To root, just flash the ftf, and then follow the instructions in MartinX3's recovery thread here - To flash the ftf, you need to use Flashtool by Androxyde or Newflasher. They each have their own threads with instructions / support.
If you use Flashtool, you'll need this -
~Thanks so I can use the flash tool to put on the twrp as well?
Click to expand...
Click to collapse
Flashtool / Newflasher will put stock rom on your phone, (make it like factory). Everything else is explained in MartinX3's thread.
Click to expand...
Click to collapse

Realme C21Y (RMX3261,RMX3263,RMX3262) kernel source, boot.img....

Hello and welcome​NOTICE:This thread will be modified when new files are available.
Manufacturer: Rea*me
Device: Realme C21Y
Chipset: UNISOC T610
DEVICE CODENAME: RMX3263,RMX3261,RMX3262
Currently available files:
pre-built kernel(zImage) boot.img
device-tree.dtb(device tree blob)
device-tree-source.dts(device tree source)
kernel-configuration file, sepolicy, prop.default
EDIT:finaaaaally Rea*me released the kernel source for this device, I think it is time for you to compile !
https://github.com/realme-kernel-opensource/realme_C21Y-AndroidR-kernel-source/
unfortunately as you see, there is no kernel source and also a way to unlock the bootloader, the files are somehow not very important but maybe in the future they will be.
actually, you can build any custom rom for this device using the prebuilt kernel(zImage), without kernel source by using TARGET_PREBUILT_KERNEL="Path to zImage" variable, if you understood that's good, if not just search for it, then when you got the zip file you can use sp research tool to flash the built from source rom with a locked bootloader, because it is the only way to flash this phone's files with locked bootloader, these are the instructions that you'll need to do(please note that this is a theory only, i didn't test it and i am not responsible for bricked devices, at your own risk !):
Get the phone's stock rom for example from this link: https://romprovider.com/realme-rmx3263-flash-file-firmware-free/
then install the sp research tool(you need to use this one specifically, the sp flah tool works just in the factory): https://androidmtk.com/download-spd-research-tool
Link: then using this link follow the steps until you replaced the stock system.img to the GSI's system.img one.
then just flash it using the tool and you will success to flash the GSI rom.
Next the file device-tree-sorce.dts is the device tree source file.
To get the boot.img, download the boot.zip below, extract it and you'll have it, if you want to modify boot.img download AIK tool: then run the shell script on the boot.imh file(you can do it only in Linux).
well we hope we will find a way to unlock the bootloader, because it's the key for doing everything.
Have you tried realme Deep test App to unlock the bootloader.
Hey I was thinking of flashing the proton AOSP GSI on Realme C21Y. I have checked that realme c21y has Treble SUPPORT so I thought if you can give it a try if you happen to have a realme c21y available.
Here are the links of file and tutorials that I intend to follow .
Tutorial.
GSI ROM link : https://github.com/haridhayal11/treble_proton_aosp/releases/
The problem is that you can't unlock the bootloader. Not about installing a GSI.
Mamo_grag17 said:
The problem is that you can't unlock the bootloader. Not about installing a GSI.
Click to expand...
Click to collapse
I am really sorry. I just realised it Today when I was trying to unlock the bootloader.
the IN Depth test Apk simply refused to install on my device .
BTW , PLEASE Keep on posting if you find any update on this issue
Yes
kknitesh805 said:
Have you tried realme Deep test App to unlock the bootloader.
Click to expand...
Click to collapse
Mamo_grag17 said:
Yes
Click to expand...
Click to collapse
Yes , I tried but the App refused to install.
I was able to boot my phone into FASTBOOT by using " ABD REBOOT BOOTLOADER"
fastboot command does work there but when I tried " fastboot flashing unlock"
The command failed .
The problem is that the device's community is dead. You can't find a griup or something like that to discuss.
Unfortuanately, i don't own that device anymore.
Mamo_grag17 said:
The problem is that the device's community is dead. You can't find a griup or something like that to discuss th
wwi
Unfortunately, i don't own that device anymore.
Click to expand...
Click to collapse
Yeah...I guess you're right.
It was a bad decision to buy THIS smartphone.
Unlocking the bootloader requires a key from the company.
I'll give you an advice: don't buy realme,vivo,oppo or whatever company exept samsung , xiaomi oneplus if you plan to install a custom rom...
I have a galaxy a20e and it is awesome i am using android 12.1 now (ofc custom rom)
Mamo_grag17 said:
Unlocking the bootloader requires a key from the company
I'll give you an advice: don't buy realme are if you plan to install a custom rom...
I have a galaxy a20e and it is awesome i am using android 12.1 now (ofc custom rom)
Click to expand...
Click to collapse
Yes, I will take care of I buy a new smartphone in future.
kknitesh805 said:
Yeah...I guess you're right.
It was a bad decision to buy THIS smartphone.
Click to expand...
Click to collapse
Yes it is
kknitesh805 said:
Hey I was thinking of flashing the proton AOSP GSI on Realme C21Y. I have checked that realme c21y has Treble SUPPORT so I thought if you can give it a try if you happen to have a realme c21y available.
Here are the links of file and tutorials that I intend to follow .
Tutorial.
GSI ROM link : https://github.com/haridhayal11/treble_proton_aosp/releases/
Click to expand...
Click to collapse
We are our colleagues 4pda We were able to make a tutorial on the firmware gsi rom all fully working, even the firmware works through adb
Tutorial: Mod edit: 4pda link removed.
mamograg said:
Yes it is
Click to expand...
Click to collapse
Have you tried the new method to install GSI on realme c21y mentioned on 4pda.to website..
They told to change the boot file...
But I am not sure...whether it is safe or not ...
I mean what if the file is compromised..
kknitesh805 said:
Have you tried the new method to install GSI on realme c21y mentioned on 4pda.to website..
They told to change the boot file...
But I am not sure...whether it is safe or not ...
I mean what if the file is compromised..
Click to expand...
Click to collapse
I am one of those people who is the developer of the method, it is COMPLETELY SAFE, of course there are a lot of different tests, and lately we have almost completed twrp.
leanord said:
I am one of those people who is the developer of the method, it is COMPLETELY SAFE, of course there are a lot of different tests, and lately we have almost completed twrp.
Click to expand...
Click to collapse
Thanks for the reply,
One more question, why is that every GSI that is loaded by this method has some kind of audio problem..
Without audio , this is almost a deal breaker....
Is there any method to use headphones on booted GSIs ??
kknitesh805 said:
Thanks for the reply,
One more question, why is that every GSI that is loaded by this method has some kind of audio problem..
Without audio , this is almost a deal breaker....
Is there any method to use headphones on booted GSIs ??
Click to expand...
Click to collapse
Greetings, the problem with the headphones is partly related to the vendor, which is natural for A11, but for A12 and A13 it is not yet available, or rather it needs to be updated for this, which is comparable to know very well Same Kotlin.
kknitesh805 said:
Have you tried the new method to install GSI on realme c21y mentioned on 4pda.to website..
They told to change the boot file...
But I am not sure...whether it is safe or not ...
I mean what if the file is compromised..
Click to expand...
Click to collapse
I don't own this device anymore, i tried all what i can to unlock bootloader and customize phone, but that was 8 months ago, i don't know if there are some new methods.
leanord said:
Greetings, the problem with the headphones is partly related to the vendor, which is natural for A11, but for A12 and A13 it is not yet available, or rather it needs to be updated for this, which is comparable to know very well Same Kotlin.
Click to expand...
Click to collapse
Hello, brightness fix module link is broken, can you share it again?
Luuukiee said:
Hello, brightness fix module link is broken, can you share it again?
Click to expand...
Click to collapse
Will earphone work with GSI and also...will i be able to control brightness manually

Categories

Resources