yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Questions & Answers] nabril15:
Yes, do it. I did it 2 weeks ago, and the phone runs perfectly fine. Use the oxygen updater app, and read otjer threads to reassure yourself; go to the guides section
[Xiaomi Mi Mix 3 Questions & Answers] BrkAkn07:
Hello. I'm sorry for my bad english. I am using the Stable version of Xiaomi EU 11.0.3 (android 9). I want to improve the sound quality of my phone and install root. I don't know how to do it, can you help me? Thanks.
[Xiaomi Mi Mix 3 Questions & Answers] Rockmadeofrock:
You might want to search for a few minutes on this forum... there are numerous threads on how to install TWRP and root on the Mix 3. After a solid 1 minute of searching I found these:

-Guide for TWRP and ROM installation

-How to root

-Root mi mix 3 any version by TWRP

They might not be exactly the version you want but its the same process, you just need to figure out what version of TWRP and Magisk to use.
[Galaxy S 4 i9506 Android Development] khalvat:
Features:

https://github.com/crdroidandroid/crdroid_features/blob/10.0/README.mkdn

Always Have a full functional Backup. Just in case!

Rom Download Link :

https://androidfilehost.com/?fid=8889791610682935022

Lineage Recovery link :

https://androidfilehost.com/?fid=8889791610682935019

Recomended Bootloader/Modem : https://androidfilehost.com/?fid=3700668719832239236 (I9506XXUDRB1_I9506XXUDRA1)

GAPPS: DOWNLOAD GAPPS - Not updated yet for 10.0 -- use Beta from link below

Platform: ARM

Android: 10.0

OpenGapps : https://opengapps.org/

BITAGaaps : https://androidfilehost.com/?fid=4349826312261650978

Device Source:

Device : https://github.com/Khalvat-M/android_device_samsung_ks01ltexx

Kernel : https://github.com/Khalvat-M/kernel_samsung_msm8974

Vendor : https://github.com/Khalvat-M/vendor_samsung

** Make sure you're running a proper working Recovery (TWRP is recommended)

TWRP Link : https://dl.twrp.me/ks01lte/

1) Copy crDroid zip, GAPPS zip to your device

2) Boot into Recovery

3) Wipe cache, system, & data (or just cache & system for a dirty flash).

4) Flash ROM

8) Flash GAPPS

9) Boot up

For root, AFTER you boot into the ROM, you can go back to recovery and install Magisk v20.1 (whatever is most recent, Android 10 is now supported)

ROM Asking for Decryption key on boot:

This isn't a ROM issue, but an issue with your device. Kindly boot into TWRP and go to wipe - choose FORMAT - TYPE - YES

***This WILL wipe your INTERNAL storage. Backup before performing the format.

Upgrading from earlier version of crDroid:

The only difference between clean flash as above and upgrading is you just wipe system & cache, leaving data. Everything else is the same. ***Remember to always clean flash before reporting problems. Clean flashing is always the best method of ROM install.

KNOWN ISSUES

1. You tell me

Don't expect any support if you:

- are not running the included kernel

- have installed any mods such as Xposed

- have modified system files

Thanks to:

- fagyi - Can't stress enough how much you do. Thank you so much for everything!!!

- Google

- LineageOS

- SlimRoms

- AOSPA

- AOSIP

- AICP

- OmniRom

- NamelessROM

- Many others... (if you've been left out just send a PM )

XDA:DevDB Information

[ROM] [10.0] crDroidAndroid v6.0 [UNOFFICIAL], ROM for the S4 i9506( ks01lte)

Contributors

khalvat

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

ROM OS Version: Android 10

Based On: LineageOS

Version Information

Status: Stable

Created 2019-12-10

Last Updated 2020-09-11
[Galaxy S 4 i9506 Android Development] jegogo99:
mod edit: translated

Long live the S4. Thanks for the input

Sent from my POCO F1 mediante Tapatalk

Larga vida al S4. Gracias por el aporte

Enviado desde mi POCO F1 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Which bootloader and Modem is it built for?
[Galaxy S 4 i9506 Android Development] khalvat:
Added in post
[Galaxy S 4 i9506 Android Development] Negan:
Hey there please remember to post in english! I translated it for you!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI: I cannot get Magisk 20.1 installed on crDroid. however, the playstore does download and install apps.

crDroid home launcher crashes every time(see attached for logcat), pixel launcher works.

I also didn't get a GPS Fix. Admittedly indoors, but my current Havoc-OS Oreo did right next to it.:(
[Galaxy S 4 i9506 Android Development] khalvat:
All good here. No any crash:rolleyes:

1 Flash Rom without gapps and boot to rom

2 After working for a while reboot and flash latest beta gapps

3 magisk for root will fix soon in next builds
[Galaxy S 4 i9506 Android Development] khalvat:
New build 2019-12-16 is Available

Device changelog:

Fixed some minor bugs

Added samsung Doze
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I just dirty flashed the latest build over the previous build. It tried to re-instate Magisk, but failed.

Would a clean flash enable Magisk?
[Galaxy S 4 i9506 Android Development] khalvat:
Sorry Magisk issue still not fixed.
[Galaxy S 4 i9506 Android Development] kiprio:
When I launch the music player, it seems, that the sound is skewed. The some is when I use the "Duolingo". In the previous version is all right.
[Galaxy S 4 i9506 Android Development] khalvat:
Yeah. I know.its was my mistake in latest build. Fixed audio bug now so wait for new build
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have successfully built the ROM from your source:good:, but I have not test-flashed it to see if it works.:fingers-crossed:

The changes I had to make to get it to build (from memory)

echo "# dummy" > hardware/samsung/AdvancedDisplay/Android.mk;
echo "# dummy" > device/samsung/qcom-common/doze/Android.mk;

## (geany [B]hardware/interfaces/audio/common/all-versions/default/service/Android.mk[/B])
## [B]remove line 56[/B]
##	[B]com.qualcomm.qti.bluetooth_audio@1.0 \[/B]

Is that related to above issue?

I personally do not use bluetooth audio (so NO issue for me personally), but does the above mean there is an issue with bluetooth audio? or do you use another fix not in github?

So, the takeaway is the source can be built pretty easily :good:

Can anyone check bluetooth audio?

===================================

edit: the actual error

hardware/interfaces/audio/common/all-versions/default/service/Android.mk: error: "android.hardware.audio@2.0-service (EXECUTABLES android-arm) missing com.qualcomm.qti.bluetooth_audio@1.0 (SHARED_LIBRARIES android-arm)"
[Galaxy S 4 i9506 Android Development] khalvat:
Nice:good:. If u can start pixelexprience build and share in our XDA page.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Two problems there.

1. I build for my own devices/uses and share on XDA if there is no-one else building it, or has provided a recent build.

2. I like the most eye candy I can get :cool:, and Pixel Experience is targeted for an AOSP experience :cyclops:. ie not for me.
[Galaxy S 4 i9506 Android Development] misy:
I can not get the GPS fix. The phone sees many satellites, but does not fix the position. How can I solve this?

PS. GOOD ROM. The battery lasts a long time!

replaced by I9506XXSDPL2_I9506XXUDOJ2_bootmodem GPS fix- OK!!!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
A rooted crDroid!

FYI I just did a build using [MENTION=4861355]kyasu[/MENTION] kernel, and the small changes I noted above, and it built without a hitch, and Magisk flashed AND is working. So I now have a rooted crDroid :highfive:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="lineage-17.0" />
<project name="LineageOS/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="lineage-17.0" />

<project name="Khalvat-M/android_device_samsung_ks01ltexx" path="device/samsung/ks01ltexx" remote="github" revision="10.0" />
<project name="Khalvat-M/vendor_samsung" path="vendor/samsung" remote="github" revision="10.0" />
<project name="Khalvat-M/kernel_samsung_msm8974" path="kernel/khalavat_samsung/msm8974" remote="github" revision="10.0" />

<project name="kyasu/android_kernel_samsung_msm8974" path="kernel/samsung/msm8974" remote="github" revision="lineage-17.0-test" />
</manifest>

Not being rooted meant not being able to actually install/use my most commonly used apps. So this will be good until you get your kernel sorted:good:

oooo.... it really did not like the install of the latest viper, which uses Magisk.
[Galaxy S 4 i9506 Android Development] khalvat:
Yeah it was from kernel but im working on other devices so have not time for change kernel source for now.

Also add devicesettings in roomservices from linneageos
[Galaxy S 4 i9506 Android Development] khalvat:
New build 2020-01-01 is Available

Fixed bugs

I had not time to fix root problam so i will fix in next build

Happy new year???️??Merry christmas
[Galaxy S 4 i9506 Android Development] ameshiya:
Great News Sir

HNY & MC , Wishes You All The Success in Your Pro And Perso life

Regards .
[Galaxy S 4 i9506 Android Development] fireplayer:
[MENTION=6582800]khalvat[/MENTION] - The official Crdroid for most Samsung systems supports bluetooth MTU of 512. This allows for the usage of Amiibo directly via the phone for example.

So i was wondering IF this rom actually sets s4 bluetooth MTU from 64 to 512 bytes?
[Galaxy S 4 i9506 Android Development] fireplayer:
Tried flashing the "Final version" - clean flash - but its been stuck on crdroid logo for like at least 30 mins now. Came from Lineage....

Any ideas?
[Galaxy S 4 i9506 Android Development] Vickeey:
Try clean Flash
[Galaxy S 4 i9506 Android Development] fireplayer:
I did. Does this lineage recovery thing interfere w twrp? Because it asks me to install twrp w every crdroid flash

[MENTION=6582800]khalvat[/MENTION] [MENTION=5417899]DiamondJohn[/MENTION] - any ideas?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have not tried installing this ROM, so have no idea what you are talking about.

Where does it say to install TWRP?
[Galaxy S 4 i9506 Android Development] DorGind:
Hi,

i've running the latest version of this CrDroid-OSv6 rom. With the wrong Modem/Bootloader i've also noticed, that its stuck at bootlogo.

So please check. that you are using the recomended Modem/Bootloader:

Recomended Bootloader/Modem : https://androidfilehost.com/?fid=3700668719832239236 (I9506XXUDRB1_I9506XXUDRA1)

But I use TWRP and not LineageOS-Recovery, so this could also be your issue.
[Galaxy S 4 i9506 Android Development] Mercyless:
Thanks for the rom, it works really well!

But I have a question:

How can I disable the virtual buttons?

I can't find it anywhere in the settings.

The physical buttons work fine,for me the virtual buttons are useless,they just take up the display.
[Galaxy S 4 i9506 Android Development] khalvat:
New build Available 2020-01-05 CrDroid 6.1

Updated security patch level to december

Fixed root problam

Updated render script and graphics blobs

Updated GPS blobs

Improved sound and media

Optimized battery

Fixed some bugs
[Galaxy S 4 i9506 Android Development] khalvat:
New build Available 2020-01-06 CrDroid 6.1

Fixed wifi network problam
[Galaxy S 4 i9506 Android Development] ameshiya:
Hi Sir

Just want to let u know with this version when i use the recent button it doesn't show recent app switchers .

Tried with home button long press and still The Same.
[Galaxy S 4 i9506 Android Development] khalvat:
Do clean flash. All good here
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI: I did a clean flash, and my recents work
[Galaxy S 4 i9506 Android Development] ameshiya:
Clean install fix the prb

Thank you for your help and your great work

Regards.
[Galaxy S 4 i9506 Android Development] audianer:
How is the performance with android 10? I thing its a bit laggy with LOS16..
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I do not use it as a daily, but I am getting a number of random reboots every day. The following is a last_kmsg from the last on that just happened.

https://hastebin.com/vobuziguwi.cs

=========== edit ===============

actually, I can trigger it every time now, but the following was working OK earlier today, so probably not repeatable by others.

I simply connect adb over WiFi, and as soon as I hit the shell, it shuts down and reboots.

adb connect 192.168.1.123
adb shell

where 123 has been replaced;)
[Galaxy S 4 i9506 Android Development] khalvat:
New build Available 2020-01-12 CrDroid 6.2

Improved device performance

Updated security patch level to 2020 jan
[Galaxy S 4 i9506 Android Development] khalvat:
New build is Available 2020-01-23

General bug fixes and improvements
[Galaxy S 4 i9506 Android Development] bizzzang:
quick paner flashlight

flashlight nothing
[Galaxy S 4 i9506 Android Development] thorti1:
TV / Screen Casting / Mirroring

Is it possible to implement a TV / Screen Casting / Mirroring feature in a new release that works? Thanks for the great ROM.
[Galaxy S 4 i9506 Android Development] khalvat:
Fixed and will upload new build.
[Galaxy S 4 i9506 Android Development] khalvat:
Added screen casting commits in DT but its removed from Rom sources
[Galaxy S 4 i9506 Android Development] khalvat:
New build 2020-01-24 uploaded

Fixed flashlight
[Galaxy S 4 i9506 Android Development] bizzzang:
thank you
[Galaxy S 4 i9506 Android Development] bizzzang:
hardware button

Hardware Button Screenshot Recent Apps Bugs
[Galaxy S 4 i9506 Android Development] khalvat:
All working here. Do clean flash
[Galaxy S 4 i9506 Android Development] bizzzang:
Thanks to you.
[Galaxy S 4 i9506 Android Development] audianer:
Great ROM!

Is there a telegram group for the i9506?
[Galaxy S 4 i9506 Android Development] Vickeey:
I think no telegram group
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Don't know if your interested, but here are some SELinux denials. I have not filtered the list, but some are happening many times.

https://hastebin.com/viramupovo.shell

Also, I assume you are more interested in our device specific issues. Where would you suggest to post issues that would be general to the ROM, and most likely an issue with all devices?
[Galaxy S 4 i9506 Android Development] Vickeey:
Location service is not working in Maps, Uber and Cream.
[Galaxy S 4 i9506 Android Development] ashishpoudel995:
Can someone post screenshots?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
even better is doing a search for a review of the ROM on youtube.
[Galaxy S 4 i9506 Android Development] khalvat:
New build is Available 2020-02-10

Updated security patch to feb

General bug fixes and improvement

If u had any problam please do clean flash
[Galaxy S 4 i9506 Android Development] misy:
Thank you very much.Good and speed ROM
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Finally got around to installing this new build.:highfive:

However, I went through a boot loop on the boot animation:crying:, so I tried again without gapps, and it booted.:victory:

So, I am now just recharging to give it another flash, but this time, I will not be using OpenGApps (open_gapps-arm-10.0-nano-20200129.zip). I think last time (when it worked) I used BiTGApps-arm-10.0.0-v0.6_signed.zip.:fingers-crossed:
[Galaxy S 4 i9506 Android Development] devnotname:
When I installed 5 or more applications, open an music player, drag the status bar down to have 1 latency, sometimes reboot SystemUI
[Galaxy S 4 i9506 Android Development] khalvat:
Yes some here. This problem occurs after the music is opened.but i got lag only in telegram music player.

Will fix soon
[Galaxy S 4 i9506 Android Development] devnotname:
My own opinion: The lag may be because the GPU does not meet the system requirements, can you try raising the GPU clock frequency to about 650MHZ?
[Galaxy S 4 i9506 Android Development] audianer:
[/COLOR [MENTION=9795208]devnotname[/MENTION]: I think 650MHz is to much. The adreno 330 can reach in boost 578MHz.
[Galaxy S 4 i9506 Android Development] khalvat:
New build is Available 2020-02-20

Selinux now is Enforcing

Improved some minor things
[Galaxy S 4 i9506 Android Development] devnotname:
If the charger is turned off, the power cannot be turned on during charging, I wonder if it is my problem
[Galaxy S 4 i9506 Android Development] Alienns:
Hello,

I make Full wipe nstalled build 2020-02-09 + pico gapps than update to build 2020-02-20. But my charging still is extremely slow. See screenshot. I tried 3 usb cables, it`s same and phone is hot. Also battery was charging great in old Lineage 16 rom. Do i need to flash some other bootloader?

edit: usual charge is around 0.9A, now phone does not charge at all, even connected on charger slowly dropping down and when phone is OFF does not charge at all. 0.00A

btw. Rom working excellent this 2 days i`m using it.
[Galaxy S 4 i9506 Android Development] devnotname:
update package 20200220 has failed to access internal storage,

I have not returned to package 20200209 and package 20200209 does not contain this error
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Some issues with latest

I understand [MENTION=6582800]khalvat[/MENTION] is mostly working with getting crDroid to specifically run on our device, and the issues I raise are commonly with crDroid code, and not code specific to our device (but some may be S4 specific). However, by posting here, when I find the place to report the issue, I can always link back to here.Which is why I kept them as separate posts instead of combining all into one.

Firstly, I am getting the following SELinux denials

# 02-27 22:23:50.884 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=25888 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:24:01.820 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=25917 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:25:01.533 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=25939 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:26:03.437 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=25941 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:26:08.496 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=26067 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:26:13.392 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=26141 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# 02-27 22:26:18.373 346 346 E SELinux : avc: denied { add } for interface=vendor.qti.hardware.cryptfshw::ICryptfsHw sid=u:r:hal_keymaster_qti:s0 pid=26235 scontext=u:r:hal_keymaster_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
allow hal_keymaster_qti default_android_hwservice:hwservice_manager { add };

# Execution Time: 10.415 seconds
# Produced at: 2020-02-27 22:26:28
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Bug in crDroid settings

So, when you first go into the crDroid settings, it all looks good.

View attachment 4959797

But if you scroll to see further down, the settings start to overlap with the titles.

View attachment 4959799
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Unused Clickable area - feature request

In previous versions of android, if you click on the battery image, it will take you to the battery history. In this ROM, it does nothing, so is wasted, and you are forced to go to the menu to get to the history.

View attachment 4959801
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Feature Request - Lock-screen Top/middle Shortcuts

One feature I have used for a number of years, and has now become a bit of a requirement for me, is the lock-screen top/middle shortcuts, and seen in my current ROM/daily below. I was a little surprised it wasn't already there:confused:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Battery History goes wonky

I am running this ROM on a spare phone, so the connectivity to the network is not my main priority, So, I have found in my results for

dumpsys batterystats;

that it will sometime boot as if it was in 2004 and then second later be back in 2020. I think it is this behavior, that sometimes causes the battery history graph to be borked.

View attachment 4959815

The following is an example, not necessarily the case above. As you can see, the phone boots in 2014 but quickly switches to 2020

0 (24) RESET:TIME: [B][COLOR="Red"]2014[/COLOR][/B]-06-04-02-18-54
0 (1) 100 status=discharging health=good plug=none temp=313 volt=4066 charge=0 modemRailChargemAh=0 wifiRailChargemAh=0 +running
+24ms (2) 100 stats=0:"battery-state"
+46ms (2) 100 stats=0:"wakelock-change"
+351ms (14) TIME: [B][COLOR="Green"]2020[/COLOR][/B]-02-22-20-23-31
+2s519ms (4) 100 +wake_lock=-1:"screen" +screen brightness=bright stats=0:"screen-state"
+2s906ms (3) 100 brightness=medium pkgactive=u0a172:"com.android.systemui"
+3s412ms (2) 100 +wifi stats=0:"network-stats-enabled"
+3s884ms (2) 100 +user=0:"0"
+3s884ms (2) 100 +userfg=0:"0"

I am sure its not where they are getting their data from, but I would assume it will deliver the same strangeness.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
other bits

I have seen this behavior not only in this ROM but also on my daily (Havoc-OS Oreo). Its funny, but now I cant seem to trigger it in the crDroid ROM. The first time I noticed it did NOT happen, was while the phone was plugged into the charger and charging. I think others (since I no longer seem to be able to trigger it) should try running their CPU governor as Performance, and their min cpu as something a lot higher. I have a suspicion it may not be the GPU directly. Of course, the above is a temporary test only, don't stay like that!

I am a little confused on what you are saying, but I think I know what you are talking about. On all rom's using the new bootloader, it appears the power button does not work while it is charging. However, I have learnt, that all I need to do is hold the power button longer than what I had to do for previous bootloaders. I do not think the ROM is running at this stage, so its not a rom issue.
[Galaxy S 4 i9506 Android Development] kiprio:
If I want to remove the name of day and date from the home screen and I make it in the setting, so it will lost the icon grid in the setting styles & wallpapers.
[Galaxy S 4 i9506 Android Development] khalvat:
Thanks for your feedbacks some bugs from Rom sources and device issues resolved:good: