yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] shaajrocks:
SOLVED :D

To anyone getting the TrustZone error ...

please follow these steps,

1. make sure you have the latest TWRP recovery installed

2. make a nandroid backup

3. clear dalvik cache, system, data and cache

4. flash the latest lineage OS

5. clear dalvik cache, system and cache

6. flash the latest RR

8. flash latest gApps

7. clear dalvik cache and cache

8. reboot

If the above steps doesn't work for you, follow the below steps

1. use this version of TWRP (NOT COMPLETELY NECESSARY, You can also use the latest version of TWRP)

2. make a nandroid backup

3. clear dalvik cache, system, data and cache

4. download and flash this Firmware (this is the firmware used by RR, Trust Zone issues are related to firmware and when updating from an older version to a newer version of android, you will get this error)

5. flash the latest RR

6. flash latest gApps

6. clear dalvik cache, cache

7. reboot

for most the first method should rectify the TrustZone error ... if that doesn't help you, then the second definitely will ...

for [MENTION=4698773]Wozza365[/MENTION] the second method worked :good:

cheers :highfive:
[ONE Android Development] bmark240:
Cool your heels.

So recovery doesn't back up EFS?

In that case I will avoid your releases for now.

A developer has to occasionally listen to constructive feedback or else the ego will have a tendency to get in the way.

Tugapowers TWRP had a build pulled because of similar issues. Also if you read my original post, you will clearly see my advice:

!!ALWAYS MAKE SURE THAT YOU HAVE A BACKUP OF A WORKING ROM WITH NO ERRORS BEFORE 'UPGRADES'!!!!
[ONE Android Development] Kutep0v:
Recovery can make EFS backup, and the latest beta version adds one yet important partition. TugaPower's TWRP do backup only two partitons, and those differ in name from mine backup. For example, modemst1 (correct name) in my version, modem_st1 in TugaPower's. As result, differences in names, and adding new EFS partitions to my version, makes it impossible to restore the EFS backup on a different TWRP, and vice versa. EFS backups will be compatible only if TugaPower will be support my "variant" of backup EFS, that is, it will correct the names and add other partitions, and not otherwise.

WOW, thanks! :good:
[ONE Android Development] Timmmmaaahh!:
[MENTION=7296006]Kutep0v[/MENTION] I really appreciate your work but you can't go around insulting people if they talk negatively about it. Anyone is entitled to advise (against) a particular recovery. Heck, let's all move to CWM (the non touch version, I really miss that volume button tapping) :D

I currently recommend Tuga's 3.1.0-4 TWRP as it has proven to be the most stable in my personal experience. I've recently switched to K1 (some random weirdo suggested it ;)) for thorough testing and if I don't encounter any funky mishaps, I'll prefer that one due the speed increase.

Apart from TWRP (which I won't judge right now until I've completed my own testing) your advice is flawless, [MENTION=7672643]bmark240[/MENTION], I couldn't agree more.

Thanks for putting that together, [MENTION=4444139]shaajrocks[/MENTION]. Looks logical as both methods will freshen some drivers up.
[ONE Android Development] Kutep0v:
I did not insult anyone, I simply respond to "charges", which even the evidence does not. I'm not against any discussion, but they must have ground.
[ONE Android Development] Timmmmaaahh!:
No... I'm pretty sure that was insulting.

If it's not, it's demeaning at best. If that's what the user has experienced, who are we to argue? You could've asked him nicely to provide you with logs in the appropriate thread but you told him he has crooked hands instead. I am reporting this for that reason, some respect would be in order.
[ONE Android Development] Ninnix96:
[MENTION=4817632]varund7726[/MENTION]

Someone know how add sultan camera to this rom? Plese add it!
[ONE Android Development] Pratikmade:
Post #3333

https://xdaforums.com/oneplus-one/development/rom-resurrection-remix-t3507102/post70918008
[ONE Android Development] fischwrap:
Not really, it's been pretty random. Often times it's been when in playing a podcast via Bluetooth, but also happened while texting, or just idle. It's weird too, they seen to come in bunches, and I wonder of it has to do with magisk... I had two random reboots on Monday, and realized I had lost root. Opened magisk, and sure enough, root was not detected. I manually rebooted, and had root again, and no reboots since
[ONE Android Development] Nick James:
I've always had the same reboots ever since being on RR Nougat. They happen when wifi is enabled and usually Bluetooth as well, specifically my LG headset. I don't think it's magisk related but rather wifi or Bluetooth. I haven't narrowed it down but will say since the latest version, I haven't had a similar reboot. I've been in the same situation many of times where I would have though the reboot would have happened too. (knock on wood)
[ONE Android Development] Hunting_Party10:
Guys no ones gonna be able to help you unless you post some logs

If it is a random reboot, grab /proc/last_kmsg

And upload it here .
[ONE Android Development] Gawa77:
Hi, latest rom, gapps and twrp - clean flash!

No probs with 2,4 GHz and never tried 5g before.

The CGO3 is the cam on my copter and its WiFi is without inet. My one connect and disconnect all time...
[ONE Android Development] Timmmmaaahh!:
Just to be clear, are you talking about a CGO (not COG) cam like this?

In other words: a camera with an IP that you like to connect to over 5G?

Have you connected the camera to other devices successfully before? It might just be an IP conflict (check all adresses of of all devices in the same network, none may be the same).

AFAIK there's nothing wrong with RR's/LOS's 5G WiFi.
[ONE Android Development] Gawa77:
Yes cgo on my copter (sorry)..No connection with other device before. Did a sw update on cam yesterday. I'll try again today... :good:

Thx
[ONE Android Development] brucelee04:
Hi everyone,

I'm not a novice when coming to flash roms, but having issues flashing the new 0417 version?

I thought I'd do a dirty flash first, but got a bootloop on the RR logo. Decided to do a full clean install - Wiped Dalvik/Cache and system and tried installing but kept getting the boot loop. I thought I'd give it a bit of time in case it needed to load up properly, but after 10-15 minutes, still booting on the RR logo.

This is also without any GAPPS - however, when installing a previous version (I was on 0206) this works absolutely fine with and without GAPPS.

I'm stumped as to why the 0417 version isn't working. I might not even need it but I'm one who craves the latest updates xD

FYI - I've wiped more than once just in case something was missing - but to no avail.

Any suggestions?

Thanks
[ONE Android Development] Nick James:
Clean flash without Gapps?

I'm not a pro flasher or anything but isn't Gapps absolutely needed here? If you install it with Gapps, does it not bootloop anymore?

Did you check the MD5 too?
[ONE Android Development] effry:
Latest RR version (clean flash and titanium backup restore). Button of the navigation bar disappear when entering PIN and when goin in camera app from the lockscreen.

This means i can't go bac to lockscreen when in photo app (or when receive a call) and have to turn off/in screen again.

See screenshots attached

[MENTION=4841620]Timmmmaaahh[/MENTION] : what do you think? ROM bug or my problem?
[ONE Android Development] amoutie:
Try following this clean install guide (3.b)
[ONE Android Development] brucelee04:
Well the ROM will/should still work without GAPPS, you just won't have the GAPPS.

In any case, I tried both with and without which I probably forgot to mention. MD5 was also checked - I'm not sure what could be causing it to be honest lol.

---------- Post added at 01:48 PM ---------- Previous post was at 01:46 PM ----------

Yeah this is pretty much the method followed - Like I said, I've flashed numerous times before and 0206 version works perfectly....just the latest 0417 doesn't :p
[ONE Android Development] keipha:
Hello everyone.

Is there a bug in Wi-Fi speed? Testing the Speedtest does not go from 100mb, when before it was 200mb. On the PC it's ok, but since I moved to this version 7.1.1. I came from a clean install from Android 5.1.1 and it worked ok.
[ONE Android Development] Timmmmaaahh!:
No, Gapps is completely optional. You'd be surprised how long your battery would last without it. Of course, we are all slaves to Google and are compelled to flash it anyway. If a flash without Gapps doesn't work, it won't work with it either.

Do not wipe a partition more than once, that's completely useless and will only wear out your NAND faster (more on that here). What TWRP version are you using?

Not sure. You didn't restore any system settings with TiBu, did ya? Did you set anything in 'Settings > Configurations > Interface > Expanded desktop'? I suppose the buttons don't show up when you swipe from under the screen upwards? This is with SmartBar, right? Same result with Fling (Settings > Configurations > Buttons > Navigation bar > Navigation mode)? Boy, those were a lot of questions :D I'll try reproducing this when I find the time today.
[ONE Android Development] effry:
i'll try to answer all of these:

no system settings restored (only user apps)

no settings changed in expanded desktop

Yes, buttons does not show when i swipe up from the camera shortcut that is in the bottom-right of the screen (also when: phone is locked---> receive and answer call ---> no buttons, have to turn off/on screen to get to lockscreen and unlock phone)

Yes, this is with Smartbar (classic navigation bar, i've just added a 4th button that directly opens up the volume slider)

With Fling IT DOES WORK, and the fling button is correctly showed and can be pressed

i guess there is some sort of problem with secured lockscreen and navigation bar

hope i gave you every information you needed :)
[ONE Android Development] Yousmass:
I think the problem is because you didn't wipe the Data. It's not a clean flash if you wipe only Dalvik, Cache and System, leaving the Data, the community call it "semi-clean" :). I think you should try to flash after wiping all the four partitions.
[ONE Android Development] fischwrap:
I've posted multiple logs in the last couple weeks.

Here is one that just happened. Again had to reboot to regain root

https://www.dropbox.com/s/6iy66wvlgb3m8g1/last_kmsg.txt?dl=0
[ONE Android Development] brucelee04:
Thanks for the heads up - I didn't realise wiping would wear the NAND out.

TWRP version is a bit old (2.8.6.0) but wouldn't have thought that was the issue. To rule it out though I'm going to flash the latest later tonight.

---------- Post added at 03:56 PM ---------- Previous post was at 03:56 PM ----------

Hmmmm I was considering this but I've got quite a bit of data that I didn't really want to mess around with....but if all else fails - I will carry this out :|
[ONE Android Development] PlayersHeaders:
still facing much lags and sometimes random reboot :/

20170417
[ONE Android Development] MetalmanIX:
Anyone getting random WiFi drops? Getting those every ~10 minutes. Uploading and streaming stops. Can't find a post that says this is a common issue though.
[ONE Android Development] viper_swipe:
Anyone facing battery and overheating issues after the recent update?
[ONE Android Development] Hunting_Party10:
Try flashing a different firmware most notably the C7 .I used to have similar issues ,it got fixed after flashing c7
[ONE Android Development] solar666:
Have you done a clean flash?

I have never experienced lags or random reboots in the last months of using this rom

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] ikar:
Is there possibility to add aptx support to RR ?

I tried to flash aptx.zip from that topic

https://xdaforums.com/oneplus-3/themes/mod-aptx-codec-t3521228/page13

, but with no success
[ONE Android Development] nuuro:
Magisk Manager updated itself from the PlayStore and I lost root, any idea how to get it back?
[ONE Android Development] Hunting_Party10:
Reboot --> disable busy box in magisk settings -->Reboot again
[ONE Android Development] Timmmmaaahh!:
Hey. There's something aggressively killing apps in your system. I assume you didn't install any task killer yourself, right? After some research, I believe "lowmemorykiller" is inherently present in Android. Android killing apps is not that much of a problem but in your case it's also killing essential system threads such as Settings, Gapps runtime, Telecom framework (for calls!), Magisk,...

I haven't seen these before in a kmsg but then again I'm not much of a skilled kmsg reader ^_^ I'm not entirely sure how to proceed in this case so let me give you my best guess. Are all your apps legitimately obtained from the Play Store? If not, this might be a good time to get cleaning. If it is, you may want to try another baseband as you speak of reboots happening during Bluetooth connections. I recommend this one. Just make a full Nandroid backup (include modem!) and flash it.
[ONE Android Development] fischwrap:
All apps are legit, and no third party memory killers installed. Thanks for reviewing... I have no clue about these logs. I'll try that baseband and see how it goes
[ONE Android Development] rolear8:
The video section of the new gallery app is not working, cleaned data and still, anyone else?

Other than that very smooth
[ONE Android Development] Turpb:
Just reboot your OPO, it worked for me, and root is back. (Latesr RR & Magisk Manager 4.3.3)
[ONE Android Development] Nick James:
I got my first reboot since the latest release and the last kmsg as requested.

I almost recreated this on the fly. I was changing some of the settings in my access point tonight. It was on 802.11n and I changed it over to 802.11.b/g/n. That's when it randomly rebooted and similar behavior as to what I see when roaming between wireless networks at times.
[ONE Android Development] brucelee04:
Ok guys, so an update: I've just updated to the latest TWRP and wiped all system/data and pushed over the new ROM using ADB. Installed GAPPS too and to my amazement, the ROM is now working.

After everything was more or less updated from backup, I noticed there was an issue with the camera - it wasn't recognising the SD card - It kept saying "Insert an SD card before using the camera"...

I thought a reboot would solve this so I tried but no joy. Upon further investigation, it seems my SD card directory is non-existent....PlayStore is acting very slow (cleared cache too).

Anyone run into this problem before? Never before have I had this issue lol. I'm trying to download the ROM and GAPPS again via browser, but I think due to the SD card directory being non-existent, it keeps failing.

I'm currently at work so unable to use ADB so will try to do it at home later, but this is very frustrating haha!
[ONE Android Development] bmark240:
Why don't you try to download it through Magisk Manager?:

https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758

Add zip files from within Magisk Manager->Modules-> + Button-> Let it (them) install->Reboot

If you don't like the modules, just uninstall them ?
[ONE Android Development] bmark240:
No problem here buddy.

Clean up Cache & Dalvik/Art Cache from TWRP

& then reboot. Have you tried to use a different player instead like MX Player?

You can set it to play your videos instead & is far more versatile than inbuilt Gallery2:

https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad&hl=en

?
[ONE Android Development] bdwilk:
Must've been like the coolest random weirdo. :cyclops:
[ONE Android Development] Lisko:
I've also created this magisk module for myself (don't trust a lot other created modules since some of them are done with feet) which should enable also aptxHD for our opo.

View attachment 4128450
[ONE Android Development] remix96:
I want to install latest rr build but i was wondering if it is not too outdated for the latest substratum version 703.. because i read that 700 version bring a lot pf new changes.

P.S. I would not ask for eta, but should i still wait for a new build or i should go with 17's build? Because i will do a clean flash and it'll be a bit frustrating if i install a 10+ days build ago and then the new build comes up. Not offence to anyone, varund's work is great
[ONE Android Development] bmark240:
We are all random 'weirdo' here.

But a well balanced community as a whole.

Bwahahahahaaa!
[ONE Android Development] uudruid74:
I just tried two different Lightening Kernel threads using Hybrid blobs and got nowhere (camera keeps crashing, permissive doesn't help, tried 4 cameras). I finally found abkernel to work and the camera performance is noticeably better than CM (almost as good as my 3T). However, the general performance of the kernel isn't great. In fact, the performance of ZephyrOS and jgcaap's CM 14 were both noticeably better than stock RR, while abkernel was worse (at least beta 6 - about to try stable).

If you got Lightening Kernel to work I'd like to hear how and give it another shot.
[ONE Android Development] Timmmmaaahh!:
The authentic kind!

Glad we got the biggest bump out of the way. I believe, along the way, you corrupted your internal memory. We can fix this without causing any data loss. Here's what you should do:

Copy the entire content of your internal memory (/sdcard) to a local folder. You could make a second backup on the off-chance the drive fails while we're between step 4 and 7. Make sure the real important things are immortalized (e.g. your cat photos/videos are synced with Google Photos and/or are trending on YouTube)!

Reboot to TWRP

You may want to create a backup at this point, do copy the backup to your PC or make the backup via OTG as we're about to wipe your sdcard (and with it, all internal backups)

Go to Wipe > Advanced and select only Internal memory, confirm to wipe (you may experience some discomfort at this point, this is normal)

Reboot to TWRP (from recovery to recovery, that's right)

Now copy all content back from the folder on your computer to the internal memory. You should be able to do this simply over USB while TWRP is active (Windows should detect it as mass storage device, just like it would when booted into Android)

When the copy is complete, reboot to System and your trouble should be gone!

We're doing the wipe AND the restore inside recovery because if you would boot your device with an empty /sdcard partition, the Android system and all running apps would start freaking out and get going on all sorts of crazy.

This is the perfect opportunity to sieve through those files! I recommend not just copying everything back but only the things you still need. Exclude folders of apps that aren't installed anymore and skip unused media files. Take some time to make your internal memory shipshape!
[ONE Android Development] Genericxx:
I am currently using Lightning V56 OOS with Hybrid blobs and OxygenOS-Camera and i am satisfied so far. No Viewfinder lag, Picture Quality is greatly improved and Battery seems to be slightly better than stock RR while UI-Experience is still very fluid. Driving the Kernel with almost Stock settings (impulse governor), just reduced max Frequency to 1958MHz, switched I/O Sheduler to FIOPS with 1024 readahead, increased charging current to 1800MAh. There were no big magic involved to make it work. These were my steps:

Clean flash latest RR rom.zip

Flash OpenGApps

Flash addonsu-arm-signed.zip (LineageOS SU, i prefer it over Magisk)

Flash Hybrid-blobs.zip

Flash Lightning Kernel NEW 56 OOS.zip

Flash OOS_Camera.zip

Wipe Cache/Dalvik

Reboot

As you can read, i did a clean flash including /data. I flashed all components in one step, without reboots in between.

Dunno if Magisk could be the culprit, if you're using it, but since Magisk is flashed directly with the rom.zip and rebuilds the boot.img, it will be overwritten by a custom kernel. Have you tried flashing Magisk manually again after lightning kernel? Farther, since Magisk freaks the SELinux state, this might be also a source of non working cameras with OOS-Blobs. I would advise to spare on Magisk and use addonsu from lineageos instead, at least for testing purposes, if you can't make lightning kernel with OOS-Blobs work with Magisk.
[ONE Android Development] :
Can I use Oos blobs.zip instead of hybrid blobs and can you gimme link of Oos_Camera.zip? Much appreciate
[ONE Android Development] Genericxx:
Dunno if regular OOS-Blobs will work, as Hybrid blobs are told to be better, i didn't bother to test the non-hybrid ones.

You can get OOS-Camera from over here.
[ONE Android Development] :
Ok nice I will try it. Thanks
[ONE Android Development] __infin1ty:
Latest RR build & latest TWRP.

i am experiencing random shutdowns and this time i am not able to power on my device. It is stuck in boot animation logo. Can someone please help me?
[ONE Android Development] Hunting_Party10:
No,nobody can help you

Unless you share some more details such as kernel ,installation procedure and what other stuff you did you flash
[ONE Android Development] __infin1ty:
Stock kernel ,clean install and nothing else flashed. Except from Gapps ofcourse
[ONE Android Development] Timmmmaaahh!:
I'll assume you're stuck at the Resurrection Remix boot logo, not the 1+ logo. Just boot into TWRP and dirty flash RR, clear caches and reboot. If unsuccessful, you'll need to check the zip's md5 hash (or check it proactively). Don't flash Gapps again. For the record, what is "latest TWRP" to you?
[ONE Android Development] __infin1ty:
Yes you assumed correctly sir,thank you for your response.

Atm i have a no rom opo,so i am downloading again the latest build for a clean install.

It's the third time i'm experiencing a random shutdown,only that this time it stuck at RR logo.

TWRP version is 3.1.0-0.
[ONE Android Development] effry:
Another BUG found by the hunter (lol):

i'm getting "mobile radio active" bug since when i've installed this ROM. this is draining battery ONLY when on data connections (does not happen on wifi). battery stats shows high play services usage. I digged a bit with logcat andi constantly get these 2 errors:

4537 E AlarmManager: RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.HEARTBEAT_ALARM: system_server

3295 E AlarmManager: RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE: system_server

i confirm that is ROM related. i tried with official nightly with all my apps taken from titanium backup and the error does not shows up.

if you need more info or more logs just tell me

[MENTION=4817632]varund7726[/MENTION]

[MENTION=4841620]Timmmmaaahh[/MENTION]

UPDATE: clean flashed latest RR and gapps. Error still pops up even without any app. I guess this confirm that is ROM related.

Plus i've seen this line before the error a couple of times: "MAC address could not be converted into string because it was not found"...maybe it's related
[ONE Android Development] Timmmmaaahh!:
Hey, don't look at me. You already did the research, it's [MENTION=4817632]varund7726[/MENTION]'s problem now, lol. ?
[ONE Android Development] Nino Patti:
Hi! I have a problem with this update... I can't find the "root access" in developer settings. How can i solve this problem?
[ONE Android Development] uudruid74:
I'm pretty good at diagnosing most stuff. I'm thinking it was just a wrong lightning version. The abkernel is working and I found the source of slowdown (default settings were underclocked). So, I may give lightning another chance and compare some more. The hybrid blobs are working very well. I just wish there was a Weizmann based interpolator :) But I can't have everything.

Thanks for the feedback.
[ONE Android Development] uudruid74:
BUG(s)

Flashlight icon in quicksettings doesn't work.

Can't edit the quick settings tiles. The first few work, but the ones closer down get "dropped" when the top bar should scroll down.