dan-v / rattlesnakeos-stack

Build your own privacy and security focused Android OS in the cloud.
MIT License
568 stars 87 forks source link

RattlesnakeOS problems #8

Closed tectiv3 closed 6 years ago

tectiv3 commented 6 years ago

Prerequisites

Description

I have a few problems with this ROM.

  1. Defunct search bar on home screen. It doesn't work and couldn't be removed.
  2. Alarms don't fire, unless phone is unlocked and even then clock is stopped displayed after alarm goes on.
  3. Very poor camera quality. Not a bug per se, but camera nx doesn't work on this ROM for some reason (just crashing).

That's it so far. Do you also have those issues or they are specific to sailfish?

dan-v commented 6 years ago
  1. Can be added back by included QuickSearchbar back , but it also leaves an user facing app around that I didn't want. I'm open to adding back, just didn't want to see the extra app laying around. I use a different launcher, so I don't have the defunct search bar.
  2. I also have this problem with the alarm clock, I captured a stack trace for it with logcat but I haven't been able to find a resolution to it yet. As a workaround, I'm currently using an alarm app installed through Yalp store called 'Alarm' (com.dehox.alarm) - that has been working fine. Definitely want to track this one down though.
  3. I don't think stock AOSP has any of the support for fancy camera features that Google provides. You can take a look at: https://copperhead.co/android/docs/usage_guide#advanced-camera-features for what was recommended with CopperheadOS.
tectiv3 commented 6 years ago
  1. Well I just want this search bar removed, what launcher do you use?
  2. Thank you.
  3. Well, it does have camera2 api, I am using open camera, but it's weird.
dan-v commented 6 years ago
  1. I use Lawnchair installed from F-Droid
  2. I don't use my camera a ton but it definitely wasn't great on CopperheadOS either. Do you know if it was working properly for you on CopperheadOS?
tectiv3 commented 6 years ago

CopperheadOS died next day I ordered my pixel :) so I never had a chance to use it.

dan-v commented 6 years ago

Ha, better than setting everything up on CopperheadOS and having to re-install I guess :)

dan-v commented 6 years ago

I think i tracked down the alarm clock issue (https://github.com/AndroidHardeningArchive/platform_packages_apps_DeskClock/commit/d745babfba6ece923db55dbef14f8c32b2f86d0e). It appears to be an upstream issue that still isn't fixed. I have a fix on dev branch that I'm testing and will push to master if it fixes the alarm clock issue.

tectiv3 commented 6 years ago

Any luck?

dan-v commented 6 years ago

Alright - fix for alarm clock is working for me and merged: https://github.com/dan-v/rattlesnakeos-stack/releases/tag/v0.0.10

tectiv3 commented 6 years ago

Thank you, I will go ahead and build it!

  1. yeah, I switched to lawncher, so it's no longer a problem.
  2. is there any way to know why an app crashes on launch?
dan-v commented 6 years ago

cool! having a working alarm clock is nice 👍if you want to try to debug why an app is crashing you can:

tectiv3 commented 6 years ago

Thanks! I had to use force. It will rebuild everything and create an ota file?

dan-v commented 6 years ago

Ah yes, I was going to mention that. That setting will just force a new build even though all of the versions are the same as last build. It won't force chromium rebuild though - as that's pretty expensive. After you kick off a build, you might want to run rattlesnakeos-stack without the --force flag just so you don't run any builds you don't need to.

tectiv3 commented 6 years ago

ok, camera crashes with java.lang.SecurityException: Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority I suppose it requires GP services for some reason? Ads may be... microG is out of the question since they require signature spoofing and it's just crazy.

dan-v commented 6 years ago

are you trying to run Google camera? it doesn't work without google services..

tectiv3 commented 6 years ago

yeah:) That's the only decent camera out there.

dan-v commented 6 years ago

alright - heading to bed. good luck! i expect wireguard and google camera working when i wake up ;)

cryptocub3 commented 6 years ago

can confirm alarm is working.

some features I would personally like:

thank you for your work.

dan-v commented 6 years ago

Hey @cryptocub3 ! I'm glad to hear you got it up and running! I'm trying to keep the number of modifications to AOSP to a minimum so that there is less maintenance work involved. I'm hoping some of the additional security/privacy features in Android P will fill the void here when it is released. My thoughts on your bullet points:

tectiv3 commented 6 years ago

Using wireguard as a kernel module isn't possible without su for some reason. Userland implementation works good though, using it in always on mode plus kill switch. But it is the major battery drainer according to stats.

dan-v commented 6 years ago

Alright gonna close this one out.