[Q] [E C1505] [SOLVED] A bunch of Questions - Sony Xperia Miro, Tipo (Dual), J, E

Hi guys,
i'm somewhat of a noob when it comes to Android devices, so please excuse my stupid questions.
First some facts about my device:
ROOT: Enabled
BOOTLOADER: Locked and not changeable
ROM: Latest available official release
(hope that helps at least a bit)
#1: Is it possible to bypass the bootloader lock via root? If so, how?
#2: If there is no way to bypass the lock, is it possible to modify the rom anyway? Because i want to add the swapon/swapoff functionality to expand the available ram via a swap partition on my external SD card. (already checked via terminal if swapon/swapoff is available)
Thank you in advance for your help. I hope there's a solution to my problem.

BrainInBlack said:
Hi guys,
i'm somewhat of a noob when it comes to Android devices, so please excuse my stupid questions.
First some facts about my device:
ROOT: Enabled
BOOTLOADER: Locked and not changeable
ROM: Latest available official release
(hope that helps at least a bit)
#1: Is it possible to bypass the bootloader lock via root? If so, how?
#2: If there is no way to bypass the lock, is it possible to modify the rom anyway? Because i want to add the swapon/swapoff functionality to expand the available ram via a swap partition on my external SD card. (already checked via terminal if swapon/swapoff is available)
Thank you in advance for your help. I hope there's a solution to my problem.
Click to expand...
Click to collapse
Can u plzz upload a screenshot of the page of ur device's bootloader status. Because as far as i know xperia e's bootloader isn't harlocked and can be unlocked easily.

Well, i don't known how to take a screenshot, at least on an android device.
Gesendet von meinem C1505 mit Tapatalk

BrainInBlack said:
Well, i don't known how to take a screenshot, at least on an android device.
Gesendet von meinem C1505 mit Tapatalk
Click to expand...
Click to collapse
Hold the volume down button + power button simultaneously .
Have a nice day
Sent from my C1505 using XDA Premium 4 mobile app

Img .tapatalk. com/d/14/01/24/uqe6y4ez.jpg
(had to bypass the 10 post linking thing)
Thanks again

BrainInBlack said:
Img .tapatalk. com/d/14/01/24/uqe6y4ez.jpg
(had to bypass the 10 post linking thing)
Thanks again
Click to expand...
Click to collapse
You're right - your phone isn't allowed a bootloader unlock.
Without bootloader unlock, you can't change ROMs, but you can install ICS, which is a bit faster than Jelly Bean, even slightly more than CyanogenMod. In fact, even with an unlocked bootloader, I'm using ICS. Here's how: http://forum.xda-developers.com/showthread.php?t=2579233
Now, you said you're a noob when it comes to Android, so here's how to flash an FTF:
This process will remove all installed apps, contacts and settings. Any music, stuff on the internal storage (the one for music etc.) or the microSD will be preserved.
0. Make sure you're on Windows 7 or below. For some reason, this doesn't work with Windows 8 or 8.1, so you'll have to get a 7 PC somehow.
1. Download Androxyde's Flashtool here: http://forum.xda-developers.com/showthread.php?t=920746 (use the unrestrict.li link, it's better)
2. Install it. By default, it is installed to C:\Flashtool. Open this folder, and then the "drivers" one. You'll see a driver setup file. Install the Flashtool and Fastboot drivers (in the list, they're on the bottom).
3. Now go back to the Flashtool folder, and open "firmwares". Put your FTF file here.
4. Open Flashtool. Click the lightning icon. Ensure that Flashmode is selected, and press OK. Choose the C1605 11.1.A.0.68 file, and press Flash.
5. When it tells you to, turn off your phone. Plug in the USB cable into your computer. Hold volume down (do not hold the power button), and (point of no return now) plug the phone into the USB cable connected to your phone. The notification light will glow green, and hopefully everything will start flashing. When the Flashtool window tells you to disconnect your phone and turn it on, do so. Set it up, and you're on ICS!
If you want to go back to Jelly Bean, download this FTF: https://www.mediafire.com/?3fmmkbmlqtjd6cy and put it into the "firmwares" folder. Now follow the guide step 4 onward, but select "11.3.A.2.23" for Jelly Bean.
Whew, long post.

So, in principle i downgrade the device to ics with an unlocked bootloader and then can flash a custom rom that is jb based, with all features i need to expand the ram?
BrainInBlack from a C1505

BrainInBlack said:
So, in principle i downgrade the device to ics with an unlocked bootloader and then can flash a custom rom that is jb based, with all features i need to expand the ram?
BrainInBlack from a C1505
Click to expand...
Click to collapse
No, ICS won't enable you to unlock your bootloader OR install CWM OR install a custom ROM. ICS is faster than any other custom ROM (other than XboosT, which is basically ICS on steroids), so if you can't have custom ROMs, the next best thing is ICS.

Another noob's question:
I installed Xposed a few days ago on my c1505 (stock firmware, locked bl). It worked perfectly. But i've read from another post that if i remove it my phone won't boot. So is there any way to remove it without breaking my device?? Waiting for answers.

buinghia98 said:
Another noob's question:
I installed Xposed a few days ago on my c1505 (stock firmware, locked bl). It worked perfectly. But i've read from another post that if i remove it my phone won't boot. So is there any way to remove it without breaking my device?? Waiting for answers.
Click to expand...
Click to collapse
It never bricked my device!!!
Sent from my C1604 using xda app-developers app

Xmoose said:
It never bricked my device!!!
Sent from my C1604 using xda app-developers app
Click to expand...
Click to collapse
B-b-but...
http://forum.xda-developers.com/showthread.php?t=2498202
I'm using XE single... i think that makes the difference. Even tipos got bricked...

buinghia98 said:
B-b-but...
http://forum.xda-developers.com/showthread.php?t=2498202
I'm using XE single... i think that makes the difference. Even tipos got bricked...
Click to expand...
Click to collapse
But UltraGamerHD is still using his phone (in fact, he's making CM11...), right?
Right now, I uninstalled Xposed, rebooted, installed Xposed, rebooted. Nothing called a brick (although I did lose a cool Xposed mod for a reboot). Well, whatever. Uninstalling doesn't brick.
In fact, the problem in the topic is either:
1. The phone hard-bricking, which is not related to Xposed at all.
OR
2. The phone's battery being discharged to 0%, to the point where the phone cannot turn itself on and start charging.

NSDCars5 said:
But UltraGamerHD is still using his phone (in fact, he's making CM11...), right?
Right now, I uninstalled Xposed, rebooted, installed Xposed, rebooted. Nothing called a brick (although I did lose a cool Xposed mod for a reboot). Well, whatever. Uninstalling doesn't brick.
In fact, the problem in the topic is either:
1. The phone hard-bricking, which is not related to Xposed at all.
OR
2. The phone's battery being discharged to 0%, to the point where the phone cannot turn itself on and start charging.
Click to expand...
Click to collapse
Are you single or married?
Just kidding. Are you using XE single or dual sim. And do you know how did UltraGamerHD repaired his phone?

buinghia98 said:
Are you single or married?
Just kidding. Are you using XE single or dual sim. And do you know how did UltraGamerHD repaired his phone?
Click to expand...
Click to collapse
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?

NSDCars5 said:
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?
Click to expand...
Click to collapse
1. I dont think so... there are about 4 to 5 people are experiencing this, including you (if not, why did u take it to sony?)
2. What are u developing? And do you have a Facebook account?
3. Another question... how to install PurePerformance on locked bl? Flash gordon doesn't work.

NSDCars5 said:
1. I'm a teen. So, yeah, single.
2. My phone's single too, but it's not a teen.
3. UltraGamerHD has been making CM11 (KitKat) for our phones, he's even shown an image - too bad it's been deleted now - but I think he's still (a bit) active here, so...
4. @UltraGamerHD? Your phone's working?
Click to expand...
Click to collapse
My Xperia E is Working Fine, it was just me bieng stupid.

Okay, last questions:
1 @UltraGamerHD? How did you bricked it? And How did you repair it?
2.How to install PurePerformance on locked bootloader? My XE says "bootloader unlock allowed: no" so i cant use cwm or twrp. Flash gordon doesn't work.

buinghia98 said:
1. I dont think so... there are about 4 to 5 people are experiencing this, including you (if not, why did u take it to sony?)
2. What are u developing? And do you have a Facebook account?
3. Another question... how to install PurePerformance on locked bl? Flash gordon doesn't work.
Click to expand...
Click to collapse
1. I went to Sony cause I didn't know what the issue was - they fixed it by using a Z1 or Z Ultra charger to charge it to 9%, powered it off, and let me charge the rest at home.
2. I can't say what I'm making... it's a closely guarded secret. Nope, no Facebook. I had it, but I deleted it.
3. No idea, sorry.

buinghia98 said:
Okay, last questions:
1 @UltraGamerHD? How did you bricked it? And How did you repair it?
2.How to install PurePerformance on locked bootloader? My XE says "bootloader unlock allowed: no" so i cant use cwm or twrp. Flash gordon doesn't work.
Click to expand...
Click to collapse
I did brick it once, I went to the Orange UK store in my local town and he said he used software similar to PC Companion.
Go to phoneunlockserver.com and unlock your bootloader even if it says no for £10 GBP --> Use Google Currency to Convert Price.

Since it is kind of on topic.
 @UltraGamerHD: Any status of CM11 for Xperia E?
Bug list please? and why did the thread get deleted? :/ :|

Related

[Q] [Correct Forum?]Some Questions About This Phone

I will be getting a Sony Xperia E from Immix (with a SIM Card), and I am wondering if I am in the correct section of the forums. I have a few questions, since I had an HTC One V before, about the current status of this phone:
Has this phone been S-Off'd yet?
If not, is TWRP at least released for this phone?
I think that's it. I'll update with more questions as I get them
Thanks in advance,
NarWhat
123386761 said:
I will be getting a Sony Xperia E from Immix (with a SIM Card), and I am wondering if I am in the correct section of the forums. I have a few questions, since I had an HTC One V before, about the current status of this phone:
Has this phone been S-Off'd yet?
If not, is TWRP at least released for this phone?
I think that's it. I'll update with more questions as I get them
Thanks in advance,
NarWhat
Click to expand...
Click to collapse
S-OFF (unlock bootloader) in Sony terms is can be done by visit http://unlockbootloader.sonymobile.com and follow the instructions. make sure you test by enter *#*#7378423#*#* on dialer and then, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
dunno if someone already build TWRP for Xperia E, but there is CWM for Xperia E
AshRoller said:
S-OFF (unlock bootloader) in Sony terms is can be done by visit http://unlockbootloader.sonymobile.com and follow the instructions. make sure you test by enter *#*#7378423#*#* on dialer and then, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
dunno if someone already build TWRP for Xperia E, but there is CWM for Xperia E
Click to expand...
Click to collapse
Sorry, in [HTC One V] terms, S-Off not only requires the bootloader to already be unlocked, but then you can also edit the boot, radio and other partitions that are still locked while the bootloader is unlocked.
And that phone number is very helpful, thanks! I'll have to test it Wednesday, when my phone is supposed to arrive
And about building TWRP, I'll do it. I've built several pieces of software for my previous phone, aaaaand I hope it's the same process LOL
123386761 said:
Sorry, in [HTC One V] terms, S-Off not only requires the bootloader to already be unlocked, but then you can also edit the boot, radio and other partitions that are still locked while the bootloader is unlocked.
And that phone number is very helpful, thanks! I'll have to test it Wednesday, when my phone is supposed to arrive
And about building TWRP, I'll do it. I've built several pieces of software for my previous phone, aaaaand I hope it's the same process LOL
Click to expand...
Click to collapse
ah sorry forgot that s-off/on terms, i'm also have htc device, S-ON, but unlocked bootloader.
Sent from my iPad using Tapatalk
123386761 said:
Sorry, in [HTC One V] terms, S-Off not only requires the bootloader to already be unlocked, but then you can also edit the boot, radio and other partitions that are still locked while the bootloader is unlocked.
And that phone number is very helpful, thanks! I'll have to test it Wednesday, when my phone is supposed to arrive
And about building TWRP, I'll do it. I've built several pieces of software for my previous phone, aaaaand I hope it's the same process LOL
Click to expand...
Click to collapse
You've had a One V? Cool, there's one in the family, still stock, of course.
I think the radio and stuff can be changed even when the bootloader is locked , using Flashtool to flash the firmwares in flash mode. [citation needed] At least the baseband can be changed easily, probably other stuff too.
TWRP has been built for CM10 (actually it's a dual recovery; both CWM and TWRP) by hsr0. Others have been built too, but since our phones have no recovery image, the recovery has to be built into the kernel, and this is the most stable CM10 kernel, I recommend this one. Not sure if there's a stock TWRP, though.
NSDCars5 said:
You've had a One V? Cool, there's one in the family, still stock, of course.
I think the radio and stuff can be changed even when the bootloader is locked , using Flashtool to flash the firmwares in flash mode. [citation needed] At least the baseband can be changed easily, probably other stuff too.
TWRP has been built for CM10 (actually it's a dual recovery; both CWM and TWRP) by hsr0. Others have been built too, but since our phones have no recovery image, the recovery has to be built into the kernel, and this is the most stable CM10 kernel, I recommend this one. Not sure if there's a stock TWRP, though.
Click to expand...
Click to collapse
So from this info I'm guessing you're a major developer for this phone?
Just a note- I plan on unlocking the bootloader as soon as I get the phone, so I don't lose any personal data stored on it
123386761 said:
So from this info I'm guessing you're a major developer for this phone?
Just a note- I plan on unlocking the bootloader as soon as I get the phone, so I don't lose any personal data stored on it
Click to expand...
Click to collapse
LOL, no. I've just started my first project, and hardly anybody here knows what it is.
Before unlocking your phone's bootloader, be sure to root it (many guides to root it with a locked bootloader here) and backup the TA partition: this partition has some DRM keys that are removed once you unlock the bootloader. I'm not sure what they do, but you can check whether the DRM keys are there or not, so if you take it to Sony, you can reflash TA, unroot, and they'll honour the warranty.
NSDCars5 said:
LOL, no. I've just started my first project, and hardly anybody here knows what it is.
Before unlocking your phone's bootloader, be sure to root it (many guides to root it with a locked bootloader here) and backup the TA partition: this partition has some DRM keys that are removed once you unlock the bootloader. I'm not sure what they do, but you can check whether the DRM keys are there or not, so if you take it to Sony, you can reflash TA, unroot, and they'll honour the warranty.
Click to expand...
Click to collapse
Oh okay this is good info! Thanks!
**EDIT** should I root, THEN backup the TA partition?
Thanks!
123386761 said:
Oh okay this is good info! Thanks!
**EDIT** should I root, THEN backup the TA partition?
Thanks!
Click to expand...
Click to collapse
Yes.
And also make sure,you've got a few ftf files.
In case you want to know in HTC terms: FTFs are like RUUs, but safer to flash - so much that we've been using Xperia E dual's FTF files on the Xperia E single.
NSDCars5 said:
In case you want to know in HTC terms: FTFs are like RUUs, but safer to flash - so much that we've been using Xperia E dual's FTF files on the Xperia E single.
Click to expand...
Click to collapse
Cool this is exactly what I'm looking for. Now I feel safe to unlock the bootloader and root
Okay, got the phone in yesterday, and after a LONG night of downloading all the necessary files, I am about to use flashtool to root my phone
**EDIT** ... sitting in homeroom at school hoping to get this done before class, and realize I don't have an android USB cable on me :l
123386761 said:
Iam about to use flashtool to root my phone
Click to expand...
Click to collapse
To flash the kernels, I assume? Just asking to be sure.
123386761 said:
and realize I don't have an android USB cable on me :l
Click to expand...
Click to collapse
:banghead: Didn't you get one with the phone?
Well, have a nice day!
Sent from a bad phone
Yeah I got one for the phone, but I was rushing out of the house lol
Sent from my C1504 using xda app-developers app
Well this sucks. Apparently Windows 8.1 has issues with connecting Sony devices. Probably just install W7 for a dual boot... but thanks a lot Microsoft! Making me go out of my way to root my phone :l
123386761 said:
Well this sucks. Apparently Windows 8.1 has issues with connecting Sony devices. Probably just install W7 for a dual boot... but thanks a lot Microsoft! Making me go out of my way to root my phone :l
Click to expand...
Click to collapse
Don't worry; I feel the same way - my Nexus's fastboot drivers work awesome, but Sony's drivers seem to have problems in 8.1. I need to use another PC for this (no other Windows 7 license around)...
NSDCars5 said:
Don't worry; I feel the same way - my Nexus's fastboot drivers work awesome, but Sony's drivers seem to have problems in 8.1. I need to use another PC for this (no other Windows 7 license around)...
Click to expand...
Click to collapse
Ugh. I hate it when things don't support each other. Might just do this at school, they run Windows XP XD
123386761 said:
Ugh. I hate it when things don't support each other. Might just do this at school, they run Windows XP XD
Click to expand...
Click to collapse
You know, I've been liking you (and a couple of other forum members) more and more, as I read your (and their) posts.
Another tip: don't, ever let the battery level on your phone go down below 15%. Because when the battery goes down to 0%, it's pretty difficult to wake it up - I just had to wake up mine.
NSDCars5 said:
You know, I've been liking you (and a couple of other forum members) more and more, as I read your (and their) posts.
Another tip: don't, ever let the battery level on your phone go down below 15%. Because when the battery goes down to 0%, it's pretty difficult to wake it up - I just had to wake up mine.
Click to expand...
Click to collapse
Thanks! And I've already been at 8% once >_>... I just let it charge overnight, like I do every night. Now it's back to normal
Downloading Windows 7 now, 90% done. Will post results after installation of OS + Android SDK + phone drivers :l

Soft bricked Tipo

Hi there,
1. I am fed up of my Tipo's lagging touch (responding after half an hour, miscaliberation). I update the firmware using Sony companion and tried to install one of the Jelly Bean roms on the stock ICS using CMW. It some how soft bricked my phone. Can any one tell the reason?
2. With lot of effort I installed the stock ST21a 11.0.A.4.22 Sony Generic kernel (using Flashtool). It is same laggy and miscaliberating. Did I not reformat, similar to PC? shouldn't it be fresh and new ?
3. I am not trying to install JB rom. What is the correct way to install? Should I worry about any seperate parts like Kernel?
4. To install JB rom (Paranoid Android) I tried to root the device, but the flash tool says "no root exploit for this version". If i cant root. I cant install CMW. I cant install frest rom. Is there any other way to install ROM?
I am stuck in the above points after my research, and will appreciate your help.
Thanks in advance
adithyavr said:
Hi there,
1. I am fed up of my Tipo's lagging touch (responding after half an hour, miscaliberation). I update the firmware using Sony companion and tried to install one of the Jelly Bean roms on the stock ICS using CMW. It some how soft bricked my phone. Can any one tell the reason?
2. With lot of effort I installed the stock ST21a 11.0.A.4.22 Sony Generic kernel (using Flashtool). It is same laggy and miscaliberating. Did I not reformat, similar to PC? shouldn't it be fresh and new ?
3. I am not trying to install JB rom. What is the correct way to install? Should I worry about any seperate parts like Kernel?
4. To install JB rom (Paranoid Android) I tried to root the device, but the flash tool says "no root exploit for this version". If i cant root. I cant install CMW. I cant install frest rom. Is there any other way to install ROM?
I am stuck in the above points after my research, and will appreciate your help.
Thanks in advance
Click to expand...
Click to collapse
First Of All Its CWM
Secondly You Should Try Locking The Bootloader And Reflash The ftf Or in PC Companion Click Update And Then Repair Phone
Re
Asingh18 said:
First Of All Its CWM
Secondly You Should Try Locking The Bootloader And Reflash The ftf Or in PC Companion Click Update And Then Repair Phone
Click to expand...
Click to collapse
Thanks a lot for the insightful post of two lines. Have already tried that. Can any one reply point by point. I want the answer more in perspective of learning than one time solution.
Thanks
OK I Got Your Back
adithyavr said:
Thanks a lot for the insightful post of two lines. Have already tried that. Can any one reply point by point. I want the answer more in perspective of learning than one time solution.
Thanks
Click to expand...
Click to collapse
FIRSTLY BACKUP THE IMPORTANT STUFF
Steps To Follow -
1. Download Flashtool (I'm Guessing You Don't Have That Yet)
2. Click On The Thunder Icon
3. Click Flashmode
4. There You Would Find A .ftf File Saying Device X10 Version V1 BRELock bla bla..Click OK
5. Then Take Out Your Sd Card And SIM Card And Using A USB Cable Connect Your Device While Pressing The Down Button
6. If You See A Green LED Flash On Your Phone Just Wait Until It Flashes
7. After flashing Is Complete Let Your Phone Reboot
8. Then Attach Your Device To Your PC
9. Go to PC Companion And Press Update Device
10. It Would Say You Don't Have An Update And Have An Option "Repair Phone"
11. Click On That Wait Until It Downloads And Updates
And Viola Your Phone Would Look Fresh As A New One
Asingh18 said:
FIRSTLY BACKUP THE IMPORTANT STUFF
Steps To Follow -
1. Download Flashtool (I'm Guessing You Don't Have That Yet)
2. Click On The Thunder Icon
3. Click Flashmode
4. There You Would Find A .ftf File Saying Device X10 Version V1 BRELock bla bla..Click OK
5. Then Take Out Your Sd Card And SIM Card And Using A USB Cable Connect Your Device While Pressing The Down Button
6. If You See A Green LED Flash On Your Phone Just Wait Until It Flashes
7. After flashing Is Complete Let Your Phone Reboot
8. Then Attach Your Device To Your PC
9. Go to PC Companion And Press Update Device
10. It Would Say You Don't Have An Update And Have An Option "Repair Phone"
11. Click On That Wait Until It Downloads And Updates
And Viola Your Phone Would Look Fresh As A New One
Click to expand...
Click to collapse
He said that he already tried that! Oh, and capital letters are just for the first word of a sentence and names. Not Like This.
@OP: have you tried this:
http://forum.xda-developers.com/xperia-j-e/themes-apps/apk-touch-issue-solved-t2068082
It's an .apk that let's you recalibrate your touch(official patch by Sony).
Hope that helps!
Mats
Sent from my Xperia E dual using XDA Premium 4 mobile app
MatsPunt said:
He said that he already tried that! Oh, and capital letters are just for the first word of a sentence and names. Not Like This.
@OP: have you tried this:
http://forum.xda-developers.com/xperia-j-e/themes-apps/apk-touch-issue-solved-t2068082
It's an .apk that let's you recalibrate your touch(official patch by Sony).
Hope that helps!
Mats
Sent from my Xperia E dual using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey man appreciate it
He said that he tried flashing the stock ftf i'm recommending him to use PC Companion
Asingh18 said:
Hey man appreciate it
He said that he tried flashing the stock ftf i'm recommending him to use PC Companion
Click to expand...
Click to collapse
Yeah, but those two have the same effect. Repairing with PC Companion is exactly the same as flashing a .ftf. And if that didn't work, PC Companion won't.
Mats
Sent from my Xperia E dual using XDA Premium 4 mobile app

[Q&A][Root]Rooting with Locked Bootloader - NO OTA Method

After much tampering I managed to identify a procedure to root our phone(s) leaving the Stock ROM intact (addition of rooting apart, sure). This will remove the requirement to do an OTA update, which in the future could remove the rooting if any update will be available (Lollipop maybe?).
The process is very straightforward and has been tested in both OS X and Windows. Here it follows:
THIS SHOULD WORK FOR ALL XPERIA PHONES WITH KITKAT INSTALLED WHICH HAD A PREVIOUS ROM VULNERABLE TO TOWELROOT.
If your phone started with KitKat 4.4.4 or later and you want to keep the locked bootloader you may be doomed.​
GENERAL GUIDELINES:
Be sure to have the full FTF for the stock ROM you are currently running
Flash only the kernel of a ROM for your phone vulnerable to the Towelroot exploit unchecking the wipe checkboxes
Reboot the phone:
The phone will bootloop, but it doesn't matter. The Linux kernel and adb are alive and thus the "Towelroot" vulnerability is exploitable by rootkitXperia
Run rootkitXperia. After the rooting it should get stuck when trying to reboot the phone(*). Interrupt it with CTRL-C
Flash back the kernel for the ROM in your phone
Reboot the phone
Manually run the command to have the RIC permanently disabled:
Code:
adb shell "su -c /data/local/tmp/install_tool.sh"
(*) In some phones (Xperia Z?) rootkitXperia may not get stuck. If the phone reboots the rooting should be complete. Just flash back your original kernel and it should be done (untested).
The following section will explain in great detail every single step needed. It also includes all the links to the SW and procedures needed:
COMPREHENSIVE TUTORIAL:
PREPARATION:
Have your phone updated to the last ROM
Download Flashtool: link
Download rootkitXperia: link
Have adb installed: Suggested links: OSX/Linux - Windows
- Windows only: Install the phone drivers (probably using Sony PC Companion. I dunno, I don't use that Windows junk )
Enable the USB debugging: HowTo
In Settings/Security enable "Unknown sources"
Make it sure Flashtool/adb can connect to the phone: just try "adb shell" from the terminal.
Download a Jelly Bean stock ROM for YOUR phone: link for D2303
Otherwise for D2303 (but it is confirmed working with the M2 Aqua D2403 as well) you can use the attached FTF (kernel only)
From Flashtool download the FTF of your latest ROM (Menu "Devices/Check Updates" at least in OS X). Be sure to use the same ID
You may want to make a full backup using the Sony system app "Backup and restore" (or equivalent in other languages)
ROOTING:
Launch Flashtool in your Mac/PC
Power off the phone
While holding the Volume Down key connect the phone to the Mac/PC via USB
The phone top led should blink red and then green
Flashtool should report that the phone is connected in flash mode
Select the JB FTF of your choice (full RoM/kernel only).
In OSX Flashtool is glitched. You may need to select an FTF and then move upward with the arrow keys
Exclude all but the kernel. Uncheck the wipe checkboxes
Proceed with the kernel flashing . The blu icon with a thunder
After the flashing has terminated disconnect the phone from the USB
Start the phone:
This is the tricky part. Android now will bootloop. But we don't care, because the underlying Linux is well alive!! adb works and so it does the Linux kernel/OS.
And that is all we need, because rootkitXperia exploits the Towelroot vulnerability but without the need of launching the graphical interface. Just hurry a bit because it may or may not last forever.
Connect the phone via USB
From the terminal cd into the rootkitXperia directory
Launch the script: install.sh in OSX/Linux - install.bat in Windows
When the script gets stuck at the phone reboot terminate it (CTRL-C)
At this point, with the phone still in bootloop, you may check if the rooting has been successful. Just type the command:
Code:
adb shell "su -c id"
which should report
Code:
uid=0(root) gid=0(root) context=u:r:init:s0
If it doesn't something went wrong (it shouldn't).
DISABLE THE RIC (enable /system read/write):
Disconnect the phone
Power it off
Hold the Volume Down key and connect it to the computer
In Flashtool flash the kernel of your latest ROM.
Like before exclude all but the kernel, no wipe needed
Also there is an issue with 18.3.1.C.1.15 installed via PC Companion/Sony Bridge for Mac. One should flash (thus not excluding it) the "BOOTBUNDLE" as well as shown in this post
Disconnect the phone from the USB and reboot it
Connect the phone
Manually run the command:
Code:
adb shell "su -c /data/local/tmp/install_tool.sh"
Reboot and enjoy your rooted phone!
What to do next:
Press "Thanks!"
Backup your TA partition: link for OS X
Put a copy in your most favorite Cloud service (Dropbox/iCloud/Google Drive/Whatever). It's better be safe than sorry.
Update SuperSU binary and apk
Install adaway to get a rid of those annoying commercial
Anything else you rooted your phone for!
Unrooting/Recovery
You may need to use the OFF button near the SIM card slot if anything went wrong (like if you forgot to uncheck the wipe flags). That shuts down the phone. You would need a needle (or something very small) to push it. (**)
Flash with Flashtool the kernel and system from the ROM you previously downloaded to keep your data - or -
Rebuild the ROM with Sony Bridge For Mac/PC Companion
(**) Thanks to Vino Kulafu for the tip.
JB Kernel from the Xperia M2 D2303 FTF attached:
It's confirmed working with the following devices:
Xperia M2 D2303
Xperia M2 Aqua D2403
It's working
Miche1asso said:
After much tampering I managed to identify a procedure to root our phone(s) leaving the Stock ROM intact (addition of rooting apart, sure). This will remove the requirement to do an OTA update, which in the future could remove the rooting if any update will be available (Lollipop maybe?).
Click to expand...
Click to collapse
Yap, I have just test it and everthing is working fine. I was using Windows. And i could also update su binary without any problem. Thank you for sharing us this method which reduce a lot of wasted time.
Andrej732 said:
Yap, I have just test it and everthing is working fine. I was using Windows. And i could also update su binary without any problem. Thank you for sharing us this method which reduce a lot of wasted time.
Click to expand...
Click to collapse
Thanks for confirming!
BTW did you use the attached kernel?
Miche1asso said:
Thanks for confirming!
BTW did you use the attached kernel?
Click to expand...
Click to collapse
Yes, everything is fine.
Many thanks for this!
Successfully rooted Generic Philippine D2303 4.4.4 KK firmware, with full R/W access using the above instructions.
However, I suggest that the above steps be updated for clarity. Happy rooting guys; this is a much more convenient way to root, albeit complicated.
This should be moved to General section or Android Development section so people can see this thread easily.
:good:
Vino Kulafu said:
However, I suggest that the above steps be updated for clarity. Happy rooting guys; this is a much more convenient way to root, albeit complicated.
Click to expand...
Click to collapse
Do you mean to make a short version? I mean, as it is now it's a full guide, from A to Z. I was thinking about making a section with the 4-5 steps for the skilled users. Too bad I didn't think about reserving the second post. Is there any way to have it added? Otherwise I'll put it in the bottom with a reference on the top.
EDIT: Added a generic procedure on the top.
This should be moved to General section or Android Development section so people can see this thread easily.
:good:
Click to expand...
Click to collapse
yeah, I was thinking about making a thread there pointing to this one as well. The process is quite generic, although I think in the Xperia Z rootkitXperia does reboot the phone disabling the RIC.
No need to make a short version, my friend; it's good enough. Here are some suggestions though:
1. I think the portion about holding the up volume key is wrong since it boots the phone into fastboot mode while we need to go to flash mode.
2. Kindly stress the importance of unchecking the wipe checkboxes in flashmode. If not unchecked, you could end up with a bootlooping phone wherein the root kit will not function since the adb debug setting has been reset, which leads to #3.
3. Make use of the OFF button near the sim card slot when faced with the situation described in #2. Just flash back the original kernel and repeat.
My experience was this:
I didn't wait for reboot; I cancelled the procedure when it hung in the reboot part. Then I shut the phone off using the OFF button near the sim card slot, then flashed back stock KK kernel only. Afterwards, I proceeded to the disabling RIC then reboot again. Presto, all is well.
:laugh:
Vino Kulafu said:
No need to make a short version, my friend; it's good enough. Here are some suggestions though:
1. I think the portion about holding the up volume key is wrong since it boots the phone into fastboot mode while we need to go to flash mode.
2. Kindly stress the importance of unchecking the wipe checkboxes in flashmode. If not unchecked, you could end up with a bootlooping phone wherein the root kit will not function since the adb debug setting has been reset, which leads to #3.
3. Make use of the OFF button near the sim card slot when faced with the situation described in #2. Just flash back the original kernel and repeat.
My experience was this:
I didn't wait for reboot; I cancelled the procedure when it hung in the reboot part. Then I shut the phone off using the OFF button near the sim card slot, then flashed back stock KK kernel only. Afterwards, I proceeded to the disabling RIC then reboot again. Presto, all is well.
:laugh:
Click to expand...
Click to collapse
Ok, let me see:
1. Crap. I always get confused. It is Volume down, then, I just checked. I'll fix it.
2. Oh, I didn't think it could get so bad. I just unchecked the boxes to avoid to lose my data.. Well, yes, thinking about that it makes sense now.
3. I'll add it. Thanks.
As i know, with Locked bootloader even if you hold volume up (+ button) it will reject the connection with phone. Otherwise great guide and you should contact someone of moderators to move this in General section.
Thanks
Xperia M2 D2303 on K.K. 4.4.4
how the Xperia M2 Aqua (D2403) ?
Is there a solution root for D2403 with locked bootloader ?
sorry bad my language
Dzepar said:
As i know, with Locked bootloader even if you hold volume up (+ button) it will reject the connection with phone. Otherwise great guide and you should contact someone of moderators to move this in General section.
Thanks
Xperia M2 D2303 on K.K. 4.4.4
Click to expand...
Click to collapse
No, no. One just needs to hold Volume Down. WIth the locked bootloader we can flash all FTF we like as long as they are from Sony.
I also made a new thread in the general section just with the "General Guidelines" also pointing to this one. But thanks.
Actually it made the portal!
i_1 said:
Is there a solution root for D2403 with locked bootloader ?
sorry bad my language
Click to expand...
Click to collapse
If it had a Jelly Bean ROM just download the FTF (don't ask me from where) and follow this guide.
sorry .. no I do not understand
after successful with rootkitxperia , so need to flash back stock kernel before?
Yes, you need flash back stock KK kernel. After doing that, the phone should boot properly. Then you can proceed to disabling the RIC module steps.
Why is this?
anyone can help ?
sorry
i_1 said:
anyone can help ?
Click to expand...
Click to collapse
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:
i_1 said:
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:
Click to expand...
Click to collapse
Help me please i have same phone like you i dont have kernel but have the firmware for 2403
i_1 said:
sorry I'm not as thorough with his files ...
now xperia M2 Aqua (D2403) has been rooting with locked bootloader on KitKat 4.4.4
Thank you Miche1asso with this awesome work ...:good::good::good:
Thank you also for Kulafu Vino has helped me with explanation...:good::good::good:
Click to expand...
Click to collapse
You're welcome!
So, let me understand: did you flash my attached JB kernel for the M2 D2303 in the M2 Aqua D2403? I'd like this to be confirmed so in the case I will add it to the guide.
Miche1asso said:
You're welcome!
So, let me understand: did you flash my attached JB kernel for the M2 D2303 in the M2 Aqua D2403? I'd like this to be confirmed so in the case I will add it to the guide.
Click to expand...
Click to collapse
Yes ... I'm using your D2303 JB kernel
---------- Post added at 01:20 AM ---------- Previous post was at 01:09 AM ----------
Postiga 41 said:
Help me please i have same phone like you i dont have kernel but have the firmware for 2403
Click to expand...
Click to collapse
Just wait for the later addition of tutorials from Miche1asso
Postiga 41 said:
Help me please i have same phone like you i dont have kernel but have the firmware for 2403
Click to expand...
Click to collapse
The kernel I attached in the main post works for the D2403 as well. I updated the guide confirming it. Download it and follow the instruction step by step.
After flashing latest kernel , phone just shows sony then blank screen...but adb can detect the device...
any fix??

Help please screen will not turn on

so basically, i was on the bus, when my screen suddenly shut off on me.From that moment onwards, i could use the phone normally and the screen's backlight is on but there is nothing on screen. The screen will come back on for a few seconds if i lay the phone VERY still for a long time then try to turn it on, but it will still go black. Any suggestions on what to do?
Maybe kernel related?
Undervolting?
Be 100% honest with these answers, it will help me and others help you.
1) Is your bootloader unlocked?
2) If your bootloader is unlocked, have you installed a custom kernel?
3) If your bootloader is unlocked, have you installed a custom ROM?
4) Have you rooted your phone?
5) Have you ever dropped your phone?
6) What version of the OS are you on?
7) Is this a recent problem or an old one?
gamer649 said:
Be 100% honest with these answers, it will help me and others help you.
1) Is your bootloader unlocked?
2) If your bootloader is unlocked, have you installed a custom kernel?
3) If your bootloader is unlocked, have you installed a custom ROM?
4) Have you rooted your phone?
5) Have you ever dropped your phone?
6) What version of the OS are you on?
7) Is this a recent problem or an old one?
Click to expand...
Click to collapse
1.yes
2.yes
3.no
4.yes
5. yes but it was a looong time ago
6. UK customised 32.1.A.1.63 6.0 marshmallow
7. recent issue
Have you undervolted?
Sent from my Xperia Z5 using XDA Labs
Switch it off with the button inside the sd card slot
Sent from my E6653 using Tapatalk

Bootloader Unlocked - Camera not working - DRM patch anyone?

Hi everbody,
I've my device since 2 days and i'm looking for a solution to my problem : when i take a photo with the stock app, it shows me a green screen after the shutter :/
Of course i tasted all i can before this post : restore my device, Emme (not possible when bootloader unlock), ... Maybe if someone send me the original apk, i can install it and resolve my pb.
Hope someone can do it
Thx
Pretty sure this is the one you need.
http://www.apkmirror.com/apk/sony-mobile-communications/sony-camera/camera-sony-mobile-communications-2-0-0-release/sony-camera-2-0-0-4-android-apk-download/
It's the same version as I have.
jms.flynn said:
Pretty sure this is the one you need.
http://www.apkmirror.com/apk/sony-mobile-communications/sony-camera/camera-sony-mobile-communications-2-0-0-release/sony-camera-2-0-0-4-android-apk-download/
It's the same version as I have.
Click to expand...
Click to collapse
Thanks for your reply ! Unfortunately, it's "corrupted" (i'm french, sorry for my english)
I made a test with other apps and it works... But not Sony camera
Today, Emma detects my device and software is downloading new version (1309 vs 1306). Crosse my fingers to resolve my pb with this !
Nikom69 said:
Today, Emma detects my device and software is downloading new version (1309 vs 1306). Crosse my fingers to resolve my pb with this !
Click to expand...
Click to collapse
Probably won't but fingers crossed - This looks like something that happens when you unlock bootloader. Some functions might get disabled (it's usually only the advanced camera functions such as noise cancelling, but on my X camera was only showing green). Try the Emma dev version - should work (should give you at least some functionality), or wait for a kernel to be developed.
As a cautionary tale, it's way too early for BL unlock where there is No dev support. This release is just too recent. Personally, I'll wait for tested root methods and hopefully a TA backup solution.
Do you know where I can find Emma dev version ?
Coz you're right : it didn't work...
Nikom69 said:
Do you know where I can find Emma dev version ?
Coz you're right : it didn't work...
Click to expand...
Click to collapse
Download the EMMA from sony website. As soon as it detects your unlocked bootloader it will automagically download the latest dev fw version - customization is outside of what xperiafirm offers and it should work. Should. I'm still waiting for my phone to be delivered so I can't help you further than that. I just know it works for terrible failures.
In any case, a kernel that addresses the DRM content functionality is probably weeks away weeks away. Maybe relocking the bootloader will help? Could restore partial camera functionality, instead of a green screen.
Again, I'm coming with ideas under a huge maybe but you should give it a try.
Sebi673 said:
Download the EMMA from sony website. As soon as it detects your unlocked bootloader it will automagically download the latest dev fw version - customization is outside of what xperiafirm offers and it should work. Should. I'm still waiting for my phone to be delivered so I can't help you further than that. I just know it works for terrible failures.
In any case, a kernel that addresses the DRM content functionality is probably weeks away weeks away. Maybe relocking the bootloader will help? Could restore partial camera functionality, instead of a green screen.
Again, I'm coming with ideas under a huge maybe but you should give it a try.
Click to expand...
Click to collapse
i think for the moment relocking bootloader is the best... but how ? Could you (or someone) help me step by step ?
In flashtool / Emma the "volume down + plug usb" isn't working, so i have only fastboot command...
Nikom69 said:
i think for the moment relocking bootloader is the best... but how ? Could you (or someone) help me step by step ?
In flashtool / Emma the "volume down + plug usb" isn't working, so i have only fastboot command...
Click to expand...
Click to collapse
It should be working although you need to install the drivers without Enforcing Driver signature.
To do that you need to restart your PC while holding the Shift key. Shift, click restart and a 'new' screen will appear asking you how do you want to restart. go through the menus till you see the F1-12 options. As far as I remember F7 is the one that disables driver signature enforcement. After that PC should restart normally but without that thingy. Once restarted go to flashtool folder - drivers - and install the drivers - click allow everywhere and voila, drivers are set. From there on, you should see the phone as connected. Emma should also work.
hrs a vid of how to custom restart https://youtu.be/71YAIw7_-kg?t=1m1s
Sebi673 said:
It should be working although you need to install the drivers without Enforcing Driver signature.
To do that you need to restart your PC while holding the Shift key. Shift, click restart and a 'new' screen will appear asking you how do you want to restart. go through the menus till you see the F1-12 options. As far as I remember F7 is the one that disables driver signature enforcement. After that PC should restart normally but without that thingy. Once restarted go to flashtool folder - drivers - and install the drivers - click allow everywhere and voila, drivers are set. From there on, you should see the phone as connected. Emma should also work.
hrs a vid of how to custom restart https://youtu.be/71YAIw7_-kg?t=1m1s
Click to expand...
Click to collapse
After doing all things... same issue ! In FlashTool driver setup, i didn't find exactly xzp drivers... so i install all to make a test and this is what i had :
Nikom69 said:
After doing all things... same issue ! In FlashTool driver setup, i didn't find exactly xzp drivers... so i install all to make a test and this is what i had :
Click to expand...
Click to collapse
You just need the generic adb drivers. but if they're not working try those. https://developer.sonymobile.com/downloads/drivers/xperia-xz-premium-driver/ Although flashtool might not be compatible. I can't confirm this since I'm still waiting for my phone to be delivered. Soon this should be populated, is where you can find a custom kernel that restores DRM functionality https://kernel.andro.plus/yoshino.html
In Windows, my device with green led (volume - and plugged) => SOMC Flash Device. If i click on "upgrade drivers" and go in Sony Driver folder, windows tells me my driver is up to date.
I certainly forget or loose something, but it's the first time i have pb with any device since 10 years !! :/
DRM patch?
@FartyParty @kemod @AndroPlus
Hey guys, can you please help @Nikom69 with his DRM issue?
He unlocked BL and has no camera functionality - green screen. He flashed the FW with EMMA and still no camera. And flashtool isn't working. I did my best to help him but I'm still waiting for my phone to arrive.
So do you have a working DRM patch or something to get him at least basic camera functions back? I told him to wait for AndroPlus Kernel but maybe there's a quick fix or a different idea.
Sebi673 said:
...He unlocked BL and has no camera functionality - green screen. ...
Click to expand...
Click to collapse
Unfortunately no, I experienced the same and also posted this issue on another thread hoping that someone won't repeat my mistake
https://forum.xda-developers.com/showpost.php?p=72645858&postcount=19
It seems like all proprietary post processing is no longer functional after bootloader unlock, but video still work to some extent and you can still use the camera only in manual mode with ISO 100 and all features off (which is useless). My Sony XZP just turn into an expensive and beautiful "worse than AOSP phone" right now. I really hope someone could have a solution to this, heck I even willing to pay for it.
Yes, unlocking the bootloader destroys the drm-keys and disables stuff.
The keys are gone, warranty gone, no amount of flashing this or that will restore anything.
Relocking the bootloader will NOT restore drm-keys because they are gone FOREVER.
Just wait for a custom kernel with drm-fix included and the camera will work again.
How were you even able to unlock the bootloader if you can't get flashtool to work?
FartyParty said:
Yes, unlocking the bootloader destroys the drm-keys and disables stuff.
The keys are gone, warranty gone, no amount of flashing this or that will restore anything.
Relocking the bootloader will NOT restore drm-keys because they are gone FOREVER.
Just wait for a custom kernel with drm-fix included and the camera will work again.
How were you even able to unlock the bootloader if you can't get flashtool to work?
Click to expand...
Click to collapse
That's simple - Fastboot commands. I'm receiving my XZp today but now I'll think twice and wait for the Androplus.
I was thinking for bootloader relock - cause on my Xperia X after relocking camera was working to some extent, but its not the case here..... Anyway if you think of something write it here. He'll be happy for any solution you find. I know how it feels to go from flagship to brick in under 3 seconds so he's got my full support :laugh:
Sebi673 said:
That's simple - Fastboot commands. I'm receiving my XZp today but now I'll think twice and wait for the Androplus.
I was thinking for bootloader relock - cause on my Xperia X after relocking camera was working to some extent, but its not the case here..... Anyway if you think of something write it here. He'll be happy for any solution you find. I know how it feels to go from flagship to brick in under 3 seconds so he's got my full support :laugh:
Click to expand...
Click to collapse
So he managed to unlock bootloader with adb fastboot but adb flashboot doesn't work?
If he were able to flash twrp he could just flash drm-fix etc.
But eh, just gotta wait a little.
FartyParty said:
So he managed to unlock bootloader with adb fastboot but adb flashboot doesn't work?
If he were able to flash twrp he could just flash drm-fix etc.
But eh, just gotta wait a little.
Click to expand...
Click to collapse
Exactly, he needs the DRMfix, do you have it? Or should he wait for the kernel to come out. This Thread should be a cautionary tale for first timers so information is the key. :cyclops:
Sebi673 said:
Exactly, he needs the DRMfix, do you have it? Or should he wait for the kernel to come out. This Thread should be a cautionary tale for first timers so information is the key. :cyclops:
Click to expand...
Click to collapse
This is what I used on the Sony XZ, XZs
LINK
Nikom69 said:
Hi everbody,
I've my device since 2 days and i'm looking for a solution to my problem : when i take a photo with the stock app, it shows me a green screen after the shutter :/
Of course i tasted all i can before this post : restore my device, Emme (not possible when bootloader unlock), ... Maybe if someone send me the original apk, i can install it and resolve my pb.
Hope someone can do it
Thx
Click to expand...
Click to collapse
You have to flash the modified kernel with the drm patch.. The same thing happened in my XZs, got solved only after I flashed the modified kernel..

Categories

Resources