yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] TheWall-[ITA]:
"Error code 7" is usually caused by old recovery version or by a bad download. Which recovery are you using? I recommend 4EXT. Please install this recovery (follow this thread), then install "4EXT recovery updater" from here: http://www.4ext.net/ and update your recovery. After that, re-download the ROM and check for MD5 sum before flashing it.
[HTC Sensation] LordNerevar:
I've updated the ROM with some Bluetooth and VOIP changes. Please try it out if you've had problems with either of these in the past. I can confirm that the following apps work for VOIP: GrooveIP, Hangouts, Skype (Echo test only - VOIP?) and Viber out toll-free

The big news today is the update to GApps. I've found some additional optimizations. These optimizations dramatically increase the size of the installed GApps but they also dramatically increase their speed (full GApps that is - you'll really notice after the ROM settles). Due to the speed improvements, I think they're worth the extra lost space in /system. I can honestly say I'm glad I didn't get a new phone for Christmas now. The Sensation lives on! :)

Cheers!
[HTC Sensation] tom0769:
The speed increase only applies to full gapps package?
[HTC Sensation] LordNerevar:
I'd say that it will be most noticeable on the full GApps package, but the optimizations were done to all APKs in both packages.
[HTC Sensation] fujanto:
i had tried build 20150111-1119

voip ... using BBM voice , mic doesnot works using ear/micset

also each time to make voip call need/ must to FC the voip app else cannot dialin the bb voice(voip)

attached log ....

thank you so much but need more tries .... keep it works hard brader....
[HTC Sensation] LordNerevar:
Unfortunately, that log doesn't have anything regarding the problem in it. Next time, please try getting a full

bugreport.

Have you tried BBM without the headset? Is it a bluetooth headset or does it plug into the audio jack?

Thanks for reporting it. I'll do some VOIP testing with my bluetooth headset. All of my VOIP testing so far has been without a headset.
[HTC Sensation] fujanto:
hi my lord .... just very clean install latest build jan11

installed BBM with voice

1st sesion aka. without earset >>> ... mic onboard not works

then FC to make new voip call << always need to FC the app

2nd sesion with ear/micset >>> same problem ... mic from wire not works too

*ear/microphone set ... typical speaker+mic wired directly plug into it

hope help your development ...
[HTC Sensation] TheCheshireMan:
Skype seems fixed in the latest build, I couldn't hear anything in the previous builds. I'm also giving a shot at the new GApps but can't say much since I only use a few of them, they seem a little faster but it might be confirmation bias as well.

Thanks for your work, it's been my daily driver for months now.
[HTC Sensation] noidman123:
[MENTION=4507337]LordNerevar[/MENTION] Now that I can finally post here :D just wanna say thanks for this unofficial SlimKat. By far my favorite rom for my Senny when I had it. It was buttery smooth & had great battery life. Thanks to awesome devs & helpers like yourself, this device is still alive :good:
[HTC Sensation] omgdwong:
Tried the suggestion of reinstalling 4EXT recovery, unable to install recovery updater since unable to start up the system. Still stuck on SlimKat loading loop. [Also had same results using CWM]

Revolutionary s-off

Hboot 1.27.11

Radio 11.23.3504.07_m2
[HTC Sensation] LordNerevar:
What version is your recovery? I see that someone uploaded the latest version of recovery on the 4ext thread here if you want to flash that. Also, did you verify the ROM download md5sum?
[HTC Sensation] gc2712:
FM Radio?

Is it possible to use the fm radio with this ROM [Version05/01/2015] on my Sensation? I can't find an app in the list and wonder whether it is available anywhere.
[HTC Sensation] tom0769:
Search for SpiritFM
[HTC Sensation] LordNerevar:
Tom is right about Spirit1. Here are the settings I use in the paid version. I'm assuming they're similar in the xda version from what I've read. Be sure to adjust the Volume Scale first as the default setting of 100 is way too high.
[HTC Sensation] gc2712:
Many thanks for this info and the screenshot of settings and also tom0769 for the suggestion. I've installed Spirit1 from the link and after some mucking around with headphones it finally works OK. Its basic, but I live in a cyclone (hurricane) area and need an offline radio for emergency services reports when everything turns cactus. So this will do that job fine.

I wonder though, why the original FM radio app from HTC was removed?
[HTC Sensation] LordNerevar:
All of the HTC apps are Sense based and incompatible with AOSP ROMs.
[HTC Sensation] gc2712:
Ah, I see. Thanks for that.
[HTC Sensation] Mile_zdr:
LordNerevar , does your kernel support OTG support for arduino device? because i tried on sense based roms and doesnt work...?
[HTC Sensation] LordNerevar:
I haven't tested one specifically, but USB OTG does work with USB storage so I'd say it's a definite maybe. Please let us know if you decide to try it and submit a bugreport if it doesn't work.
[HTC Sensation] Mile_zdr:
Yeah i test it with the app Arduino IDE and board Arduino Uno with tempt sensor and it work great even without power supply, so thanks :)
[HTC Sensation] tom0769:
I wanted to try ART.

I switch the runtime to art in developer settings.

It states that it switches to libart.so.

It reboots, but ART is not enabled. Normally reboot after switching to ART should take quite a long time (knowing this from my EVO 3D).

Do I miss something?
[HTC Sensation] mcfouch:
Do you use Xposed ? Enough free space ?
[HTC Sensation] tom0769:
Yep, should have known by myself, xposed is the point.
[HTC Sensation] gc2712:
Odex script?

I just noticed in the OP tips section that odexing is recommended. I searched for scripts but just got confused - some no go for KitKat, which options to use safely etc. Can someone assist me with a script known to work with this ROM and which command to use to odex all that is required?

Also, does ART make much difference? Not realising the Xposed issue, I simply ended up in a bootloop and reinstalling a backup. But if it speeds things up I would uninstall Xposed Framework.
[HTC Sensation] LordNerevar:
I just uploaded my personal script (see the OP). Feel free to modify it as you like. It will work with this ROM and should work with most KK ROMs without any modification. Note that it doesn't have any "idiot proofing" so make sure you have enough free space available before running it. You may want to review the log it creates in /data/odex.log. Post here if you have any questions.
[HTC Sensation] omgdwong:
Updated the recovery and verified the md5sum. Still not able to get past SlimKAT loop. Will be trying another complete format again, just not sure why this is happening
[HTC Sensation] LordNerevar:
The only other thing I can think to try would be a clean install of only the ROM. Don't install any gapps or flash anything else after installing the ROM. First boot will take 5-10mins as it has to create all the dalvik-cache files. If that doesn't work, I'll create a flashable zip of the logcat init script I use for development when things go wrong. :)
[HTC Sensation] omgdwong:
Loop

Have only been doing a clean install, still no luck after complete format.

My sd card only has my ROM folder, class10 samsung 32gb. Could that be an issue?
[HTC Sensation] Saakshath:
Great rom. Dalvik runtime is damn fast in this rom.

No lag experienced :D

Have been using for almost 10 days now.

As for ART runtime it stays in slimkat logo. Tried it twice.

But i can say dalvik was pretty fast compared to other roms so i stayed in that runtime itself.
[HTC Sensation] tom0769:
I wanted to play around with minfree values to optimize memory to my phone usage.

I created an init.d script named 88minfree with the following content

#!/system/bin/sh
echo "8192,12288,16384,20480,32768,49152" > /sys/module/lowmemorykiller/parameters/minfree

But after reboot I see always the original values.

If I do the same in terminal it works.
[HTC Sensation] hinxnz:
You need to set the permission for it afterwards, use code below, your script will be working but values revert back.

#!/system/bin/sh
echo "8192,12288,16384,20480,32768,49152" > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 /sys/module/lowmemorykiller/parameters/minfree

I normally use these values below on all 4.4, 5.0 roms but everyones usage etc is different.

#!/system/bin/sh
echo "9932,12636,15467,18803,22402,29352" > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 /sys/module/lowmemorykiller/parameters/minfree
[HTC Sensation] LordNerevar:
Hey everyone. Long time no post. I've been busy trying to figure out our VOIP issues. I have got a build now that does Hangouts/Skype even better than the current release. If anyone would like to help test, it can be downloaded from here. You'll want to make a nandroid backup before trying this build. I've tested it a little but there are some fairly significant audio layer changes that I'm sure will have ripple effects. In other words, I'm expecting more work will need to be done so you'll want to be able to easily switch back to a known good build.

In other news, I've uploaded a new version of GApps. You can find more information on that in the second post.

Cheers!
[HTC Sensation] WnG88:
I'll test it out tonight, and post back, thanks!
[HTC Sensation] StrawHatLuffy:
Hi guys

If someone calls me when I'm connected to my car's bluetooth, the caller id doesn't show up on my car lcd. Instead it only shows the caller's number. I tested yesterday with viper rom and didn't have this 'issue'. Do I need to change something in setting?

Thank a million.
[HTC Sensation] WnG88:
I tried the test version from 2 posts ago, and skype / hangouts working but internal SIP app logs in and dials but doesn't connect / hangup / crashes.
[HTC Sensation] LordNerevar:
Try this test build. I can't find a free SIP to PSTN service and I don't know anyone with a SIP number but it seems to be at least closer to working. Please let me know and submit a bugreport if it doesn't work. Thanks!
[HTC Sensation] ivanich:
Use ekiga.net it's free and call to 500 their voice check service. Actually this SIP issue was in all AOSP roms for pyramid. For some reason it wont work with MVS enabled(BOARD_VOIP flag), not sure if this related to msm8660 driver, framework_av or even kernel audio driver.
[HTC Sensation] LordNerevar:
Thanks for that ivanich. I tried ekiga and I'm only able to get 500/606 errors. However, I tried getonsip with my latest test build and their echo test number (thetestcall@getonsip.com) seems to be working pretty well. Not perfect yet but I'll keep working on it. :) Thanks again for pointing me in the right direction!
[HTC Sensation] ivanich:
I tried your latest build called to ekiga echo test number and got no audio, logcat contains same errors as in my and any other pyramid build. Actually i've searched around and found that none of htc phones have mvs enabled, talking about 7x30 devices like vivo,saga etc. As workaround you can just disable voip flag and this partialy fixes issue in kk.
[HTC Sensation] LordNerevar:
Interesting. I'm assuming you mean the "uknown stream" error?
[HTC Sensation] ivanich:
No, "unknown stream" is not about this, I mean buffer loop timeout, and a few similar errors about buffer underrun. Also kernel error "apr: invalid parameters"
[HTC Sensation] killkiller9:
I tried to flash the rom via 4xt but it says "error in the zip file (status 0)" what does that suppose to mean? I had wiped all partitions except for sd card and rebooted, same thing. Can you help me, I tried to gg, but I cant seem to find anyone with the same problem
[HTC Sensation] LordNerevar:
It's been awhile, but I believe that's the error you get with an older recovery. Try updating your recovery by following the link in the OP.
[HTC Sensation] atulvijay007:
can i get the fm radio apk to enjoy fm without data use in slimkat rom..............?
[HTC Sensation] LordNerevar:
WARNING: This beta release uses /data/media as the primary storage location. It is not recommended for use by those who have not configured an SD-EXT partition.

Thanks to the idea of [MENTION=1909299]hinxnz[/MENTION] and [MENTION=2307984]delta-roh[/MENTION], I decided to repartition my Sandisk Extreme SD-CARD and make use of the SD-EXT partition for /data. I went a little overboard I guess and chose to use ~25GB for SD-EXT and 256MB for swap and the remaining for VFAT (never know when you'll have to have VFAT). The beauty of this configuration is that now with this F2FS enabled ROM, I'm no longer having to worry about /data filling up or slowing down due to ext4 trim issues. I can't thank you guys enough for the idea!!!

Now to quickly explain the warning above. If you don't have an SD-EXT partition, this ROM will work thanks to it having some LP patches back-ported. However, since it uses /data/media as the primary storage location, your /data partition is going to fill up very quickly (all of you pictures and data that normally goes to /sdcard will be going to your 1.1GB internal /data partition). Obviously, that is less than ideal. If you have an SD-EXT partition though, this ROM is worth trying out. All of your precious data will be stored on an F2FS file system. This ROM also has fsck support for F2FS file systems thanks to more back-ported LP patches.

There have been a ton of changes since the last ROM (other than the above), but I'll mention some highlights:

Too numerous to count kernel patches. Many thanks to [MENTION=4329165]ivanich[/MENTION] for his wonderful work keeping our kernel up to date!

Thermal throttling moved to kernel (no more thermald). Thanks to [MENTION=5795145]javelinanddart[/MENTION] for this!

CPU maximum frequency bumped to 1674MHz while maintaining stability.

GPU frequencies adjusted to have steps more like 3.0 kernels. Thanks to [MENTION=5914422]little_lerroyy[/MENTION] for these CPU/GPU ideas.

Stagefright updates as of 8/19/15. Seems more of these keep coming.

Bionic updates back-ported from LP to increase speed.

Recommended Recovery

Note: This is required for F2FS support and highly recommended. Thanks again to [MENTION=4329165]ivanich[/MENTION] for these recoveries!

ROM

md5sum: a27625b6eca786a875578da0d51b9641

GApps - mini

md5sum: bc36fbccacd4c4b22eabf28e1ef7062b

Note: I'm no longer maintaining a full GApps package. Who cares if /data has GApps in it when it's 25GB? :D
[HTC Sensation] TheCheshireMan:
So good to see my favourite ROM updated! Thanks dude, can't wait for more updates!
[HTC Sensation] der_laufer:
And now please describe step by step how to do it. Currently I have 2 gigabytes sd-ext, and I use mount2sd. The rest of the sd card is fat32
[HTC Sensation] LordNerevar:
WARNING: You are about to lose all of the data on your SDCARD. Please back it up before continuing!

Backup your SDCARD because all your data is going bye-bye.

Read step 1 one more time just to let it sink in a bit.

Install Ivanich's latest TWRP recovery from here. Reboot your phone into the bootloader. Attach your phone to your PC via micro-USB cable and run the fastboot command "fastboot flash recovery <recovery .img filename>".

Boot to recovery.

You should now be in TWRP. Select Advanced->Partition SD Card.

You should see the partitioning window. Select the size for your SD-EXT partition and Swap partition.

Swipe to re-partition your SD-CARD.

Go back to main screen. Select Wipe->Advanced Wipe. Check the SD-EXT checkbox and click FS Options->Change FS. Select F2FS.

Swipe to convert your SD-EXT partition to F2FS.

Repeat steps 8/9 for your /cache partition (it should also be F2FS).

Then you can install the ROM/GApps from my previous post as you would normally.
[HTC Sensation] der_laufer:
LordNerevar

concisely and clearly, exactly what I needed. thank you
[HTC Sensation] Saakshath:
So here is how my SD card is currently set up:

*Have 32 sandisk class 10 ultra.

*Out of 29gb, 4gb is sd-ext, 256mb swap and remaining( 24.7gb) is fat32.

*Been using ivanich's cm12 rom and also hinxnz 1.5v mod.

So my question is will ur ROm wil work for the above setup.?
[HTC Sensation] saldymhmd:
I still don't understand about using data/media for primary storage, can you explain more? Also, I curently having about 2 Gigs of SD-ext partition, it is enough? Or maybe you can tell us how much the SD-ext size should be.
[HTC Sensation] LordNerevar:
Think of it this way. Everything that ROMs normally write to your SDCARD will now be written to SD-EXT in /data/media. This is what it means to be the primary storage location. The only thing that will ever be written to the VFAT partition of your SDCARD will be data that you manually put there. Both partitions will be available via MTP when you connect to your PC. You will see "Internal storage" (F2FS - primary storage) and "SD card" (VFAT - secondary storage).

So, let me ask you this in order to answer the question whether 2GB or 4GB enough for the SD-EXT partition. Would you buy a new phone today that didn't have an SDCARD with only 2GB or 4GB for user data? If the answer is no (which it should be), then this ROM is probably not for you. At least not until you repartition your SDCARD for a larger SD-EXT partition.

Hope that clears it up a bit.
[HTC Sensation] Saakshath:
So u mean other then apps, all other things like pics taken, any downloads we did etc will be saved in SD-ext rather then VFAT..?
[HTC Sensation] saldymhmd:
Okay thanks for explanation :) Just repartition my Sandisk 16GB with this setup

-SDEXT (F2FS) as Primary Storage about 12GB

-SWAP 256MB

-Remaining vfat as Secondary Storage about 2,8GB

But please note if anyone want to move to other rom, Please backup first and don't wipe your SDEXT partition or you will lose all of yours.

This is now my daily driver :) Hope you will still update this rom, thank you very much
[HTC Sensation] LordNerevar:
Yes. Precisely.

Very cool! That seems like a good configuration.

[MENTION=4301446]saldymhmd[/MENTION] makes a very important point above. Do not wipe your SD-EXT partition as it will wipe your photos/downloads/etc! This also means do not do a "Factory Reset". When I update the ROM, only do advanced wipes of /system and /cache.
[HTC Sensation] Harakhti:
CWM on ancora allows separate wiping of /data and /data/media and it may be possible to implement that for TWRP as well. I'm just not sure how it was pulled off at the moment.
[HTC Sensation] der_laufer:
how f...k to, read / write to f2fs on Windows 10 X64 ????
[HTC Sensation] LordNerevar:
Possibly. An update script could suffice until then. Something like:

/sbin/busybox mount /sd-ext
find /sd-ext -maxdepth 1 ! -name 'media' -exec rm -rf "{}" \;
/sbin/busybox umount /sd-ext

I'll create a zip with that and test it out next time I need to wipe /data.

MTP isn't working in Windows 10? It works fine in Windows 7. Make sure MTP is checked (Settings->Storage->Settings (3-dot)->USB computer connection).
[HTC Sensation] Saakshath:
Cool thanx man..

Will backup first and then try ur ROM.
[HTC Sensation] der_laufer:
it works, but if I start to copy files from PC to an SD - error

edit: Now it works as it should. I do not know why it did not work before
[HTC Sensation] Harakhti:
Do keep in mind that Windows 8.1/10 comes with a driver stack that can cause enumeration failure on several devices.
[HTC Sensation] gc2712:
Is there a straightforward way to S-Off my Sensation which is rooted, hboot 1.27, with last build of this ROM and 4Ext recovery? Preferably using Linux? Any links to method greatly appreciated. Then I'll upgrade to this SD-external with F2fs. Glad there is continuing development. Love this phone. :)
[HTC Sensation] tom0769:
Google for 'joupunutbear'.

Then you'll find all you need for s-off.
[HTC Sensation] Harakhti:
Refer to the post above mine, Rumrunner also works if you don't want a replaced HBOOT
[HTC Sensation] gc2712:
Many thanks. I'll follow up with this.
[HTC Sensation] sunanulh:
Is Ultra Sdcard fast enough or should I buy Extreme Sdcard for the partition?
[HTC Sensation] Harakhti:
Class 10 works fine, but if you can afford an UHS card, that would obviously be on your side with performance, especially if you plan on using larger applications or games. ;)
[HTC Sensation] sunanulh:
Can this method be implemented on the other rom or just this rom?
[HTC Sensation] Harakhti:
Partitions are a kernel thing, there's a script available for Ivanich's CM11/12/12.1 around. For lower/different versions, as of now you'd have to compile a custom kernel or create a custom ramdisk mod for that.
[HTC Sensation] hinxnz:
I thought I'd give 4.4 another spin and yeah rom is quick, good work!

I wanted to make a nandroid backup but with this configuration, I didn't have enough room. There are a few ways around this but I figured out you can use a usb drive, I just unmounted sdcard and then mounted usb drive as sdcard so the native TWRP backup works.

Here's how: First boot into TWRP recovery, connect your usb flash drive, then hit Advanced, Terminal Command and then Select, now enter codes below.

This unmounts sdcard:

umount /sdcard

And this mounts usb drive as sdcard:

mount /dev/block/sda1 /sdcard

You may need to refresh sizes for sdcard to see actual size of usb drive before making a backup.

You need to do this everytime you want to mount usb drive as sdcard to either backup, restore or flash from it.

Make sure your device has enough charge to complete the process, for example when backing up sd-ext in TWRP also backs up /data/media which can be gigs.

I also seen some commits on fmapp2, is it working with sound?
[HTC Sensation] der_laufer:
Is there ever a possibility of using a PC for backup?
[HTC Sensation] hinxnz:
Android comes with a backup utility that is used with adb but I have never tried it, could have bugs and I think Android needs to be running.

The commands are:

adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]

So for example if using windows PC to backup enter:

adb backup -apk -shared -all -system -f c:\pyramid_slim_backup.ab

To restore your backup enter:

adb restore c:\pyramid_slim_backup.ab

Otherwise there's adb pull & adb push, I'm not sure how to create a tar file on PC from device.

I came across this program awhile ago too but have never used it.

Let me know if you successfully backup & restore from PC, it would be handy to know.

You may want to wait and see if anyone else posts on how to create a tar backup on PC, if it's possible.

Edit: I just made a Android backup to PC with the above method but it's only just over 2Gb and my Nandroid backup to usb was just over 6Gb so I presume it did not backup /data/media but as it seems, it was the sdcard instead because I did add the 'shared' flag which is meant to include shared storage / sdcard contents. I haven't tried restoring the Android backup to check but AFAIK it's possible to convert into a tar file to see that way..

Edit: Here's a guide for creating a nandroid directly to PC - http://xdaforums.com/showthread.php?t=1818321
[HTC Sensation] der_laufer:
Thank you. I'll try it, but only if my Sensation and 10 x64 windows begin to communicate properly. So far I can not install the drivers, somehow it does not want to work
[HTC Sensation] LordNerevar:
Great to have you onboard! Thanks for the tips! :)

I haven't looked into that fully yet. I'm sure it needs more work. For now, I do believe spirit1 and/or spirit1 free work.
[HTC Sensation] TheCheshireMan:
I'm really interested in this new version of the ROM, I used the SD-Ext mod for CM11\12 on it before but it never quite worked beautifully (the "memory" section of the Settings app behaved... erratically, and I sometimes got random freezes).

However, my sdcard is relatively small ("only" 32 Gb total) and my sd-ext partition is just 4gb. It'd be a problem for me to have /data/media loaded on sd-ext, as I'd run out of space pretty quickly. Is there any chance I could modify it to only use sd-ext for /data (or even just app data), and use the sdcard for pictures as usual?

Maybe it's as easy as modifying the build.prop file?