[HTC One S] betaback:
Issues with RR

Hi, I've encountered an issue I was not able to resolve, until now. It is very strange. See bottom of post for 'hack' fix.

location services > options > scanning (black screen for 1 minute, settings stops responding, close app)

camera doesn't function (insert an sd card before using the camera)

during google initial installation (music has stopped working, setup wizard has stopped working)

some apps fail to download, install or update. namely these are 'google' and 'streets'.

Seems to be some permissions issue. I've tried clearing everything and re-flashing, but no dice.

ville:/ # ls -la /sdcard
lrwxrwxrwx 1 root root 21 1969-12-31 19:00 /sdcard -> /storage/self/primary
ville:/ # cd sdcard
ville:/sdcard # ls -la
ls: ./Android: Permission denied
ls: ./.data: Permission denied
ls: ./Music: Permission denied
ls: ./Podcasts: Permission denied
ls: ./Ringtones: Permission denied
ls: ./Alarms: Permission denied
ls: ./Notifications: Permission denied
ls: ./Pictures: Permission denied
ls: ./Movies: Permission denied
ls: ./Download: Permission denied
ls: ./DCIM: Permission denied
ls: ./My Documents: Permission denied
ls: ./open_gapps-arm-7.1-stock-20180123.zip: Permission denied
total 2082464
drwxrwx--x 19 root sdcard_rw 4096 2018-01-25 06:50 .
drwx--x--x 5 root sdcard_rw 4096 2018-01-25 06:27 ..
drwxrwx--x 2 root sdcard_rw 4096 2018-01-24 23:14 Documents
-rw-rw---- 1 root sdcard_rw 343206084 2018-01-25 04:35 RR-N-v5.8.5-20171109-vil
le-Unofficial.zip
-rw-rw---- 1 root sdcard_rw 341265160 2018-01-25 02:19 RR-N-v5.8.5-20171213-vil
le-Unofficial.zip
drwxrwx--x 3 root sdcard_rw 4096 2018-01-24 23:25 TWRP
-rw-rw---- 1 root sdcard_rw 0 2018-01-25 06:27 aroma.log
drwxrwx--x 5 root sdcard_rw 4096 2018-01-24 23:19 backups
-rw-rw---- 1 root sdcard_rw 761605771 2018-01-25 04:34 open_gapps-arm-7.1-stock
-20171218.zip
-rw-rw---- 1 root sdcard_rw 71512 2018-01-25 06:50 open_gapps_debug_logs.ta
r.gz
-rw-rw---- 1 root sdcard_rw 7433 2018-01-25 06:50 open_gapps_log.txt
-rw-rw---- 1 root sdcard_rw 22548 2018-01-25 06:26 recovery.log
drwxrwx--x 2 root sdcard_rw 4096 2018-01-24 23:04 storage

I cannot even take ownership or alter the permissions with ADB root access.

The files and folders are not visible in windows, in transfer files mode (not charging mode).

They are only visible in TWRP, and the Files app, but they cannot be accessed using the Files app. File Manager does not even function, and cannot gain root access.

I've never seen an issue like this, and cannot find any information online, even after 2 or 3 days of searching and trying various approaches, re-flashes, wipes, etc...

I've tried both RR versions listed above, with the same results. Sometimes, the initial boot will not complete and the RR animation remains, the device is warm as if using 100% cpu.

Sometimes, the sound will play when initial boot is complete, but the RR logo does not change, and just continues to rotate with no completion. Rebooting does not help.

RR worked previously, both versions listed above. I had to flash the MaximusHD ROM to unlock the phone from carrier, then after flashing RR, these issues occurred, and I cannot seem to be able to fix them.

However, when flashing the MaximusHD ROM, the files and folders are visible, and everything functions normally, as expected.

edit: I just noticed, even one of the gapps packages has permissions issue, and that's new to me. Previously, it was just the folders.

Thanks. I've made some progress, but there still appears to be an issue with this ROM altering permissions it should not.

It seems really hackish, but I recreated all of those folders with booted to TWRP recovery, using windows. Although, it could have been done via fastboot ADB shell too.

I am now able to access those folders and the errors are gone. However, I think there may be configuration issues, since they were inaccessible during initial boot/setup process.

Although, it may be possible to boot to TWRP after flashing, before the reboot, fix the folders, then perform the initial boot and setup process.

Update on the situation:

I was able to resolve most of the outstanding issues. But, the folders 'Notifications' (the newly created one), and 'Notifications2' (the old folder I renamed) are both visible on the device.

However, 'Notifications2' was not visible in windows. I had to remove this manually via TWRP. It was not possible using the 'Files' app, but maybe something like root explorer.

Furthermore, the device experience some 'black screen' issue when attempting to download/update apps, since it was probably downloading Gmail in the background (upon setting up wireless and google play account, after initial setup). This is probably because the processor was maxed out. At first it seems the device had powered off or rebooted, since all notification lights (including power) turned off. The quick nav buttons at the bottom also had intermittent issue of lighting up, then turning off, as if the device was power-cycling, but it was not. It was just 'frozen' to a certain extent.

The black screen remained for 1 minute with the message 'Pixel Launcher is not responding' after that. It has not actually crashed though, and you can select 'Wait' instead of ending the process. Apparently, these devices cannot fully handle 7.1.2's processing requirements at full, sustained load on the CPU. Although for most daily tasks, this is not an issue.

The 'File Manager' app still does not work, and complains about root access. Although, it does not request root access from Magisk, and there are no options to force it to do so.

Final update:

I got the File Manager to work now, but I'm not sure what caused it. Here are the steps I took:

Removed that last remaining (hidden/bugged) 'Notifications2' folder (This was the most likely cause). Updated Magisk to v5.5.5 (or this). Viewed the 'File Manager' (com.cyanogenmod.filemanager) App properties via settings, and checked it's permissions (turned 'storage' permissions off then on again).

I can now access file/folders using the File Manager. Hope this helps anyone encountering similar issues.

Confirmed working RR-N-v5.8.5-20171213-ville-Unofficial (which is a userdebug/nightly build btw) and open_gapps-arm-7.1-stock-20180123, with the issues noted above.

Actually, it would be nice to get an updated build which is not a userdebug version. Thanks.

I think I'll drop this here too: DCS (Digital Combat Simulator) World is due for a 2.5.0 update (best flight sim right now, Russian-made) youtube.com/watch?v=LziVZAB5ChU (fan video, not v2.5.0). I won't link the developer's site, in order not to cross any lines here, but this isn't paid advertising (I don't even speak Russian), nor does it conflict with business of this site.