yashsingh1/xdaforums huggingface dataset:
[HTC One Mini 2] Speeding1988:
I went back to this firmware and found a workaround for the camera problems.

I installed "Performance Profile", it's a module for the xposed framework. There I made a profile for the camera app where I set the CPU governor to performance mode.

So whenever I start the camera app the CPU governor changes to performance mode and the camera works fine. You have to define a default profile too, where I set the governor to interactive.
[HTC One Mini 2] SpunkyIceke:
I did the same now and it seems okay but it also force closes on me from time to time...
[HTC One Mini 2] SpunkyIceke:
After a few minutes of playing i went back to kernel auditor and CPU min 998 en max 1194 on interactive and i/o scheduler on fiops .. Seems to work better overall
[HTC One Mini 2] DarkExistence:
Does it have the theming in settings like CM?

EDIT: NVM Just installed! Seems smooth so far :)
[HTC One Mini 2] DarkExistence:
I saw a post in this forum somewhere saying they updated this rom to the latest one using the updater in the settings? Does this rom do that :o
[HTC One Mini 2] Soenisti:
Ah you're trying carbon. Yeah I maintain a port of carbon and what I've generally foudn is that they are about 3 months behind the CM code so if something changes in the frameworks in CM then it'll take a while for the Carbon code to catch up as the code is just so massive.

What I normally did in those cases was to have a CM tree as well, find that variable or method in the CM tree and see if it could be copied into the Carbon tree easily.
[HTC One Mini 2] DarkExistence:
Hey so since ive been using the rom for a few days i think i can give my experience so far..

1. Its great that its a fellow irishman working on this rom :D We can be trusted haha

2. Lag.. very minimal, if any at all.. Like others its only with the camera but not very often.

3. Battery life was great the first day, but today I charged it to full overnight and it was already at 20% by 15:00. Recharged it to full again at around 9:00 it was full, but it is now 21:35 and it is already at 85%. Uninstalled a few apps and will see if it was an app problem, if it is i will edit this.. if its not.. any battery saver tips? :P

4. Speaker quality has been good, Set it to 'Pop' in the equaliser and it made my spotify seem ok. One or two apps it is a bit tinny and it doesnt get very load in calls.

Thats all so far :). If ye have any suggestions for what i should do to imporve my experience please tell me :P haha. But so far it has been great besides one or two things! (to be expected) haha. Keep up the good work my fellow irish man and don't leave us hangin with no roms! Thanks!! :)
[HTC One Mini 2] Siluxsept:
Thanks mate. Didn't think of that, I assumed they would be up-to-date more or less... Repo synced CM12.1 tree today - sorting out what to replace right now. BTW I tried to build CM12.1 as well, but unsuccessful... As you said WiFi and modem is messed up. When I compare the tree of M8 I noticed they moved lots of stuff into android_device_htc_m8-common. Is this the change you mentioned? Do we need to adopt this for our device? What is your approach patching this?
[HTC One Mini 2] Soenisti:
Yeah I managed to get mobile and wifi working fine by doing 3 symlink commands from terminal and rebooting (they've shifted from /system/etc/firmware to /firmware plus the wifi cfg file was missing) and the only other bit not working is external SD card not mounting at all. Kernel issue maybe or change decision on how it should be formatted and they've removed the old version so it can no longer mount a non-reformatted sdcard? Same for the Carbon builds out there, no external SD card.
[HTC One Mini 2] Soenisti:
Hi mate, yeah I'm living in Ireland but unfortunately I'm English!!

As to power saving, task killer to kill off reloading apps and also boot manager from Xposed or Greenify or System Tuner to stop apps from starting up etc. I also use BatteryGuru.

And yeah I'm trying to figure out why the mount is failing but need my phone during the day as well!!
[HTC One Mini 2] Soenisti:
Hi all, I realized I hadn't uploaded the last good version before the CM changes broke the build so have just uploaded it now and changed the links on the main page. All previous versions are still available on my androidfilehost page but this 2.1.2 version seems totally stable so far.
[HTC One Mini 2] ajlajluk:
Hi Soenisti. The 2.1.2 version is dated 22/8/15. Do I assume this should be 22/9/15?

Also does this include the new CM changes, I'm a little confused (probably my age!)

Thanks
[HTC One Mini 2] Soenisti:
Hi,

Nope the date is right. I forgot to upload that one once it built OK and then since then I've been trying to figure out the rest when I have time.
[HTC One Mini 2] ajlajluk:
Thank for clarifying that for me.

Good luck with the new build when time permits.
[HTC One Mini 2] DarkExistence:
Ah your still in ireland so it kinda counts! I deleted an app which seemed to be the cause. Seemed to use location all the time. Battery is the same as before now but I will try out those apps!

Also regarding the update.. will I need to flash it on again? Factory reset and all that? (Sorry I'm a bit of a nooo with flashing still haha) thanks :)

EDIT: Did it :P Learned myself haha :P EDIT 2: Also can we have a change log please? Thanks :)
[HTC One Mini 2] Soenisti:
Flashing this one as long as it's from the same trees (ie once I get the builds working again it might well need a factory reset first) then you can upgrade and downgrade mostly at will. Erm, Change Log is on the front page just up to 22nd Aug!!
[HTC One Mini 2] DarkExistence:
Ah thanks for your reply! I just found one problem with the install..

On the front page it says cm 2.1.2 but when u actually it, It says cm 2.1.1.

http://imgur.com/V4WRVoS <--- just to show
[HTC One Mini 2] Speeding1988:
I think that's no problem, he just forgot to change the version variable before building the rom.

[MENTION=4631298]Soenisti[/MENTION] could you include SuperSU in your next build?
[HTC One Mini 2] Soenisti:
I've cloned the memul repo and made some changes to reflect the changes in the m8 device repo and am trying another compile now but it's a slow system so will take a while. Will let you all know if this one works better. And the links for the firmware files are in Android.mk for the device tree...
[HTC One Mini 2] DanStep:
Hi, [MENTION=4631298]Soenisti[/MENTION]. Do you plan to make a ROM that is based on 6.0? ;)
[HTC One Mini 2] Soenisti:
Oh yeah. If I can get it built and running then I definitely will do!
[HTC One Mini 2] DanStep:
Nice to hear. 6.0 I want to try, but HTC forgotten about this phone. I am glad that you are doing ROMs.
[HTC One Mini 2] Xerco:
Yeah thank you Soenisti for keeping my mini alive! Any updates are welcome, in your own time of course :D.

Sidenote, My bootloader says TAMPERED at the top and I cannot install/S-OFF with sunshine. Do I have to go back to stock todo this and reinstall Nostromopop?

Xerco
[HTC One Mini 2] Soenisti:
Yes I seem to remember sunshine can only work properly on a stock ROM...
[HTC One Mini 2] Xerco:
Ah ok thanks, don't need it, was just wondering why it wouldnt work.

Cheers
[HTC One Mini 2] Stehno89:
I have a problem, when I try to make a call or someone is calling me I hear absolutely nothing. Not even the phone ringing on the other side, but people hear me when it connects.

It happens aproximately 3times from 4 calls. I tried another call app, made 3 calls and it happened once from these three calls, so another app does not fix it either
[HTC One Mini 2] Speeding1988:
Try to enable and disable the speaker. This is working for me.
[HTC One Mini 2] Stehno89:
How did you mean that?
[HTC One Mini 2] Speeding1988:
When the call is active, activate the speaker.
[HTC One Mini 2] DarkExistence:
Let's hope they Cyanogen is quick enough with the release of android 6.0 so we can get it on our mini 2!!(hopefully when the developer has time!!) Haha
[HTC One Mini 2] DarkExistence:
http://www.easyhacks.org/2015/10/cyanogenmod-13-to-be-released-by-end-of.html this is a good thing! Hopefully the M8 Version could be ported to our device :D
[HTC One Mini 2] tryllz:
Hi Man,

I see you have flashed it succerssfully, could you please guide us step by step, as I did asmentioned but it didn't work, if you could tell us, what ROM/SW version before installing, which TWRP version did you use and how did you get S-Off and so, would be very grastreful.

Thank You
[HTC One Mini 2] corbeau56:
That's quite a long time ago! I had my memul device on CM12 before, with unlocked bootloader and TWRP 2.8.5.0. But I'm not S-OFF, this was not necessary. When you come from CM, you just have to make a clean flash: in TWRP, that means wipe all and install the downloaded zip.

Don't forget to make two backups before: one with TWRP (nandroid) and one with Titanium Backup Pro. If you get Nostromopop working, install Titanium first and restore "all missing apps". Do not restore "all apps", this would overwrite apps like e-mail and could lead to FC issues.

As CM did not continue development for memul (still angry about that) and left us with an unfinished CM12, I changed to Nostromopop. Several weeks ago, I tried CarbonROM and I kept it, but differences are not huge.

Happy flashing.

Corbeau

P.S. I'm not sure, but I think S-OFF is only needed when you want to get rid of a branding.
[HTC One Mini 2] tryllz:
Hey, thanks for the reply but in the first place how did you flash TWRP onto it the first time, I tried it, it didn't fail but it got me to the screen, where is shows Loading Recovery and then comes out of it, nothing happens.

Thanks Man...
[HTC One Mini 2] corbeau56:
I never had any problems with recoveries. Took the TWRP from this thread and flashed it with fastboot command fastboot flash recovery filename.img. How did you do it?
[HTC One Mini 2] tryllz:
Thanks for the reply, man, but did you use the TWRP version 2.8.5.0, and was your device updated OTA to the last version, I updated with a small (45MB) update called stagefright OTA about 3weeks back from now, I tried this TWRP lately and it failed.

This is how I started, I downloaded the TWRP, after the USB debgging and everything, I reboot into the fastboot from adb:

- adb reboot bootloader

- Press power key for fastboot then type

- fastboot flash boot boot.img

- fastboot reboot bootloader

I got the Loading Recovery screen after 2 flashes, but still it wouldn't stay on that screen, it would just come out of that screen, then I downloaded another version of TWRP, and then the device hung on that Loading Recovery screen for long time, I didn't know if that was normal but it was on that screen for abnormally long, so I flashed it back with stock boot, then it started working normally and boot up to home screen but no luck with root access.

Also I just noticed the TWRP in the image is 2.5.0.0 in the thread you mentioned, is it just for reference or is it the actual one to use.

Any ideas...
[HTC One Mini 2] corbeau56:
The commands you use do not flash the recovery. I downloaded the TWRP img-file to my PC and then flashed it with these commands:

adb reboot -bootloader

fastboot flash recovery name_of_recovery.img

fastboot erase cache

P.S. I have no problems with V2.8.5.0 but some recommend V2.8.1.0.
[HTC One Mini 2] tryllz:
Thanks, man I will try this by the weekend, Friday, as my PC crashed and I'll install Windows 10 as well...

I think I did it like this, I did a flash boot command then when that failed I did a flash recovery command, at that time both did not work, but I'll try your commands.
[HTC One Mini 2] soundrediscovery:
I am running with 2.1.2 having previously tried 2.1.0 but then having more success with 2.0.9.

This ROM is excellent, especially as I am not a developer, and I think the guidance given for install is great.

The only issues I have remain with the camera, the stock one froze virtually every time requiring a full reboot.

I now have Open Camera installed which is better (it allows me to save to the SD) but not perfect.

I had tried the HTC M9 when I had 2.0.9 but have not yet tried the HTC camera since I went to 2.1.2

It is a shame that HTC dropped support for this phone as it is a very good mid range model - my previous phone was the Desire X (great but lacking in space for apps) - particularly the 16GB internal storage.

The limitations on KitKat for writing to SD card pushed me toward rooting and then a custom ROM so I am grateful for the work carried out here.

My main query here is whether or not it is possible to paste a log file where the camera fails to help identify what the issues are as this seems to be the main ongoing issue with this ROM - I am happy to assist with this if I can.

My only other query is whether the original HTC ROM is available in a .zip rather than .img so that it could be restored as easily as the custom ROM if and when I change phones? (I'm not planning to for a good while as I like HTC's and I don't want an oversized handset :) )

Great work, much appreciated. :good:
[HTC One Mini 2] csoulr666:
You could get a log file if you logcat(google it) but honestly it won't be of much use. The main caveat here is that we are using common camera libs instead of the original ones, hence getting this result. With a LOT of work and reverse engineering, we could get the camera to work. But that requires a lot of knowledge on the matter and it is not everyone's cup of tea.

As for your other query, there is a stock rom in zip format in the development section. Although it is not the latest version, it is a zip file.

But my advice would be to keep a TWRP backup of the Stock Rom so that you can restore it at any time
[HTC One Mini 2] soundrediscovery:
Thanks for that, I did wonder if that might be the case.

Yesterday I managed to get the 'Camera FV-5' app from Aptoide (the Pro Version) as recommended earlier in this thread - so far so good.

The request for a stock ROM (that I can flash) is because I think I have deleted my original backup - I have the download from the HTC website but that is not as easy to reinstall (I prefer easy!! :))

The camera was the only significant issue I had with 2.1.2 so all being well I have reliable set up going forward now without a lot of additional 'bloatware'.

So thanks again.
[HTC One Mini 2] tryllz:
Hi Man, I would like to thank you, for your help, I manage to install Lollipop 5.1.1 without any problems....as instructed by you..

Thank You Soooooooooooooo Much...

I wanted to upload screenshots but the site was not uploading, I will upload soon, ThanX.... :o
[HTC One Mini 2] Bashlory:
Hey I've been having a problem with Google syncing over the past week or so. It suddenly stopped syncing, and under account settings it constantly says 'sync error'. Within the actual Google account where you can turn on and off the various Google services it says "sync is currently experiencing problems and will be back shortly". When I sync it manually it sometimes works, sometimes not. When I refresh my email with the gmail app that always works, but it doesn't seem to sync automatically?!

I have tried many things and nothing seems to work.. (Deleted google account, deleted updates and cache etc etc. I've tried everything except reflashing and hard resetting which I would prefer to avoid if possible!)

If anyone has a solution or experienced the same issue please do share! Thanks!
[HTC One Mini 2] tryllz:
Hi All,

Is there any equalizer that makes the loud speaker normal, rather than hearing sound like the speakers are torn, I see that nothing is better than the default HTC Boom Sound, is there any alternate for this or any other app that can replace this, I even tried the Viper4Android but didn't make any difference, at the highest sound the speakers sound like torn on the inside, I tried adjusting the Viper4Android settings but no luck and before that I tried the Equalizer app, no luck.

And I see the battery drains 10-20 % in about 8 hours unused.

Any way Thanks guys for Lollipop...
[HTC One Mini 2] Soenisti:
Ah, I think this is something to do with the code for headphones via the jack. I've been using bluetooth headphones for a few weeks now and the sound is awesome.
[HTC One Mini 2] DarkExistence:
I dont know.. the sound that comes out of my wired earphones is very loud and clear with amazing bass due to the equaliser
[HTC One Mini 2] tryllz:
Thanks Bro, but I was talking about the loud speaker sound...
[HTC One Mini 2] tryllz:
Hi man,

If you could explain what do you mean by "S-Off is to get rid of Branding", Branding ?!

Thank You..
[HTC One Mini 2] corbeau56:
I'm not an expert, but as far as I know, you need S-OFF on memul devices that have a branding (like SwissCom or so) to get rid of carrier limitations. I never needed S-Off on my device.
[HTC One Mini 2] Speeding1988:
[MENTION=4631298]Soenisti[/MENTION]

Could you give us a short update about your progress of building a new version of this rom?

Are you able to handle some of the problems?
[HTC One Mini 2] tryllz:
Ok, now I get that....I was wondering if the HTC M8 SW can be installed on the M8 Mini.....I know wounds stupid but the mind is a curious thing, always keeps on questioning.

Thanks Man... :p
[HTC One Mini 2] Soenisti:
Hi all, I've found one bit of missing code (HTC logging was re-enabled in September and now the main thread aborts if you try to upgrade without that library) so trying another build today... Latest code is up on github.com/Aronar if anyone's feeling lucky! Be careful of bricks though, they hurt...
[HTC One Mini 2] soundrediscovery:
if I do a factory reset will it revert to the original stock ROM or the base install of NostromoPop?
[HTC One Mini 2] csoulr666:
It return to the base install of NostromoPop
[HTC One Mini 2] DarkExistence:
Hey man will you be working on a marshmallow rom for this device? :P
[HTC One Mini 2] Speeding1988:
http://xdaforums.com/showthread.php?p=63080863
[HTC One Mini 2] DarkExistence:
Thanks for sending me to the download page for 5.1.1 :P I know it has been asked before but now that roms are being made I was just asking again lol
[HTC One Mini 2] Speeding1988:
This link isn't headed to the download page, it's the link to the post where he answered.

I thought that you're just one of the guys which are to lazy to search. :p
[HTC One Mini 2] DarkExistence:
Haha yeah. I was just seeing if there was any update on that question :P
[HTC One Mini 2] Soenisti:
Hey,

Yeah once I get the current way 12.1 is being built sorted I'll be attempting a marshmallow build for the One Mini 2.

And for the current way 12.1 is built I think I'm making progress using the device trees I have, otherwise I'll start a whole new branch and model it off the way the m8 trees are setup at the moment, which seems to have forked most of the setup and configs into m8-common rather than the device_m8 tree.

The bit that was stumping me was the htc logging symbols but I've found a commit that might explain that a bit better so am attempting a build now.
[HTC One Mini 2] DarkExistence:
Awesome!!!!!
[HTC One Mini 2] DarkExistence:
https://wiki.cyanogenmod.org/w/Cyanogen_Apps actually just saw this, Confirmed it wont work with our current build?
[HTC One Mini 2] Soenisti:
Yeah that wont' work yet but then again most of those apps are in the main build anyway. The only part missing is TrueCaller maybe...
[HTC One Mini 2] Siluxsept:
Hi Soenisti,

Following the same idea I'm currently trying to model our device trees after m8 repos. Here is what I've done so far: https://github.com/Siluxsept Maybe we can work on these repos together?

Several things are still confusing me:

1. BoardConfigCommon.mk points to the msm8974-common repo - libril, configs, wifi, etc. and our device.mk seems to have moved there as well (into msm8974-common.mk) I did not expect that from the name of that repo "msm8974-common". It would be more logical to have all that stuff in the memul-common repo instead... So I'm not sure how to proceed - do we really need to also adopt msm8974-common or can we just leave everything in memul-common?

2. Original m8 BoardConfig.mk has a section "RIL" pointing to device/m8/ril - a folder we don't have in our memul tree. I removed this section, now my test builds are failing with "no rule to make target libril..." No idea how to handle this...

Probably there is a lot more to adjust, but these are my main questions right now.

I'm still a newbie in Android development, I started digging into this about 6 months ago. Would be great if you could look into it. Any suggestions or commits on my repo would be highly appreciated.
[HTC One Mini 2] Soenisti:
By the way all, anyone know how to get this working? It's happening when linking up libc. Everything else builds fine and I've tried adding allow-multiple-definitions to the ld flags but no luck. And this is the section that is needed to stop main crashing out at boot time on the new code... If we can crack this it'll build and run I think.

/Data/Code/CM/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:

error:

/Data/Code/CM/out/target/product/memul/obj/STATIC_LIBRARIES/libc_htc_symbols_intermediates/libc_htc_symbols.a(htc_log.o):

multiple definition of '__htclog_read_masks'

/Data/Code/CM/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:

/Data/Code/CM/out/target/product/memul/obj/STATIC_LIBRARIES/libc_htc_symbols_intermediates/libc_htc_symbols.a(htc_log.o):

previous definition here
[HTC One Mini 2] tryllz:
Hey, wanted to add up my 2c...I deleted the TrueCaller, as I did not like it, then I flashed, all is fine and I really like the new dialer window...

The only issue I am facing is that the NFC remains on and disabled so I cant turn off NFC and the battery is eaten alive...other than that..its fine...and also no Audio fix for the loud speaker.. Is there a way to remove the newly installed C-Apps but still keep the dialer :p

BTW does any one have the stock recovery for the HTC One Mini 2 and the Stock ROM...unable to find it any where as all links are dead...on XDA..
[HTC One Mini 2] tryllz:
Ok, there seems to be some issue with the NFC, it enables and disables on its own in the back end and the battery drains severely....

I have attached screenshots of what keeps on happening, as I open the settings for NFC, the thing that I dont use NFC at all and it remains active and drains battery way too fast...I did reinstall the whole ROM again but seems this might have been from the start but I never noticed since batt never drained this fast...its insanely fast in under 6 - 8 hours unused...

Any idea with any one...Please, Thank You
[HTC One Mini 2] Soenisti:
Did you fresh install this or which version are you using? I've never had that with NFC on any of the builds I've done on my own phone so maybe check the firmware version you've got installed as well? Can you get "adb logcat *:D" output from when it happens and post me that? I'll take a look and see if I can figure it out.
[HTC One Mini 2] Soenisti:
OK new build is built!! Modified the TARGET-xxx.mk files to add "-Wl,--allow-multiple-definition" into the core LDFlags entry and it built fine! Going to flash this afternoon and if it's stable (ie it boots!) will post as soon as I can.
[HTC One Mini 2] DarkExistence:
Awesome!!