yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] hossein_sys:
Error installing on 12.1

i get this error while installing cm-12.1-20150429-UNOFFICIAL-pyramid .

what is the problem ?

my recovery.log :

About to install:

cm-12.1-20150429-UNOFFICIAL-pyramid_Update.zip

Continue install?

-- Installing: /sdcard/cm-12.1-20150429-UNOFFICIAL-pyramid_Update.zip

Finding update package...

I:Update location: /sdcard/cm-12.1-20150429-UNOFFICIAL-pyramid_Update.zip

Opening update package...

Installing update...

Warning: No file_contextsminzip: Extracted 3 file(s)

about to run program [/tmp/install/bin/backuptool.sh] with 2 args

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

Not backing up files from incompatible version: 12.1

run_program: child exited with status 127

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/userdataabout to run program [/tmp/install/bin/otasigcheck.sh] with 1 args

blockimg version is 2

erasing 204799 blocks

script aborted: blkdiscard failed: Operation not supported on transport endpoint

Patching system image unconditionally...

blkdiscard failed: Operation not supported on transport endpoint

E:Error in /sdcard/cm-12.1-20150429-UNOFFICIAL-pyramid_Update.zip

(Status 7)

Installation aborted.
[HTC Sensation] m3mmo:
Mirror updated with new cm12
[HTC Sensation] devrruti:
You should use latest twrp from ivanich, it's on the first post. If you have done wipes and s-off everything should work fine
[HTC Sensation] spawnho:
Any one flash cm-12.1-20150429-UNOFFICIAL-pyramid successful?

How to flash cm-12.1-20150429-UNOFFICIAL-pyramid?

I flash 0427 and 0429 version fail.
[HTC Sensation] BliZzArD_420:
+1

There is a new version of ivanich's TWRP recovery , lets try it out with the new 29.4 build, boys :)
[HTC Sensation] BliZzArD_420:
Still can't flash 29.4 / 27.4

Even with the latest TWRP (ivanich's) i can't flash the latest two ROM's , had to go back to 18.4 the third time heh :)

I
[HTC Sensation] Bastaerd:
For people wanting to flash ivanich's latest TWRP but fastboot not working run this in a terminal emulator on your Sensation:

su
dd if=/sdcard/nameoftwrpimage.img of=/dev/block/mmcblk0p21

Potentially this method can be very dangerous because you write directly to a partition. Another number then 21 is another partition, 22 is system for example. Don't make any typo's!

Enjoy!

Why are other people able to flash ivanich's rom? Did you try flashing boot.img in fastboot after flashing the rom? You posted about using dumlock but if dumlock doesn't work you don't flash boot.img. Might be worth a shot.

Also, do you use ext4 or f2fs for data and cache partitions?
[HTC Sensation] Maroni_rr:
The same to me
[HTC Sensation] devrruti:
"There's an app for that"

Rashr: https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools

Remember to download ivanich one from first post and then select that one in the app
[HTC Sensation] Arman Chatikyan:
The same to me

blkdiscard failed: I/O error

Error flashing zip
[HTC Sensation] Sajito:
The flickering might be related to the cable.

Though if it's related to some kernel issues I don't know if there's anything to do. We can be happy that it's working now, since for years MHL didn't work at all on any aosp based rom.
[HTC Sensation] mcfouch:
Shouldn't it be related to proximity sensor instead of light sensor ?

This option seems to be introduced in cm11 M9 and could be a good thing but if it doesn't work and cause issue with this phone...

For your rom stability, yes, for my own part you can disable it.
[HTC Sensation] ivanich:
Yeah, of course proximity sensor...
[HTC Sensation] hinxnz:
Voice search and sound recorder etc. not working on latest build, is it related to the voip fix?
[HTC Sensation] maddog3030:
voice search & voice typing problem

Same here...

Had to revert back to the 4-11 build to get it working again.

looks related to the "pyramid: Add custom audio policy configuration " commit
[HTC Sensation] ivanich:
Will be fixed in the next build:wq
[HTC Sensation] ivanich:
Path crash has been fixed by updating adreno props. Thanks to Sultan.

New build uploaded:

- New adreno proprietary libs(credit: Sultan)

- Possible fix for hard shutdowns that occur when taking pictures with flash on low battery.(credit: Sultan)
[HTC Sensation] zooster:
Ivanich, in changelog I've seen you removed voipout device. Does it mean that in this build voip is broken again?
[HTC Sensation] ivanich:
No, just unused profile since I've disabled qcom_voip at all.
[HTC Sensation] ivanich:
[MENTION=5419797]Sajito[/MENTION]

I've managed to boot kernel built with google 4.8 toolchain, will upload sources later to cm-12.0 branch
[HTC Sensation] xWolf13:
It has begun!
[HTC Sensation] lutyjj:
OMFG! Keep up!;)
[HTC Sensation] djbartek:
It was just small issue with memory :P
[HTC Sensation] maciclazar:
Well, we need to get used to it if want want lollipop.

I remember when I used wildfire with about 100MB free for apps and I couldn't install a lot of apps at that time (angry birds was just 12MB and facebook was really small :) . Good old froyo time.)
[HTC Sensation] djbartek:
I need tester for my kernel. PM me if you are interested. :)
[HTC Sensation] BlackFritz:
Thank you Ivanich for the work that you have done with this rom!

I found an issues with my Sensation and this rom: if I connect it to my car, a Toyota avensis, with the bluetooth the music player can't reproduce the music, but if i listen the music with the headphones it work well.

any suggestions?

Thank you for the help.
[HTC Sensation] ivanich:
Try to remove lpa.decode=true from /system/build.prop
[HTC Sensation] BlackFritz:
How can I do this?

Thank you
[HTC Sensation] Sajito:
Nice one. Are you going to use cm-12.0 branch as default from this point for kernel?

I managed to compile an aosp 5.0 rom, but I don't know if it would work, because 4ext aborts the installation with error 0 for some reason. Didn't had much time to have a look at it, why that's happening.

Just open /system/build.prop with any text editor and remove the line "lpa.decode=true"
[HTC Sensation] zybach:
This is nice now all I have to learn is how to make a partition w/o using a PC :) anyone has a link for that?and would thatberase everything in my sdcard?
[HTC Sensation] a.l.c.h.e.m.i.s.t:
I update recovery and install 29/4 over 27/4... no any problems so far...
[HTC Sensation] Maroni_rr:
Flashed recent recovery 2.8.6 r4, still 29th Apr. Image installation aborted...
[HTC Sensation] rayjack10:
Download rom again maybe the download didn't complete 100 % I recommend you use ucbrowser, and be sure the size of downloaded file is 229mb.

---------- Post added at 11:42 PM ---------- Previous post was at 11:34 PM ----------

Yes it sure will wipe everything on ur sdcard,be sure you backup all ur data on sd card,one of the options to do that is via a custom recovery like the one we have here.but you can check the general section for more information on that.
[HTC Sensation] devrruti:
You can make partitions with the recovery. Remember all data will be lost, so after partitioning the microsd, you will need to copy the ROM to the microsd to install it
[HTC Sensation] hinxnz:
I came across this app, AParted. I haven't used it before, so not sure if works or not but you maybe able to shrink your fat32 partition without wiping it, to allow room for your sd-ext. I would highly recommend you to backup all your data on your SDcard first though.
[HTC Sensation] zybach:
Yup I've stumbled on this app too and already downloaded it.will do this during the weekends.Thanks for all the help guys :)
[HTC Sensation] pbazw:
what is wrong

I have flashed the new recovery and installed lastest rom same error installation aborted?
[HTC Sensation] Arman Chatikyan:
Error during installation

Recovery: TWRP-2.8.6.0-pyramid-f2fs-r4.img

Rom: cm-12.1-20150430-UNOFFICIAL-pyramid.zip , cm-12.1-20150429-UNOFFICIAL-pyramid.zip

Recovery log

http://pastebin.com/dhA7QwbS
[HTC Sensation] mcfouch:
Is your sd-ext partition well formatted with ext4 or f2fs ?

Have you tried in twrp/wipe/advanced/check & repair on each partition ?
[HTC Sensation] saldymhmd:
Is that possible to flash latest cm12.1 with 4ext recovery? I,m still S-On and I have broken laptop, so I can't do fastboot
[HTC Sensation] Arman Chatikyan:
i haven't any sd-ext partition

system,data and cache f2fs
[HTC Sensation] mcfouch:
If I remerber well, f2fs on /system is not supported.

Try again with /system formatted with ext4 fs.
[HTC Sensation] andy hall:
also formatting Cache to f2fs just fills it up
[HTC Sensation] ivanich:
First of all, I have no single issue with flashing latest 3 roms, second - f2fs on /system not supported. Also all who have magic issues with flashing backup you system and data partitions and try to format them

UPD. Just tried that:

1.Backed up all partitions

2.Formated all partitions excepd SD

3.Flashed latest cm12,1 rom without issues

Using latest TWRP build
[HTC Sensation] pbazw:
pls explain

ivanich

could you explain the f2fs on /system not supported comment is thia what is stopping from flashing rom.

Ty sir for all your hardwork
[HTC Sensation] tntnt:
So, I tried to flash the latest versions oc CM12.1 with the latest 4ext, can't do it, always back to 18/4.

Changing recovery to TWRP, we just have fo flash the recovery and that's it? Or we need to modify file system or anything else? (I'm s-off)
[HTC Sensation] pbazw:
found this

hi.

just figured out how to format /data and /cache to F2FS using an external mkfs.f2fs binary bypass TWRP. works fine for me with R4 + Beast RC4.

based on this thread, from recovery:

Code:

adb push mkfs.f2fs /sbin/

adb shell

chmod 777 /sbin/mkfs.f2fs

umount /cache

mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/cache

umount /data

mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata

because armani TWRP doesn't know anything about F2FS:

it can't mount /data and /cache

you'll need to manual re-format /cache instead of wiping

all ZIPs should be placed on SD-card

this is from a post on [ROM][5.1][UNOFFICIAL] CyanogenMod 12.1 [R4, 2015-04-25]

haven't tired
[HTC Sensation] ivanich:
TWRP-2.8.6.0-pyramid-f2fs-r5 uploaded.

Fixed SDCARD partitioning

---------- Post added at 04:37 PM ---------- Previous post was at 04:25 PM ----------

system can be formated to f2fs but ROM will not boot.
[HTC Sensation] kaverky:
I have flashed cm12.1_30_04_2015 but keyboard not work and facebook app can't install

Sorry my bad english :(
[HTC Sensation] armandkd:
Radio/RIL issue ?

Hi,

I'm using this ROM (12 and 12.1) for some time now, and it has been vastly improved ! Many thanks to ivanich for that ! :good:

One problem appeared though :rolleyes: : yesterday, the cellular network stopped working after a reboot. I thought that I had done something wrong so, seeing that a new build came out, I wiped everything and made a clean install. But... still no network :crying: . I just says "No service"... I can't figure out why. So maybe it's related to the radio or RIL, I don't really know.

Can someone enlighten me on that problem ? And if it is indeed coming from the radio or RIL, which versions are recommended for this ROM ? (I already search in the thread and saw that someone has exactly the same Radio/RIL and it works fine, but mine was also working fine until yesterday...)

Edit : Emergency calls don't work either, so it's not a problem of access point or SIM card configuration I think. :confused:

Thank you ! :D
[HTC Sensation] Valantar:
Just leaving some feedback after my first attempt at instaling this (CM12 version, 18th of April build) on my old Sensation:

-Installation went smoothly, no issues after full wipe.

-First boot-up was slow, but not horribly so

-During the welcome/setup screens, the phone grew HOT, and crashed about three or four screens in (typing in my CM account password)

-Everything went fine after a reboot. Set up, working. A bit slow, but OK.

-New crash, this time in Settings trying to add another account. Phone was consistently hot during use, grew slow and laggy (bringing up the keyboard took ~20s), and when I selected to add a Google account, the screen went black except for the status bar, the button backlights shut off, and the phone froze. It rebooted on its own after maybe five minutes. The phone was again very hot.

-Everything seemed ok after a reboot, but again it froze while doing something rather trivial. Same thing - black screen except status bar, a few minutes, reboot. This time, though, upon booting I was sent straight to Recovery, which told me it was in "safe mode" since /system could not be read. No choice but to format /system (and everything else for god measure) and try again.

I'm currently about 10 minutes into booting the phone for the first time after reflashing, not seeing much except the CM robot yet. Am also downloading the newest build to see if that makes a difference.
[HTC Sensation] Maroni_rr:
Experts, pls help..... 5th attempt to flash latest build failed. Latest ivanich recovery + latest Tom build, clean flash and nothing... Pls see attached picture[IMG="error"]https://www.dropbox.com/s/se5d4rmiai6cw4t/Screenshot_2015-05-01-06-52-40.png?dl=0[/IMG]
[HTC Sensation] hinxnz:
Check your space in data, you need at least 250mb free, maybe more. Check by entering code: df /data into terminal emulator, you can enable local terminal in developer options and then you'll find it in your app draw.

Have you ruled out sim card by trying another in your phone, faulty sim cards can do strange things and can go bad at anytime, I've been through a few myself.

Unless you flashed a radio if your s-off, it will still be the same and ril I don't think has changed.

To see ril type enter in terminal: getprop gsm.version.ril-impl

This is not normal, s-on? flash boot.img with fastboot

Maybe a bad zip file, try downloading ROM again. If still not successful, use a PC to download ROM and then transfer the ROM to your sdcard and check that it was successfully copied by comparing checksums.
[HTC Sensation] Maroni_rr:
Ivanich, could you pls share correct MD sum for 30th Apr. build (CM 12.1)?. Used by me zip file MD5: bb7b1f24ee92e3da79b144ea86d943ea.

Thx in advance.
[HTC Sensation] m3mmo:
Do not download the latest version of cm12 from my server because its corrupted and we have some kind of error that is preventing me to delete the file.Looking for a fix and will reupload as soon as I find whats the problem.
[HTC Sensation] Pierrot Lunaire:
Is this rom usable as a daily driver? I'm still on Viper 5.3.0 which is good but if Lollipop is faster, smoother and more battery efficient I'd be happy to give this rom a try. It just seems by the recent posts here that people are having problems even flashing the rom so I'm just wondering...
[HTC Sensation] armandkd:
Thank you for your answer ! :)

Yes I already tried my SIM in another phone, and it worked great. But what I hadn't tried is another SIM in my phone. So I picked up another one, plugged it in, and... It worked ! At this point all that I can think is WHAT THE F*CK is happening ? :confused:

The SIM cards are not from the same carrier. I'll try another SIM card from my carrier as soon as possible and report it here.

Do you already have any idea what's going on ?

Anyway, thank you again for your time ! :)
[HTC Sensation] hinxnz:
Yeah they can do weird things like that, I also had the same issue a few years ago, I tried telling my carrier that to get a free replacement sim because that's what they do and you can image how much of a mission it was to convince them it was the sim, when I was calling from it from another phone :D
[HTC Sensation] isa.bayta:
Hello!

When I try to install cm-12.1-20150430-UNOFFICIAL-pyramid.zip, 4EXT report "E:Can't open /sdcard/......" How to fix it? I have twice downloaded firmware. The problem was not solved. When try install another version of CM12 by ivanich, install completed successfully.
[HTC Sensation] htw1:
CM 11 is very goooood. Try it.
[HTC Sensation] m3mmo:
Problem resolved.Mirror updated
[HTC Sensation] derproblembaer:
I have problems installing the latest builds too. 20150418 ist the last working one. I used the latest TWRP (2.8.6.0r5) and formatted all partitions.

Error message:

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
detected filesystem f2fs for /dev/block/platform/msm_sdcc.1/by-name/userdata
Patching system image unconditionally...
blkdiscard failed: I/O error
E:Error executing updater binary in zip '/sdcard/Download/cm-12.1-20150430-UNOFFICIAL-pyramid.zip'
Error flashing zip '/sdcard/Download/cm-12.1-20150430-UNOFFICIAL-pyramid.zip'
Updating partition details....
...done

Flashing of older builds is possible without errors. I'm using the latest hboot (1.29.000) S-OFF + radio (11.29A.3504.18_M).
[HTC Sensation] mcfouch:
Have you search a possible cause in recovery.log ? Perhaps there is something useful.

In twrp / Advanced / copy log to SD. You will find the recovery.log file in the root of sdcard.
[HTC Sensation] derproblembaer:
recovery.log:

http://pastebin.com/UMxu8r09
[HTC Sensation] ashu01:
Guys anyone using the latest build ??

How about the headphone issue in that ROM. Is it fixed??
[HTC Sensation] BliZzArD_420:
I am using the latest TWRP now again , i still can't flash the latest rom's at all , i get an error (error executing updater binary in zip.. and error flashing zip) so i don't think after that kind of an error flashing boot.img via fastboot helps or? .I still can only flash the 18.4 version and with the latest TWRP SD ext boot mod plus v2 doesn't work , it does flash it but it's not working properly storage is not using sd-ext, but with the twrp aprl 2 version sd ext mod plus v2 (and v1) worked fine i do not know what the problem could be. I wiped everything except sd card and android secure( for some reason i never wipe it lol) , sd ext is f2fs (did tried repair too) , data and cache are ext4 , hinxnz (from sd ext mod) : I recommend /data formatted as ext4 because of faster read speeds and larger free space . Should i try f2fs?

How i did things:

Wiped everything except sd card (and android secure will try to wipe it too) , flash 18.4 (cause its the only rom that works for me) , flash sd ext boot mod v2 , flash gapps , i go into fastboot to flash boot.img , phone boots but sd ext boot mod not working properly ,phone is still using phone storage , sd ext not in sight . After that i tried to wipe cache , flashed rom , flashed sd ext boot mod v2 , and i get stuck at android boot logo , i also get stuck at boot loop when wiping everything and flashing rom , sd ext boot mod plus v2 , gapps , without fastboot flash boot boot.img , if i do it , phone boots but mod not working..
[HTC Sensation] tntnt:
I had 4ext recovery, and coudn't install the latest rom build.

So, installed Flashify from playstore, downloaded ivanich latest twrp, put it on sd card and flashed recovery with falshify.

Booted to recovery and installed latest rom with no issues.

ps: no mods.
[HTC Sensation] BliZzArD_420:
S-on or S-off?
[HTC Sensation] tntnt:
s-off
[HTC Sensation] BliZzArD_420:
Lucky you , thats why its working i guess ,i am S ON and no matter what i do i cant flash the new ROMS except 18.4
[HTC Sensation] pbazw:
so confussed

I had 4ext recovery, and coudn't install the latest rom build.

So, installed Flashify from playstore, downloaded ivanich latest twrp, put it on sd card and flashed recovery with falshify.

Booted to recovery and installed latest rom with no issues.

p

Just tried the above after going s-off it looked promising then it failed same error the pass few attemps

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

detected filesystem f2fs for /dev/block/platform/msm_sdcc.1/by-name/userdata

Patching system image unconditionally...

blkdiscard failed: I/O error

E:Error executing updater binary in zip '/sdcard/Download/cm-12.1-20150430-UNOFFICIAL-pyramid.zip'

Error flashing zip '/sdcard/Download/cm-12.1-20150430-UNOFFICIAL-pyramid.zip'

Updating partition details....

also the new recovery doesn't show my backups?
[HTC Sensation] Harakhti:
[MENTION=4329165]ivanich[/MENTION] Hey, new to this device and felt like asking, is partition reassignment or resizing a possible thing to do?
[HTC Sensation] bjf182:
TWRP version?

I've not had any problems flashing the latest three versions of CM12.1. I am using a fairly old version of TWRP:

TWRP-2.8.4.0-pyramid-f2fs-r10.img

Which isn't even available on Google Drive. May be nothing, but could be something.
[HTC Sensation] nathanlawrie:
HELP! CM 12.1 Requirements?

Coming from cm-12-20150307-UNOFFICIAL-pyramid-ZRAM.zip build and from 4ext.

Flashed latest ivanich TWRP via Rashr - Flash Tool app.

Wiped data, dalvik, cache, system.

Flashed latest CM 12.1 (cm-12.1-20150430-UNOFFICIAL-pyramid.zip).

I have not installed any mods and I am not using f2fs.

For some reason my phone keeps on randomly rebooting very often and also Trebuchet, Settings and other apps keep crashing very often. Also it makes no difference whether I have GApps or not.

Have I done something wrong or do I need a sd ext mod or f2fs?

Please help, thanks :)
[HTC Sensation] Arman Chatikyan:
i bricked my sensation while i created sd-ext with TWRP :(
[HTC Sensation] andy hall:
Look at the HTC Unbrick thread

OR

you could try flashing 4EXT see if that will detect anything
[HTC Sensation] Arman Chatikyan:
HTC Unbrick project don't work becouse my sensation is s-off

but how i can flash 4EXT while i can't turn on even bootloader ?
[HTC Sensation] BliZzArD_420:
Question

One more question , why isn't HTC Dumlock working anymore? It used to work fine with 2 apr TWRP version (which we cant even download anymore) and where i was able to get the BOOT MOD v1 / v2 working ? Without sd ext support lollipop can't be really used imo.
[HTC Sensation] andy hall:
ah, did not realise was that bad.

so it will not turn on at all?
[HTC Sensation] Arman Chatikyan:
no it isn't turn on at all :(
[HTC Sensation] m3mmo:
Mirror updated.New cm12.1 added.
[HTC Sensation] Valantar:
The phone is s-off, has been running fine on Sultan's 4.4.4 for half a year or more. Ended up reverting to my backup of that after the second install never got past the CM droid animation. Trying again now though, will see what happens.

Edit: I was running the latest 4ext recovery, and flashing the latest builds didn't work at all. Installed the linked TWRP 2.8.6.0, trying again now as soon as I finish a new backup.

Edit 2: No luck at all this time - waited for an hour before giving up on it actually booting. I haven't flashed boot.img though - where can I find it?
[HTC Sensation] Maroni_rr:
Unfortunately next "unflashable" build for me...(m-12.1-20150503-UNOFFICIAL-pyramid.zip). Without fix, end of life for my Senny.....
[HTC Sensation] pbazw:
+1

I've tried everything, I'm running the 18th build just fine but would love to see what the new build adds. Help
[HTC Sensation] m3mmo:
Well I still did not test it.I am using cm11 but I will try it tomorrow and report here.I just upload files to my server.I regulary only test cm11 because I use it as my everyday ROM. CM12 is way to slow for me.
[HTC Sensation] BliZzArD_420:
Still same problem

I spent one day to go back to RUU , go S OFF Juopunutbear method , had an error ,but still was S OFF , had to flash the revolutioniary hboot 1.27 patched (jb hboot never showed up-however i can still flash it manually if needed). Flashed the latest TWRP , finally got sd ext boot mod plus v2 working , but the last 12.1 ROMs just won't install just like when i was S-ON (tried only 3.5.15), always the same error , 18.4 installs just fine,

I wiped all except sd card , repaired partitions , sd ext is f2fs , cache and data ext4 . I do not know what else to try.
[HTC Sensation] pbazw:
work around

much respect ivanich

I have had the same problem as some of thers trying to install roms dated from the 27th forward, today I did a quick eye compare the install and mets-inf folders nothing jumped out as odd 18th which was my last good install to the 03, so I swapped the folders anyway a long with the boot.img and I was able to get it to load with no errors still testing but so far stable.
[HTC Sensation] alexyug:
I would appreciate if someone can help me with the instruction how to root this version.