yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] dunc4n88:
Trying to start a first port of call for a General & Development Thread for these phones and to make things a little more organised so here we are links provided below a for a range of mods and development that's started and by the look of how it's going its gonna be really busy full of development :) so please be nice here and if you have any suggestions or tips or hints please feel free to add them in here for our fellow M/M Dual users and developers to see.

Links will be updated on a regular basis

Xperia M Regional Codes (provided by SharpnShiny)

http://xdaforums.com/showthread.php?t=2456622

Full Root for Xperia M (credits to xzn and team for this)

http://xdaforums.com/showthread.php?t=2457174

Root For c2004/2005 models (dual SIM) thanks ernvs

http://xdaforums.com/showthread.php?t=2477254 or http://xdaforums.com/showthread.php?t=2479359 guide by waledac

Stock firmware thread (by Doomlord) and Recovery Test (thanks to alivanov79 on page 12)

Firmware Version: 15.1.A.1.9

customization ID: 1274-3888_IN

model: C1904

http://xdaforums.com/showthread.php?t=2410913

Stock Firmware 15.1.C.1.17 C1904 (Tutorial within thread on how to flash it and thanks to jeremarfil24)

http://xdaforums.com/showthread.php?t=2463870

Stock Xperia M Kernel (thanks n1kolaa)

https://github.com/n1kolaa/andorid_kernel_sony_Nicki

Full internal dump and stock kernel (thanks alvinhochun)

https://dl.dropboxusercontent.com/u/39080136/c1905/loop0p17.img

https://dl.dropboxusercontent.com/u/39080136/c1905/probably_stock_kernel.bin

Bootloader Unlocking (provided by Sony) *WARNING* Will erase everything on phone and set back to factory so backup apps etc

http://unlockbootloader.sonymobile.com

AOSP File/Build by Sony of first firmware

http://developer.sonymobile.com/dow...ves/open-source-archive-for-build-15-1-a-1-9/

Thanks to cian for sharing the links and thanks to jeremarfil24 for these mods

Honami Settings For Xperia M

http://xdaforums.com/showthread.php?p=46042519

Honami SystemUI for Xperia™ M

http://xdaforums.com/showthread.php?p=46042247

Stock kernel with cwm recovery (thanks to alvinhochun)

http://xdaforums.com/showthread.php?t=2480556

Tool to add CWM recovery to any kernel including Xperia M(thanks to alvinhochun)

http://xdaforums.com/showthread.php?t=2481864

Few links for Mods and guide to flashing 4.2.2 dual SIM firmware to c1904/1905 and rooting guide (thanks to jeremarfil24)

http://xdaforums.com/showthread.php?p=46427950

Sent from My Sony Xperia M C1905
[Sony Xperia M] ariw182:
Good thread, there's a lot tutorial out there for xperia M
[Sony Xperia M] dunc4n88:
I've currently just removed full root from my phone as I noticed stamina mode was not working so it was either the root or busybox or possibly the rootfix not 100% sure if this was the cause but I've reverted back to factory and stamina is now working

Thought I would share this info
[Sony Xperia M] n1kolaa:
i shered xperia m kernel on github! https://github.com/n1kolaa/andorid_kernel_sony_Nicki
[Sony Xperia M] cian hackett:
Not my work but i found these too,

Honami Settings For Xperia M

http://xdaforums.com/showthread.php?p=46042519

Honami SystemUI for Xperia™ M

http://xdaforums.com/showthread.php?p=46042247
[Sony Xperia M] ariw182:
What do u mean? My stamina mode still work after root and remount reboot fix, u mean estimated time? If so the estimated time always recalibrated depend user usage time

Sorry for my bad englisj
[Sony Xperia M] dunc4n88:
I've re-rooted the phone now just me thinking it wasn't working but after re-root it does still work, im glad the system dumps are coming in mine failed dumping to sdcard and havent had time to try through adb
[Sony Xperia M] alvinhochun:
Oh I am such an idiot... the initrd is just also inside the boot partition...

Found yet another gzip magic number at 0x55aadc, so extract it:

$ tail -c +5614301 loop0p17.img |gunzip > second.bin

gzip: stdin: decompression OK, trailing garbage ignored
$ file second.bin
second.bin: ASCII cpio archive (SVR4 with no CRC)

So here is the CPIO file: https://dl.dropboxusercontent.com/u/39080136/c1905/initrd.cpio

The ramdisk content in tar format if you need: https://dl.dropboxusercontent.com/u/39080136/c1905/initrd.tar

I believe this is enough to build a bootable image for fastboot for unlocked bootloader, isn't it?
[Sony Xperia M] dunc4n88:
Just a thought for cwm recovery what about trying to use ROM Manager to install cwm recovery, would this work?

Edit

Doesn't work just tried
[Sony Xperia M] monster.kancut:
For the recovery, i think this link (http://xdaforums.com/showthread.php?t=2075562) will be useful :silly:

and since our device's specs are almost identical with xperia L which gets CM 10.2 (cmiiw), i think there is a chance that xperia L's CM 10.2 can be ported to our device, we just need an experienced developer who want to help or a noob who want to learn :silly: huehuehhehuhe
[Sony Xperia M] gavanid:
DPI

Hi,

I was wonering if i could change the Dpi in the prop build??

And is there going to be a Full Thread for Xperia M? (please)

My Phone-Xperia M

Build-15.1.B.0.2

Status-Unlocked/Rooted :)

Loads of Apps removed (184 Remaining)
[Sony Xperia M] dunc4n88:
Hi and welcome, there are requests put in for a thread but nothing yet so I made this one to try and organise things abit,

Dpi probably could be changed in build prop, look for the line that has dpi in it and change the value can't remember if it's the higher their value the more smaller the screen goes but back up your build prop before editing it try rom toolbox to edit the build prop, also did you do a full root with the root fix after installing busybox?
[Sony Xperia M] gavanid:
DPI

There is no DPI in the prop build but it doesn't matter

the dpi is at 240 anyway. i used the android hardware info app to find all info

:)
[Sony Xperia M] alvinhochun:
OK, so I've been trying to boot/reflash the dumped stock kernel as a test, but all I've got is failure. Here're some notes I've taken:

About the kernel cmdline:

About attempting to use `fastboot boot` to boot the dumped kernel (may be invalid, so if someone want to try it just try):

About attempting to flash the dumped kernel back to the device:

Can anyone help me?
[Sony Xperia M] dunc4n88:
When I check for updates on my phone via pc update service it tells me to connect phone with volume down pressed for fastboot have you tried that? But the led doesn't go blue it flashes red then Amber when I do it could this be flashmode on these devices?
[Sony Xperia M] Droidlover123:
Yes this is flash mode!
[Sony Xperia M] Shkerzy:
Are you checked this? http://xdaforums.com/showthread.php?t=2334045 :confused:

As I saw through fastboot can flash only .img not .elf image file
[Sony Xperia M] alvinhochun:
Boot image with CWM recovery (need to be flashed, unlocked bootloader only)

http://xdaforums.com/showthread.php?t=2473813
[Sony Xperia M] dunc4n88:
Fantastic it's a start for the development of this phone I'm glad just need to try and find a way for a clean one hopefully soon

And again fantastic job mate
[Sony Xperia M] ramprasad5394:
Well done guys.! tested on c1904 and it works (with the bugs mentioned ofcourse :P)
[Sony Xperia M] alvinhochun:
Wait, before you tried that did you made a dump of the boot partition? I wanted to see if the C1904 uses the same kernel as C1905 or what.

But if you didn't and it just worked, I may as well just assume they should be the same, because Sony only provided one set of kernel source which I assume should be the same for both devices. Can you still use mobile data and dial as normal? Is everything else normal?

BTW, many thanks for actually trying on the C1904. :good:
[Sony Xperia M] ramprasad5394:
everything works including mobile data! and yea the kernel should be the same for both versions
[Sony Xperia M] darekesp:
Hi any solution for bluish photos and camera ??
[Sony Xperia M] dunc4n88:
Yeah Sony fixed that with the latest C firmware are you on A or B? Goto settings and about phone at the bottom the firmware version is there
[Sony Xperia M] darekesp:
15.1.C.1.17 but still the same problem
[Sony Xperia M] dunc4n88:
Hmm strange from what I've read is that it had been fixed in that firmware, mine has the blue tint aswell but I'm in the B version no updates yet in UK for the latest, I'll have a look on Sony support forum as its mentioned alot on there so there might be some info
[Sony Xperia M] xzn:
can anyone that have bluish tint problem take a sample photo???
[Sony Xperia M] cian hackett:
Here are some i took over the past while with the latest firmware installed. It seems the bluish tint is more extreme in cases of low light though it is still evident in well lit images when looked at on a hi res display rather than on your phone.

Very very blue, dublin city at dusk. Not blue at all in real life, this is the most extreme example iv seen so far

`

Dublin Bay, daytime photo outdoors on a bright yet overcast day, sun shining through the clouds has created a dramatic effect, however these clouds are grey very grey even the sea was grey, the foreground was green, there was no blue anywhere but in the photo.

A canal in the sun, the bright light has blown out the highlights leaving some blue shadows, also note the blue in the water, this was not blue in real life,
[Sony Xperia M] darekesp:
Sad but true the pics are terrible on my RAY photos are amaizing but Xperia M can't do this. Maybe anyone can port cybershot mod for our Xperia M ??
[Sony Xperia M] ernvs:
Ummm, don't get me wrong, but did you remove the tiny blue (!) protection-foil of the lens? Just in case...;)

Sent from my GT-p6800

PAC-Man ROM 4.2 Milestone1
[Sony Xperia M] cian hackett:
Yes yes i did, however these are the worst four photos from the past month or so of use/ the photos that show the blue hue the most.

I could possibly prove this using other cameras for comparison taking the same shot and comparing the rgb values of each photo if we know the precise incorrect amount of blue perhaps a fix can be found though i have no idea how this could be implemented.

It could also be sonys camera app. i wonder what a comparison between photos took with say focal and the stock app would be like.
[Sony Xperia M] icoolguy1995:
I will try my hand on cybershot, and you all should try PRO HDR it gives nice images than stock.
[Sony Xperia M] xzn:
lol, think this is global problem of xm

i just take a photo few minutes ago

in sunlight some plant even looks dark, and little bit of purplish in cloud border

i hope this problem not from camera hardware
[Sony Xperia M] dunc4n88:
C2005 firmware flashed onto c1904 and works with no problems

http://xdaforums.com/showthread.php?p=46387082
[Sony Xperia M] darekesp:
But it's for dual sim not for C1905 propably GSM band it's other that Europe and Asia and USA

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] xzn:
but its tested and work perfectly in single

only one bug which clearly can't be fixed, that is dual sim feature :D
[Sony Xperia M] darekesp:
Camera it's terrible Can't shot Pictures its strange Pictures are noised blurred

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] icoolguy1995:
Can u post some ss of status bar?
[Sony Xperia M] darekesp:
Status bar of my Phone?

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] icoolguy1995:
Yes, but only if you are on 4.2.2
[Sony Xperia M] darekesp:
I hale 4.1.2 xperia M have 4.2.2??

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] icoolguy1995:
I am posting A NEW KERNEL for Xperia M in few hours can anyone here test it for me cause i dont have my mobile with me if any one is interested send me a PM.
[Sony Xperia M] darekesp:
I have locked bootloader and I must giving on warranty my earspeaker it's broken so I Can't help U

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] alvinhochun:
Well, after knowing how stupid I am, I finally made the make target to combine the kernel, ramdisk and CWM recovery together, so I think I can help you test it a bit, and also help you pack CWM to your kernel.

You can send me a link of it and tell me the special things (e.g. toolchain, modifications) about your kernel :)

---------- Post added at 07:11 PM ---------- Previous post was at 06:40 PM ----------

I've built a new CWM release here: http://xdaforums.com/showthread.php?t=2480556
[Sony Xperia M] jereMarfil24:
Here is Z1 Themes for Xperia M !!

Here is Z1 On-Off Widgets !!

Guide to Install 4.2.2 in Xperia M Single And Dual !!

Guide to Root 4.2.2 for Xperia M Single And Dual !!

More are coming soon
[Sony Xperia M] darekesp:
Xperia M get 4.2.2 ??? When ?! It's official in PCC I have nothing information. What's new ??
[Sony Xperia M] alvinhochun:
I made a tool for everyone to pack CWM into any Xperia M kernel:

http://xdaforums.com/showthread.php?t=2481864
[Sony Xperia M] dunc4n88:
It's the 4.2.2 firmware that comes on the m dual it can be flashed onto the m single with no problems apart from 2nd SIM
[Sony Xperia M] darekesp:
Any info about 4.2.2 for xperia m single sim or kitkat?

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] dunc4n88:
From what I've read Sony will be skipping the 4.2 and going to 4.3 jellybean early next year but not sure about kitkat yet
[Sony Xperia M] dunc4n88:
According to this it will get it 4.4

http://ipsmart.blogspot.co.uk/2013/09/sony-xperia-series-will-be-upgraded-to.html?m=1
[Sony Xperia M] jereMarfil24:
it will be great you will build cwm for locked boot loader ..

we are waiting for that :D
[Sony Xperia M] pranjaldixit:
Guys I unrooted my Xperia M. When I rebooted the phone it was stuck in bootloop. Then I pressed the power button and volume up key together and the phone booted. What could be the issue?
[Sony Xperia M] dunc4n88:
What steps did you do to unroot?

I've unrooted once and had to do factory reset, I uninstalled busybox first then supersu in app settings for full unroot then after rebooting the lag was unreal think it was something to do with the symlinks busybox creates when installed but after factory reset was fine, go into pcc/sus and repair the phone
[Sony Xperia M] pranjaldixit:
Hello, thank you for your reply.

Well i first uninstalled busybox by getting into the busybox app and clicking unistall option. Then went to framaroot and chose unroot and then gandam exploit. Well i have factory reset my mobile and now the problem seems to have gone away.
[Sony Xperia M] ramprasad5394:
high speed camera[silent]

can anybody test this cam in low light conditions. normal pix quality is better than stock.
[Sony Xperia M] ariw182:
4.2.2 firmware in dual sim can flashed to to xperia m single, tested and worked fine
[Sony Xperia M] xzn:
I also waiting for it :D

sent from c1905 with c2005 fw
[Sony Xperia M] darekesp:
Soft from xperia m dual have bluish photo ??
[Sony Xperia M] vinod.20r:
Some phones seem to be having it.. Most phones seem to have solved the problem after the firmware update.. I'm telling you this from the Sony Xperia site.. P. S. The firmware update also solved my overheating issues :D
[Sony Xperia M] vinod.20r:
Screenshots of 4.2.2 Jelly Bean on Xperia M Single Sim C1904

Screenshots of 4.2.2 firmware of Xperia M Dual C2004 [15.2.A.1.12] flashed on my Xperia M Single Sim C1904. Works nice and I'm experiencing no battery lag compared to single sim!! Screenshots of additional features also included.
[Sony Xperia M] icoolguy1995:
Here is the battery. Is it normal
[Sony Xperia M] ramprasad5394:
thats perfectly normal.

but i think the clock speed is going back to 972 MHz randomly. try running a full antutu benchmark. and then open the app u used to change CPU scaling and check the CPU speed.

for me it changed to 972 after a benchmark or a restart!
[Sony Xperia M] icoolguy1995:
Which app u r using to set freq?

And in next release i will set 1.5ghz as default.
[Sony Xperia M] ramprasad5394:
used all three. same result. no frills. setcpu. cpu master
[Sony Xperia M] icoolguy1995:
Hmm i have tested the same using trickster mod app and i have run benchmark 2 times and it stays to 1.5 ghz u can check it.
[Sony Xperia M] ramprasad5394:
locked min max frequency using trickster mod. works now! :)
[Sony Xperia M] icoolguy1995:
I dont understand why you are getting this weird glitch.

I have used no fills cpu and set max freq to 1.5ghz with intellidemand now it goes to 1.5 whenever there is a need of it any way new build coming soon with compiled with linario toolchain and more stuff added.

Sent from my Xperia Keyboard
[Sony Xperia M] ramprasad5394:
no idea! it works for now . let's check v2.:)
[Sony Xperia M] vinod.20r:
Hey thanks for the kernel.. :) Can you please post a guide too? I mean my earlier phone (Xperia U) was rooted and had bootloader unlocked.. Must have flashed different roms hundreds of times.. But this one's a new one.. So a guide would be really helpful.. :)
[Sony Xperia M] icoolguy1995:
There are 3 ways to unlock bootloader

1) is the official way!

2) unlock by flashtool.

3) unlock by fastboot.

Sent from my Xperia Keyboard
[Sony Xperia M] alvinhochun:
The official way is just using fastboot.

Flashtool has a graphical interface that uses fastboot.

So there is only one way to unlock bootloader: using fastboot.

No matter which tool you use you still need to get the unlock key from Sony.
[Sony Xperia M] agus_demonic:
Xperia M front cover

anybody know, how to open xperia M front case ?
[Sony Xperia M] ramprasad5394:
tried taking a nandroid backup with Cwm. it worked. ! but after restoring the backup, everything in my phone was restored as expected. but lost gsm signal? the sim was detected but got no signal at all. anybody experienced this?
[Sony Xperia M] alvinhochun:
Why don't you reply to the CWM thread?

What if you reflash using SUS, then restore only the data partition?

Sent from my Sony Xperia M (C1905)
[Sony Xperia M] ramprasad5394:
there is a Cwm thread?! didn't know it.

and yeah that is what I did to fix it. :)

but what could possibly be the problem? :confused:
[Sony Xperia M] alvinhochun:
Yes, this one: http://xdaforums.com/showthread.php?t=2480556

If you don't have personal data in the system partition, would you mind uploading only the system pattition of the backup?

Sent from my Sony Xperia M (C1905)
[Sony Xperia M] ramprasad5394:
It will take forever with my 256 Kbps upload speed :\
[Sony Xperia M] darekesp:
After update to 15.1.C.1.17 XM single sim I have still bluish photo. Anyone know how fix it ? Someone after update the problem has solved. So what can I do to fix it?? Sony service it's finality but they on my country flash firmware again and it does not make sense. Please help me
[Sony Xperia M] prashh17:
Guys I am planning to buy xperia m dual.. but confused after seeing review regarding camera and bootloader unlock not allowed.. weather I should buy that?? Please suggest me if any of you using this phone
[Sony Xperia M] xzn:
for bootloader unlocking you can see for this

http://xdaforums.com/showthread.php?t=2484622

btw, i'm come from xperia mini,too. but mine is single not dual :laugh:
[Sony Xperia M] ramprasad5394:
anybody with swapped memory using SwiftKey? I get error to load language packs at every boot. and have to re download it. :-\
[Sony Xperia M] icoolguy1995:
Are you on 4.2.2?
[Sony Xperia M] ramprasad5394:
no . 4.1.2 only

i dont remember getting this previously.
[Sony Xperia M] jadgaon:
nice thread... keep up the work :good:

---------- Post added at 12:20 AM ---------- Previous post was at 12:16 AM ----------

SwiftKey is working completely fine with two lanuage packs enabled
[Sony Xperia M] dragoncartoon:
The tut installing 4.2.2 for Xperia M has been removed :(.
[Sony Xperia M] artlovesart:
a lot information on xperia m, thanks for the authors for the effort
[Sony Xperia M] GTAGAME:
So, i just read so many topics about how to swap the internal memory on 4.2.2. It seems that it's still impossible on Sonys 4.2.2?

Because i read that it should work on Samsung and other phones running 4.2.2 by editing the vold.fstab.
[Droid Ultra Q&A, Help & Troubleshooting] gotsaved289:
I found it once but got a replacement phone and cannot find how to use the recent apps key to double as a menu button can someone help me?
[Droid Ultra Q&A, Help & Troubleshooting] dfox123:
In the Display section of settings.
[Android Q&A, Help & Troubleshooting] jp-things:
Hi

I’m a baby user, nevertheless I would like to give suggestions and even to make a guide on this thread but I’m not able because new in this site and this answer is given me

Your user account may not have sufficient privileges to access this page

Now…. How can I bypass this block?

Thank for any answer!
[Android Q&A, Help & Troubleshooting] mihahn:
You can't bypass it as there's the 10 post rule ;)

Sent from my Nexus 4 running Android 4.3
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
Hi I was wondering if I need to supercid if I were to install a kernel like Elemental X because my bootloader is unlocked already via HTCdev and my Cid btw is Roger001. Would I have to supercid it still even if it's unlocked and could I s-off without supercid thank you
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
That's a bit confusing, are you asking two questions there? You don't need SuperCID to install a kernel. You must have SuperCID to get s-off.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
What i'm trying to ask is Do you need SuperCID for flashing the Elemental X Kernal? I have an unlocked bootloader with HTCDev Do I need SuperCID?
[AT&T, Rogers HTC One X, Telstra One XL] RollTribe:
No. But you may need to flash the boot.img... what's your hboot?
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
My hboot is 2.14.0000

evita pvt ship s-on RL

eMMC-boot
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You're s-on so you would need to flash the boot.img via fastboot after flashing a ROM or kernel. But, Elemental has an aroma installer so there is no boot.img within the zip. I believe you'd need to get s-off first, it's a good thing to have anyway. You need SuperCID to get s-off so make sure you're SuperCID before even trying the s-off process.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
How would i supercid with a ROGER001 CID i tried xfactor and it has all failed
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Use the hex edit method here:

http://xdaforums.com/showthread.php?t=2212737

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
Thanks for the help! It worked
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
I finished the superCID but when i do the s-off I can't seem to get pass adb shell chmod 744 /data/local/tmp
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Do you have developed options enabled and usb debugging enabled? Depending on what ROM you're on you also need to grant root access to adb.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
Yes I have developed options and usb debugging enabled i'm on the latest ViperXL rom i tried it again and when i put adb shell chmod 744 /data/local/tmp/soffbin3 it says /system/bin/sh: chmod744: not found
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Some people have reported having trouble getting s-off while on the Sense 5 ROMs, so you might need to change ROMs for it to work.

Also, it says the file isn't found, so maybe you entered the command correctly? Or you haven't extracted the zip into the adb/fastboot folder.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
I'm sure i typed the command correctly should i flash another rom? or its just sense 5 roms that i would have trouble getting s-off when i fastboot oem boot i got this error at the end

FAILED (status read failed (Too many links))

finished. total time: 6.461s
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
That "too many links" error is completely normal during this process. I'd suggest flashing an older Sense 4 ROM purely to get s-off.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] trichainz:
Okay which one do you suggest and is it possible to clean the previous rom? I had the clean rom 7.0 originally then i flashed ViperXL. Since I did that it took up more space right? Would i be able to delete clean rom 7.0 files and flashing a rom with a clean sd card?