yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Godlydevils:
Is anyone able to patch twrp using that dd if to dd of FOTAKernel command in terminal?

I get success 11 mb copied but after restart it's not there.....

Honestly I respect pecan's work, he really works hard and I'd never be able to do this much even if I could, but I really hate non-userfriendly steps

like for eg, it's always same steps for installing every rom

wipe data cache, flash rom and gapps, enjoy

he did mentioned to use twrp as it's better

but who will mention a complete steps?

like after getting done with 4.3 stock firmware using flashtool, reboot and flash twrp as cwm won't ever work, using flashtool even tho cucumber says not to do that way, but that's the only way to get work done and not to flash it again the same way but instead follow that link to how to install twrp

that step is missing

pecan mentioned that he has been using that rom for weeks, but he never mentioned that you won't get the phone working in first place as settings keeps on stopping

I was even confused weather to flash 7.0 gapps or 7.1, but offc we should use common sense, somewhere it was mentioned same for marshmallow to use ones for previous version

Why does he keeps on saying flash boot.img from rom, whereas everyone knows that does not work at all,

you do factory reset, then try wiping cache, you will clearly see log that wiping /data failed

Right now I flashed C1904_15.4.A.1.9_1274-3899_R4C.ftf

downloaded fresh using xperiafirm from flashtool

Flashed, boot to system, tick unknown source, enable usb debugging and allow my pc's RSA

reboot, flash twrp using fastboot from flashtool

flash just rom and pico gapps

settings stopped working

earlier that tried aroma, still failed

someone wrote to flash rom and boot then try flashing gapps, saw settings stopped working once and never again, but then what? how to flash gapps?

I can't get twrp as fotakernel using terminal

fired same command twice, getting success, but not working, seeing cwm recovery when I vol down to recovery

when I try to flash gapps using that cwm recovery, it says fail to find /misc and some more errors and then fails

someone did posted to flash that disable setup wizard.zip but then I'd like to know what's in there, how would I be able to restore the wifi passes and few data of whose options I don't find, I would really like to see tho what's up new in there

don't have a working cwm, can't get twrp, there's no way to install play store,

how did pecan tested that rom for weeks?
[Sony Xperia M] Nicklas Van Dam:
Sorry for cut out your whole chat, but that's too long so I don't want to waste this page chat.

Anyway are you've working recovery now? Like cm recovery or other? But exclude cwm recovery, I've flashable fota recovery that you can flash it with recovery from boot.img.

So this can help you to get fota recovery as long as you're not flash stock firmware again.

If you've it then I'll upload it for you, are you suspect what are pecancm said about "test in a week" :/

You can ask your problem in this thread or Q/A thread for cm14.1, we'll try to resolve it as long as we can. So don't worry, he already test it for stability and working feature in current ROM that he dev it now.

Beside that you can ask it here if you don't get it OK.

And some people too already upload that I think :)
[Sony Xperia M] PecanCM:
cwm part was leftover from cm11 thread, i updated that now "if you don't have twrp recovery installed then fastboot flash boot.img from rom zip, boot into recovery and then follow FOTA twrp recovery flashing instruction." but if anyone still want full complete step by step guide on how to install custom rom on xperia m then please someone make post here or create new thread for it.

i always test without gapps (you can see in screenshots). i know gapps are must need apps but they are still part of optional package also i remember last month someone mentioned in cm gerrit that they don't have crash with banks gapps (maybe there are more gapps packages that don't crash) and for gapps mess you can blame google.

and by the way if it's gapps no need to flash ftf, just restore your backup or if recovery problem you can always fastboot flash working recovery boot.img or even fastboot boot that image. as long fastboot is working no one one need to worry (if really needed i will upload system.img for fastboot flash)
[Sony Xperia M] Godlydevils:
I tried to do that twrp fotakernel using terminal

did that three times, back to back, says success, when I reboot, it's cwm always

so I was not able to flash gapps,

then I tried flashing room, gapps, and disable settings.zip from a previous post, that worked for me

but still I cannot get twrp, terminal method is not working, have this rom only fresh flashed again
[Sony Xperia M] Nicklas Van Dam:
Now what ROM that you're using it? Like I said before, if you've cm recovery maybe I can help you with flashable fota recovery. Its same use of dd method too.

Oh ya, on where did you try to install fota recovery? Try to install it on cm12 at least if I'm not wrong, cause fota recovery can't work with stock ROM :/
[Sony Xperia M] Zakaria.R:
It's odd how you guys are having problems, I flashed the rom yesterday and I accidentally booted into it without flashing gapps (no setup wizard showed up) right after it booted I went back to recovery mode and flashed gapps, now I have the rom, gapps and twrp 3.0.1
[Sony Xperia M] Nicklas Van Dam:
So you can get rid problem from error setup wizard from gapps?
[Sony Xperia M] PecanCM:
problem with cwm looks like old elf_ramdisk size problem (it's old recovery we can't do anything here) and are you using key combo to boot into recovery ? in that case don't forgot volume down is for boot.img recovery and volume up is for FOTA recovery.
[Sony Xperia M] Zakaria.R:
I haven't tried setting up my account for now because the m is my secondary device and I can't connect to Wi-Fi due to the number of devices at home, but it's worth a try for you,what I did is

1.flash rom.

2.boot.

3.go to recovery as soon as it booted.

4.flashed latest 7.1 Pico gapps.

Remember this was all by accident, but I hope it helps.
[Sony Xperia M] matrixex:
Awwwww

I CALMED MY SELF LONG ENOUGH FOR CM14

Finally its upppppppp , cool and thankssssss

Awwwww

I CALMED MY SELF LONG ENOUGH FOR CM14

Finally its upppppppp , cool and thankssssss
[Sony Xperia M] PecanCM:
doesn't look like it's possible to completely fix without source built camera hal, well there is another way (cameraserver again mixed into mediaserver, read more about nougat server changes if you haven't already) http://review.cyanogenmod.org/#/q/topic:legacy-camera-hal1+status:merged
[Sony Xperia M] abhatia1435:
Thanks man! Wish I had my Nicki to test it. I'm still searching for a solution to get it repaired.
[Sony Xperia M] Bonoboo:
2 All

CM in early development, so be ready for bugs / non-implemented features. Just wait.

Now (probably, temporary) gapps need to be flashed after first boot, not before.

Otherwise Setup Wizard will constantly crash.

Here all about new features in Nougat.

New option to quickly turn off screen by double-tap on Home button.

Settings > Buttons > Home double tap action > Turn screen off

There is split screen mode: two apps simultaneously.

In Recents hold and drag preview up.

While sharing something now finally possible a bit customize apps list.

Hold finger on icon and select "Pin" to move app at first place.

For those, who have adopted storage: there is option Settings > Developer options > Force allow apps on external to force moving on card all, even unsupported apps.

Actually, SuperSU now possible install without SELinux trick, but such system-less version requires flashing after ROM update.

Also it will broke network on Dual.

Because started CM14.1 Nightlies (not for us) CM13 now will build every week.
[Sony Xperia M] aness07:
I didn't face this bug by making an upgrade from cm13 and reinstall opengapps pico 7.1 .

It works perfectly .
[Sony Xperia M] Nicklas Van Dam:
Sir, so if app not support move to sdcard and then we force it. will this make any error on that app when we try to run it? i know that feature since AOSP for nougat is get Alpha 3, but i'm never try it. :confused:
[Sony Xperia M] Keyursoni:
Why this rom looks more yellowish? I could not find option to change this.
[Sony Xperia M] fr3d3r1ko:
Great work, PecanCM! I've been using this rom for more than 12 hours straight and it's pretty smooth. Don't know if you read my last post, but here are the bugs I found until now (the ones I already mentioned plus a new one):

1 - When you put "Drawer style" to compact, the icons in the drawer seems to not be centered anymore.

2 - After I put my SD Card as Internal Storage, the SD Card is working flawlessly, but in the storage settings, the maximum SD capacity is equal to the Internal Storage (from the phone), which is 3.69GB, in my case. So, I have a 16GB SD Card, and the storage settings is showing I used "-10.31 GB used of 3.69GB" from the SD Card. Due to bug number 2, you cannot move apps to different storages. So if you want to install in the SD Card, you're going to need to install direct to it, applying that option in dev.options mentioned before in the topic. (Not all apps show this problem.

3 - Battery Status Style in Status Bar menu doesn't work properly.

4 - Proximity sensor being activated while you are on lockscreen, even though it doesn't have any function in there (lockscreen shows up even if you have something close to the sensor).

All the bugs are minor bugs, so it's not causing any trouble to use the rom, but I thought I should let you know.

PS: Btw, I am seeing lot of people that are still having problems with setup wizard, I will tell those what I did to get it working:

1 - Flash lastest nightly of CM13.0

2 - Boot to system.

3 - Wait until it sets everything up.

4 - As soon as it gets to home screen, reboot into TWRP.

5 - Flash CM14.1

6 - Boot to system.

7 - Wait until it sets everything up.

8 - As soon as it gets to home screen, reboot into TWRP.

9 - Flash Gapps 7.1

10 - Boot to system

11 - Have fun!

---------- Post added at 11:32 AM ---------- Previous post was at 11:29 AM ----------

Make sure you don't have LiveDisplay set on. Go to Settings>Display>LiveDisplay and there you can:

Display mode: Change when LiveDisplay will be activated.

Color Temperature: Change the temperature of the colors that will be displayed when it's activated

Color Calibration: Name says it all.

If you want to disable it just click on "Display Mode" and then "Off"
[Sony Xperia M] Godlydevils:
Two things I'd like to mention

1) CWM is broken, you should have a turn around for that

2) If few people told you that bank gapps have no problem why didn't you mentioned that?

Dude, you can't use this recovery at all, I really wonder how you do it, I'm not actually into this, but I had a suggestion, that maybe you could just bundle twrp recovery into your roms, coz I find cw recovery, completely useless.

I did not notice that, but then for "few weeks" what were you doing without gapps? just the basic functionality?

except for you, all developers have mentioned atleast more steps, like wipe these specific partitions, this gapps works, if you have problem try clean install, and they do understand aswell and treat gapps as important

that's not clean flash, and that would create problem in future, btw, how do I recovery and backup and all? there's no working recoveries?

---------- Post added at 11:12 AM ---------- Previous post was at 10:56 AM ----------

[IMG="SS twrp"]https://i.imgsafe.org/304404feaf.png[/IMG]

Can someone explain what wrong am I doing here? coz I ain't getting no twrp recovery.
[Sony Xperia M] PecanCM:
no one told me, here i saw http://review.cyanogenmod.org/#/c/165900/ due to work i completely forgot that until your post reminded me.

when i said you need to flash or wipe ? connect your phone to pc then follow TWRP installation guide.

test every functions to make sure they are working or fix if i can ? becasue we don't need more steps, expect data you don't have to wipe any other partition and before marshmallow i used to add gapps link but then with mm gapps mess started and it become hard to keep track of every new gapps package that is working.

recheck what i said. you can fastboot flash any other rom bootimge that have twrp recovery as inbuilt recovery (like my aosp). with this you can't boot into android but surely you can boot into recovery then restore backup or flash new rom.
[Sony Xperia M] Godlydevils:
I understand and do not blame for this

I mean I cannot install twrp, no matter what, I don't want to brick, it's really pain, reflashing and all

yes that works but in MM I tried and rom broke down and had few stopped working messages that way.
[Sony Xperia M] Nicklas Van Dam:
Your command for FOTA Recovery was wrong, like [MENTION=5493341]Antrikos48[/MENTION] said before.

In "of" function, you're enter that command twice. try to re-try again with only one "of" string.:confused:
[Sony Xperia M] PuiuMarius2000:
Just a little help for you guys.

Kernel CM14 beta1 repacked(TWRP replace CWM).Press vol down > TWRP recovery.No need TWRP FOTA recovery.KernelTWRP710.zip

Default kernel(CWM recovery).Just in case ....KernelCWM710.zip

Signed files.Can be flashed in TWRP & CWM recovery.

Tested on my phone,only in recovery mode.Sorry,I am on slim 1.4 > Android 601.:)
[Sony Xperia M] krouma:
I've just updated from CM13 with only wiping cache/dalvik and it works beautifully but I'm missing CM Theme Manager. Is it right?
[Sony Xperia M] Nicklas Van Dam:
Yes, CM Theme Manager still not available in this build. so that's fine bro ;)
[Sony Xperia M] Grande_99:
Anyone that have problem with custom recovery just flash my version flashable of twrp to your xperia m with any custom recovery...

http://www.datafilehost.com/d/f2fedd32
[Sony Xperia M] Dalgato:
negative value

hello

there's a solution for negative value of internal storage ?

-10.86 used of 3.96
[Sony Xperia M] PecanCM:
that's why i said you can't boot into android but can boot into recovery then you can reflash or restore.
[Sony Xperia M] extremetek:
Dirty flashed CM14 from CM13, ended up wiping my SD card. Phone also gets super laggy. Any ideas?
[Sony Xperia M] Godlydevils:
that came automatically, if you would type that and see properly, your terminal would show that extra aswell, but I wrote as shown on twrp post

---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------

Can someone tell me how do I move app to sd card over here?

I cannot see any option despite turning on force move from developer option

used app2sd, says tap storage and then tap change,

but there's no change button in storage of any app.
[Sony Xperia M] krouma:
There is again one bug that i had in earlier versions of CM13. I have profile with all sounds off, which is activated by connecting on school wifi but not deactivated by unconnecting. And when I again connect, sound for incomming calls activate.
[Sony Xperia M] fr3d3r1ko:
I've never had any problem with system profiles. When I want all my sounds off, I put all three sound options at 0 and check "Override volume", for all three. Plus I change "Ring mode" to "Vibrate".

When I want to make it deactivated, I put all three sounds at the volume I want, check "Override volume" and change "Ring mode" to "Normal".

It has always worked for me when connecting/disconnecting from my house's wifi. Try to do something similar and let me know if it helped.

Edit: Not sure if it's clear. But you'll need two profiles: One for all sound off (Triggered when you connect to your school's wifi) and one for all sounds on (Triggered when you disconnect from your school's wifi).

-Go to Settings>App

-Select the App you want to move

-It will appear "Storage Used SD card", for example. Below it there's a button "Change"

-Click button "Change" and select the storage where you want the app to be saved.

OBS: I think it will only work if your SD card is formatted to work as an external storage, not portable storage ;)
[Sony Xperia M] Godlydevils:
formatted as portable....

how to format as external?
[Sony Xperia M] fr3d3r1ko:
Before you do ANY of the following steps, I advise you to search on the internet the pros and cons about formatting it from portable to internal (Sorry, I said external but I think the right term is internal lol). As far as I remember, you won't be able to access your SD Card from a computer or put it into another phone (unless you format it). The reason: Android puts a unique code that only your cellphone can decipher. I use it format as internal because I don't use my cellphone for music listening of whatever, my sd card main function is to storage apps, so it works just great for me. But a lot of people don't like formatting it as internal because it makes harder for you to quick share files via USB from a computer to the cellphone.

->MAKE SURE you have the lastest version of TWRP installed too, since it's now built to access internal storages too.<-

...

WARNING: YOU WILL LOSE EVERY DATA YOU HAVE ON YOUR SD CARD WHEN YOU FORMAT , SO MAKE SURE YOU HAVE IT BACKED UP. I WON'T BE RESPONSIBLE FOR ANY DATA LOST.

-----------------------------------------------------------------

To format go to: Settings> Storage.

Click on your SD Card option.

On the top right, there is a three-dot-button.

Click "Format as internal"
[Sony Xperia M] Godlydevils:
ahh.... that I know

but.... after formatting as internal... my card will be quite useless, as I'm thinking of another clean format when pecan releases next version or his rom gets accepted and his first cm14 nightlies

and as you said, there's some bug with even accessing in MTP mode, I was not able to just copy files to sd card directly, I wonder how will I be able to take backup before flashing new rom, after it's internal

tho thanks for your help, my storage is already out, there's no other way then internal
[Sony Xperia M] icoolguy1995:
Great work PecanCM.

USB tethering and MTP storage working good.
[Sony Xperia M] Garv Maggu:
Solution to Setup Wizard Force Close

1. Boot into recovery.

2. Do a clean wipe (System, Data, Cache, Dalvik Cache, Internal Storage).

3. Flash ROM and Patch (if required).

3. Boot once into android and flash TWRP recovery using terminal ( More info here ).

4. Boot into recovery again and Flash GApps (pico).

5. Reboot and enjoy.
[Sony Xperia M] Whiskeym:
[MENTION=4343949]PecanCM[/MENTION] thank you. It work very well and most daily use features are in place.
[Sony Xperia M] wellwell999:
[MENTION=6262655]Garv Maggu[/MENTION]

3. Boot once into it and flash TWRP recovery using terminal ( More info here ).

Please specify this.

Boot into Android?

What terminal?

- The one from twrp recovery? Although I flashed SR1 SuperSu 2.78 (you forgot that to mention?), and there is the SuperSu-App in Android, in twrp I get "su not found".

- ADB via PC? There are other commands than specified under the twrp link, for example you have to write "adb root" for root access, and not "su" as suggested at the twrp link.

- a terminal app? Have no playstore at that time. Push the app via adb onto the device? I´ll try that..
[Sony Xperia M] Garv Maggu:
[MENTION=7818602]wellwell999[/MENTION] Yes, boot into android and it's your choice to flash SuperSU App and no need for ADB via PC. You need to do this after flashing ROM and Patch :- download this terminal apk and this TWRP image and transfer it to your phone. Rename the downloaded image to twrp.img and copy it to the root of internal storage and sdcard. Go to developer options and set root access to Apps and ADB. Install terminal from the apk, open terminal and type su and allow root access and then type dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel and your recovery will be flashed. Now boot into TWRP recovery and flash GApps and reboot.
[Sony Xperia M] saber66:
Which version of Supersu the dual SIM works.
[Sony Xperia M] kh34d:
No one.
[Sony Xperia M] Godlydevils:
Do add these feature and fix bugs in next update plz

1) some work around to get my dfx player in lock screen as no matter what option I select I just cannot use my dfx when locked

2) My device does not charge when connect to pc in charging only mode, if I switch it to mtp it starts charging

3) in mtp mode I cannot copy paste contents to sd card when connected to pc, says device has stopped responding or is disconnected, but that does not happens with my xperia zl with same cable, tho here, it shows that message only when copying to sd card, in internal storage, everything good, but is bad news for formatted as internal sd cards

4) dude, there's something literally wrong with storage stuff, I just cannot use my sd card to copy stuff into it

a) first I install file manager HD, copying first time from internal makes me give it some permission to select storage, works first time

b) after few days or maybe few restarts and ejecting sd card, it won't copy anything to sd card from internal storage, but the file manager from CM and the inbuilt explorer from storage will work flawlessly

c) as I said in mtp can't copy files to sd card, there's one feature in file manager named transfer to pc, which makes ftp server, and allows copying via wifi, but here also I can copy from and to internal storage, but not from sd card, but it's useless if I format sd as internal storage

and I didn't modified anything to the rom, just have imp apps, mostly social and steam and shopping teamviewer stuff, just one app named easy touch which requires root permission to make things easier, nothing much

---------- Post added at 01:10 AM ---------- Previous post was at 01:02 AM ----------

Also, plz do tell me how to get twrp here?

I tried the same old method of cm13, but it does not work for me

it says successful but can't find twrp, instead there's cw recovery
[Sony Xperia M] Whiskeym:
There is a much easier way to get into twrp, which technically never left the phone.

1. After flashing cm14.1, boot into recovery

2. Go to the advanced settings

3. Choose reboot into recovery or reboot recovery

4. Enjoy twrp.

Cheers.

This worked for me please confirm if it works for you.

Whiskeym

---------- Post added at 04:57 PM ---------- Previous post was at 04:57 PM ----------

There is a much easier way to get into twrp, which technically never left the phone.

1. After flashing cm14.1, boot into recovery

2. Go to the advanced settings

3. Choose reboot into recovery or reboot recovery

4. Enjoy twrp.

Cheers.

This worked for me please confirm if it works for you.

Whiskeym
[Sony Xperia M] Godlydevils:
Ok sure I will do

but for now, there's something wrong with my storage, hoping someone will help

I formatted my SD as internal

storage broke down

I cannot download any message received in whatsapp, or save images from fb, always some error occur and cannot save stuff

what should I do?
[Sony Xperia M] PecanCM:
Update to BETA 2

Time to release update!

changelog for beta 2:

android-7.1.0_r7 (NDE63X)

Fixed Video recording "jumping"

Support Cell Broadcast for India

Enabled HW AAC encoder

Linux Security fixes

Switched to source built NFC firmware

Updated adreno renderscript blobs from msm8909 nougat

Updated cm source

Download link: https://www.mediafire.com/?671x1bu5v9z9e8i
[Sony Xperia M] kh34d:
Thanks for new update.

Is this any improvement in dual sim patch?

Edit :-

In case you didn't see my logs, here 2 logs http://xdaforums.com/showthread.php?p=69568443

And here too http://xdaforums.com/showthread.php?p=69625915
[Sony Xperia M] Dimi72:
Thank you!

Can I flash this ROM over AOSP 7 Beta 3, or should I do a clean install ?
[Sony Xperia M] razzs:
nice....excited to test. thanx dev
[Sony Xperia M] Whiskeym:
There is a much easier way to get into twrp, which technically never left the phone.

1. After flashing cm14.1, boot into recovery

2. Go to the advanced settings

3. Choose reboot into recovery or reboot recovery

4. Enjoy twrp.

Cheers.

This worked for me please confirm if it works for you.

Whiskeymh
[Sony Xperia M] kh34d:
Clean install is better. To avoid any force close.
[Sony Xperia M] PecanCM:
i already said dual sim patch does nothing except setting props that enable dual sim and check with beta 2.