I have successfully rooted my phone with locked bootloader..I downgraded as said by some senior xda devolopers (from 26.1.b.2.147 E2363 to 26.1.b.1.85 E2333)..BUT NOW OTA UPDATES ARE NOT INSTALLING NOW!!!!! I Want to go to the latest firmware.. Screenshots are attached...Thank you.
Cant even get rid of this annoying notification
saitejadsst said:
Cant even get rid of this annoying notification
Click to expand...
Click to collapse
short method http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Works on TWRP
First, prepare target ftf(lollipop)
Extract kernel.sin and system.sin from ftf
Convert kernel and system by using Flashtool, and get kernel.elf and system.ext4
Add kerel.elf and system.ext4 to twrp_prerooted_M4.zip
Install zip on TWRP
Long process.
do this at your risk.
now that you have root with locked bootloader
download TA Backup (http://forum.xda-developers.com/showthread.php?t=2292598)
and take a backup of your TA partition - keep it in a safe place, do not edit it (this will help you lock the BL again later and this is phone unique, you will need it untill you have this phone)
unlock your bootloader (your risk )
flash the latest firmware FTF
flash recovery.img (http://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-sony-m4-t3229873)
flash supersu 2.46 through recovery (https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
reboot phone
Use TA Backup and restore the TA partition.
now you have latest firmware and Root and locked bootloader.
install recovery for Locked Bootloader (http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
now you have latest firmware + Recovery + Locked Bootloader.
Note: I am not responsible if your phone bricks or any other issue. answer to all questions can found in the forum.
since you are rooted you can't get ota updates
use the method described here http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Click to expand...
Click to collapse
RohitBopnna said:
short method http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Works on TWRP
First, prepare target ftf(lollipop)
Extract kernel.sin and system.sin from ftf
Convert kernel and system by using Flashtool, and get kernel.elf and system.ext4
Add kerel.elf and system.ext4 to twrp_prerooted_M4.zip
Install zip on TWRP
Long process.
do this at your risk.
now that you have root with locked bootloader
download TA Backup (http://forum.xda-developers.com/showthread.php?t=2292598)
and take a backup of your TA partition - keep it in a safe place, do not edit it (this will help you lock the BL again later and this is phone unique, you will need it untill you have this phone)
unlock your bootloader (your risk )
flash the latest firmware FTF
flash recovery.img (http://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-sony-m4-t3229873)
flash supersu 2.46 through recovery (https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
reboot phone
Use TA Backup and restore the TA partition.
now you have latest firmware and Root and locked bootloader.
install recovery for Locked Bootloader (http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
now you have latest firmware + Recovery + Locked Bootloader.
Note: I am not responsible if your phone bricks or any other issue. answer to all questions can found in the forum.
Click to expand...
Click to collapse
I have downloaded twrp prerooted.zip....now what to do...??how to prepare target ftf lollipop?? where will I find kernel.sin..? I am a beginner please explain process in detail..... Thank you....
Also..how can i open twrp recovery on my device?? Its not opening....
saitejadsst said:
Also..how can i open twrp recovery on my device?? Its not opening....
Click to expand...
Click to collapse
After gaining Root, install TWRP Recovery for Locked Bootloader http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
download the M4Aqua-lockedTWRP-0.1-installer extract it to \Flashtool\x10flasher_lib folder, connect the Phone USB and run the installer.bat file, grant admin access on phone when you see the popup, this will install TWRP
to Open TWRP on Locked Bootloader, reboot the phone, when you see the Sony Logo, start pressing the Volume Down button, it will take you to TWRP Recovery.
saitejadsst said:
I have downloaded twrp prerooted.zip....now what to do...??how to prepare target ftf lollipop?? where will I find kernel.sin..? I am a beginner please explain process in detail..... Thank you....
Click to expand...
Click to collapse
1. Make sure you have Winrar installed
2. In the latest flashtool (9.19.10) click on the XF button(screenshot below) this will open XperiFirm
here select M4 Aqua and choose your model number and click on your phone CDA (CDA can be found in the Service Menu - dial *#*#7378423#*#* > select Service Info > select software info > look under Customization version)
now on XperiFirm click on the latest firmware version number on the right (under the PayPal button)
this will open the download option to download the latest firmware, click download and choose where you want to save it.
next after download completes the file that were downloaded have to be converted to FTF.
close XperiFirm, on Flashtool, click Tools > Bundles > FILESET Decrypt.
click on the small three dots and navigate to the folder where the firmware files were downloaded and click ok.
you should see 4 files (all in the format File_xxxxxxx), select each file and click on the arrow to move the files to the Files to Convert Section and click convert.
a new window called Bundler opens, in it you will see a list of files, move them all to the Firmware content side.
double click on right space provided next to Device and double click on M4 Aqua and double click on your phone model number
for Branding type your CDA number and your country, for Version enter the firmware version (e.g. 26.1.A.1.167) and click create
this will create the FTF file and save it in the C:\Users\<your username>\.flashTool\firmwares folder.
open the FTF file with winrar and extact system.sin and kernel.sin files.
again open Flashtool, click Tool > Sin Editor.
browse and select kernel.sin that you extracted, click open and click Extract Data > this will extract kernel.elf file
again browse and select system.sin that you extracted, click open and click Extract Data > this will extract system.ext4 file
now open twrp_prerooted_M4.zip file with winrar, add the kernel.elf and system.ext4 file and save the zip file.
copy this zip file to your phone SDCard
boot to TWRP, click Install, select the zip file and install
Problem solved!! Thanks a lot!!
Related
OBTAINING ROOT FOR XPERIA P ICS
Download the .tft file here: http://forum.xda-developers.com/showthread.php?t=1838457&page=3 & then change the .tft to .zip & extract just kernel.sin, you will need this to get back to stock ICS kernel later on.
Enter Fastboot mode by holding UP volume key while plugging in USB
Fastboot flash this kernel: http://forum.xda-developers.com/showthread.php?t=1676862 & boot into CWM by holding UP VOL KEY when the blue light lights up
Download the SuperUser zip file located here: http://androidsu.com/superuser/ & choose the ARM device type
Send the Superuser zip file anywhere to the sdcard
Flash SuperUser & Power off again
Fastboot mode again, and flash the stock kernel.sin that you extracted from the .tft file
Enjoy root =)
Other Useful Things for our new-found ICS:
Google Now with working voice search: http://forum.xda-developers.com/show....php?t=1747224
S-Voice: http://forum.xda-developers.com/showthread.php?p=26300180#post26300180
what kernel did tou use?
Could you please give a link?
royalbloodvi said:
OBTAINING ROOT FOR XPERIA P ICS
Download the .tft file here: http://forum.xda-developers.com/showthread.php?t=1838457&page=3 & then change the .tft to .zip & extract just kernel.sin, you will need this to get back to stock ICS kernel later on.
[*]Enter Fastboot mode by holding UP volume key while plugging in USB
[*]Fastboot flash any 2.3.7 Kernel with CWM
[*]Download the SuperUser zip file located here: http://androidsu.com/superuser/ & choose the ARM device type
[*]Send the Superuser zip file anywhere to the sdcard
[*]Flash SuperUser & Power off again
[*]Fastboot mode again, and flash the stock kernel.sin that you extracted from the .tft file
[*]Enjoy root =)
Click to expand...
Click to collapse
I checked it works for SXP.
Thanks for your help! :good:
i used this methode yesterday! and works perfect.
thanks for your posting
hagen.von.tronje said:
what kernel did tou use?
Could you please give a link?
Click to expand...
Click to collapse
First post updated with kernel link
thanks !
need unlocked bootloader?
Do you need an unlocked bootloaderto root the device?
ste71m said:
Do you need an unlocked bootloaderto root the device?
Click to expand...
Click to collapse
Yes, you would need to unlock your bootloader.
EDIT: Working good. Now If I want to go to CWM how can I do that ?
http://forum.xda-developers.com/showthread.php?t=1742992&page=56
locked bootloader , with this guide http://forum.xda-developers.com/showpost.php?p=29752123&postcount=530
4rch0 said:
http://forum.xda-developers.com/showthread.php?t=1742992&page=56
locked bootloader , with this guide http://forum.xda-developers.com/showpost.php?p=29752123&postcount=530
Click to expand...
Click to collapse
Guess I'll wait for an easier method, if there will be one...
If I want a CWM I need to flash Doom's Kernel than again back to the stock ?
Yes, or wait until someone creates a new kernel for ICS.
royalbloodvi said:
OBTAINING ROOT FOR XPERIA P ICS
Download the .tft file here: http://forum.xda-developers.com/showthread.php?t=1838457&page=3 & then change the .tft to .zip & extract just kernel.sin, you will need this to get back to stock ICS kernel later on.
Enter Fastboot mode by holding UP volume key while plugging in USB
Fastboot flash this kernel: http://forum.xda-developers.com/showthread.php?t=1676862 & boot into CWM by holding UP VOL KEY when the blue light lights up
Download the SuperUser zip file located here: http://androidsu.com/superuser/ & choose the ARM device type
Send the Superuser zip file anywhere to the sdcard
Flash SuperUser & Power off again
Fastboot mode again, and flash the stock kernel.sin that you extracted from the .tft file
Enjoy root =)
Other Useful Things for our new-found ICS:
Google Now with working voice search: http://forum.xda-developers.com/show....php?t=1747224
S-Voice: http://forum.xda-developers.com/showthread.php?p=26300180#post26300180
Click to expand...
Click to collapse
I on stock ICS 4.0.4 , Should i try this method directly or i need to unlock bootloader as someone has asked before ??
Will the method for unlocking / relocking bootloader remains same as that for GB ? i cant find a post about bootloader locking & unlocking for ICS !!
And after i have locked bootloader after performing the whole process, will my DRM keys ( track id etc ) remain intact ??
aayush_neov said:
I on stock ICS 4.0.4 , Should i try this method directly or i need to unlock bootloader as someone has asked before ??
Will the method for unlocking / relocking bootloader remains same as that for GB ? i cant find a post about bootloader locking & unlocking for ICS !!
And after i have locked bootloader after performing the whole process, will my DRM keys ( track id etc ) remain intact ??
Click to expand...
Click to collapse
Use this to unlock the BL
http://forum.xda-developers.com/showthread.php?p=29281222
after you have unlocked follow the instructions on this topic
What about CWM?
is there anyway to CWM work?
so for the one who can't unlock their bootloaders
Which SuperUser zip file should I download? there is a long list on the site and some fo them marked as x86 and ARM
EDIT- never mind this one worked "Superuser-3.2-arm-signed.zip"
3.2 is beta release. You can use 3.1.3 and 3.2. Make sure its for arm v7.
royalbloodvi said:
OBTAINING ROOT FOR XPERIA P ICS
Download the .tft file here: http://forum.xda-developers.com/showthread.php?t=1838457&page=3 & then change the .tft to .zip & extract just kernel.sin, you will need this to get back to stock ICS kernel later on.
Enter Fastboot mode by holding UP volume key while plugging in USB
Fastboot flash this kernel: http://forum.xda-developers.com/showthread.php?t=1676862 & boot into CWM by holding UP VOL KEY when the blue light lights up
Download the SuperUser zip file located here: http://androidsu.com/superuser/ & choose the ARM device type
Send the Superuser zip file anywhere to the sdcard
Flash SuperUser & Power off again
Fastboot mode again, and flash the stock kernel.sin that you extracted from the .tft file
Enjoy root =)
Other Useful Things for our new-found ICS:
Google Now with working voice search: http://forum.xda-developers.com/show....php?t=1747224
S-Voice: http://forum.xda-developers.com/showthread.php?p=26300180#post26300180
Click to expand...
Click to collapse
After unlocking bootloader with this method http://forum.xda-developers.com/showthread.php?t=1794800
I can proceed directly to this thread ??
And for relocking bootloader, do i have to flash the ICS rom again ?
I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
When you say boot loop, do you mean the screen goes black and starts to boot again?
Or do you mean the boot animation is repeating for a long time?
The first time you boot up after flashing an ftf will take a long time. It can range from a few minutes up to tens of minutes.
Did you select wipe USERDATA when you flashed the ftf in flash mode?
Try that if you haven't. See attached screenshot.
Checking it will wipe all your apps, data and internal storage.
I'd recommend you use the latest ROM, 10.7.A.0.228. Root and Xposed works on Lollipop 5.1.1.
Here is a Generic Germany FTF 10.7.A.0.228.
You'll need to root it by flashing supersu zip in recovery.
If you don't have a recovery flashed/installed, you should flash one.
Let me know if you need instructions on installing a recovery.
fantastic, that little trick did the job and I am now on 4.1 .
I am considering now to flash your firmware but could you give me some detailed instruction on what to do please, especially the recovery part.
thanks a lot again.
No problem.
Requirements
Program to open ZIP files
Flashtool (flashtool.net/downloads.php)
Flash mode and Fastboot drivers installed (Comes with Flashtool. Find the installer at C:\Flashtool\drivers\)
A few things you should know about recovery
If you plan on using an official Sony ROM with an unlocked bootloader, the recovery needs to be part of the kernel image.
Sony's official kernel images do not contain a recovery.
The kernel gets overwritten when you flash new ROMs (Official and Custom), so you will lose recovery every time you flash a ROM.
Thus you must reflash the kernel with recovery every time you change ROMS.
Kernel's for different versions of ROMs should not be used interchangeably.
It always best to use the kernel made for the ROM.
Flash official ROM before flashing recovery
If you are planning on using an official ROM, flash the official ROM in Download Mode before flashing the recovery (for the reason mentioned above - kernel gets overwritten).
You should wipe USERDATA to minimise compatibility issues.
Do this first before proceeding.
Downloading a kernel with recovery
Fellow xda member [NUT] has an awesome kernel builder tool which allows you to create kernel images with built in recoveries.
Head over to nut.xperia-files.com and navigate to XZDualRecovery > Kernel Builder
Check the checkbox "Yes, I have unlocked my bootloader!".
Select the Make and model of your device (Xperia Tablet Z SGP321 in your case).
Then select the firmware version you will be using (10.7.A.0.228 in your case).
Cross your fingers. If someone has already uploaded the kernel for that version, you can simply download the link provided. Otherwise you will need to upload the kernel. If you have an FTF, simply open it as a zip file and upload the kernel.sin inside.
Flashing Kernel with Recovery
Open the zip file downloaded from the Kernel Builder and open the tmp folder. Extract the boot.img file inside the tmp folder to somewhere on your computer.
Open Flashtool.
Click on the Flash Icon.
Select Fastboot mode.
Click "Select Kernel to Flash".
Put device into Fastboot mode. (2012+ devices: Press and hold VOL+ button while plugging in USB cable)
Once connected, a file selection dialogue will show. Select the boot.img file extracted earlier. You may need to select the type of file (sin, elf, img) before you can see the file in the explorer.
Flashing will start immediately after selection. Check the log and ensure there are no errors.
Unplug the USB cable.
You now have recovery (Two recoveries to be specific - as XZDualRecovery has PhilZ and TWRP).
I would recommend TWRP as it is easier to use and has more features than PhilZ (Based on CWM).
The VOL+ key is associated with PhilZ and the VOL- key for TWRP.
To enter recovery, simply turn the device on and when the notification LED turns Magenta (Pink) start pressing the button associated with the recovery you want to use.
e.g. Press VOL- a few times for TWRP.
Flashing zips
Copy your ZIPs to your SD card.
In TWRP, tap the Install button.
Select the zip file you want to flash
Swipe to the right to start flashing.
Rooting
Download the latest SuperSU zip (download.chainfire.eu/supersu)
Copy to SD card.
Flash zip in recovery.
Enjoy root.
about to start the process, just wanted to clarify some things:
what zip files are you talking about putting on my sd card? is this the file I downloaded from NUT?
thanks again for your help
Just in general, to flash a zip, you would perform those steps.
You would want to flash the SuperSU zip to get root.
You can also flash the file downloaded from NUT.
It will install a program called NDRUtils which will allow you to reboot into recovery from within Android.
I just saw when I wanted to flash the firmware from your link above (Here is a Generic Germany FTF 10.7.A.0.228.) that this identifies as for device C6603. But I have SPG321.
Do you have a link to a firmware which would work with your way and is for my device?
Oh, sorry about that. Forgot to check the model. I grabbed it from XperiaBlog.
I think I should just explain how to download and create an FTF for yourself from Sony's servers.
Install the latest Flashtool if you haven't already.
Start Flashtool
Click on the XF icon (The rightnost icon)
In XperiFirm, select the series and model of your device (Xperia Tablet Z > SGP321)
Then select the Market+Operator for your country/region. The market only differs by the apps that are pre-installed, which can be removed. Your region may not have the latest firmware available, so you can click the "Check All" button to get the versions of all the markets. You may wish to avoid commercial Operators as they can have different boot logos etc. Download a "VMo" or "Customized" operator if possible. The 228 firmware is only out in a few regions at the moment, so Germany VMo DE would be a good choice.
After selecting a row for the firmware you want, click on the latest version near the top right corner.
A window will show the details of the ROM. Click Download to start downloading. The downloads will get saved to FlashTool's Firmware Download folder.
Once the download completes, close XperiFirm.
In Flashtool, Click Tools > Bundles > Create.
Select the downloaded folder (Which should be in C:\Users\<Username>\.flashTool\firmwares\Downloads).
Double click in the device field to select the model of your device
Branding should be set to the Operator you downloaded (e.g. Generic DE)
Version should be set to the ROM version (e.g. 10.7.A.0.228)
Then in the folder list, select every item except for .ta files (e.g. cust-reset.ta, fota-reset.ta). Click the -> button to add to the Firmware Content.
Click create.
An FTF file will get created in the firmware folder. You can start flashing it in Download Mode.
If you need some screenshots. The procedure may differ slighty.
xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash
Bilbo0a said:
I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
Click to expand...
Click to collapse
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash from flash tool
all tutorias are for E5823 but not for E5803
any idea?
Thanks!
guidosl said:
all tutorias are for E5823 but not for E5803
any idea?
Thanks!
Click to expand...
Click to collapse
Same exact phone. The only difference is that they made a separate software to sell in America to avoid being sued. Flash a e5823 ROM and get your fingerprint scanner.
download your STOCK ROM (FTF) file using FLASHTOOL>> XPERIFIRM
Extract kernel.sin as Kernel.elf using flashtool
re build / MODIFY your stock kernel using http://forum.xda-developers.com/xper...el-dm-t3301605
download supersu and put it in sdcard
- flash the modified kernel (fastboot mode in flashtool)
- boot the device, goto twrp, flash SUPERSU from sdcard.
Reboot.
DONE
orr send me your KERNEL.elf file for latest firmware , i will make for u
yasuhamed @ gmail .com
YasuHamed said:
download your STOCK ROM (FTF) file using FLASHTOOL>> XPERIFIRM
Extract kernel.sin as Kernel.elf using flashtool
re build / MODIFY your stock kernel using http://forum.xda-developers.com/xper...el-dm-t3301605
download supersu and put it in sdcard
- flash the modified kernel (fastboot mode in flashtool)
- boot the device, goto twrp, flash SUPERSU from sdcard.
Reboot.
DONE
orr send me your KERNEL.elf file for latest firmware , i will make for u
yasuhamed @ gmail .com
Click to expand...
Click to collapse
Right now i followed this tutorial
http://twigstechtips.blogspot.com.tr/2016/04/sony-z5-compact-root-without-losing-ta.html
But i get an error when i try to type "rootkernel kernel.elf kernel_patched.elf"
im on linux btw
ouenvian said:
Right now i followed this tutorial
http://twigstechtips.blogspot.com.tr/2016/04/sony-z5-compact-root-without-losing-ta.html
But i get an error when i try to type "rootkernel kernel.elf kernel_patched.elf"
im on linux btw
Click to expand...
Click to collapse
use command ....... " rootkernel kernel.elf boot.img "
then it will ask you many questions
disable sony ric
disable dm varity
install DRM Stimulation
install recovery
it will compress image and creat boot.img in the same folder.
now this is your modified kernel. from FLASHTOOL select fastboot mode, connect device, "select kernel to flash" , from drop downlist select .img file (the default selected is .sin)
and flash boot.img. , it will be flash in less than 1 sec.
disconnect, boot, on sony logo press volume up, goto recovery, flash SUPER SU / REBOOT
done you have rooted Beauty in your hands!
---------- Post added at 10:57 AM ---------- Previous post was at 10:54 AM ----------
by the way! you can Flash SUPERSU while modifying KERNEL also, if you put v2.78.zip file in rootkernel folder, the questionare will have extra question asking you "superSU found / Install? [Y/N].
but i wont recommend you, i found two problems if you install superSU directly in kernel
1. you cannot instal su updates lateron
2. batter life reduces.
so flashing SU from Recovery is the best!
Thanks to serajr here - https://forum.xda-developers.com/showpost.php?p=75505302&postcount=2973 Go directly to that post and give thanks.
You need:
Stock O ftf (best to use Flashtool/Xperifirm)
Modded boot img for 34.4.A.2.19 - https://mega.nz/#!AgtQ2Sob!JjLRcUVjuy6FNanjGY49g-YYmkcda04witfHp4hwvmo
Modded boot img for 34.4.A.2.32 - https://mega.nz/#!Z1tzEJbZ!e9ET_RtUpKjXRwnJa_TDsMrVwvT-hPxmk06KtryHOuc
Modded boot img for 34.4.A.2.85 - https://mega.nz/#!p5UwAabR!_ofmr_WdId9RdH48Xb3cZtSIzsQ6qcTJTAFYcKHFWJE
Kernel elf file to use with rootkernel [34.4.A.2.85] - https://mega.nz/#!M102lYTZ!9bj2KE-vbNWlej3Dw0NuiXJcfpgiy16svSHud73bLfw
Modded boot img for 34.4.A.2.107 - https://mega.nz/#!Nls0EQBR!Cc4lVcA85f8YeNTo8nMqsuwLzveW5duSbyeZDlI5kDE
Kernel elf file to use with rootkernel [34.4.A.2.107] - https://mega.nz/#!Zp10CASK!iGLE94Tj1SSk1U2p4KLpVrcGmD68C3YvqKMXD6VPFjI
Modded boot img for 34.4.A.2.118 - https://mega.nz/#!14VkzCCB!GK-KEv0A-ZyhysXc1-IusyJjJEB-D5ZWOLm1DRt31tA
Kernel elf file to use with rootkernel [34.3.A.2.118] - https://mega.nz/#!Ylcm1SwA!GuX9dfd2HAqLXy1jom-C6mgP0s4jYXl9qSySkvb_mtA
TWRP - https://forum.xda-developers.com/x-compact/development/ub-twrp-v3-2-1-xperia-x-compact-t3793837
1. Flash stock ftf from Xperifirm via Flashtool
2. After flash, connect in fastboot (before booting phone) and type in command line 'fastboot flash boot boot.img' (this assumes that your modified boot img is in the current directory,and is named 'boot.img'; otherwise, you need to edit the command accordingl)
3. Then type 'fastboot flash recovery twrp-3.2.1.img' (same note as above)
Done
Now, you can flash Magisk, (or whatever), and have root access.
If you want Drm fix, flash serajr's zip here - https://forum.xda-developers.com/attachment.php?attachmentid=4404527&d=1517335127
If you want to restore your own ta with munjeni tool, you will need to patch boot img yourself with rootkernel tool here - https://forum.xda-developers.com/showpost.php?p=74724162&postcount=2793
How to get stock kernel elf and patch your boot img with rootkernel:
1. Download and build stock ftf from Xperifirm via Flashtool
2. Go to Flashtool > tools > sin editor, and navigate to stock kernel sin file, in the downloaded firmware folder. Click on sin file and choose 'exrract data', and it will create a kernel elf.
3. Follow the guide by serajr. You need only to put the kernel elf into rootkernel folder, then open a command prompt there and run 'rootkernel kernel.elf boot.img'. Answer all questions 'yes', unless you want to skip drm fix and restore your own ta, (if that's the case, you need your target file in that folder renamed to TA.img). After script runs, you will have a new boot img that you can use to follow the guide.
Done...
Magisk, MicroG, and Xposed tested... (update - I haven't tried yet, but I've read that Xposed not working on ...85; update 2 - confirmed, bootloop; update 3 - Xposed fix now available here - https://forum.xda-developers.com/x-compact/themes/xposed-fix-118-t3870673)
I made a patched boot img with rootkernel tool and uploaded it. Link in op. Don't forget to thank serajr...
Can confirm the above method worked for me. I used the TA.img instead of drm fix, and i get root and security test still have widefine and fidokeys enabled.
Just slight reminder for linux user, you need to add execute permission on both `rootkernel` and `bootimg`, otherwise rootkernel tool will fail with permission issue.
levone1 said:
I made a patched boot img with rootkernel tool and uploaded it. Link in op. Don't forget to thank serajr...
Click to expand...
Click to collapse
With which options is your modified boot image prepared?
maluus said:
With which options is your modified boot image prepared?
Click to expand...
Click to collapse
Dm-verity disable - yes
Force encrypt disable - yes
Drm fix - yes
For Drm fix you still have to flash serajr zip. If you want to restore ta with munjeni tool, you will need to patch boot yourself.
Op updated for 3-click root...
SuperSU,Xposed
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Arsis said:
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Click to expand...
Click to collapse
...
Arsis said:
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Click to expand...
Click to collapse
Boot img just enables modification by disabling Sony security stuff, but you still need to flash whatever mod you want. So after flashing boot and recovery img, then flash supersu (or whatever), and you should have root.
I can't say about drm fix, since I've never used it before, but I don't think it will show fido provisioned, etc, because it simply recreates the drm functions through a different method, (not with ta).
I was able :laugh::good: Xposed release link
levone1 said:
Boot img just enables modification by disabling Sony security stuff, but you still need to flash whatever mod you want. So after flashing boot and recovery img, then flash supersu (or whatever), and you should have root.
I can't say about drm fix, since I've never used it before, but I don't think it will show fido provisioned, etc, because it simply recreates the drm functions through a different method, (not with ta).
Click to expand...
Click to collapse
Oh, well. Thank you! It's working now.
Hello,
i flashed on my sony with oreo this boot.img and twrp and im stuck on sony logo. Any ideas what could be wrong? I tried android 34.4.A.0.364 singapure and UK versions and neither of these works with this twrp.
I have the newest platform-tools and flashing went well.
Thanks
Stephenhs said:
Hello,
i flashed on my sony with oreo this boot.img and twrp and im stuck on sony logo. Any ideas what could be wrong? I tried android 34.4.A.0.364 singapure and UK versions and neither of these works with this twrp.
I have the newest platform-tools and flashing went well.
Thanks
Click to expand...
Click to collapse
Can you try running the tool and creating the boot.img yourself? I use the singapore ftf and doesn't have problem booting the system (with the boot img I created myself). I do not put twrp on boot img though. I boot twrp from fastboot when needed
I created boot.img and everything works Thanks a lot!
I dont understang the part that says :
Android Oreo ramdisk patching needs some additional files, and they must be copied from Oreo /system into the rootkernel's filesystem_files folder, prior to run the script, and they are:
Code:
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
(you can pull these files through adb, or even converting system.sin to system.ext4 and take them out from there - just copy them, and DO NOT touch its contents)
how to do that!? im noob...
Kianush said:
I dont understang the part that says :
Android Oreo ramdisk patching needs some additional files, and they must be copied from Oreo /system into the rootkernel's filesystem_files folder, prior to run the script, and they are:
Code:
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
(you can pull these files through adb, or even converting system.sin to system.ext4 and take them out from there - just copy them, and DO NOT touch its contents)
how to do that!? im noob...
Click to expand...
Click to collapse
Post linked in op has special instructions for us with Xc - skip that part.
https://forum.xda-developers.com/showpost.php?p=74724162&postcount=2793
hello guys, i've created a boot.img whit the tool of rootkernel whit my ta.backup but it does not work. the boot it's ok but if i chek my drm keys they say not provisioned. my ta.backup load 2.097.152 byte like the post shows. can someone help me? thanks
update:
sorry guys, i've done again the kernel patch whit my ta backup and this time goes perfect. i don't know why the first time didn't work but now it's ok!
I tried the 3 click method, without doing any boot image myself, but impossible to decrypt with TWRP (or reboot to system).
Wxfdswxc said:
I tried the 3 click method, without doing any boot image myself, but impossible to decrypt with TWRP (or reboot to system).
Click to expand...
Click to collapse
Twrp - https://forum.xda-developers.com/x-compact/development/twrp-3-2-1-decryption-t3751998
As for rebooting to system, can't say for sure... Root method involves only changing boot img, so shouldn't affect system. Any errors in fastboot, etc?
Original flash should be clean flash official stock ftf from Xperifirm. First boot could be 10 minutes...
Hi,
I succesfully unlocked my bootloader, now how can I change region /cust from a rubbish c55 to a more decent c432?
Thank you
DP FH said:
Hi,
I succesfully unlocked my bootloader, now how can I change region /cust from a rubbish c55 to a more decent c432?
Thank you
Click to expand...
Click to collapse
There are three variants:
(for Oreo only, and keep in mind, that OEMINFO changing will lock you bootloader again).
A/ use HwOTA Tool
HwOTA8-ANE
B/ install TWRP for Oreo
link:
TWRP-oreo-smart
Download OEMINFO C432 :
OEMINFO ANE-LX1C432
Unpack .zip file and transfer oeminfo .img file to the SD card
Using Firmware Finder for Huawei apk, search for Oreo ANE-LX1C432 . Select FullOTA-MF, download the three files. (For example: find ANE-LX1C432B178 No.230902, download update.zip, ANE-L21_hw_eu.zip and publick.zip.)
Rename update_data_*.zip to update_data_public.zip
Rename update_full_*.zip to update_all_hw.zip
Don't rename update.zip.
Download HuRUpdater.zip
http://www.mediafire.com/file/r14sor2g4cbugzw/HuRUpdater_0.4.zip
Prepare an folder on SD card, like so:
myupdate/
HuRUpdater.zip
update.zip
update_data_public.zip
update_all_hw.zip
Boot into TWRP, flash OEMINFO C432.img (- in TWRP select Flash image). Go back to the main TWRP's menu, select Install , select 'myupdate' file and tap the HuRUpdater.zip , confirm.
You may need to press Volume Down for HuRUpdater to continue!
Reboot system.
C/ Download Oreo Service ROM , e.g.
Service ROM 8.0.0.178
Unpack .zip archive, find dload file in Software folder and transfer it to the SD card without unpacking it.
Install TWRP over eRecovery (you will need Stock Recovery due to the dload method).
Flash OEMINFO C432 , go back to the main TWRP's panel and select Reboot > Power Off.
Use three button combo to flash Service ROM . The process will erase all your data and will lock the BL again!
Note: how to install TWRP over eRecovery:
- copy to SD card TWRP-oreo-smart.img
- Download and copy to SD card Oreo Stock recovery~ramdisk :
Recovery_ramdisk
- in main TWRP menu tap Install image, then navigate
to the TWRP-oreo-smart.img, select
eRecovery Ramdisk and confirm . Go back, navigate to
Recovery_ramdisk-ANE-OREO.img , select Recovery Ramdisk and confirm.
How to boot into TWRP: reboot your phone, when unlocked bootloader warning appears, press Volume Up key up to 3 seconds to enter TWRP.
Thank you!
DP FH said:
Thank you!
Click to expand...
Click to collapse
Np
Just to let you know, even that I need a combination of method a and b. I finally rebranded my C461 version to the wanted C432. I've tried method A but ended with something like ( system.8.0.0(OSAV) ) with no update option.
I then used the files from this link to use them for method B to correct this issue:
http://update.dbankcdn.com/TDS/data/files/p3/s15/G2496/g1789/v225235/f1/full/update.zip
http://update.dbankcdn.com/TDS/data/files/p3/s15/G2496/g1789/v225235/f1/full/public/update_data_full_public.zip
http://update.dbankcdn.com/TDS/data/files/p3/s15/G2496/g1789/v225235/f1/full/ANE-L21_hw_eu/update_full_ANE-L21_hw_eu.zip
The phone now offers to upgrade and I also get the C432 in the build number. So one step further to custom roms or just stay on stock and get root to remove some bloatware...
Thank you Alf for your help!
Fall in love with Huawei again?
horqai said:
Thank you Alf for your help!
Click to expand...
Click to collapse
No problem.