yashsingh1/xdaforums huggingface dataset:
[HTC One V] bloodsaw:
The Cyanogenmod team has things to work on for CM13 before any devices get anything fixed. I just bought the Moto E 2015 it's a great phone Moto only put an OTA for up to 5.0.5 with a planned upgrade to 6 even the cm13 rom for the Moto E 2015 has the same issues as this one, camera doesn't work and whole wack of crashes, Android 6 looks and feels great but it has issues right now, i'd say by mid-end january or sometime in February we should see some fixes from the CM team
[HTC One V] jonas2790:
The last days I worked on cm13 and I have some news for you:

- MTP is fixed now, I managed to find a workaround which solves most of the problems.

- The most crashes and graphical issues are gone. I had to improve the size of the SF heap quite a bit but the system runs stable now.

- Keyboard crashes are also fixed.

- I updated the interactive scheduler to a newer version.

- And another improvement: From now the cm13 builds will be compiled with the clang compiler. Most other cm devices are already using it.

The new build will be available tomorrow, I'll have to fix some issues with the OTA server before.
[HTC One V] grussia:
great news Buddy!! Happy New Year!! Waiting for a build!!
[HTC One V] jonas2790:
I decided to wait for the android security bulletin to be published, so I can include it in the next build.

The next build will be here tomorrow or maybe today, there will be a new cm12.1 build also.
[HTC One V] Shoaib05:
Time to update your signature with CM13 too. :P
[HTC One V] jonas2790:
Haha, thanks for the tip, done :)
[HTC One V] jonas2790:
Here's the new build of cm13. Mtp is fixed now, it includes the newest security fixes and is much more stable: https://www.androidfilehost.com/?fid=24352994023708789
[HTC One V] tarkzim:
Fresh installed the latest build,

but the AOSP keyboard fc is still happens, then its feels smoother than the previous build :)

great job.
[HTC One V] jonas2790:
Really? For me it didn't happen at all...

Did it crash in SetupWizard?
[HTC One V] tarkzim:
SetupWizard and after that :(

i can't even type my google account to sign-in for now,

maybe i will check it again after i re-install the ROM :)

*UPDATED*

after i installed it second time with wipes,

AOSP keyboard keep crash all the time.
[HTC One V] jonas2790:
That's really weird. Can you send me logs?
[HTC One V] tarkzim:
Sorry , but how to get the logs...

BTW, I've manual install the google keyboard and switch to it, then crash is gone.
[HTC One V] jonas2790:
Here's a tutorial: http://xdaforums.com/showthread.php?t=1520508

I need logcat and dmesg after the keyboard crashed.
[HTC One V] tarkzim:
Ok, I'll try to reproduce the crash and give you the logs, thanks for your hard works.
[HTC One V] tarkzim:
here is the logs:

View attachment logs.zip
[HTC One V] jonas2790:
Thanks, this helped a lot.

The problem is libjni_latinimegoogle.so, the library which enables gesture typing for the keyboard. It's included in google apps, so that's why I don't have this error.

A solution would be to simply delete this lib or as you said just using the google keyboard.

I'll try to find out what causes the issue, looks like this only happens with our kernel.
[HTC One V] tarkzim:
great to hear that,

wait for your next build to make more magics for us ;)

thank you.
[HTC One V] grussia:
Hi Mate!! Flashed the latest build. Free RAM a little more than 100Mb, although previously there were about 200, Kernel Adiutor doesn't work, wants busybox - set manually? Although the system is now working smoothly.. USB connection not tried it yet, don't poficies error?
[HTC One V] jonas2790:
You have to wait for an update of kernel adiutor or install busybox manually, it was removed from CM some days ago.
[HTC One V] thinhx2:
Because resurrection remix 5.6.0 base cm13 and use device cm and i can build r.r for htc one v
[HTC One V] thinhx2:
Because r.r 5.6.0 use device cm and now i try build rom r.r for htc one v. Waiting
[HTC One V] grussia:
Waiting for comrade)) good Luck with the build!
[HTC One V] thinhx2:
yes because i build complete r.r 5.6.0 for nokia x2 use branch cm13. i think r.r 5.6.1 work with branch cm13 htc one v
[HTC One V] grussia:
And when we gonna see/try this creation?
[HTC One V] thinhx2:
wait , I will make the HTC One V and HTC HD2 ( if possible)
[HTC One V] thinhx2:
PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

RR_VERSION=ResurrectionRemix-M-v5.6.1-20160116-primou

DEVICE=primou

TARGET_BUILD_VARIANT=userdebug

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=scorpion

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.19.0-43-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=MMB29T

OUT_DIR=/home/thinhx2/rr/out
[HTC One V] grussia:
and what does this mean, dear?
[HTC One V] jonas2790:
This means he started the build process.
[HTC One V] grussia:
It certainly is good)) And where, in fact, result?))) And Mr Jonas us any luck!?)));)
[HTC One V] thinhx2:
U try build r.r 5.6.1 for htc one v and no good
[HTC One V] grussia:
This means that ResurrectionRemix we can not see!?)));)
[HTC One V] Px80:
Seems like 6.0 gapps do not work on 6.0.1. Roms. I get an error warning after boot in loop. Only way to get rid of it, shut down the phone.

Anyway if this build ready for daily use?

:Edit:

after reflash AOSP LAyout FC'S.
[HTC One V] grussia:
hi Jonas!! How are you doing with the firmware? No new ideas/builds?
[HTC One V] Px80:
A-Gapps work on 6.0.1
[HTC One V] jonas2790:
Does it fix the keyboard problems?
[HTC One V] Px80:
Yes sir.

/edit:

Any chance that next build is pre rooted?

I can't establish an adb connection via my notebook.. Every driver I try does not work so I got no chance to root..
[HTC One V] bloodsaw:
use these drivers http://xdaforums.com/showthread.php?t=2217396 then install this http://xdaforums.com/showthread.php?t=2317790

I have moved on from the HOV but any questions regarding it's use I will still help out with,

If you already installed CM13 on your HOV then what you need to do is enable developer options by going to settings>about phone then scroll to the bottom and tap build number 5 or 6 times then press back you'll see the developers options menu above about phone in the settings app now, go into dev options look for root access then set it t apps and adb now you have superuser access scroll down and enable android debugging(you must not have a usb connection already established to do this) revoke the USB debugging authorizations, enable local terminal, scroll down to the drawing section and turn off Window/Transition animation scale along with turning off the Animator duration scale, finally at the bottom is a toggle to use the back button to kill an app when it's held for 3 seconds or longer.

Jonas have you made any updates recently? also can you add this page https://wiki.cyanogenmod.org/w/Doc:_developer_options to your first post along with a spoiler with the extra information i have posted so people know how to do these tasks.
[HTC One V] jonas2790:
Thanks, I think I'll use one of the reserved posts as FAQ.
[HTC One V] bloodsaw:
Not a problem when I get my rent all caught up and i'm not in so much debt and can afford the $30+S&H for screen+housing replacement i'll update to the current build and test it out for bugs.

Any word yet on getting adoptable storage working?

I've been using it on my new Moto E 2015 LTE and it works wonders, instead of the standard 5GB that's available to the user I now have 12.44GB of user space.

A little tip for when you get adoptable storage working in a build, go to the SD card after formatting it as internal press the menu button at the top right corner of the screen and tap migrate once you complete the migrate process your External SD card is prepared as your Internal SD card.

Some apps don't work properly on external SD's when formatted to internal format for example brave frontier and sonic dash both have to be installed to internal storage to work or they just sit there with a black screen it's not a speed issue because my SD card has Mortal Kombat X and Tales From The Borderlands both on there and they play at full speed no problem.

I can't remember if you have the internal SD card disabled in your CM13 build if it is it could be the reason as to why adoptable storage isn't working, the easiest way I can see you testing it is by enabling the internal sd card copying over a audio file like a music track then format an external sd card to internal format and use the migration process this will move the audio file and any other files that can be moved over to the sd card.
[HTC One V] AnyAndroidOSWins:
Just wondering if this works with USB OTG like your 5.1 Rom.
[HTC One V] Mr.zeus:
great rom till now , thanks . no keyboard problem ... wish i could use a secondary camera app... camera is useless

your method for mtp didnt work

and i dont know ,it takes so much time to charge battery, i'm not sue it's because of this rom or kernel or whatever
[HTC One V] jonas2790:
Mtp is working, you just have to change the usb connection from charging to mtp in the usb notification.

If your device is charging slowly, try a charger which has more than one Ampere current.
[HTC One V] jonas2790:
Hey guys, time for a development update again:

The camera is working now thanks to the libshim [MENTION=3382363]Mustaavalkosta[/MENTION] implemented, only the camcorder has some problems saving recorded videos. The flashlight is also fixed and adoptable storage is finally working. There are much updates for the zram kernel driver and we're using lz4 compression, which is more efficient than the old lzo, for zram now. The dex2oat watchdog is disabled now which should fix some problems with gapps and I enabled doze, I don't know if it's working though because our device lacks a sensor to detect inactivity.

Voltage control for the cpu with the vdd sysfs interface is also enabled now, but I didn't try it out. To use it you will need an app like kernel adiutor (I don't know if it's already updated for cm13 though) which supports this sysfs interface, but be really careful when playing around with it as to high voltages destroy your cpu. And as I said I didn't try it out so far, just to warn you... :)

So those should be the biggest changes, big thanks to [MENTION=3382363]Mustaavalkosta[/MENTION] and [MENTION=1804553]paulb_nl[/MENTION] for fixing the camera and doing much of the kernel work.

I'll upload a new cm12.1 and cm13 build tomorrow, they will both include the newest fixes from the February android security bulletin. Cm11 will also get an update this week, but only security fixes and no backports again.
[HTC One V] jonas2790:
Here's the new cm13 build: https://www.androidfilehost.com/?fid=24399994186368185
[HTC One V] grussia:
Hello Buddy! For some reason, links to the firmware(( could you correct!?:(
[HTC One V] tarkzim:
hi [MENTION=5464437]jonas2790[/MENTION], i have some issues from the latest build (02/03),

first, i did a full wipe, then flash kernel and clean flash it with gapps only,

the first boot after SetupWizard without problem except IME bugs (its doesn't matter),

but, when i make a normal reboot after that, its stuck on boot animation,

and then i force reboot, it just go back to re-odex some apps then reboot and keep looping this process.

don't know why this happened, everything just work fine before this build, is that have some conflicts with gapps?

but thanks for your hard work, its good to see our device is still alive.
[HTC One V] jonas2790:
The download works fine for me, what's wrong with it?
[HTC One V] jonas2790:
Yeah, somehow there are a lot of problems with gapps. The dex2oat watchdog was removed in the last build, so now apps have unlimited time to compile while booting...

Try those gapps, they are really small and work fine here: http://xdaforums.com/android/general/gapps-gapps-6-0-1-minimal-t3276606
[HTC One V] tarkzim:
seems like same result, tried A-Gapps v2 & v3, its still stuck on App Optimization stage, and took long time to reboot again,

i've never successfully boot into system since my first time tried to flash this build :(

trying to flash rom without any Gapps for now.
[HTC One V] jonas2790:
How long did you wait for the optimization?
[HTC One V] tarkzim:
over 30 mins with gapps,

but maybe 10 mins for Rom only.

UPDATE:

flash gapps after boot into ROM and reboot to recovery is work for me, never face weird issues again :)

and IME bug is gone too.
[HTC One V] Mr.zeus:
thanks, after reboot to recovery again, optimization fixed in every reboot

but camera doesn't work in new build for me:(

did anyone get it work with other apps?
[HTC One V] tarkzim:
really? camera is worked fine for me, except recorder is buggy as jonas mentioned on first post.
[HTC One V] Mr.zeus:
well, maybe i flashed a wrong kernel, because i flashed rom and kernel again and now camera works .... everything is great

thanks jonas

but some settings are missing. like swipe hardware-keys to turn screen on or off ... it was very useful

or some settings in statusbar in second page( i dont remember them)
[HTC One V] jonas2790:
You can enable sweep2wake and doubletap2wake in the "Device Settings" app. For the quick settings, you can just click the "edit tiles" button and add or remove the tiles you want.
[HTC One V] tinynja98:
Based on the experience you have gathered from making other custom roms, how long does it generally take for a custom rom to become stable?
[HTC One V] jonas2790:
That's a question I can't answer at all :)

It totally depends on the device you're working with. Which custom roms are already developed, which SOC does the device use, what's the latest android version available and so on...

This phone for example did have a kitkat custom rom available when I started working on it, but the hardware specific code was totally outdated, which had to be fixed to run newer android versions.

Here it took about 6 months to get a stable version, but on other devices (for example if the SOC isn't from qualcomm) it may take 6 months to get AOSP booting.
[HTC One V] zbysek.kn:
Hi,

thanks for this ROM

After restart I got message:

"Process system isn't responding"

in few seconds crashed keyboard:

"...keyboard has stopped"

and camera error, message:

"Can't connect to the camera."

A logcat reports are attached.

Cheers
[HTC One V] :
Can I update this ROM via recovery or recovery and with ADB flash boot.img?
[HTC One V] jonas2790:
If you're bootloader is S-OFF, you can update the phone by just installing the zip file in TWRP. If it's S-ON, you have to install the zip file in TWRP and flash the new boot.img in the bootloader.

S-ON is a security feature from HTC that prevents writing some partitions (like the kernel partition) from recovery. You can disable it with rumrunner (closed source software), which exploits a vulnerability in hboot to do this.
[HTC One V] Px80:
MD5 Sum Check error after OTA Update.

Anyone else encountering smthing like that?
[HTC One V] iiGiovanni:
Can't format to internal

i can't format my sd card to internal in Android 6.0 it said that it's damaged
[HTC One V] jonas2790:
Use the newest build and the newest kernel.
[HTC One V] iiGiovanni:
where can i find the kernel? and how do i flash it
[HTC One V] jonas2790:
Open the zip file of the rom, extract the boot.img file and flash it with fastboot.
[HTC One V] iiGiovanni:
Thanks it works??
[HTC One V] iiGiovanni:
The rom is slower than the update before...
[HTC One V] iiGiovanni:
i can't move my apps from internal to sd card.
[HTC One V] grussia:
Jonas

Hello Buddy! Do not plan to collect twrp 3.0.0?
[HTC One V] jonas2790:
I don't know at the moment, if I don't run into bigger problems I'll publish it.
[HTC One V] morteza.ghasemian11:
cm13

Why Bates method to get better sound quality headphones? Plz let

---------- Post added at 09:16 AM ---------- Previous post was at 09:13 AM ----------

beatsaudio:crying:
[HTC One V] morteza.ghasemian11:
cm13

plz:crying::crying::crying::angel::mad::mad:
[HTC One V] jonas2790:
Sorry, there is no beats audio on aosp based roms.
[HTC One V] ChandraVFX:
Try ViperFX4Android
[HTC One V] morteza.ghasemian11:
Aosp did was can get better sound in the headphones you what kind of headphones with good priceinexpensive is better?:p:p:p

I was only on the 3G mobile network settings is to him to add? When you're going after some time web web application wite and close comes. Please this is check true:(:(:(:(:(:(:(:(:(:(:(:(:(
[HTC One V] Meegoo_:
So, after installing this ROM I'm getting some problems with SD card.

I think most of the people, including me, use Link2SD.

After booting android detected both partitions and mounted them (that's a first). But it mounted them not quite where I (and every other app) wanted. My first partition mounted at /mnt/media_rw/7ACE-DFC0 and /storage/7ACE-DFC0. Second one is at /mnt/media_rw/feff559c-956c-d101-f0df-549c956cd101 and /storage/feff559c-956c-d101-f0df-549c956cd101

Also, Link2SD couldn't mount its partition. It was looking for /dev/block/vold/179:66, when the real location was /dev/block/vold/public:179_66

I tried mounting those partitions manually, but couldn't. Sometimes i was getting "mount: bad /etc/fstab: no such file or directory", sometimes "device not found" (or something like that). Tried editing fstab.qcom myself, but it got reset to default after rebooting (probably means I did something wrong and I shouldn't mess with it anyway).

PS. Just for funs i adopted SD card as internal storage. After undoing it internal storage mounted to /sdcard and /mnt/sdcard. Before at those locations there was second SD partition, which was showing up as empty btw.

Here's the output of mount http://pastebin.com/SViGDgAh
[HTC One V] jonas2790:
Well, since Marshmallow the android storage manager (vold) manages external storages like sdcards completely automatically. So there's not much I can do to fix your problems.

And as far as I know link2sd hasn't been updated for Marshmallow and also isn't necessary anymore, since we have adoptable storage now.

For those files like fstab.qcom you tried to edit: This doesn't work because those files are part of the ramdisk, which is inside the kernel image and the first thing that's mounted by the system. If you want to changes files inside the ramdisk, you'll have to repack the kernel image.
[HTC One V] Meegoo_:
I thought about that, but apparently we can't just use one partition as internal storage and second one for regular data. (I swear, if we could, that would be awesome)

And how one could transfer music, videos and stuff (including roms) to encrypted sd card I have no idea. I have suspicions , that internal storage remains unencrypted and you can use it for that purpose (based on the fact that it mounted to /sdcard), but 1gb is totally not enough. And anyways, after adopting SD card I was unable to connect phone to PC as media storage at all. On PC explorer just froze, and laptop couldn't install drivers (installation just stopped).

I think I'll rollback to 12.1 for now. All that new stuff is cool (and compared to previous versions is very intuitive for the end user), but it just doesn't work the way I want it to.

PS. By the way. "First launch" window (or however it's called) is very laggy (especially the part where it asks me to log in to google account). But once I managed to get past it, everything worked fine and fast.
[HTC One V] jonas2790:
Hmm, yeah that's a good question...

Maybe I can find a configuration which allows to adopt the full sdcard, but then use a part (like 50% of the sdcard) as emulated storage.

For the first launch window, I think that's a problem with gapps, which just run really slowly on our low-ram device.
[HTC One V] jonas2790:
New cm13 build is here: https://www.androidfilehost.com/?fid=24438995911975906

It includes security fixes, a new low-resource progress spinner, a lot of kernel updates and some bugfixes.

As always, ota users will get it in the next hours.
[HTC One V] AnyAndroidOSWins:
Hey Jonas, thanks for the great ROMS you've made for our HoV's. With your latest Marshmallow Build + Any OpenGapps after it "optimizes" the google apps, it'll give me a "Setup Wizard couldn't start", and a "Google Play services couldn't start". The Google Play error only pops up oce, but the Setup Wizard error keeps popping up, even after I dismiss it. On the good side, I find the rom to be faster then my HoV with you 5.1 Rom, so thanks. :)

P.S. Your CM 13 Rom has USB OTG, right?
[HTC One V] jonas2790:
You can fix the errors by installing the rom and finishing the setup wizard first and then installing Google Apps. And it's probably a better idea to use those Gapps instead of OpenGapps, since OpenGapps includes libjni_latinimegoogle.so, which causes a keyboard FC.

And sorry, cm13 also doesn't support usb otg. :)
[HTC One V] AnyAndroidOSWins:
Thanks for the quick response Jonas. :) I'll try those Gapps, and report back.

P.S. Too bad there isn't any OTG, since the Rom is quite fast, I think I'll probably us it, instead of your CM 12 ROM.

P.S.S. Do you mind sharing the technical details about why there isn't any OTG?
[HTC One V] AnyAndroidOSWins:
OK, same thing happened, except this time It showed "AOSP Keyboard unable to start", instead of "Google Play Services couldn't start". :(
[HTC One V] jonas2790:
Ok, then those gapps also include the library now...

Reboot into recovery, mount the system partition and remove the file /system/lib/libjni_latinimegoogle.so, then the keyboard should work again.

The problem with otg is, the usb implementation in the kernel is really old and full of bugs and workarounds from HTC. There is a driver for otg in the kernel and there even are some switches to turn on usb output power, but I don't have a clue how this looks like on the hardware side and I think the gpio to power the usb port just isn't connected to the pmic (power management chip).

Somehow the kernel does detect if an otg device is plugged in and even creates the needed sysfs files, but it can't detect the type of usb device and other important things.
[HTC One V] Amish.:
The rom is good no bugs except the ones which are mentioned already. Good work jonas :)
[HTC One V] GAMELASTER:
Wow! Marshmallow on 4 years old phone, wow, nice job! I already installed it, but for pass the init configuration I needed reboot once, then i configured, but rom still goes really slow! So I rebooted again and now I again waiting long to "optimalisation of applications"... So my question is, after a few reboots its a ROM stable and fast or it will be better to use a 4.4.4?

Thanks
[HTC One V] jonas2790:
Lollipop and marshmallow are usable in my opinion, but they aren't as fast as kitkat. You can try to overclock you cpu to 1.6 GHz, this is still stable for me but speeds the whole thing up a bit...
[HTC One V] GAMELASTER:
Hmm, for me is KitKat a sometimes laggy and not stable (a lot of time its crashing). Any ideas why? Or what apps use to boost up?

Thanks
[HTC One V] jonas2790:
Don't use apps to boost your system, this won't help :)

I didn't backport the changes I made for lollipop and marshmallow to kitkat, so this might be why kitkat is more unstable.
[HTC One V] GAMELASTER:
Oh, then I dont know why is all so slow. For sample, on kitkat I cannot install Chrome, phone freeze and restart. Or just the browser are reaaaaally slow. Hmph, I test a lolipop and I will write feedback. Thanks
[HTC One V] SIMBIOS:
hey,bugs cam corder not working can i use any other camera app?
[HTC One V] jonas2790:
There are even more issues with third party cameras I think :)

The problem with this bug is, to fix it I'd have to switch to LegacyXperias media HAL and for this one I'd have to separate the vidc and camera heap again which would cause about 20Mb less userspace ram. This wouldn't be a problem if we had CMA working (then those reserved heaps could be used by the system), but somehow primou refuses to boot with it enabled.
[HTC One V] jonas2790:
By the way: I just saw that android automatically creates an emulated storage if you choose to use your sdcard as internal storage.

This way you still have a storage your apps can use for data and you can use for things like music and pictures.