[TUTORIAL] [ANOTHER]How to install CM12 on XMD? - Sony Xperia M

Hey guys hope you're fine..
When I tried to install lollipop on my XMD I really suffered, and I don't want other newbies to suffer like I did.
Things you need to know:
-Your warranty is already now void you know that.
-SIM2 will be rendered useless (Why?Because CM12 is compiled for XMS not XMD), but it's OK, you'll have SIM1 working.
-BACKUP ALL YOUR DATA TO PC, unless you want to learn this the hard way.
-Your Bootlaoder must be unlocked.
You need to download:
-XLICIOUZ ROM FOR XMS here
-4.3 XMS RADIO here
-CM12 AND GAPPS
Now for the steps:
1.Now boot into fastboot mode and connect your phone to your PCPC
2.Extract boot.img from XLICIOUZ ROM and put it in the adb package
3.Now open CMD and write down
Code:
fastboot flash boot boot.IMG
4.After that reboot into recovery and wipe everything
5.Now flash XLICIOUZ ROM then 4.3 Radio and reboot.
6.You're Good later you have 4.3 XMS ROM with SIM1 working
7.Now reboot into recovery and wipe everything
8.Then install CM12 and GAPPS and reboot
Congrats you have CM12 working on XMD with one SIM ONLY
REMEMBER TO PRESS THANKS!

Related

Flashing recovery went terribly wrong on Xperia S

Hi
So yesterday I was trying to install TWRP recovery in order to install Cyanogenmod 11 on Xperia S , I followed a tutorial on techglen, the problem is that now I only have the recovery on my phone , it boots instead of the system , the system files are still there but I can't boot on it , If i connect my phone to my computer I can't access the storage even if I mount it using TWRP
So i have some questions
Is my phone broken?
Instead of flashing a .elf file i flashed the .img instead , is that the source of the problem? ( i didn't do it on purpose , but i didn't pay attention :/ )
can i flash the boot.img of the old system to get it back on booting ?
If there's a way of pushing the CM11 into my phone and installing it would that fix my problem?
Can i use flash tool to flash my old system back ?
Hi,
do you have the zip file of your custom rom on internal stockage ?
(browse file with 'Install" on TWPR)
If yes, you just have to flash it with TWPR.
Here's what I did (will do a clean install and delete previous setting, contact, app data ...) :
- Download ROM + Gapps and copy to sdcard (internal stockage)
- Flash boot.img with FlashTool
- Reboot on recovery (TWPR)
- Factory Reset (Wipe --> "Switch to Factory Reset")
- Format System (Wipe --> Advanced Wipe --> Select System)
- Install New ROM (Install and choose Zip)
- Reboot on ROM to set basic settings
- Reboot on recovery to Flash Gapps
- Wipe Cache (Wipe --> Advanced Wipe --> Select Cache)
- Reboot on System
If you don't have zip file on internal stockage, you may go back first on Stock Rom with FlashTool.
Flash stock ftf(6.2.b.1.96), you can easily find it using search function.
Then you can do like I explained.
jeremux said:
Hi,
If you don't have zip file on internal stockage, you may go back first on Stock Rom with FlashTool.
Flash stock ftf(6.2.b.1.96), you can easily find it using search function.
Then you can do like I explained.
Click to expand...
Click to collapse
Well thanks a lot for your answer man !
when i put on flash mode and try to flash it with flashtool , the phone leaves flash mode after like 40 seconds
I tried installing the drivers ( from flashtool/drivers ) but it didn't change anything :/
Do not confused Fastboot and Flashmode.
Normaly you just have to :
(I guess your tft is already in "firmwares" folder of FlashTool)
- start FlashTool (with Administrator Rights on Windows)
- clic on "Flash device"
- select "Flashmode"
- select all file in "Content"
- clic on "Flash"
- your xperia s must be poweroff and unpluged
- Press the back button (still powered off)
- Then plug the USB cable
After that your phone boot in Flashmode and flashing start.
If they don't work, what is the error ?
ImSoFresh said:
Well thanks a lot for your answer man !
when i put on flash mode and try to flash it with flashtool , the phone leaves flash mode after like 40 seconds
I tried installing the drivers ( from flashtool/drivers ) but it didn't change anything :/
Click to expand...
Click to collapse
Don't put your device on flashmode until flashtool tell you because flashtool takes about 1 minute and 20 seconds to finish extract ftf file
Sent from my LT26ii using XDA Premium 4 mobile app
ImSoFresh said:
Hi
So yesterday I was trying to install TWRP recovery in order to install Cyanogenmod 11 on Xperia S , I followed a tutorial on techglen, the problem is that now I only have the recovery on my phone , it boots instead of the system , the system files are still there but I can't boot on it , If i connect my phone to my computer I can't access the storage even if I mount it using TWRP
So i have some questions
Is my phone broken?
Instead of flashing a .elf file i flashed the .img instead , is that the source of the problem? ( i didn't do it on purpose , but i didn't pay attention :/ )
can i flash the boot.img of the old system to get it back on booting ?
If there's a way of pushing the CM11 into my phone and installing it would that fix my problem?
Can i use flash tool to flash my old system back ?
Click to expand...
Click to collapse
You can simply try pushing the CM11 zip to Your phone when You are in twrp and Your phone is detected on the PC. You won't be able to see it as mounted storage. You will see the device when You run:
Code:
adb devices
Then Use the command to push:
Code:
adb push path/to/rom /sdcard
And then flash the ROM.
Mirhawk said:
You can simply try pushing the CM11 zip to Your phone when You are in twrp and Your phone is detected on the PC. You won't be able to see it as mounted storage. You will see the device when You run:
Code:
adb devices
Then Use the command to push:
Code:
adb push path/to/rom /sdcard
And then flash the ROM.
Click to expand...
Click to collapse
That's exactly what i did , but it still didn't work , i flashed the recovery.elf ( at first i flashed it .img ) and then installed the rom , now it works perfect , thanks a lot guys for your help , if some people are having trouble this video helped me a lot
youtube.com/watch?v=Hn4E3fKX7WM
Hi,
Good news if it works now.
So enjoy yourself with custom rom

[ROOTING] D5322 Lollipop 5.0.2 (19.3.A.0.470) [UBL]

Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Are you able to boot into recovery after flashing lollipop?
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
Click to expand...
Click to collapse
Hai.. Can you upload your extracted boot.img n give us link....
Thanks
zpr06 said:
Hai.. Can you upload your extracted boot.img n give us link....
Thanks
Click to expand...
Click to collapse
here is only the boot.img https://mega.co.nz/#!2RFBFZoR!rVrdvLSnkdfe6VS3JLUDFRLmFRtHp7hmYs2jL7hT-PY
and
https://drive.google.com/file/d/0By76vyoKsLsUQ1poSTBINWRNbWc/view?usp=sharing
What if I blink 4.4.2 kernel, use the dualrecovery by nut, do the flashes and replace only the 5.0.2 kernel rom.470, can be silly that idea, will be running? I saw that the kernel of this lollipop. 470 is 3.4.0+ as in 4.4.3,Will be running? I'm thinking of trying,Sorry for the bad English,I am using translator..
Andrey Piekas said:
here is only the boot.img https://mega.co.nz/#!2RFBFZoR!rVrdvLSnkdfe6VS3JLUDFRLmFRtHp7hmYs2jL7hT-PY
and
https://drive.google.com/file/d/0By76vyoKsLsUQ1poSTBINWRNbWc/view?usp=sharing
Click to expand...
Click to collapse
Thank you Sir! :good:
I rooted my phone following this method. Titanium Backup worked fine, but Root Explorer can't change from R/O to R/W. I think it's not rooted 100%.
rooted with this method
but can anyone give me recovery zip so i can install it.and im not able to install busybox tried so many times please help.thanks for the post...
I had the same problem, including another rom I used method like the adb, root installs, but it is not complete ... off topic, I found this rom sucks, hangs straight
thacvu said:
I rooted my phone following this method. Titanium Backup worked fine, but Root Explorer can't change from R/O to R/W. I think it's not rooted 100%.
Click to expand...
Click to collapse
vishvanjay said:
but can anyone give me recovery zip so i can install it.and im not able to install busybox tried so many times please help.thanks for the post...
Click to expand...
Click to collapse
jacitdm said:
I had the same problem, including another rom I used method like the adb, root installs, but it is not complete ... off topic, I found this rom sucks, hangs straight
Click to expand...
Click to collapse
Thread updated, I got same problem.
If you want to edit contents of /system, install boot.img from cm-12-20150226, you still can boot to homescreen and getting full root access. But some drivers not work, so you cant change brightness, using camera, etc.
When u have finish, just flash stock kernel then every thing well work.
I'm downloading this 12 cm and I do hope it works, so do root to uninstall apps that do not use and other little things, Ro / rw is so precise WHAT ... thanks for as friend... ........ .Edit.......Then I flash this kernel, flash recovery and everything, I turn on the device, delete the apps I need to delete WHAT must install and reflash standard kernel ?? That's it?Then, after flash standard kernel I lose the option to change permissions or continue? Think back as it was right? thank you
triwira said:
Thread updated, I got same problem.
If you want to edit contents of /system, install boot.img from cm-12-20150226, you still can boot to homescreen and getting full root access. But some drivers not work, so you cant change brightness, using camera, etc.
When u have finish, just flash stock kernel then every thing well work.
Click to expand...
Click to collapse
Unsuccessfully, my d5322 not care with this kernel ...
Finally I get full root. My steps are:
1. Backup data, prepare following files:
a. Flashtool from http://www.flashtool.net/downloads.php
b. "PRFCreator v0.8.zip" from http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
c. Dual recovery "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip" from http://nut.xperia-files.com/
d. "BETA-SuperSU-v2.49.zip" from https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
e. CM11 boot image file "boot.img" from http://forum.xda-developers.com/showpost.php?p=60356750&postcount=4
f. OS 4.4.3 pre-rooted "T2 Ultra D5322.zip" from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677
g. OS 5.0 ftf file "D5322_19.3.A.470_Customized IN PIEKAS.ftf" from http://forum.xda-developers.com/t2-ultra/development/5-0-2-ftf-19-3-470-d5322-t3091608
2. Use PRFCreator make flashable.zip file from OS5.0 ftf file + BETA-SuperSU-v2.49.zip + T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip like step 3 of this thread http://forum.xda-developers.com/t2-ultra/general/noobroot-lollipop-d5322-lb-ub-t3095090
3. Copy flashable.zip, T2 Ultra D5322.zip, T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip into phone
4. Flash CM11 boot.img in fastboot mode. Command: fastboot flash boot boot.img. While finish, reboot phone to recovery
5. FULL WIPE, Flash "T2 Ultra D5322.zip" and "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip". Reboot phone normally, have rooted OS4.4.3. Can setup something and check root
6. Reboot to recovery again, flash OS5 flashable.zip file. NO WIPE
7. That's all. No issue. R/W works fine
thacvu said:
Finally I get full root. My steps are:
1. Backup data, prepare following files:
a. Flashtool from http://www.flashtool.net/downloads.php
b. "PRFCreator v0.8.zip" from http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
c. Dual recovery "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip" from http://nut.xperia-files.com/
d. "BETA-SuperSU-v2.49.zip" from https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
e. CM11 boot image file "boot.img" from http://forum.xda-developers.com/showpost.php?p=60356750&postcount=4
f. OS 4.4.3 pre-rooted "T2 Ultra D5322.zip" from http://forum.xda-developers.com/t2-ultra/development/t2-ultra-d5303-4-4-3-pre-rooted-stock-t2962677
g. OS 5.0 ftf file "D5322_19.3.A.470_Customized IN PIEKAS.ftf" from http://forum.xda-developers.com/t2-ultra/development/5-0-2-ftf-19-3-470-d5322-t3091608
2. Use PRFCreator make flashable.zip file from OS5.0 ftf file + BETA-SuperSU-v2.49.zip + T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip like step 3 of this thread http://forum.xda-developers.com/t2-ultra/general/noobroot-lollipop-d5322-lb-ub-t3095090
3. Copy flashable.zip, T2 Ultra D5322.zip, T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip into phone
4. Flash CM11 boot.img in fastboot mode. Command: fastboot flash boot boot.img. While finish, reboot phone to recovery
5. FULL WIPE, Flash "T2 Ultra D5322.zip" and "T2U-lockeddualrecovery2.8.14-RELEASE.flashable.zip". Reboot phone normally, have rooted OS4.4.3. Can setup something and check root
6. Reboot to recovery again, flash OS5 flashable.zip file. NO WIPE
7. That's all. No issue. R/W works fine
Click to expand...
Click to collapse
is all your root app's working fine till now?
no bootloop & other issues?
not root dear.
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Click to expand...
Click to collapse
not working brother
help me to rrot my d5322
triwira said:
Finally have a rooted D5322 (T2 Ultra Dual).
Requirements:
Unlocked bootloader.
Fastboot.
boot.img with custom recovery inside. I am using boot.img from CM11, extract it from here.
SuperSU-v2.46.zip
Here is the way:
1. Activate USB debugging.
2. Flash boot.img from the link above:
Code:
flashboot flash boot.img
3. Enter recovery mode, then install UPDATE-SuperSU-v2.46.zip.
4. Flash Lollipop firmware (19.3.A.0.470) but choose kernel only to be flashed (screenshoot attached).
5. Done!
NOTE: Will be updated when I meet better internet connection. Thanks.
UPDATE (28.04.2015) : Somebody reported that /system couldn't be edited. Root explorer cant mount /system as RW.
...
Click to expand...
Click to collapse
is this method work on 19.3.A.0.472

Progress?

I saw this in facebook group "xperia t3 - india".. it seems we just need the camera to work
and 4G, and sdcard1...
vmlc said:
I saw this in facebook group "xperia t3 - india".. it seems we just need the camera to work
Click to expand...
Click to collapse
Hi i'm the guy how have cyanogen on my T3 , I just wanted to warn you for the rom, select the FXP-cm12-20150412...
And not the FXP-cm12.1 ...
otherwise your phone will bootloop, and when you make the first start of the phone , don't worry if after the bootanimation there's a black screen just wait 2-3 minutes for the update
So enjoy Cyanogen Xperia Users
fastbooking said:
Hi i'm the guy how have cyanogen on my T3 , I just wanted to warn you for the rom, select the FXP-cm12-20150412...
And not the FXP-cm12.1 ...
otherwise your phone will bootloop, and when you make the first start of the phone , don't worry if after the bootanimation there's a black screen just wait 2-3 minutes for the update
So enjoy Cyanogen Xperia Users
Click to expand...
Click to collapse
so, you confirm no 4g and camera working?
vmlc said:
so, you confirm no 4g and camera working?
Click to expand...
Click to collapse
yes no camera and 3G/4G
fastbooking said:
yes no camera and 3G/4G
Click to expand...
Click to collapse
also, you should do a detailed tutorial how to try the seagull build, i tried it the other day, but I couldnt do it....
vmlc said:
also, you should do a detailed tutorial how to try the seagull build, i tried it the other day, but I couldnt do it....
Click to expand...
Click to collapse
I will try tomorow there's a french tutorial about that here's the link for the one's who speak french
phonandroid.com/forum/post1800321.html (www . before its just because i can't now)
Cyanogen ROM are distributed in zip format, so you have to :
- push the zip file to your sdcard
- you need a kernel with recovery (for the time being, the Philz one)
- you enter in recovery mode
- you select "install zip" and the zip file.
once it's finished, install the right kernel
for that, on your PC, extract the boot.img file from the ROM zip file and flash it with flashtool or fastboot
reboot and enjoy
dan15 said:
Cyanogen ROM are distributed in zip format, so you have to :
- push the zip file to your sdcard
- you need a kernel with recovery (for the time being, the Philz one)
- you enter in recovery mode
- you select "install zip" and the zip file.
once it's finished, install the right kernel
for that, on your PC, extract the boot.img file from the ROM zip file and flash it with flashtool or fastboot
reboot and enjoy
Click to expand...
Click to collapse
ok, the part I dont get is: "once it's finished, install the right kernel
for that, on your PC, extract the boot.img file from the ROM zip file and flash it with flashtool or fastboot"
how do you do this?
dan15 said:
Cyanogen ROM are distributed in zip format, so you have to :
- push the zip file to your sdcard
- you need a kernel with recovery (for the time being, the Philz one)
- you enter in recovery mode
- you select "install zip" and the zip file.
once it's finished, install the right kernel
for that, on your PC, extract the boot.img file from the ROM zip file and flash it with flashtool or fastboot
reboot and enjoy
Click to expand...
Click to collapse
I don't install cyanogen like that,
First I update my phone with EMMA with the Open devices TA
-After I open the zip of the rom and i extract it somewhere you can find it
-take the zip AND THE GAPPS and connect your phone on usb for sending the zip on THE ROOT of your sdcard
-Enter in fastboot, and open flashtool (not emma the other)
-Flash the kernel called : boot.img
-Once Flashed reboot your phone in recovery (up button when the led is purple or violet)
-The led became gold color
- You now are (normaly) in cyanogen recovery
-Wipe data/Factory reset
-Wipe Cache for avoid bugs
-Now the fun part
-Apply update select the ROM and after the GAPPS
-Reboot and enjoy !
If the screen is black for a while after boot it's normal it's the system update
I also recommand you to take the
FXP-cm-12-20150412-UNOFFICIAL-seagull.zip
file because the other in cm12.1 are bootlooping
Now you can enjoy properly without camera and 3G/4G cyanogen
Sorry for my english I'm just a 14 french kid
btw, is this for 5102 or 5103? also, what do I have to be installed on my computer so I can flash boot for fastboot?
vmlc said:
btw, is this for 5102 or 5103? also, what do I have to be installed on my computer so I can flash boot for fastboot?
Click to expand...
Click to collapse
This is for D5103 the D5102 isn't the seagull this name is ONLY for the D5103
For the manipulation you will need emma (called flashtool by sony,for updating the bootloader)
And flashtool by Androxyde (this only is for flash kernel)
:highfive: now you're ready
Enjoy cyanogen on our t3 :laugh:
fastbooking said:
This is for D5103 the D5102 isn't the seagull this name is ONLY for the D5103
For the manipulation you will need emma (called flashtool by sony,for updating the bootloader)
And flashtool by Androxyde (this only is for flash kernel)
:highfive: now you're ready
Enjoy cyanogen on our t3 :laugh:
Click to expand...
Click to collapse
Im having problems flashing the kernel. I cant find my device in fastboot, and when I use flashtool to go ADB mode it says I dont have usb debugging on because I installed zip from recovery, the seagull file...
vmlc said:
Im having problems flashing the kernel. I cant find my device in fastboot, and when I use flashtool to go ADB mode it says I dont have usb debugging on because I installed zip from recovery, the seagull file...
Click to expand...
Click to collapse
Ok let's start off zero
you installed the zip via the philz recovery and after you wanted to flash the kernel ?
dan15 said:
Cyanogen ROM are distributed in zip format, so you have to :
- push the zip file to your sdcard
- you need a kernel with recovery (for the time being, the Philz one)
- you enter in recovery mode
- you select "install zip" and the zip file.
once it's finished, install the right kernel
for that, on your PC, extract the boot.img file from the ROM zip file and flash it with flashtool or fastboot
reboot and enjoy
Click to expand...
Click to collapse
thats what it says...
vmlc said:
thats what it says...
Click to expand...
Click to collapse
follow my tutorial it's the steps i followed and it works for me :good:
fastbooking said:
follow my tutorial it's the steps i followed and it works for me :good:
Click to expand...
Click to collapse
I got bricked meanwhile. Battery problem I think, not the first time...
ok, i think there is a missunderstanding.
in order to flash the kernel, you need to be in fastboot mode (with the blue light). so, once you have installed the zip file, shut down the phone (in recovery mode, select "power options/power off" , disconnect the phone and reconnect it in fastboot (maintain the vol up before and during the USB connection ).
you can now use "flashtool" (the Androxyde's one. to avoid confusion, the Sony's one is called EMMA or if it is more easy for you fastboot.exe
to use fastboot, you open a command line (Windows+R + type "cmd") , you go to the folder where the boot.img is and you enter the comand "fastboot flash boot boot.img". after ~2s the kernel is flashed, you can disconnect the phone and restart.
the first time, the boot time is about 5 min with a black screen after the animated screen, so wait a moment.
it's for that it's very important to have a well charged phone (min 40%) because the first start use a lot of battery, and you can't see anything.
I want to restore, I just installed the zip. Why cant I enter recovery?
edit: ok, I entered cyanogen recovery. will try to boot now. but I dont have backup/restore option....
edit2: ok, It booted but I still want to know how to back to previous version...
vmlc said:
I want to restore, I just installed the zip. Why cant I enter recovery?
edit: ok, I entered cyanogen recovery. will try to boot now. but I dont have backup/restore option....
edit2: ok, It booted but I still want to know how to back to previous version...
Click to expand...
Click to collapse
go on emma and select the android 4.4.4 update KK in the services line under open devices TA
It will restore the like the 1 st day but you will loose your data, but after you can install the philz recovery and restore the backup

[Q&A] [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.

[Q&A] [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.
Q&A for [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.1)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.1). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Very cool explanation
hitman-xda said:
This is a guide for XPERIA ACRO S (other xperia users can also reffer needed information)
[Below procedure looks lendy, but you'll just need max 30 minutes if you have every downloaded file.]
I make this guide for noobs as there weren't such guide (even for my first time of flashing ROM I didn't get any such guide, so I decided to make one)
This Guide is especially for flashing BPaul's 5.1.1 ROM
So here Iam giving detail process to install Bpauls 5.1.1 with every links needed.
we are going to take below steps;
1. unlocking bootloader
2. flashing kernel with recoveries
3. backing up stock rom
4. installing bpauls 5.1.1
Special Thanks;
@BPaul (for awesome ROM)
@cobrato (for stock kernel)
@jajb (for gapps)
NOTE: I'AM NOT RESPONSIBLE IF YOU DAMAGED YOUR PHONE BY CROSS FLASHING OTHER ROMS,KERNELS ETC.
BELOW PROCESS IS SUCCESSFULLY CARRIED ON XPERIA ACRO S. AS NOOBS CAN MAKE MANY MISTAKES
I'AM NOT RESPONSIBLE FOR YOUR DAMAGE. -DO AT YOUR OWN RISK-
-Here we START-
*_UNLOCKING BOOTLOADER_*
(unlocking bootloader will erase everything on your phone, i suggest you to take backup of your data)
First of all you need to take unlocking code from official sony website (link below)
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
after clicking on above link, on the page just scroll down
1.select your device
2.provide your imei
3.you'll get unlock code (save it properly)
Next you need to download minimal adb and fastboot (link below)
https://drive.google.com/file/d/0B1S0LCuXCnnmOWhnUk1ZWVdQakE/view?pli=1
install it to your computer.
Now we have to connect phone in fastboot mode, follow below steps
1.Turn on usb debugging mode.
(setting > developer option > usb debugging)
2.Turn Off your Xperia Acro S
3.Press and Hold volume up button and then connect usb to computer.
(If you see Blue LED of phone, then everything is going right)
(Let your computer install essential fastboot drivers)
Now open minimal adb and fastboot (we installed previosly)
Type below command
-fastboot devices
-fastboot -i 0x0fce oem unlock 0x(your unlock code without this brackets)
-fastboot reboot
DONE
(Now you have successfully unlocked your bootloader)
*_FLASHING KERNEL WITH RECOVERY'S_*
As you have STOCK ROM, you need to flash STOCK KERNEL with recoveries (link below)
http://forum.xda-developers.com/showthread.php?t=2309117
-The above kernel cantain CWN as well as TWRP
After opening above link, download respective kernel
Save the above downloaded kernel to fastboot folder on your computer.
-Get into fastboot mode and connect to computer.
(Press and Hold volume up button and then connect usb to computer).
Now open minimal adb and fastboot (we installed previosly)
Type below command
-fastboot devices
-fastboot flash boot kernel_62B196_acroS.elf
-fastboot reboot
DONE
(Now you have successfully flashed kernel with recovery)
*_BACKINGUP STOCK ROM_*
As you have successfully flashed kernel with recoverys, its easy to take a full backup of your system.
To enter into recovery follow below steps
1.To get into CWM reboot your phone, press volume up key for few times when the magneta LED appears.
(To navigate use volume buttons, for selecting use power button)
2.To get into TWRP reboot your phone and tap the screen for few times when the magneta LED appears.
3.Select Backup.
DONE
(Now you have successfully Backedup your ROM)
*_FLASHING ROM BPaul's 5.1.1_*
For Flashing This ROM your phone (Xperia Acro S) needs to be rooted (if your not, use towelroot app, for me it was the easiest way to root my phone)
and USB Debugging in developers option should be enabled.
A] Download ROM BPaul's 5.1.1 (link below)
http://forum.xda-developers.com/showthread.php?t=2799765&page=54#post60570826
-Extract the above downloaded ROM to your computer
(you'll see 2img files and 2recoveries)
B] Here you need to download acro s kernel (link below)
http://d-h.st/nJXM
C] Download below minimal GApps for 5.1.1 and copy it to your sdcard/ext_sdcard(link below)
http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330
(keep this downloaded kernel to above extracted folder)
Now to flash this rom you need to download FLashtool (link below)
http://d-h.st/Kb8
install the above downloaded Flashtool to your computer.
1.Now to flash recovery open the extracted ROM, and open recovery folder (2recoveries)
2.Pick your Recovery CWM or TWRP (TWRP Recommended) and copy it to internal storage of your phone.
3.Open minimal adb and fastboot
Type below command;
-adb shell
-su
(confirm popup su request from your phone)
-dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p11 OR dd if=/sdcard/cwm.img of=/dev/block/mmcblk0p11
Now you need to flash 2img files, to do so follow below steps
1.Open Flashtool
2.Click Flash button (Lightning icon, top left)
3.Select Fastboot mode
4.Reboot phone to fastboot (power off phone>push vol up key and connect usb)
5.Now in flashtool select SYSTEM to flash and open system.img (wait for 6 minimum minutes)
6.Now select KERNEL to flash and open boot_07_05_15.img
7.Now select REBOOT DEVICE INTO SYSTEM.
8.Open your respected recovery (CWM or TWRP)
9.Install>your downloaded gapps from sdcard/ext_sdcard
10.Wipe cache + Dalvic cache + Factory reset
11.Reboot
(Optional) : For rooting this ROM, just download SU, save it to your phone and install it manually with recovery. (link below)
http://download.chainfire.eu/supersu
For the first time it can take a looooong time to boot up. So just don't worry.
DONE
(You have successfully installed BPaul's 5.1.1)
Click to expand...
Click to collapse
Explain the unique and wonderful brother, thank you
But there is a point I can't understand, come on for
Install the kernel
Put a link to the kernel and you try to access the file to download
They found three links and no! know which is better or more correct for installation
Thank you for all your explanations about the wonderful but if it is possible to make a video for us to install the ROM I was very thankful to you
A point I would like to inquire of the installation steps that I have created on installation after the formal system of the machine or from another custom
And you have to work the manure and how it works
I hope I haven't she disturbed you thanks
Wait for response from you, since I'm a wait to install this ROM
Great job thank you
THEGAME2 said:
Explain the unique and wonderful brother, thank you
But there is a point I can't understand, come on for
Install the kernel
Put a link to the kernel and you try to access the file to download
They found three links and no! know which is better or more correct for installation
Thank you for all your explanations about the wonderful but if it is possible to make a video for us to install the ROM I was very thankful to you
A point I would like to inquire of the installation steps that I have created on installation after the formal system of the machine or from another custom
And you have to work the manure and how it works
I hope I haven't she disturbed you thanks
Wait for response from you, since I'm a wait to install this ROM
Great job thank you
Click to expand...
Click to collapse
Dude if you are on stock ROM then navigate to
settings > about phone > build number
(Download specific kernel from that three options that matches your build number and flash it)
About video tutorial,
I recently can't provide it because I'm on poor internet connection.
If you do every step carefully, you'll be done!
Let me know if you have any problem
Regards,
hitman-xda

[D5503] Lollipop 5.1.1 goes AICP 13.1 Oreo 8.1 /// Beginners Link Collection

Hello hello,
this will be my "live" thread of bringing AICP 13.1 to my xperia z1c, I found some Guide's that I will follow and I will share with you all the links and knowledge I gained as a newbie that I used to understand and fix my problems on the way.
Maybe this will help you, too.
Main Tutorial: LINK
Target of all this: LINK
My Device:
Sony XPERIA Z1C, 14.6.A.1.236 , Lollipop 5.1.1
My best hint: read carefully, take your time to understand what you're trying to do and do your own research!
Hopefully you will get a aicp custom rom out of it.
_____________________________________________
_____________________________________________
General information: Android 5.1.1 cannot be rooted due to its high security standards, therefore we will downgrade to a lower security stock rom and create root access there. Root access will be needed as well as an unlocked bootloader to install real recovery (TWRP) which is the tool to flash custom roms like aicp. But the aicp custom rom will not have a good working camera, don't ask me why, but the camera seems to be a really difficult thing from the point of developer's view, let's accept this. Aside of that disadvantage, this custom rom is a very nice software and it makes my z1c kind of new. I don't use my camera anyway often at all.
During all this flashing thing I had a very big ??? while implementing real recovery. I was able to flash the .236.ftf but not the openbootloader.ftf as described in section 5 in the main tutorial. The result was twrp boot failed.
Error description:
flash .236.ftf works
flash openbootloader fails
flash twrp works
boot twrp fails
boot stock rom works
My solution:
I restarted from scratch and finally with the kind of messed up secquenceI got it:
flash .236.ftf works
flash openbootloader fails
flash twrp works
boot twrp fails
flash openbootloader works
flash twrp works
boot twrp works
UPDATE 06.12.2018 as a solution for REAL RECOVERY with working camera <<< RECOMMENDED
0. boot into rom works
1. flash openbootloader works
2. boot into rom works
3. flash .236.ftf works
4. boot into rom & check camera works
3. flash twrp ( business as usal ) works
4. boot twrp ( First boot is damn important, don't miss it! Press Vol- & Power, wait for vibration, release Power & keep Vol- until twrp boots up ) works
5. full wipe, flash aicp-rom, flash gapps, flash magisk-root, boot system works
6. enjoy Oreo 8.1 & camera check !!! works !!!
This routine worked straight forward for me where I started from scratch with my second device.
Flashing aicp was pretty easy, good to know for flashing the rom was full wipe = advanced wipe and select everything except of micro sd
To complete my aicp 13.1 Oreo 8.1 device the camera problem has to be fixed ( Saving the taken picture fails, display goes into freeze, no chance to solve this with camera mods, camera apps )
But @lm089 gave me the right hint, and finally this was my solution! Thanks again @lm089!!
Have fun with your new >> SONY XPERIA Z1 COMPACT <<
How to update TWRP
1. Turn Off your device
2. Start device in fastboot mode by connecting via usb cable to your pc and press Vol- until blue led tuns on
3. use fastboot flash recovery twrp.img to flash it
4. boot twrp ( This first boot is damn important, don't miss it! Press Vol- & Power, wait for vibration, release Power & keep Vol- until twrp boots up ) works
How to update to aicp 14.0 pie 9.0
starting with the running and latest aicp 13.1 oreo 8.1 rom above I just followed the Instructions here. As a specialty I had to install the Magisk Manager App manually into the rom to get root. Downloading supersu.apk from www.supersuroot.org works fine as well.
Your fastboot connection doesnt work for some reason though u had this workin fine in the past? maybe u had a windows update. install your drivers again.
>> LETS KEEP THIS DEVICE ALIVE <<
_____________________________________________
_____________________________________________
More helpful links that I used:
Debug apps by creating logs
what is adb? an xda tutorial
ADB working Download Link and ADB Article on xda
xda flashtool error during setup: click
[NOOBIE] Basic adb commands and device partition overview
Latest TWRP 3.2.3-0 for z1c
root solution using flash tool
Restore DRM functionality after UB
If TA Backup dry restoration restoration fails: Solution and Download *.dll
Boot into recovery or fastboot mode
How to install TWRP
Magisk beats superSU
How to Install Custom ROM using TWRP for Android!
change boot animations
[TUTORIAL] Design Your Own Bootanimation
Backup & Restore Your ROM With TWRP
Terminology: odex and deodex
If the camera goes into freeze or saving the picture fails: This was my solution! /// But you better go straight with the steps of my update 06.12.2018, field tested!
THANKS A LOT TO @colaigor for his [BEGINNERS GUIDE]
Ok. So i dont have much time now but i can give some short directions.
1. Get unlock codes from sony for bootloader unlock
2. Instal adb and fastboot at your system(PC)
3. Instal z1c drivers
4. Instal flashtool
5. Unlock bootloader,root,flash recovery(search forum for "real recovery" ),flash root solution
6. Flash wanted rom,gaps
P.P. On second thought u dont need flashtool. All can be done with adb and fastboot commands from terminal
There is one thing I don't understand:
what is the difference between FLASHING REAL RECOVERY and FLASHING FAKE RECOVERY?
What I read is, that in both cases I get TWRP but on different partitions (real = Recovery Partition, fake = Boot partition) but do I need both or do I choose just on of them?
derjango said:
There is one thing I don't understand:
what is the difference between FLASHING REAL RECOVERY and FLASHING FAKE RECOVERY?
What I read is, that in both cases I get TWRP but on different partitions (real = Recovery Partition, fake = Boot partition) but do I need both or do I choose just on of them?
Click to expand...
Click to collapse
Real recovery have its own partition(after that update to bootloader). Custom recovery dont have that and its stored somewhere else(FOTA,onetime boot image , etc). Choose real recovery. New stuff works good with it.
Ok thank you :good:
flashtool log of openbootloader.ftf failed:
01/015/2018 13:15:58 - INFO - Device connected in flash mode
01/017/2018 13:17:19 - INFO - Selected Bundle for Sony Xperia Z1 Compact(D5503). FW release : 1. Customization : openbootloader
01/017/2018 13:17:19 - INFO - Preparing files for flashing
01/017/2018 13:17:19 - INFO - Please connect your device into flashmode.
01/017/2018 13:17:19 - INFO - Using Gordon gate drivers version 3.1.0.0
01/017/2018 13:17:20 - INFO - Opening device for R/W
01/017/2018 13:17:20 - INFO - Device ready for R/W.
01/017/2018 13:17:20 - INFO - Reading device information
Click to expand...
Click to collapse
solved, I skipped step 5.2, flashing the .236.ftf in advance
but how can I start TWRP?
doesnt work with POWER + Vol-, vibrate & release power
I tried to flash the following recovery solution using this command:
smartphone in fastboot mode (blue LED enabled)
fastboot flash recovery recovery.img
TWRP from step 5.1 of the GUIDE
TWRP 3.0.2
My formerly flashed .236.ftf rom works fine, but I cant start TWRP the device goes directly to my rom
zlata said:
Real recovery have its own partition(after that update to bootloader). Custom recovery dont have that and its stored somewhere else(FOTA,onetime boot image , etc). Choose real recovery. New stuff works good with it.
Click to expand...
Click to collapse
Thats where I'm stuck right now, any ideas how to fix?
okay got it, basically i do not know what the problem is but:
after BLU
flash .236 :good:
flash openbootloader
flash twrp :good:
--> failed to install openbootloader and probably thus twrp failed
solution: I skipped to flash .236 as recommended by the author of the GUIDE (step 5.2)
flash open bootloader :good:
flash twrp :good:
--> failed to start twrp, though it was installed successfully
flash .236 :good:
flash openbootloader (failed again, but it's already on the device and I guess I could have skipped this here)
flash twrp :good:
first boot of twrp is successful :good:
And basically the author explained it in his text, FIRST INSTALL OPEN BOOTLOADER BEFORE WRITING STH TO RECOVERY PARTITION
I think you should use Aicp 14 pie instead of 13.1 Oreo
I feel Aicp 14 PIE is very stable and flash port camera stock this link https://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/port-stock-camera-nougat-roms- t3628791
Nice thread, thank you! Wish I had that when I started rooting and flashing
@lm089 Haha it's quite some work to get into it, right? I just saw that we are running on the same device & custom rom, how did you solve the issue with the not working camera? I'm still reading stuff about some mod, but I'm curious and open for tested solutions on z1c
best, dj
derjango said:
how did you solve the issue with the not working camera? I'm still reading stuff about some mod, but I'm curious and open for tested solutions on z1c
best, dj
Click to expand...
Click to collapse
Had this situation twice with 2 different oreo ROMs. Both times I solved it following a rather strange sounding suggestion I found on the AICP 13.1 discussion thread. The basic idea is to go back to a stock Sony ROM. Boot into it and make sure the camera is working which for me was the case both times. Then - if necessary - re-root your phone (on first occasion I flashed a pre-rooted .236 version but that caused some extra trouble so next time I decided to flash an unrooted version). And from then on it's the standard way as you described it in your OP.
Good luck!
Okay, thanks a lot for your hint! Unfortunately the camera mod didn't fix the problem, my android-task for this evening is defined:
AICP 13.1 Oreo 8.1 on z1c, root, ulb, magisk 17.1
1. backup my system (done)
2.0 flash stock rom lollipop 5.1.1 (14.6.A.1.236.ftf) with flashtool via usb (done),booting the os for the first time takes quite long (~10m), check camera in the os (done)
interesting fact: recovery is deleted by flashing the rom via flashtool - I thought I can go the lazy way and skip the step of installing twrp again into recovery
2.1 okay, let's do it: install twrp (done) and boot into twrp, NOT into ROM!! (done) (Vol- & Power, wait for vibration & release Power but keep Vol- until TWRP starts up)
3. flash aicp 13.1 following this (full wipe as an advanced wipe: select all EXCLUDING THE SD STORAGE)
Again here, I recognized the first boot of the rom takes quite longer.
4. check camera (done)
!!!! IT WORKS !!!!
(I did it two times)
alright, lets start flashing my second device - now I know how to do it
Thanks guys!!
derjango said:
!!!! IT WORKS !!!![/SIZE]
Click to expand...
Click to collapse
Weird, isn't it?
lm089 said:
Weird, isn't it?
Click to expand...
Click to collapse
Totally But hey, it's a solution
btw @lm089, boots your ota-updater directly into twrp and start the flashing procedure? In my case I had to boot twrp manually and flash the zip manually, too
derjango said:
btw @lm089, boots your ota-updater directly into twrp and start the flashing procedure? In my case I had to boot twrp manually and flash the zip manually, too
Click to expand...
Click to collapse
No, updater is booting into recovery, doing a nandroid backup and wiping caches (because I told it to), then flashing and finally rebooting into system. All by itself :good:
I remember having trouble with that in the past though. Do you by any chance have an SD card formatted as adoptable storage?
lm089 said:
No, updater is booting into recovery, doing a nandroid backup and wiping caches (because I told it to), then flashing and finally rebooting into system. All by itself :good:
I remember having trouble with that in the past though. Do you by any chance have an SD card formatted as adoptable storage?
Click to expand...
Click to collapse
Yes, its used as an external storage
derjango said:
Yes, its used as an external storage
Click to expand...
Click to collapse
ok, that's something different; adoptable storage means that your SD or part of it is setup to extend internal storage. If you can access all of your SD from TWRP then it is indeed formatted a external storage.
1) How to unlock bootloader:
https://developer.sony.com/develop/...ed/unlock-bootloader/how-to-unlock-bootloader
2) Download Platform-tools (adb & fastboot) r.26.0.2 as latests version does not work (or just for me):
https://xiaomifirmware.com/downloads/download-platform-tools-adb-fastboot-r-26-0-0/
3) Download TWRP 3.2.3-0 https://androidfilehost.com/?fid=11410963190603854057 and place file in Platform Tools folder on PC
4) Restart in fastboot mode and flash revovery:
fastboot flash recovery Z1C_twrp_3.2.3-0.img
fastboot reboot
5.1) Download AICP Oreo 8.1 http://dwnld.aicp-rom.com/device/amami/WEEKLY/aicp_amami_o-13.1-WEEKLY-20181204.zip and place file in Platform Tools folder on PC
5.2) Download Gapps Pico https://opengapps.org/?download=false&arch=arm&api=8.1&variant=pico and place file in Platform Tools folder on PC
5.3) Download stable Magisk 17.1 https://github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip place file in Platform Tools folder on PC
6.1) Load TWRP. Advance>ADB Sideload (for Oreo)
adb sideload aicp_amami_o-13.1-WEEKLY-20181204.zip
(do not restart)
6.2) Repeat Advance>ADB Sideload (for Gapps)
adb sideload open_gapps-arm-8.1-pico-2018XXXX.zip
(do not restart)
6.3) Repeat Advance>ADB Sideload (for Magisk)
adb sideload Magisk-v17.1.zip
(restart)

Categories

Resources