yashsingh1/xdaforums huggingface dataset:
[HTC One Mini 2] nightcore500:
V0.3 is now available :)

Release V0.3 (08.07.2017)

Enable Ambient Display

Increase ZRAM to 400MB

Set default USB mode to charged to fix the USB mode bug on switching from "charging" to "MTP" mode

Rework on init.qcom.bt.sh

Remove DAC override permission which would allow rmt_storage daemon unix permissions to everything and add the system and wakelock group to these service

Adjust mpdecision service permissions to access procfs filesystem

Remove writes to non-existent IPv6 nodes

Remove useless property triggers

Properly set thermal control flags

Ensure boot-with-noop as this results in much shorted boot times

Adjust power config (Starting mpdecision later in boot to improve boot time and some more minimal changes)

Remove some permissions these are allready globally defined in device/qcom/sepolicy

Enable blur

Remove some unused permissions

Update to latest LOS upstream

Kernel: Only expose su when daemon is running

Kernel: Add some filesystem, net etc. patches (look here for full changelog)
[HTC One Mini 2] hahn.lelo:
Can i flash it dirty being on 0.2 ? Only swiping dalvik and cache?
[HTC One Mini 2] Andruxcx:
Probably yes. Thats what i am about to do
[HTC One Mini 2] nightcore500:
Yes, only dalvik and cache needs wiped
[HTC One Mini 2] HandyBesitzer:
How did you learn porting a rom, adjust Kernel,..?? I'd really like to learn about such things.
[HTC One Mini 2] Schwimmbuxx:
New Release works like a charm. You are awesome man! The market for such small fast devices is terrible and I'm very happy that there is someone hold this device on the latest version. Respect and many thanks to you from Hamburg ;)
[HTC One Mini 2] hahn.lelo:
Hi, I just wanted to inform that till now I didn't had any cellular network or WiFi issues which I had with the previous release...

Everything works well, camera is a bit laggy but OK!

Thx for your work!
[HTC One Mini 2] trashgremlin:
Hi! I want to install this ROM instead of stock. Is there any unsolved issues for daily use as main device?
[HTC One Mini 2] Borokhov:
Addonsu-14.1-arm-signed.zip not installed
[HTC One Mini 2] nightcore500:
That's how it should be
[HTC One Mini 2] Lehmer:
Thank you nightcore for this amazing ROM! I already used the previous ROMS but this one is really the best one of them.

I've a question which does not refer to the ROM directly, but maybe someone can help me:

I wanted to test the app "Mercedes me adapter". When I start it, it tells me that it will not run on rooted devices and terminates itself. But when I run root checker or SuperSU they tell me that root is undetected.

Are there any ways to make this app run on this rom?
[HTC One Mini 2] HandyBesitzer:
i had a similar warning from telekom. It asked me if i wanna run this app because it wasn't tested on rooted devices. Although i have the root permission disabled in the settings
[HTC One Mini 2] Lehmer:
The root permission is disabled on my device in the developer settings, too. The "sparkasse" app also warned me, but similar to your description from telekom I can use it although.... unfortunately the mercedes app doesn't give me a choice :mad:
[HTC One Mini 2] tryllz:
[MENTION=535343]all[/MENTION]

Can anyone comfirm if they have this problem.

Any data added to sdcard, for eg music, images etc wont show in their respective stock app until device restarted or sdcard removed and reinserted, background services checked and running.

Thanks..
[HTC One Mini 2] stkl:
Never experienced that...

Added ... via USB (MTP) from your computer? Did you disconnect th phone from your computer before accessing the data? Some systems tend to cache.
[HTC One Mini 2] tryllz:
I wad talking about moving data from phone memory to sdcard..

So if I take screenshot, it gets saved to internal memory and shows in gallery, then I use file explorer to move it to sdcard memory, then it doesnt show in gallery until I eject sdcard or restart device.
[HTC One Mini 2] stkl:
OK, confirmed. Did exactly that and it didn't show up in Gallery (neither Google nor HTC).

Maybe related to filesystem changes in the Kernel... didn't debug yet. Is this a new phenomenon in 0.3?
[HTC One Mini 2] tryllz:
It existed in the all the [MENTION=7570463]nightcore500[/MENTION] editions for me, I believe he missed it, it was reported earlier with 1st release hopefully will be fixed in next release :fingers-crossed:
[HTC One Mini 2] Coaxs94:
Hey [MENTION=7570463]nightcore500[/MENTION] ! I have one notice, have recorded some videos on 4.4.2. in 720p 60fps, checked if it is really 60fps and it is. But on this LOS I can't do it. I have selected 720p res, 60fps slow-mo and checked file info after rec, says 30fps. With 60fps high speed option (there are slow-mo 60fps and high speed 60fps options) doesn't even start recording. And I have tried other camera apps, but still no 60fps in 720p. Will this be fixed? Thanks.
[HTC One Mini 2] userx404:
Can anybody give me a hint to get the weather in the clockwidget working! I already installed yahoo-weather, but i couldn't choose it.

Thx
[HTC One Mini 2] nightcore500:
I had that problem already in CM11. I write that on my todo list.

I look at it. Should be fixed in the next release
[HTC One Mini 2] Coaxs94:
Thank you very much! Do you maybe approximately know when is gonna be next release? :)
[HTC One Mini 2] Marvbox:
Patience is a virtue. ;)
[HTC One Mini 2] petie2106:
do you have the correct weather provider from the lineageos page?

https://download.lineageos.org/extras
[HTC One Mini 2] Andruxcx:
The weather clock widget is working for me
[HTC One Mini 2] beatjost:
What Stock-ROM?

I faced also several problems with this rom... (connection lost, camera, and some ohters...). I sadly consider also to return to kitkat. Could you tell me what Stock-ROM (link) you used?

And probably some other hints that you had with 'donwgrading' it? Thanks!
[HTC One Mini 2] HandyBesitzer:
why don't you go back to marshmallow?? nightcore was working on cm13 before this rom. And for me everything is working. There is more free space and more RAM available then there was before with stock HTC Kitkat.
[HTC One Mini 2] Finusfix:
This has nothing to do with the actual topic. Please write him privately or discuss this in another thread.

[MENTION=7570463]nightcore500[/MENTION] I have been able to test v0.3 for several days now. The ROM is now absolutely smooth! As hahn.lelo already wrote I have since v0.3 also no more connection issues. Great work guys!

---------- Post added at 11:22 AM ---------- Previous post was at 11:15 AM ----------

The last CM13 release depends on lineageos 14.1. Some general problems with CM13 are already fixed here. I think that lineageos 14.1 is already more stable than CM13 :)
[HTC One Mini 2] nightcore500:
[MENTION=535343]all[/MENTION] Would be great if someone could give more feedback. Can it be confirmed that there are no more connection issues? Have you noticed another problem that you have with v0.3?
[HTC One Mini 2] DerLages:
So far working great, had no mobile data issues at all.

Thanks for fixing the USB problem, that was annoying as hell.

Only experience some Wifi disconnects, but that might be a personal configuration issue.

Great Job so far [MENTION=7570463]nightcore500[/MENTION]
[HTC One Mini 2] tryllz:
Thanks [MENTION=7570463]nightcore500[/MENTION] for an excellent support and effort on this device.

In regards to data connection I screen recorded this couple of days ago, personally I don't have any issue with this as I dont use data too often. This is the second time it has happened, I thought it was an SP issue but after a restart the issue was gone, sorry unable to provide a log as I dont have PC with me and Im in a different country. I managed to add a bug report from developer options at best, apologies. I did a couple of restarts after the issue as well, did not remember to take a bug report prior to restart, I will try and get one once the issur recurs as its rarely intermittent.
[HTC One Mini 2] nightcore500:
Thanks for your logfiles. Interestingly, I have just exactly the same problem on the test device that I got from MrAnswer. After a short debug, i noticed that the kernel reports a fatal error on the modem and starts a reset of it. And that in an endless loop.

The device is one of those with the obsolete baseband version 1.101.1102.19.1017_10.26.4149.00L. On my own device, which i use daily, is the newer version 1.101.111011.20.0123_10.28.4149A.00L installed on that I have never seen this problem.

Unfortunately, I still have not seen an official ROM from HTC which contains exactly this baseband version. The only device that actually includes this baseband version in a ROM from HTC is the A5 (desire 816).

Although it is not a problem to make a flashable image of the newer baseband version, but I am not quite sure whether it is possible to flash it without s-off. And no one knows exactly why these two different versions exist and why the newer one doesn't even appear in an official rom of htc. In the worst case, the flash leads to a hard brick.

I add a cutout of the kernel log here. Maybe someone else wants also to take a look at it
[HTC One Mini 2] huub382:
[MENTION=5358303]NightCore[/MENTION],

rom works smooth, no issues at all.

baseband version 1.101.1102.19.1017_10.26.4149.00L.
[HTC One Mini 2] tryllz:
:good: Thanks, Im happy with a restart once in a while, if any errors, no complains, smooth ROM..
[HTC One Mini 2] beatjost:
still connection issues

I also have those Connection issues with v0.3. Couldn't figure out exactly when/why it happens, after some toggeling with bt/wifi/airplane no signal found. Then battery drain while searching for a network...

The camera is better with this version. Still very slow, but not always crashing.
[HTC One Mini 2] guyspr:
I also still have the problem on v0.3. It's very infrequent compared to v0.2. I have baseband version 1.101.1102.19.1017_10.26.4149.00L

The first time it happened on v0.3 I restarted the phone and it stuck on the boot animation. The only way I could get the phone back was to boot into recovery, reinstall everything and restore my backup.

The second time it happened is now. I'll take a bug report and reboot. I may be gone for some time...
[HTC One Mini 2] tryllz:
And update to this matter.

This problem happens when using stock LOS file explorer but works find when using another file explorer such as root explorer.
[HTC One Mini 2] Marvbox:
One more time, many thanks!
[HTC One Mini 2] petie2106:
i dont know if i have the same problem with network?!?
[HTC One Mini 2] nightcore500:
Same problem.
[MENTION=535343]all[/MENTION] Can someone tell me if the same problem already existed in CM13?

Do you have another device with LOS 14.1? If so, do you have the same problem on that device?
[HTC One Mini 2] petie2106:
I had your CM13 before and not such a problem with network. Its possible that network crashed once or twice a month, but without your described endless loop.
[HTC One Mini 2] HandyBesitzer:
No problems on cm13 (but i have the newer baseband)
[HTC One Mini 2] nightcore500:
Do you have the baseband version 1.101.1102.19.1017_10.26.4149.00L or 1.101.111011.20.0123_10.28.4149A.00L?
[HTC One Mini 2] tryllz:
In CM13 I had this issue of being unable to use internet over data, as in data would show active but internet wouldnt work. I had to remove all APN and receive settngs from SP and fill in required details manually in APNA, then sometimes it would work directly other times it would require a restart, sometimes it would still not work and I had to wait or restart several times to get it to work.

Nope but [MENTION=1199534]stkl[/MENTION] has reproduced this issue on his device and confirmed precisely similar behaviour.
[HTC One Mini 2] stkl:
I think what he had in mind was a different phone model. As you stated, the problem occurs with the default file browser, so the question arises whether to search for a bug in die LOS sources or in our device config.
[HTC One Mini 2] petie2106:
1.101.1102.19.1017_10.26.4149.00l
[HTC One Mini 2] xxxmadraxxx:
I used the Nandroid backup from this thread and flashed it via TWRP.

All went pretty well, except that Google Play Store wouldn't download or update any apps. I did sort it out in the end, but I'm afraid I can't remember the exact steps I used. It was a while ago and I tried several things before hitting on the random alignment of voodoo that worked.

Sorry I can't be more helpful. But YMMV as they say. So you might have no issues.
[HTC One Mini 2] moghingold:
One Remix (memwl)

Hey, sorry for dropping off the face of the planet for a bit there. If you want, I can buy a new memwl for myself and ship you my current one. Any possibility you can still be persuaded to work on such a port?
[HTC One Mini 2] HandyBesitzer:
As TryllZ i had problems with the APNs, too. At first they works fine but after 1 or 2 days most apps were no longer able to use the mobile internet. I changed the APN (the right one was already in the list) and then everything was working

So maybe the connection lost is something about the apns as well?? I have no idea and i didn't read the log, so just an idea
[HTC One Mini 2] nightcore500:
Thats a problem with our radio interface layer / QMI. I'm working on it.
[HTC One Mini 2] multiwirth:
My high quality Unitymedia wifi router doesn´t allow it.

The connection is very bad but the rom behaves like any other device: Many connection losses caused by the poor performance of my router.

Mobile network is the next thing:

Currently my sim card with data connection isn´t in this phone but it can receive calls with my old sim card.

Haven´t seen any major bugs at all.

Camera is working now, needs still some time to open.
[HTC One Mini 2] tryllz:
[MENTION=7570463]nightcore500[/MENTION]

I came across this bug, what happened is this, the wifi keeps running in the background, I did now know why it is running despite turning it off but now I know how it happens.

Last night I mistakenly turned on wifi by swiping from top and then instantly turning it off. And then after a while checking ita still running in the background as seen in the screenshot, its been running since night. Last time I was able to stop it from running in the background by turning on and then off from top swipe, and then going in to wifi>settings then turning on wifi and letting search for AP and then turn it off and then also going into location and then turning on and then off again and then restarting the device, after which wifi turns stops running in the background.

Reports have been added.

Thanks.
[HTC One Mini 2] Coaxs94:
Got some bugs

Hey [MENTION=7570463]nightcore500[/MENTION] , I've got some annoying bugs on my mini 2 vodafone version. When using HDR, most of the time camera stops working after taking a photo "media server died, closing camera" and doesn't even save it.

Second is when I edit a photo with stock gallery, I just change filter effect and tap save and "saving..." dialog is taking too long,(every time, never saw it finish) so I just exit with home button, clear gallery form recent apps and when I come back it is already saved.

Also, I'm experiencing WiFi turning off and on again when I'm on viber call or when downloading something, I don't know If it's due to hardware or a software (happened on NostromoPop 2.4.0 too), not due to WiFi range cause I never had this problem with other phone on the same range.

Baseband version 1. 101. 1102. 19. 0708_10. 24. 4149. 00L
[HTC One Mini 2] tryllz:
I can confirm this problem, attached a bug report from within the cell phone.
[HTC One Mini 2] the_long_one:
Stuck in bootloop, no reaction from device

Hi there!

I just flashed my device after wiping everything but the SD card. I cannot even reboot to recovery, pushing VolDown and Power doesn't do anything. Do you have any advice? My phone looks bricked....

I am capable of fixing almost everything as long as i can boot to recovery - which i can't do any longer. Some hint would be greatly appreciated.

Thanks,

tim
[HTC One Mini 2] Coaxs94:
Was your battery in fair charge when you did the flash? If not, connect it to charger and wait about 15 mins, than try Vol Down and Power to boot to fastboot.

If the phone is on with bootloop, try holding both volume buttons and power for about 10-15 sec until it turns off.
[HTC One Mini 2] the_long_one:
It doesn't turn off... The phone reboots, whatever i do...
[HTC One Mini 2] Coaxs94:
You could try to get to bootloader with command on a pc. Connect it with usb, go to cmd, type adb reboot bootloader and press enter. You must have phone and adb drivers installed. Don't know will it work since it's on bootloop.
[HTC One Mini 2] tryllz:
You might wish to try and flash the boot if the device is international, it might fix the boot loop, it did for me, but you should be able to enter bootloader, if you cant then means one of your physical device keys are not responding as I understand.

You can download the boot file here :

https://xdaforums.com/one-mini-2/general/stock-ruu-rom-recovry-htc-one-mini-2-t3250020
[HTC One Mini 2] the_long_one:
I tried that already, but the device wasn't authenticated yet... No luck so far.

The battery was almost full. - The phone didn't seem to react to any key presses. It seemed pretty thorougly bricked.

The phone rejected any attempt of adb communication. Thanks for hinting at the bootloader, but i could not get anywhere else than rebooting.

I am back to a clean state since a few minutes. The booting device reacted to the power key for about 3 seconds, which was long enough to issue a reboot to recovery. :D

Hooray & thanks for your input!
[HTC One Mini 2] the_long_one:
I did a full wipe and reinstalled. I did NOT change any data protection settings this time. Might this have been the issue? I can't tell. The ROM seems to run fine so far, no obvious problems.

Cheers,

Tim
[HTC One Mini 2] doudoud82:
i am going to install the rom today if i happen upon any bug i will definitely report :) 'the only reason why i didn't install it before now is i have a 1Mbps internet (128KB/s download)so i waited a bit for the rom to mature' :)

and Thx for the rom :)
[HTC One Mini 2] multiwirth:
What the... is this?
[HTC One Mini 2] tryllz:
As per my understanding, possibly, some of the pins of the USB cable connecting to phone to charge are either malfunctioned or have corrosion on it, this can be either in the phone USB port or the charging cable pins or both. This will need corrosion removal by using alcohol based solution available in Service Centres along with a metal brush, shouldnt take much time unless the corrosion is too much, which will need port and cable replacement.

If not the above, verify that the cable is hard to flex, if it flexes easily, the cable is worn out, cable will need replacement.
[HTC One Mini 2] multiwirth:
Nothing is corrupted.

It charged 25% until I turned it on.

I'm just wondering why the image doesn't fit to the screen.

The used cable reached up to 700mA (tested with Ampere) from my powerbank.

I charged two phones at the same time so the pb died and i had only 50% charge but my equipment is okay, nothing needs a replacement.
[HTC One Mini 2] multiwirth:
There's a difference.

The screen of the One M8 just turns off after a few seconds.

The Mini 2 displays this image which doesn't even fit to the screen.

Both devices are at the same power source.
[HTC One Mini 2] tryllz:
You might want to recheck the pins for corrosion on device, thr corrosion will be too subtle and might not be visible to naked eye, unless its a sub-pba failure which in case of Mini is 1 whole main board, however, a good repairer can rework to replace just the charging usb port.
[HTC One Mini 2] doudoud82:
i used to get this when i charge my phone with my desktop (when is usually off ) it was because usb port provide up to 500mA when i charge with a wall adapter 1A i don't get it and i got this i believe it occur in all rom (last time i got it was in stock rom) it is something related to the phone i believe and not the roms
[HTC One Mini 2] multiwirth:
You got something wrong!

How should it charge without issues when it´s booted up if there´s something wrong?

I never saw this screen and it only appears on a specific power source (but is no problem when phone is turned on).

I´m still wondering why the image doesn´t fit to the screen...
[HTC One Mini 2] tryllz:
Very well pointed out, I almost forgot.

This is a USB cable pins specifications, if charged from a power outlet, the power is fully transferred to device, while when charging from a PC it only utilises half the power as only half the pins are active, the remaining pins are used for data transfer.

This issue can be reproduced by connecting phone to PC and transferring high amount of data between PC and device, a similar message will be shown by device thats is why its not recommended to charge from desktop, laptops etc.

---------- Post added at 07:58 PM ---------- Previous post was at 07:53 PM ----------

Could you clarify if you are seeking solution for screen text misfit, why is the message showint, not charging properly or all of these ?

Apologies, I do find myself confused.
[HTC One Mini 2] iRet:
Just installed this rom, everything is awesome aside the NFC.

But according to 4pda forum russian version of this phone doesn't have NFC hardware.

Fixed by renaming config /etc/libnfc-nxp.conf. I hope so :)

Thanks!
[HTC One Mini 2] anhtu_1990:
i've just installed this ROM anh it's super fast. But may i ask does if i could install boomsound back to this ROM, thank you very much.
[HTC One Mini 2] Тшл002:
For Taiwan (CID__621) does not work NFC, does not see the card.
[HTC One Mini 2] multiwirth:
Use Viper4Android or other audio mod since BoomSound is closed source and only avaiable on HTC roms and phones.
[HTC One Mini 2] HandyBesitzer:
What about the Akku usage??

At first i thought i can use my phone longer then with HTC but now google service eat my power -.-

I'm still on cm13, so is it better with LOS14??
[HTC One Mini 2] userx404:
Almost the same. Last week i flushed my accu in a few hours but normaly 1 - 1½ days.
[HTC One Mini 2] stkl:
Experienced similar behavior in the past with new GApps on old ROM. Currently using GApps (20170810 + Play updates) on LOS 14.1 (built Aug 10) including Pixel Launcher, GMail, Google Calendar and more without battery issues. (lifetime 2-3 days depending on usage)
[HTC One Mini 2] iRet:
aptX doesn't work out of box, but works after applying of aptX.zip from https://xdaforums.com/oneplus-3/themes/mod-aptx-codec-t3521228

It might make sense to include this by default since the device supports aptX officially.
[HTC One Mini 2] stkl:
aptX has a proprietary license, so it's not as simple as adding some files in terms of legal considerations.

Re-adding proprietary stuff that has been originally shipped with the device is one thing (not all white though), but I believe aptX has never been shipped with this phone, so nobody has yet paid the fees.

My typical flashing procedure included 8 Zips, so why bother with licenses instead of adding one more. Takes 10s each flash...
[HTC One Mini 2] iRet:
It has been shipped with this phone, at least it is mentioned on the box of mine including aptX logo.
[HTC One Mini 2] userx404:
Take a look on the Bluetooth details on the backside of the Box
[HTC One Mini 2] stkl:
I've never seen the box an a (very quick) Google search came up with tables not mentioning it, but OK, obviously you're right.
[HTC One Mini 2] HandyBesitzer:
can i simply flash an older version of gapps over my current versions to downgrade??
[HTC One Mini 2] stkl:
Basically yes, just flash the older bundle.

It will not downgrade Google apps installed from Play manually only the ones bundled in the Gapps ZIP (obviously).
[HTC One Mini 2] HandyBesitzer:
great so were can i get the old versions?? Actually i only need this stupid Play services, to downgrade (and everything that belongs to it) GMail, Chrome,.. work all fine
[HTC One Mini 2] stkl:
Go to http://opengapps.org and click on Older Releases. Have to scroll through the releases and grab the suitable

open_gapps-arm-<android verison>-<package size>-<date>.zip

If you only need the Play services, "pico" should be enough (Package installer, Play Service, TTS).