• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][OREO] crDroid v4.0 beta [Android 8.1]

Search This thread

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
Can you post a link for Magisk13.3 because it has been deleted from magisk thread.
Thanks.

-----------------
Found it and its working thanks.

Curious why are you trying to have 13.3.

Is the latest Magisk (16.0) not working on 0315 build?

OK, now I get it why you want 13.3. 16.0 causes bootloop on 0315 build.



---

For those who have tried 0315. Did you update your firmware to 8.3.15? Is it necessary to do so ?
 
Last edited:

vulturext

Senior Member
Dec 5, 2012
345
46
Most popular seem to be pixel experience by Verevka.

And LOS 15.1 by blankaf (while we wait for official).

I'm on LOS and I love it. Less customisation than crdroid but does everything I need overall.
Well, PE too, seems to be dying. Im still on 8.3.22 global dev and i cant get magisk to work. Im stuck on very long booting that i have to flash boot.img from stock and lose root.
 

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
With Magisk 13.3 on 0315 build, it seems the auto update checker is intentionally disabled. Don't you guys find the modules available to be limiting?

Finally I got the culprit down for battery drain : disable the "Modify system settings" on the Google Play Services to disable all the wakelocks from it.
 

Mayex

Senior Member
Dec 13, 2012
497
102
24
Rzeszów
I cannot install anything in twrp since it wants me to put password. Is system encryption forced in this rom? There is no way to access twrp. I dont have any password, i dont ktow what password twrp wants
 

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
Anyone with 4~5% drain overnight : What's your Better Battery Stats log look like?

I felt some of the kernel wakelock drain quite a bit on 0315.

---

Add : It seems my Wi-Fi now keeps scanning the available network despite already connected to one. And I think this is what causes the drain on my phone.
I've already turned off "Turn on Wi-Fi automatically" toggle to off as well as "Wi-Fi scanning" and "Bluetooth scanning" is off.

When connected to WiFi on another place, the idle drain is significantly lower than when the phone is connected to Wi-Fi. Any idea what to tweak I can do to my Wi-Fi? Currently it sets to 802.11 b/g only with least crowded channel at (2.4 something GHz)
 
Last edited:

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
Anyone recognize these wakelocks?
Code:
NETLINK-hvdcp_opti
NETLINK-healthd
eventpoll-hvdcp_opti
eventpoll-healthd
event1-InputReaders
800f000.qcom,spmi:qcom,[email protected]:qpnp,fg
800f000.qcom,spmi:qcom,[email protected]:qpnp-smb2

These are the main suspects for my idle battery drain.

4 of NETLINK and eventpoll -hvdcp_opti and -healthd have close to 50k wakecount over 9 hours period, while event1-InputReaders has 15k.

800f000.qcom,spmi:qcom,[email protected]:qpnp-smb2 only has 1 wakelock, but consume 4.4% of battery life since boot
800f000.qcom,spmi:qcom,[email protected]:qpnp,fg has almost 10k wakelock.

In comparison, PowerManagerService.Wakelocks, and PowerManager.Service.Display shows a much less wakecount (1569 and 36 respectively)

Here's the link for some relevant wakelock dumps I wrote down manually: https://pastebin.com/9i0xxgCL

Anyone got any idea?

The idle drain is reportedly over 2%/hour as reported by EX Kernel Manager. But when I went to a cafe, the drain can go from 2% to 0.89%/hour. I wanted to guess it's a router problem, but the result is the same even if I turned on airplane mode and switch off wifi/mobile data.

I've just flashed 8.3.15 firmware and recharging back my phone, gotta see if the drain is still there after full charge

UPDATE: Nope, still draining like crazy 5~6%/hour during idle
 
Last edited:

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
As have been mentioned here, it seems that there's some kind of battery drain on the treble-enabled ROM when you have your phone connected to WiFi.

I've tried the following to resolve the NETLINK and eventpoll issue to no avail
- Switching between DHCP and static IP when connecting to the WiFi
- Clear Cache/Data and disable "allow modifying system" on Google Play Service (this actually helps on reducing the lock from all Google Service)
- Disable auto turn on WiFi (But WiFi keeps scanning anyway, maybe the bug is here?)
- Disable WiFi and Bluetooth scanning in Location service
- Trying all 3 GPS mode (GPS only, GPS + WiFi/Mobile Data, WiFi/Mobile data only)
- Cleared Cache/Dalvik Cache in TWRP
- Flashed Firmware to 8.3.15
- Turn off Print Cloud Service
- Turn off Google Backup
- Flashed popkern r27c to replace default kernel supplied by the ROM
- Disabling NetBIOS over TCP/IP on WINS settings on my Windows 7
- Switching router settings between 802.11 b only, g only, b/g only, and n (b/g compatible)
- Switching the broadcast channel to the least crowded ones with the assistance of Wi-Fi Analyzer and ensure it's using 2.4GHz.
- Ensure AP Isolation is turned on in WiFi settings

I think these are all I can report to @Verevka to figure out what's wrong with persistence idle drain when connecting to WiFi.
 

Thorst1

Senior Member
Mar 11, 2018
129
36
Shatin
Samsung Galaxy S10e
Dirty-flashed the ROM, it all works, but tethering still crashes the phone :(
Curious why are you trying to have 13.3.
Is the latest Magisk (16.0) not working on 0315 build?

OK, now I get it why you want 13.3. 16.0 causes bootloop on 0315 build.
I am using the 9.2.xxx firmware with 0315, not sure if it's necessary, but it works well. The only issue I have is not being able to use tethering.

Two answers:
1. I found a work-around to enable tethering: in the developer options, I disabled hardware acceleration. Now I can tether internet from my phone to my laptop again.
2. I found this link to a Magisk version 16.3 - DanWard, which works in CrDroid 315.
https://androidfilehost.com/?fid=962187416754471529
 

ArcOnFire

Senior Member
Apr 15, 2011
417
54
Jakarta
Not sure actually, I didn't install 13.3. I guess if you want to be sure, you can uninstall 13.3 first, or dirty flash the ROM again, reboot to system, and install 16.3...

Hmm somehow I couldn't uninstall 13.3

So I flashed 16.3 right away.

It installed fine, but still have the same problem like 13.3 (can't check for update) and the list of downloadable modules are about the same.

I remember the official ones have much more modules selection (like enable camera2 api)
 

Chandler Muriel Bing

Senior Member
Feb 10, 2018
71
18
İzmir
Did any one solved the TWRP Decryption problem? Already tried cofface, offical latest and offical 3.1.1.0 no luck.

---------- Post added at 06:40 PM ---------- Previous post was at 06:27 PM ----------

Did any one solved the TWRP Decryption problem? Already tried cofface, offical latest and offical 3.1.1.0 no luck.

Solved! Just use THIS TWRP. It's still asking for password which is your screen lock password.
 

Thorst1

Senior Member
Mar 11, 2018
129
36
Shatin
Samsung Galaxy S10e
Hmm somehow I couldn't uninstall 13.3

So I flashed 16.3 right away.

It installed fine, but still have the same problem like 13.3 (can't check for update) and the list of downloadable modules are about the same.

I remember the official ones have much more modules selection (like enable camera2 api)

I'm really a beginner with Magisk, but couldn't find the Camera2 API from the official 16.0 version I installed before either. I see no difference between that version and this 16.3 version. I can, however, check for updates. It looks to be fully functional to me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    https%3A%2F%2Fimg.xda-cdn.com%2Fc0mIjR8lsiHM7l4KXowPzoLHRUE%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FnUBKZfMRYCotfvNioAnDwWlUuak%253D%252Fhttp%25253A%25252F%25252Fi.imgur.com%25252FBE3pE0l.png

    Welcome to the goodness of Oreo. This topic will be dedicated to our bring up of Oreo for Xiaomi Mi6.

    While the feature list will be constantly updated, remember the ROM is in beta stage and would expect logs if you want to report issue.


    Feature Highlights:
    Click Here

    Xiaomi Mi6 Specific Feature Highlights:
    Miui camera


    Installation Steps:
    Backup your existing apps and data
    Boot to recovery
    Wipe System
    Wipe Userdata, if coming from another ROM
    Flash firmware
    Flash ROM and ARM64 Gapps (if you need)
    Flash Magisk for root (if you need)
    Reboot


    Download Links:

    Support us by donating.





    XDA:DevDB Information
    crDroid Android, ROM for the Xiaomi Mi6

    Contributors
    Verevka, ShevT
    Source Code: https://github.com/crdroidandroid

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.4.x

    Version Information
    Status: Beta

    Created 2018-02-03
    Last Updated 2018-02-04
    Update 4.2.18:
    Update specific MiuiCamera blobs and apk.
    Update autoBrightnessLevels miui 8.1.25.
    And other small fix and update.
    14
    Rom update:
    Update prebuild specific MiuiCamera blobs. The picture quality of the camera became much better!!!
    7
    @Dobsgw : Could you please tell us how is this Rom compared to AtomicOs?

    Just a few different customisations in the crDroid menu compared to the Labs menu.
    Otherwise all good Oreo.
    I didn't like Oreo at first but its really grown on me and I cant face Nougat now (which I loved).

    The only issue I had was 50% battery drain overnight but I haven't fiddled enough to know why it happened.
    Battery stats just said "phone idle"
    So I changed firmware to 8.1.25 (suggested in the OP). I had updated to 8.2.1 which can be hit and miss from xiaomi.
    And changed some apps to be more battery friendly.
    So I'll charge up again and see how it goes.
    I also updated to the latest version from this morning so verevka might have tweaked it a bit.
    It says deep sleep is working which I believe because during the time I was using the phone battery wasn't draining quickly. Just overnight

    I really hope he sticks with crDroid because its fantastic.
    Still in beta though so can't fault the battery.
    I'm gonna get logs if it happens again
    4
    My brief report .. latest build and last global firmware, NFC - Off, L-speed tweaks (battery, processor, etc.)
    From 100% - 15% (my apology, I did not do screenshot).. more than 24 hours of use, almost 8 hours of screen-on time. 3% drop overnight, no lags, without crashing any applications, very stable, miui cam work decent (although I'm a layman for photography), gboard works without delay (I'm not sure why .. suddenly it started working as it should) .. quite a good rom, I hope for further development.