[ROM][11.0][POTTER] crDroid v7.23 [12.10.2022]

Search This thread

cjdijk

Senior Member
Apr 25, 2021
125
51
Another update: I have tried installing LineageOS 17.1 without GApps. lineage-17.1-20230213-UNOFFICIAL-potter_security-patch-date_2023-02-05.zip After first boot, I did get the LineageOS configuration wizard. But after pressing Next button, it rebooted suddenly, and TWRP opened. Have tried it 3 times, same result. For some reason LineageOS 17.1 isn't working. Have downloaded it again, but same size. I guess that zip on androidfilehost is corrupted.

Can someone confirm lineage-17.1-20230213-UNOFFICIAL-potter_security-patch-date_2023-02-05.zip from androidfilehost isn't working at all?

After that I have installed LineageOS 18.1 without GApps. After installing I tried to import my Google backup from LineageOS 18.1 with MindTheGapps, but that couldn't be found. So I started with a clean install without importing anything. When I opened calendar (Lineage app) there was nothing to see. Same with Lineage contacts app. Appointments are in my Google account. Contacts are in my Google account. So I tried to add my account in Lineage configuration, but that wouldn't work, when pressing Add Account, I didn't show any fields to enter my gmail address and password. So installing without GApps isn't working for me. I need my Google calendar and contacts. I want to be able to access them on my laptop as well, using firefox (after logging in to my google account). I could use Firefox, login to my google account, and use shortcuts to contacts.google.com and calendar.google.com For calendar that would work for me. I could make a phonecall from contacts that way, when clicking on a contact from Firefox, it opens the calling app. However, if someone is calling me, I can't see who it it, becouse Lineage Contacts would be empty this way, calling app doens't look in contacts in Firefox. That wouldn't work for me. I want to be able to see who is calling. Also have tried to install Firefox app using direct link to google app store in Lineage browser. It asks to login into my google account, then it asks to install the Firefox app on my other phone, where the Firefox app already has been installed, not on this phone without gapps. This however gives some usefull information. Google says it's a Google Pixel 2. So this means LineageOS spoofs an old Google Pixel 2. Let's at least see if battery usage is low. But I'm sure whithout gapps is not useable for me.

Can someone confirm it's not possible to use Contacts and Calendar form Google when installing LineageOS (or any other rom) WITHOUT gapps?
 
Last edited:

mmortal03

Senior Member
Apr 15, 2014
401
80
Also have tried to install Firefox app using direct link to google app store in Lineage browser. It asks to login into my google account, then it asks to install the Firefox app on my other phone, where the Firefox app already has been installed, not on this phone without gapps.
Yeah, that won't work. You will need to sideload the Firefox apk. The Play Store won't work, even in a browser, unless you are logged in to your Google account with Gapps.

Can someone confirm it's not possible to use Contacts and Calendar form Google when installing LineageOS (or any other rom) WITHOUT gapps?
There are people who do this, but they have to use some other way to synchronize those apps with their Google accounts. I believe you can use a tool with F-Droid to do it, but I've never gone down the F-Droid rabbit hole and spent the time implementing something like this: https://f-droid.org/packages/at.bitfire.davdroid/
 
  • Like
Reactions: cjdijk

cjdijk

Senior Member
Apr 25, 2021
125
51
Here is my resume, which things have effect on battery use.

CrDroid (latest) is based on Google Pixel 5. LineageOS (latest) is based on Google Pixel 2. I have seen this when I did try to install apps using browser. When not using your phone actively (when you're asleep, phone switched on), LineageOS (2-7%) is using much less battery then CrDroid (15%), even when Google Play services on CrDroid disabled. It also depends on apps doing things in the background (WhastApp for example). But, when using your phone actively (during the day) battery use is about the same (both very high, 20-30%). Disabeling Google Play Services does have limited effect, after some time battery use goes up again. This all means, Google is still trying to update, consuming battery, also with old unsupported Pixel phone (spoofed), but only if you are actively using your phone, not when your phone isn't used actively (with old unsupported pixel phone). If you have a new supported pixel (spoofed) phone it also tries to update when you're not actively using it. Also one mayor thing I discovered, if you don't install GApps, you don't have Google Play Services, but it still uses battery, about the same as installing including GApps. With GApps installed it's a bit more, but that's becouse I didn't install any apps on my phone which didn't have GApps installed. This weekend I'll continue using LineageOS including MindTheGApps, I assume battery stays low when not using phone actively during daytime (as standard for me in a weekend). May be I'll try stock Android 8.1 next week. I think I can figure out how to download apk's, and install them on my phone without GApps, but not going to try, becouse there seems to be no difference in battery usage when not having GApps.
 

mmortal03

Senior Member
Apr 15, 2014
401
80
Also one mayor thing I discovered, if you don't install GApps, you don't have Google Play Services, but it still uses battery, about the same as installing including GApps. With GApps installed it's a bit more, but that's becouse I didn't install any apps on my phone which didn't have GApps installed.
It'd be interesting to see if the logcat output still shows the barrage of SystemUpdate messages in that configuration.
 

cjdijk

Senior Member
Apr 25, 2021
125
51
It'd be interesting to see if the logcat output still shows the barrage of SystemUpdate messages in that configuration.
I still haven't reinstalled the phone without GApps. I can wait. So tell me how. Do I need to install an app, where to find it, en how to use it? Or do I need a tool on my pc to generate it? Thanks for your help. Then we know for sure.

Mayor update: Battery usage has gone up this night. I did charge it up to 100% and turned it off and on again. It should be 93% when I wake up, but it was dropped to 85%. This is exactly the same as when using CrDroid. So the battery usage isn't going skyhigh in just a day, when the rom is about 3-4 months old, it goes slightly up in a week. This also means mmortal03 was right. It doesn't make any differance if a rom is spoofing a new (5) or old (2) Google pixel phone. Tomorrow I'm going to try my other Moto G5 Plus with the same LineageOS 18.1 but without GApps. It hasn't got any apps installed. Not very usefull for me, but main thing is, people can call me. Let's see how the battery usage is. Let's hope a new LineageOS appears or else I'm going back to stock Android 8.1 next week. https://androidfilehost.com/?w=search&s=potter

Small update: Yesterday I've switched from my GApps to my No-GApps Moto G5 Plus. I did move my simcard and turned off my GApps Moto G5 Plus. And am now only using my No_GApps one. Battery during my sleep has dropped only 3%. (Same as with GApps one week ago, but 5 times more than with GApps yesterday.) No apps are installed yet, except for the ones already pre-installed by LineageOS. For me this is not a workable solution, I need acces to Google Calandar and Contacts on all my devices, laptop, tablet, smartphone. But at least I can make calls en can be called. And I want to see how battery usage is going. May be it will go up steadily as it did with the one with GApps. Also wil check out which alternatives are existing for Googe Play Store. Just to see if I can get access to Google Contacts and Calendar. And see if other apps I want are existing there.

Just tried to install Firefox browser, so I can log in to my FireFox account and use links to contacts.google.com and calendar.google.com Have found https://ftp.mozilla.org/pub/fenix/releases/113.0/android/ This should work, but after downloading the apk (tried all 4 of them), and trying to install I get a message "There was a problem parsing the package". After downloading, I go to Downloads, using Files App. Tapping on the APK. It seems to be, you can't install anything without any Play Store? What am I doing wrong?

Found the solution to install aps without having any Play Store. You can use ADB (platform-tools) on your pc (which you probably already have used to unlock your phone) to install. Don't forget to turn on usb-debugging. Use the command "ADB install firefox.apk" You can download APK's from e.g. www.apkmirror.com Firefox is working fine. I have created shortcuts to calandar.google.com and contacts.google.com to see calandar and contacts. Also have tried to install Google Calandar app, that gives an error message "app can't be executed without Google Play Services". Yeah I could have figured that out my self, but just wanted to check.

Battery usage is still very low. To be continued.
 
Last edited:

cjdijk

Senior Member
Apr 25, 2021
125
51
VoLTE is still using 4G LTE. The slider you're talking about is present on the hidden Testing -> Phone info menu -> VoLTE provisioned, but you should also look for a setting called Enhanced 4G LTE Mode. (Settings->Network & Internet -> Mobile network -> Advanced).

If that's turned off, or missing, then your phone is likely not IMS registered yet. You can also double check your Access Point Name from the Advanced menu, too.

Another way to check IMS registration status is: Settings -> System -> About phone -> Status -> IMS registration status.
I have tried stock Android 8.1 again, that worked using "Rescue and Smart Assistant "but calling still isn't working. I have checked IMS registration status, it's "0" as mentioned earlier. If I boot into TWRP recovery, I type from command prompt (as administrator)

F:\platform-tools_r31.0.0-windows>adb shell
There appears a "~ # ←[6n" prompt.
I type su after that, but it gives an error message "/sbin/sh: su: not found".
For some reason the "su" command doesn;t work or can't be found?

~ # ←[6nsu
/sbin/sh: su: not found
~ # ←[6nchown -R rfs:rfs /persist/rfs
chown: /persist/rfs: No such file or directory
~ # chown -R rfs:rfs_shared /persist/hlos_rfs
chown: /persist/hlos_rfs: No such file or directory
~ # ←[6nexit

 

mmortal03

Senior Member
Apr 15, 2014
401
80
So tell me how. Do I need to install an app, where to find it, en how to use it? Or do I need a tool on my pc to generate it? Thanks for your help. Then we know for sure.
The fastest way is to just do this directly with adb (by running the command "adb shell logcat") which will show you a constant stream of log messages. But that isn't the easiest to work with without further command line knowledge. It will be much easier for you to view and search this with Logcat Reader:


Install that, run it, and, then, if your phone isn't rooted, follow the manual method instructions, which basically requires you to use adb to run the following command to give the app READ_LOGS permission:

adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS

After that, you can use the app to search the logcat output for:
"abcu.k" (without quotes)

That should show you the endless number of SystemUpdate errors (the same output constantly, only the timestamps change).
 

mmortal03

Senior Member
Apr 15, 2014
401
80
I have checked IMS registration status, it's "0" as mentioned earlier.
I'm pretty sure that is your IMEI number, not your IMS registration status, but if your IMEI is 0, IMS registration status isn't your main problem.

I type su after that, but it gives an error message "/sbin/sh: su: not found".
You won't be able to run su like that, as your phone isn't rooted. You'll only be able to use su if you've rooted the phone first.
 

cjdijk

Senior Member
Apr 25, 2021
125
51
I'm pretty sure that is your IMEI number, not your IMS registration status, but if your IMEI is 0, IMS registration status isn't your main problem.


You won't be able to run su like that, as your phone isn't rooted. You'll only be able to use su if you've rooted the phone first.
All my phones are rooted. It's visible during boot, they say "your device has been unlocked and can't be trusted". (Before changing the logo file). The IMEI is 0 with Stock Android 8.1 But when I flash Android 11 on that same phone, it becomes a 15 digit number. The explanation that it's a rights thing sounds very possible. I can't find IMS registration on my phone. I am using Dutch language. I guess IMS registration is Simkaartstatus? That says Network unknown, type Network unknown Mobile network no connection. Only Mobile data and wifi are working, calling and sms not. As soon I have time, I can re-install it in English language. Also will try "adb shell logcat >logcat.txt". And search for SystemUpdates in logcat.txt on my phone without GApps.
 

mmortal03

Senior Member
Apr 15, 2014
401
80
All my phones are rooted. It's visible during boot, they say "your device has been unlocked and can't be trusted". (Before changing the logo file).
That message means your bootloader is unlocked, not that your OS has been rooted.

The IMEI is 0 with Stock Android 8.1 But when I flash Android 11 on that same phone, it becomes a 15 digit number. The explanation that it's a rights thing sounds very possible.
That thread at the link you shared earlier probably explains it. (I haven't read through it myself.)

I can't find IMS registration on my phone. I am using Dutch language. I guess IMS registration is Simkaartstatus? That says Network unknown, type Network unknown Mobile network no connection. Only Mobile data and wifi are working, calling and sms not.
Until you fix IMEI being zero, IMS registration isn't going to matter. I don't believe the phone will get IMS registration unless it has an IMEI. But, like I told you a few weeks ago, on stock (8.1), you can go to:
Settings -> System -> About phone -> Status -> IMS registration status.

Also will try "adb shell logcat >logcat.txt". And search for SystemUpdates in logcat.txt on my phone without GApps.

Yeah, you can do it that way.
 

mmortal03

Senior Member
Apr 15, 2014
401
80
Can someone confirm lineage-17.1-20230213-UNOFFICIAL-potter_security-patch-date_2023-02-05.zip from androidfilehost isn't working at all?
Another guy I was chatting with on Telegram was having issues with it. I haven't tested it myself, but did you format data after installing it, like we've had to do with crdroid?
 

cjdijk

Senior Member
Apr 25, 2021
125
51
That message means your bootloader is unlocked, not that your OS has been rooted.


That thread at the link you shared earlier probably explains it. (I haven't read through it myself.)


Until you fix IMEI being zero, IMS registration isn't going to matter. I don't believe the phone will get IMS registration unless it has an IMEI. But, like I told you a few weeks ago, on stock (8.1), you can go to:
Settings -> System -> About phone -> Status -> IMS registration status.



Yeah, you can do it that way.
I am a worried why I can't go back to stock Android 8.1 (Becouse calling isn't working). Also am wondering why restoring of the backup before switching to Android 11 isn't working. Why did I make that backup, if it can't be restored anyway. Go back to stock Android 8.1 using Rescue and Smart Assistant works, but as I said, calling isn't working. Last thing I've tried was "adb root", have found this in my guide how to modify hosts file. This gives an error message: "adbd cannot run as root in production builds". So I guess you are right about root access. That's working with Android 11, not with stock Android 8.1 Please tell me what I should do after using Rescue and Smart Assistant. I have already turned on developer options. What else do I need to do to get stock Android 8.1 rooted.

Edit: I did think, lets restore the twrp backup of my stock Android 81. again to see what error message appears. For some reason it has finished now without any error's. And calling is working too! Not sure what I've done different but I'm very surprised. However, I'm getting an error message about Google Play Store stops. So it's not 100% working as it should.

I have created and uploaded logfiles for you. With and without GApps in one zip file.
 

Attachments

  • LineageOS18.1.GApps.zip
    1,016.1 KB · Views: 1
Last edited:

mmortal03

Senior Member
Apr 15, 2014
401
80
Why did I make that backup, if it can't be restored anyway.
It all depends on what you backed up. (More on this below.)

What else do I need to do to get stock Android 8.1 rooted.
There are already guides on how to do this, using Magisk, for instance. As you found, though, you may not even need it now.

Edit: I did think, lets restore the twrp backup of my stock Android 81. again to see what error message appears. For some reason it has finished now without any error's. And calling is working too!
Great! Which partitions did you restore? Did you restore EFS or persist? Like I mentioned last month, it could have been an issue with your EFS or persist partitions, or some sort of permissions issue. It's hard to say.

However, I'm getting an error message about Google Play Store stops. So it's not 100% working as it should.
Now that calling is working, that means your IMEI is likely no longer reading '0'. To fix your Google Play Store issue you might first try clearing data on the Google Play Store and see what happens. You might also try clearing the cache on Google Play services, and clearing data on Google Services Framework. I really don't know what's broken there. If that doesn't work, a final option, now that you have the IMEI issue fixed, would be to now try doing a factory reset on 8.1 and then seeing if calling still works (of course, the goal being that it fixes whatever's wrong with the Google Play Store).

I have created and uploaded logfiles for you. With and without GApps in one zip file.
Neither of the logs is showing the constant SystemUpdate errors, so that's good so far, for LOS 18.1.
 
  • Like
Reactions: Wolfcity

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I'm no pro in ROM building but if it's only an entry in the host file that could block the system battery drain shouldn't it be possible to block that entry with something like AdAway?
    Yes, but it probably is just stopping the *data* drain, not the battery drain. Those repeated SystemUpdate requests keep happening, even if the data requests are getting blocked.
    1
    SMS might work, but can't test it.
    Yeah, Messages still works for SMS, even though it gives the notification that it won't (likely other functionality in it breaks).
    1
    I remember it only had 2G, 3G and 4G options, not VoLTE (the one I need). It wasn't an issue, until lots of providers (inclusing Simpel/T-Mobile) shut down 2G for calling. In the past you used 3G or 4G for data only. Now days you use 4G for data and calling, so the software has to deal with that.
    Just so there's no confusion, 8.1 on potter *does* support VoLTE for calling. That's not the reason it's not working for you.
    1
    I am sure I never had VoLTE on stock Android 8.1, I could only choose these 3: 2G, 3G and 4G under preferred network settings. May be you were using another Custom rom with Android 8.1? Or it's my provider. When using (custom) Android 11, I can choose 34 different combinations of: GSM/WCDMA/EvDo/LTE/TDSCDMA/NR. and an option to enable VoLTE (voice over LTE).
    VoLTE is still using 4G LTE. The slider you're talking about is present on the hidden Testing -> Phone info menu -> VoLTE provisioned, but you should also look for a setting called Enhanced 4G LTE Mode. (Settings->Network & Internet -> Mobile network -> Advanced).

    If that's turned off, or missing, then your phone is likely not IMS registered yet. You can also double check your Access Point Name from the Advanced menu, too.

    Another way to check IMS registration status is: Settings -> System -> About phone -> Status -> IMS registration status.
    1
    I'm pretty sure we've discussed other problems with 18.1 last year in the other thread?


    Good.


    Yeah, I was pretty sure it was something to do with the persist partition.

    Please follow up after you've done further testing. I don't have time to go back through the other thread, but I'm pretty sure we had other issues with it.
    It has been a year ago I last used LineageOS 18.1, I have read my message saying someone calling me, I could here the caller, but the caller could not hear me. Last sunday afternoon I have given it a second try. And have found no issue's with it. Also on an active day (monday) several times been callling and receiving calls. A year ago the 2G/3G network was still active, now it's 4G only. Also I am using a newer version of LineageOS 18.1. I guess one of those changes has made the difference. And no battery draining anymore. I have charged my phone 100% 24 hours ago, it's now still 77% after a busy day of phone usage. At this moment I am not going to try Lineage 17.1 on my other Moto G5 Plus.

    The only (small) issues/differences I have found so far are: WhatsApp gives a warning during installation that I am not using an official Android, but I can still use WhatsApp with no issues. Also I am missing the Google search bar, including Google Assistant and Google Lens at the corner, but I could install and use those as apps as shortcuts. May be that's an MindTheGApps issue. The audio is about 30% louder. I have the volume sliders on about 70%, At 100% the audio is sometimes a bit distorted. Also I use to have the weather report and temperature in Ambient Display (messages showing when picking up phone without unlocking), this is missing in this rom, but it wasn't accurate anyway, so no problem. When using DotOS, it also showed comming google calendar events. May be it's possible to get this in another way (widgets?). And as I said earlier, the face recognition option is missing in this rom, No problem for me, I am only using fingerprint for unlocking.

    Small update: I am afraid this rom also is going to get the battery drain problem. Yesterday it was only 50%, so I decided to charge it up to 100%, shutdown and on again to make sure no active running tasks before going to sleep. But this morning I hoped for just 1% of usage, but it was 7%. Still not much, but a lot more than before. Next step would be to try LineageOS without GApps, but I don't think thats going to fix it, but can try it anyway. Let's see if I can still use Google contacts and calendar, when using LiniageOS build in apps.
  • 31
    BE3pE0l.png

    Code:
    *** Disclaimer
    I am not responsible for any damage you made to your device
    You have been warned


    crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today


    Features:
    https://github.com/crdroidandroid/crdroid_features/blob/11.0/README.mkdn

    Flashing Instructions:

    Pre-installation:

    First time installation:
    • Backup your data to PC, OTG flash drive
    • Flash recovery and boot to recovery
    • Wipe system, data, cache and format data, then reboot to recovery
    • Copy ROM, Gapps & Magisk to internal memory then flash them in TWRP in same order
    • Reboot and enjoy :)

    Update installation:
    • Boot to recovery and make a backup (not necessary)
    • Flash updated ROM
    • Reboot and enjoy :)


    Sources:
    ROM:
    https://github.com/crdroidandroid
    Kernel source:
    https://github.com/GZR-Kernels/Optimus_Drunk_Potter

    Download:
    Rom: https://crdroid.net/potter
    Changelog: https://raw.githubusercontent.com/crdroidandroid/android_vendor_crDroidOTA/11.0/changelog_potter.txt

    Known isues:
    - You tell me

    Visit official website @ crDroid.net
    crDroid Community Telegram
    Donate to help our team pay server costs


    XDA:DevDB Information
    Crdroid 6 for Moto G5 Plus, ROM for the Moto G5 Plus

    Contributors
    GtrCraft
    Source Code: https://github.com/crdroidandroid

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Unlocked Bootloader, Latest TWRP Recovery
    Based On: LineageOS
    6
    7.12 update:

    Changelog:
    - Initial crDroid 7.12 code base
    - Updated to November 2021 security patches