[MOD][Xposed] Make Infrared Blaster working with 3rd party apps (on EUI) - LeEco Le 2 Themes, Apps, and Mods

Hi!
I've created an Xposed module for my LeEco Le Pro 3 phone, so that I can use the IR blaster not only with the included Remote control app from LeEco but with any other 3rd party infrared app from the Play Store which uses the standard Android ConsumerIR API (for example like RCoid).
As some XDA users (thanks to: @jhakjhuk1853, @kedaranmol and @bearady) reported that the module also seems to work for the LeEco Le 2, I thought I will leave a note also here in this forum.
You will find my related threads in the LePro 3 forum:
[MOD][Xposed] Make Infrared Blaster working with all 3rd party apps (on EUI)
[REF] How Infrared is (not) working on LePro3 - some infos for IR devs
The Xposed module is available via the Xposed Installer app, just search for "LeEco Infrared Fix" (or simply click this link on your phone).
Full source code is available at Github under GPL license: github.com/johnzweng/XposedLePro3Infrared
While the module was initially made for devices running EUI it seems to work also on other ROMs as long as the proprietary system app "UEI Android Services SDK(LeTV)" from the device's original EUI ROM is also installed (as system app?). This special system app (aka "QuickSet SDK") is responsible for communicating with the IR blaster hardware and needed for getting the IR blaster working.

now working with any EUI version or even with miui
just install peel smart
install this module
activate module
restart phone
dont open default remote app
and start peel smart
it would work
if you open default remote app
just restart phone and it would work
thanks @androcheck

Thanks For This Awesome Module

How to use this in Nougat ROMs as Xposed is not present.

Does it work with the latest MIUI 8 ROM for LeEco Le 2........................??

This mod worked in Le1s eui 5.8.0019s but when i tried it on cool 1 dual 5.8_17s it boot looped.. Any idea why this happens?

Surya1998 said:
This mod worked in Le1s eui 5.8.0019s but when i tried it on cool 1 dual 5.8_17s it boot looped.. Any idea why this happens?
Click to expand...
Click to collapse
Sorry, no idea. I don't have a Le1s at hand and without any logs it's hard to say anything about the cause. You could try to capture the logcat output on your computer when the phone is booting up. Try to start the logcat as early as possible (shortly after power-on):
Code:
adb logcat -v time '*:V' > logcat_logfile.txt

Related

[MOD][Xposed] Make Infrared Blaster working with all 3rd party apps (on EUI)

Update: Dec 6th, 2016: published version 1.1, works now with more LeEco phones. Btw, module was renamed to "LeEco Infrared Fix".
Hi!
I've created the Xposed module "LeEco Infrared Fix" for the LePro 3 (but seems to work on other LeEco phones too) which tries to make the IR blaster (the infrared hardware) usable via the standard Android API. This means that all 3rd-party infrared apps which use the standard API should work!
The module is open-source, you can find the code here on GitHub.
For background infos and details look into this thread: [REF] How Infrared is (not) working on LePro3 - some infos for IR devs.
Restrictions:
Problably only working with EUI (will not work on plain cyanogenmod. Update: seems to work also on Cyanogenmod as long as the proprietary sysrem app "UEI Android Services SDK(LeTV)" from the device's original ROM is also installed (as system app?) in Cyanogenmod). Developed on my LePro 3 --> Please give feedback if it also works on other phones or EUI versions
The app UEI Android Services SDK(LeTV) (QuickSet SDK Service) must not be removed or disabled (this service is responsible for talking to the IR chip). Its internal package name is: com.uei.quicksetsdk.letv.
It supports only sending Infrared (no receiving, learning-mode) simply because the standard Android API has no support yet for receiving infrared. But the original LeEco remote control app should still be able to use the learning-mode.
This module overrides the standard Android Infrared API, so this means the standard Infrared API must already be present in the ROM! This the case for EUI 5.8.018S on the LePro 3 but might not be the case on other ROMs. :-/ Update: no longer necessary since version 1.1
But you can disable or remove the original Le Eco remote control app. Or you can keep it. Just as you like. It should be able to co-exist with 3rd party apps.
Reported to work with following devices / ROMs:
LeEco Le Pro 3 (LEX720) running EUI 5.8.018S (tested by myself)
LeEco Le 2 MTK Chipset running EUI 5.9.020s (according to this posting from @bearady)
LeEco Le 2 X526 running EUI 5.9.020S (according to this posting from @jhakjhuk1853 and this posting from @kedaranmol)
LeEco Le Max 2 X820 running Madsurfer's 21s EUI 5.9 Rom according to this posting from @serc
LeEco LePro 3 running CM13 (as long as the proprietary system app "UEI Android Services SDK(LeTV)" from the original EUI ROM of the same device is also installed (as system app?) in Cyanogenmod)
Please report in comments if it's also working for other versions or devices, so I can complete this list.
Changelog and older releases:
see Changelog on Github
all releases can be downloaded from release page on Github
Also:
Here be dragons.. (aka bugs)
8 days ago I had no idea how infrared works, had never used the infrared API or even used any infrared app. I just started poking around and then things escalated quickly (you can follow my story in this other thread if you have some hours to read...). Keep in mind that working with the infrared API is new for me, so there might be bugs..
If it's working or not, please give feedback.
Btw, I'm currently testing with the app RCoid free which works perfectly for me (and which I really like). I also tested with these randomly chosen apps: ZaZa Remote-Universal Remote, ASmart Remote IR and IR Universal Remote and all of them worked.
Download:
via Download section in Xposed Installer app (click on the link from your phone and the Xposed installer app should open)
releases page on Github
or download attachment of this posting
Awesome, I do not use the IR blaster but thanks for the time and work!
i have tested with lemax2 and eui 5.9.21s
is not working
but i will look at later versions, for me this is very important
thanks for your work
can we do this way principicaly for the camera too
edit edit new version 1.1 beta is running like charme
thank you androcheck
Tried on eUI 5.8.19s with Le 1s Eco. ended up with boot loop.
im testing again to ensure the bootloop not bcos of this module... unfortunately couldn't get a logcat
@androcheck can you post this in xposed modules repo that would be useful.
reversegear said:
Tried on eUI 5.8.19s with Le 1s Eco. ended up with boot loop.
im testing again to ensure the bootloop not bcos of this module... unfortunately couldn't get a logcat
@androcheck can you post this in xposed modules repo that would be useful.
Click to expand...
Click to collapse
Hi, thanks for the feedback. Good idea, I will it submit to the Xposed repo. :good:
Yes, it's very likely that this might not work well on other devices (or even other EUI versions) as the tricks needed to get this working are very specific targeted. But in the other side (under the assumption that the used IR Blaster and QuickSet SDK is the same than on LePro 3) it might only require some small changes to get it working.
The logfiles from Xposed and maybe a Logcat (from the start of boot) would be extremly useful to see what's going wrong:
Boot into TWRP recovery and copy the Xposed logs to your computer:
Code:
adb pull /data/data/de.robv.android.xposed.installer/log/error.log
adb pull /data/data/de.robv.android.xposed.installer/log/error.log.old
Then boot normally start logcat from the beginning of boot (start it even before you see the bootanimation):
Code:
adb logcat -v time '*:V' > logcat_lepro3_boottime.txt
[edit]
If you experience a bootloop (caused by my module), simply boot into TWRP and delete my app from there: Just navigate to the directory "/data/app", there you should find a subdirectotry named "at.zweng.xposed.debug.infrared-1" (maybe the digit at the end is different) and just delete this whole directory.
[/edit]
Done. Published it into Xposed repo. Just search for "LePro 3 Infrared Fix".
Also I would like to get feedback from LePro3 users if it's working on the newer EUI versions for the american version. (And please include logs if it's not working.)
And when we finally have a working cyanogenmod device tree (so that we can build it ourselves) I will happily support developers to get this working for cyanogenmod, too so that infrared will work there out-of-the-box without the need for an Xposed module. (After searching the forums here on XDA I guess this would make the LePro3 being the first device with a UniversalElectronics IR chip where infrared will work on cyanogenmod with all 3rd party apps. )
serc said:
i have tested with lemax2 and eui 5.9.21s
is not working
but i will look at later versions, for me this is very important
thanks for your work
can we do this way principicaly for the camera too
Click to expand...
Click to collapse
One thought: could you test with an app like z-device test if the phone advertises having infrared capabilities to apps?
Because this is the case with the LePro 3. It has the Infrared API included (so all infrared apps install and work fine), but just didn't do anything.
My module only works if the Infrared API is already present in first place.
I did not understand what you meant about the camera.
androcheck said:
One thought: could you test with an app like z-device test if the phone advertises having infrared capabilities to apps?
Because this is the case with the LePro 3. It has the Infrared API included (so all infrared apps install and work fine), but just didn't do anything.
My module only works if the Infrared API is already present in first place.
I did not understand what you meant about the camera.
Click to expand...
Click to collapse
May be he meant to say about working camera 2 API
Z-device test says no IR capabilities
androcheck said:
One thought: could you test with an app like z-device test if the phone advertises having infrared capabilities to apps?
Because this is the case with the LePro 3. It has the Infrared API included (so all infrared apps install and work fine), but just didn't do anything.
My module only works if the Infrared API is already present in first place.
I did not understand what you meant about the camera.
Click to expand...
Click to collapse
Z-device test says no IR capabilities in Le 2 (X526) Indian Version. So i guess we cant use your xposed module? Is there any way to add the Infrared API with rooted phone? I could test it, if you have any theories...
OMG...you're a life saver and a genius.I can confirm it worked on Leeco Le 2 X620 eui 5.9.020s mtk chipset. I've tested with Anymote,Rcoid(also suggested by you),Peel Smart and Zaza Remote. Thank you very much...respect for your work
Which eui version?
One of the user said worked on mtk 20s we can also try on Chinese 20s
kedaranmol said:
Z-device test says no IR capabilities in Le 2 (X526) Indian Version. So i guess we cant use your xposed module? Is there any way to add the Infrared API with rooted phone? I could test it, if you have any theories...
Click to expand...
Click to collapse
---------- Post added at 10:42 AM ---------- Previous post was at 10:41 AM ----------
@androcheck can you help in making it for le2 Indian x526
I can help for files etc
jhakjhuk1853 said:
One of the user said worked on mtk 20s we can also try on Chinese 20s
---------- Post added at 10:42 AM ---------- Previous post was at 10:41 AM ----------
@androcheck can you help in making it for le2 Indian x526
I can help for files etc
Click to expand...
Click to collapse
But the 20s rom is for mtk chipset? Or are you referring to 20s ported from Chinese 5.9.20s?
Ported
Ported 20s
kedaranmol said:
But the 20s rom is for mtk chipset? Or are you referring to 20s ported from Chinese 5.9.20s?
Click to expand...
Click to collapse
androcheck said:
I did not understand what you meant about the camera.
Click to expand...
Click to collapse
reversegear said:
May be he meant to say about working camera 2 API
Click to expand...
Click to collapse
Hi Androcheck, Reversegear with Camera I mean this ROM
http://forum.xda-developers.com/le-max-2/development/unofficial-cyanogenmod-14-1-t3498764
here is Camera not running, i thinked your way can Help here perhaps
kedaranmol said:
Z-device test says no IR capabilities in Le 2 (X526) Indian Version. So i guess we cant use your xposed module? Is there any way to add the Infrared API with rooted phone? I could test it, if you have any theories...
Click to expand...
Click to collapse
jhakjhuk1853 said:
@androcheck can you help in making it for le2 Indian x526
I can help for files etc
Click to expand...
Click to collapse
I am currently playing around and testing.. I am trying to hook also all the relevant PackageManager methods, so that for an app everything looks like if there is a standard infrared HAL implementation available. Not sure, if this would work for the X526.
If the IR blaster hardware or the QuickSet SDK is only a little bit different, then it might not work. So this is just a try.. Don't get your hopes too high..
serc said:
Hi Androcheck, Reversegear with Camera I mean this ROM
http://forum.xda-developers.com/le-max-2/development/unofficial-cyanogenmod-14-1-t3498764
here is Camera not running, i thinked your way can Help here perhaps
Click to expand...
Click to collapse
Hi! I think there is a misunderstanding what Xposed is and what it's used for. Xposed is a (not so easy) way to "hook" (in other words: modify) existing code during runtime.
It's complicated to work with Xposed and it should only be the last resort if you have no other ways to do it. If you have the orginal source code of some peace of software it's MUCH easier to just work with the plain source code and fix the bugs directly there before you build it (and not take the unnecessarily complicated road with Xposed).
In Cyanogenmod you have all the source code (besides low-level drivers, and there Xposed also cannot be used), so devs should try to fix the errors in the source code, not with Xposed. Also, I have never worked with Camera API (and I can only assume that it's way more complicated than Infrared), so I'm afraid I cannot really help here.
Hi, @serc, @reversegear, @kedaranmol, @jhakjhuk1853!
I've extended the module so that it now also fakes the availability of standard Android Infrared API. So now all Infrared apps should think infrared is available. I attached it to this posting below. Update: removed attachement, use final version 1.1 instead from first post (or from Xposed installer app)
Maybe you can try it this beta version on your devices. No guarantee that it will work (as I don't have the devices for testing). If it seems to work please verify with a digital camera or another's phone camera that the infrared LED actually is really emitting light (cameras can see infrared light, which humans cannot see).
--> also please report your exact phone model plus the version of the ROM you're running!
If it's not working I would need a logcat output (started directly at boot) as well as the Xposed logfile (found in the Xposed installer app).
Code:
adb logcat -v time '*:V' >> logcat_debug_infrared.txt
Have fun!
[EDIT]
Removed BETA attachement as final version 1.1 is now released in Xposed installer app (and in first post)
[/EDIT]
update : le2 x526 EUI 20s version
after installing module phone booted succesfuly
installing peel smart and report back when home will check on TV
will check and report in 10min
thank you
androcheck said:
Hi, @serc, @reversegear, @kedaranmol, @jhakjhuk1853!
I've extended the module so that it now also fakes the availability of standard Android Infrared API. So now all Infrared apps should think infrared is available. I attached it to this posting below.
Maybe you can try it this beta version on your devices. No guarantee that it will work (as I don't have the devices for testing). If it seems to work please verify with a digital camera or another's phone camera that the infrared LED actually is really emitting light (cameras can see infrared light, which humans cannot see).
--> also please report your exact phone model plus the version of the ROM you're running!
If it's not working I would need a logcat output (started directly at boot) as well as the Xposed logfile (found in the Xposed installer app).
Code:
adb logcat -v time '*:V' >> logcat_debug_infrared.txt
Have fun!
Click to expand...
Click to collapse
---------- Post added at 03:23 PM ---------- Previous post was at 02:47 PM ----------
Guys this really worked I am using peel smart on my le2
nothing can be better than this thanks
androcheck said:
Hi, @serc, @reversegear, @kedaranmol, @jhakjhuk1853!
I've extended the module so that it now also fakes the availability of standard Android Infrared API. So now all Infrared apps should think infrared is available. I attached it to this posting below.
Maybe you can try it this beta version on your devices. No guarantee that it will work (as I don't have the devices for testing). If it seems to work please verify with a digital camera or another's phone camera that the infrared LED actually is really emitting light (cameras can see infrared light, which humans cannot see).
--> also please report your exact phone model plus the version of the ROM you're running!
If it's not working I would need a logcat output (started directly at boot) as well as the Xposed logfile (found in the Xposed installer app).
Have fun!
Click to expand...
Click to collapse
I have tested it and I can confirm that this xposed module now works on Le 2 X526 (Indian version with Snapdragon 652). I can see IR signals from another phone's camera using the Anymote Universal Remote and Rcoid. But strangely SURE Universal Remote for TV didn't work for me. I will test with other apps later when I get home. I am yet to test if this works with my TV and other devices. Will update when I do this.
Hi Androcheck compliment you are a Genius !!!
ver. 1.1 beta
my Phone LeEco LeMax2 x820 with Madsurfer's 21s EUI 5.9 Rom, from lemax2 forum xda
rCoid remote is running wonderfull, for me one of the important things at this phone.
Thank You very much , i am now very very happy
Hi, @jhakjhuk1853, @kedaranmol and @serc!
Thanks for reporting back! I will clean up the code (remove a little bit of the debug logging I've included for the case if it wouldn't work), and will make a new clean 1.1 release (and also release the source again).
I'm glad you like it! At the beginning I only wanted to solve this problem just for me personally, but I am happy that my solution now even is working for several devices.
(And if you like it really much and feel like buying me a coffee, there is also a donation link at my profile page.. )
P.S.: The app SURE Universal Remote for TV also doesn't work for me. It seems that they are not only using the standard API to query for infrared capabilities. Hmm.. it looks like they include several other proprietary IR implementations to make it work on as much devices as possible. It seems there is also a version of QuickSet SDK included but it's a different one than the one we see in our phones (I guess it's for LG phones). I'm not sure what exactly is causing the problem.

ZTE Z7 Max (NX505J) - IR Not Working

I'm deeply puzzled, and a bit annoyed my shiny new Z7 Max doesn't seem to have working infrared. I can see the thing, but software can't.
Bought the phone off Feebay, has a "Westone" logo on the back, along with China Mobile. ROM seems stock, shows as Android 5.1.1 and has no obvious bloatware.
The reception seems no better than on my old THL T6 pro, but the GPS is vastly better (can even get a lock indoors). Both hate having two sims (from the same provider) fitted - Another reason I upgraded, and another irritation, but one I can live with.
There was something about explore Nubia OS when it first started, and I'm used to KitKat, so there might be some tweaks or other away from stock I don't know of.
What's bothering me is I can't find any sign of an IR app on it, and anything I've downloaded just says the phone doesn't have an IR port.
Anyone got any ideas? Or known working/ stable roms where the IR *does* function?
I'm using MoKee, and it seems to work; can control my tv, which is all i've used it for. The app that comes with the ROM is called Infrared control.
This is the one I bought ebay.co.uk/itm/272424574812
I can't find any hint of IR software on the phone as it reached me, so will see if the seller can help (unlikely) and then.. Gasp.. invalidate my warranty by finding a rom that *does* operate the features the phone was sold as having.
I imported mine, but it also came running android 5.1 and with play store. Unfortunately I didn't try out IR before installing custom ROM, and can't remember if there was any IR app installed.
The app which comes with MoKee appears to be a Nubia app though.
barryburton said:
I imported mine, but it also came running android 5.1 and with play store. Unfortunately I didn't try out IR before installing custom ROM, and can't remember if there was any IR app installed.
The app which comes with MoKee appears to be a Nubia app though.
Click to expand...
Click to collapse
I can't find a download for the IR app that came with the phone, so may as well go for a different rom I guess.
Are there any known/ annoying bugs in Mokee?
Nothing I've noticed, but there's some stuff I haven't tested, like second SIM, Bluetooth audio and tap to pay. Probably other stuff too. Do a backup first and you've got nothing much to lose.
Shmbolic said:
I'm deeply puzzled, and a bit annoyed my shiny new Z7 Max doesn't seem to have working infrared. I can see the thing, but software can't.
Bought the phone off Feebay, has a "Westone" logo on the back, along with China Mobile. ROM seems stock, shows as Android 5.1.1 and has no obvious bloatware.
The reception seems no better than on my old THL T6 pro, but the GPS is vastly better (can even get a lock indoors). Both hate having two sims (from the same provider) fitted - Another reason I upgraded, and another irritation, but one I can live with.
There was something about explore Nubia OS when it first started, and I'm used to KitKat, so there might be some tweaks or other away from stock I don't know of.
What's bothering me is I can't find any sign of an IR app on it, and anything I've downloaded just says the phone doesn't have an IR port.
Anyone got any ideas? Or known working/ stable roms where the IR *does* function?
Click to expand...
Click to collapse
I recieved mine yesterday from GearBest. It also has the Westone logo on it and aside from missing the IR app was also missing the FM Radio.
After a little searching around I found a German forum from where I downloaded the, what seem to been stock, apks.
Now my FM Radio is working fine, but IR is still not functioning. An IR Romote App sugested a library is missing....
P.M. If you want the links, since I cannot post them due to new member restrictions.
I wasn't worried about FM radio, but did notice there was no sign of it.
I looked around for the IR app, but kept getting rather suspicious looking, definitely not, IR things in disguise.. Sigh.
It sounds like you've made some inroads though, fingers crossed there's a solution to this (though slapping a non stock rom on isn't a problem, *if* all features work relaibly).
Edit to add:
I've found an official ROM and copied the control and control test apks from it.. But although the app loads/ runs, there's still no sign of life from the IR led itself. No doubt I'm missing something the OS requires, it's been a while since I played with these things (and I wasn't very good at it then!).
I have same problem i extracted from 3.84 romofficial the 2 apk ir control and zfm radio only radio works hope there is a solution out there....
I bought the phone from china bangood and no help is provided...
Infrared works on z7 Max bought from banggood on CM12.1 ROM (www.needrom.com)
But i like the 5.1.1 oficiall rom is there any way to make it work i fixfmradio by finding an zfwapp.apk from previous official rom i also install ircontrol.apk and its the nubia one but is notworking pls help me enable ir here
vkoulbal said:
But i like the 5.1.1 oficiall rom is there any way to make it work i fixfmradio by finding an zfwapp.apk from previous official rom i also install ircontrol.apk and its the nubia one but is notworking pls help me enable ir here
Click to expand...
Click to collapse
this is the infrared apk (cn.nubia.control v3.0.1.1011) from the CM12.1 that works 100% in the CM12.1 ROM, you can try it on your ROM and see.
Note: - i beleive it has to be a system app but you can try installing as normal and see if it works, if not then you will have to make it a system app, also the Z7 Max has to be rooted to be able to do as below.
Here's how to make it a system app -
1). Install the attached app as usual.
2). use an explorer app like 'Root Explorer' and
move "ZTE_IRControl.apk" (which will very likely be in /data/app)
to /system/priv-app
then restart phone and then try the infrared app.
.
.
.
I can't install apk ..... Phone is rooted
---------- Post added at 03:53 PM ---------- Previous post was at 03:35 PM ----------
This apk doesn't install I have the phone rooted and my ircontrol.apk that I got from previous ROM I install it doesn't work then move it to system/priv-app reboot still not working I'm loving this phone but I don't like that ir is not working
I got mine from Banggood as well. Here's how I got both FM and IR working. All referenced apps unless otherwise stated can be found on Needrom under the Z7 Max section.
Phone needs to be rooted - use the utility "Z7 Max All In One Tool v3.3.0" to root and install TWRP, followed by SuperSU ZIP file from Chainfire via TWRP.
Extract the nubia_IRControl1.apk and nubia_ZFM.apk from the Stock ROM V3.89. Place them in your SDCard/microSD card.
Under Settings > Security - Allow installation from Unknown Sources, install the IR and FM APKs.
I used 3C Toolbox Pro from Play Store to move both apps to the system folder. Both runs nicely in the stock Nubia 3.96 that came on the phone.
Further on, I flashed the ResurrectionRemix Nougat Rom dated Feb 03, 2017, both IR and FM apps are already included and working. Both the stock and RR ROMs were working nicely, I just wanted the latest security patch by moving to RR.
For starters thank you very much for your help I already root my device with kingroot and I copy the twoapks from previous ROM 3.89 and install them then made them system apps by copying them to priv-app with root explorer
The problem is that the IR still not working can you help me skittle bit more cause I don't won't to change ROM I like this 3.96 please advise...please
finally I flashed the ResurrectionRemix Nougat Rom dated Feb 03, 2017, both IR and FM apps are already included and working...do you have a link of official rom 3.96??
Unfortunately I cannot find a download for 3.96, the latest available is 3.89 from Needrom.
hi
i too have the same issues, basically the IR has not been built into the lollipop rom. any help greatly appreciated as i love this rom
Radio is working on 3.96 but not ir only in RR nougat
Had other things take my attention off this problem - Glad to see lots of useful info in the thread now
I'd better get downloading and faffing.

Please Help !!! In search of a working google camera mod working on official eui 19s.

Hey,
i just flashed official EUI indian 19s on my Le max 2 due to battery issue with all oreo custom roms.
i enabled Camera2api using build prop editor.
But now when i am trying to install any developer's google cam mod i am facing multiple problems-
1. Many mods doesn't support android 6.0.1 because of that every time when i am trying to install a modded apk i get this error - THERE WAS A PROBLEM WHILE PARSING THE PACKAGE. ( Screenshot attached)
2. After searching for some time i am able to find some modded apk which does install but they r also not working properly - some are giving bizarre pinkish images and some r dont even have basic HDR+ function in them. ( Screenshot attached)
Could you guys please suggest me which google camera mod supports indian 19s and work properly and have basic function like HDR+ and portrait mode working .
Thanks in advance.
- Reetesh
Heyyo, you'll need a version of Google Camera Mod for Marshmallow and you will also need to force Camera API v2 as EUI ROM only uses camera API v1.
This guide tells you how to do that and it is the same on X2 with EUI ROM. I the raw mode stuff probably won't work as that is MediaTek specific parts for this guide.
https://appuals.com/enable-camera2-api-shoot-raw-android/
On here you will need to search for an Android 6.0 Marshmallow version of Google Camera Mod.
https://www.celsoazevedo.com/files/android/google-camera/
Third option is to switch to ChrisBalGreece versions of Indian EUI ROM and I think he even has one based on Indian 21s as I believe all his EUI ROM mods come with Camera API v2 and Google Camera Mod included.
Good luck!
ThE_MarD said:
Heyyo, you'll need a version of Google Camera Mod for Marshmallow and you will also need to force Camera API v2 as EUI ROM only uses camera API v1.
This guide tells you how to do that and it is the same on X2 with EUI ROM. I the raw mode stuff probably won't work as that is MediaTek specific parts for this guide.
https://appuals.com/enable-camera2-api-shoot-raw-android/
On here you will need to search for an Android 6.0 Marshmallow version of Google Camera Mod.
https://www.celsoazevedo.com/files/android/google-camera/
Third option is to switch to ChrisBalGreece versions of Indian EUI ROM and I think he even has one based on Indian 21s as I believe all his EUI ROM mods come with Camera API v2 and Google Camera Mod included.
Good luck!
Click to expand...
Click to collapse
Thanks For Your Reply.
I already enabled Camera2Api using that same method and i cheeked it using Manual Camera Compatibility app from plus store and Camera2Api is working super fine after it.
The real issue is i am unable to find a modded version of Gcam which have basic function working properly android marshmallow 6.0.1 - some are giving bizarre pinkish images and some r dont even have basic HDR+ function in them.
Because approximately every modded app work only with oreo or nogut.
Is anyone out there who is using a modded Gcam which have basic function working properly Like HDR+ and Portrait Mode on eui 19s Indian,
PLEASE PLEASE PLEASE REPLY.
Thanks In Advance
- Reetesh
Most mods are based on Google Camera 5. Thus, they won't install on Marshmallow, because original Google Camera 5 requires Android 7.1.
Afaik latest Google Camera suitable for Android 6 is version 3.2 and it uses only camera api v1.
There may be som mods with decreased min API to allow install newer Google Camera versions on older Android, but I doubt it's going to work.
Btw. portatit mode is not possible on Android 6.0. It requires Android 8.

[AOSP 12.1] LeOS - ungoogled GSI

Hi all,
I have created a GSI based on latest PHH AOSP Android 12. Thanks PHH for his great work.
What is LeOS:
1. It's full ungoogled
2. It includes full Working MicroG
3. It includes Seedvauld
4.The beta version is a minimal version which only includes some essential apps. But with an easy install script, you can create a 'full' version with more FOSS apps.
5. available for now arm64bvS, a64bvS. Both in VNDK and VNDK lite available.
6. no google Apps will work !!!!
You can download latest release at
LeOS-Cloud: https://leos-cloud.de/s/JFrFgLgSSTEMtmL /
Proton_drive: https://drive.proton.me/urls/JF352AYSS4#YkXliW8T03Cp
(ProtonDrive needs a bit before download list is showing)
Which variant do I pick
To know which variant to download, use https://play.google.com/store/apps/details?id=com.kevintresuelo.treble . Don't use other Treble Check apps, they'll give wrong informations.
Which vendor to use?
1. Always use your actual device's vendor
2. Always use OEM unmodified vendor, not some custom vendor
3. This includes boot.img. boot.img and vendor MUST BE the same version.
4. Android 10 / 11 / 12 OEM vendor is needed.
LeOS-S is still in Beta and does have some bugs.
Know bugs you will find on PHH release page
-- the su bug I have fixed
Join us a telegram group for support: https://t.me/LeOS_Support
Short overview: http://leos-gsi.de
LeOS is really fantastic and already in early A12 stage usable as a daily driver. For all who are looking for a gsi far away from the Google claws, LeOS is the best decision. Thx for gr8 work.
Hello here!
Great work...thanks.....will try it soon...
Hi there! First of all thank you for great rom. Install it on OnePlus N10 5G. Working great with exeption of some common errors from phh gsi.
Google maps and Signal not recognize micro gms. I enable sig faking already. Would be good if you give me advise how to fix it, because I using some app for my work that relayed on gms.
Annoying pop up from intent filter verification - remove statementservice
Bluetooth connection was fixed by phh setting>audio
boom15 said:
Hi there! First of all thank you for great rom. Install it on OnePlus N10 5G. Working great with exeption of some common errors from phh gsi.
Google maps and Signal not recognize micro gms. I enable sig faking already. Would be good if you give me advise how to fix it, because I using some app for my work that relayed on gms.
Annoying pop up from intent filter verification - remove statementservice
Bluetooth connection was fix by phh setting>audio
Click to expand...
Click to collapse
No google app should work on LeOS. I have removed a lot of google code to get it ungoogled. But gmaps should work in browser.
You have setup the MicroG selftest and location backends?
Signal, you mean it is not registered in MicroG? I don't know / use Signal so I can't say for sure what's wrong and why Gms is needed for it.
Best you will join us in telegram or matrix. Than the other users can help you. As far as I know, we have some Signal users in group
Thank you. Signal works fine but it warns that system missing gms, same with maps. What you use on matrix - Element?
boom15 said:
Thank you. Signal works fine but it warns that system missing gms, same with maps. What you use on matrix - Element?
Click to expand...
Click to collapse
Protonmail is doing the same, but works fine. Alot of apps are doing that. They want have the original goolag play services
I'm using schildichat matrix client.
Hello,
I'm currently running [[AOSP 11.0_r40][all-in-one] microG ufOfficial](https://forum.xda-developers.com/t/aosp-11-0_r40-all-in-one-microg-ufofficial-cve-august-2021-arm32-64-vndklite.4281231/) by @oF2pks.
I'm looking at LeOS-S GSI beta. Features I'm interested in:
* Integrated and fully working MicroG.
* Seedvault included.
* Degoogled as much as possible.
Questions:
* Speaking of aosp / lineage. Is settings -> Accessibility in there i.e. can I sideload TTS voices and Google Accessibility suite or have you also stripped off these when degoogling?
* After flashing LeOS-S, are developer settings and ADB already enabled or do I have to enable them?
* I have Xiaomi Redmi 9 code name gallahad with Android 10 vendor. System partition is part of so called super partition and even with vndklite variant of AOSP I can't make the system mounting read write. Also there is no working TWRP for this device as far as I know. Is there a way to selectivelly disable or reenable the root features with LeOS-S? phh-securize needs an ability to write to system partition, can I make it work somehow?
* Initially I'd like to restore my backups using adb and copying files as root. Then I'd like to disable root so I can run banking apps and use seedvault for backing up my apps.
* As for seedvault will it only backup apps which can be backed up with ADB or can it backup all user installed apps along with their data? For example FairEmail can't be backed up using ADB.
* I think LeOS-S is now based off of lineage. Can lineage call recording be made to work? Or alternativelly is there a way to install axet call recorder as a system app?
I'm going to backup my stuff and try out these things for my-self one after the other. If I can get some hints I'll appreciate it and I might be able to make it work.
Thanks for great rom
Greetings
pvdeejay said:
Hello,
I'm currently running [[AOSP 11.0_r40][all-in-one] microG ufOfficial](https://forum.xda-developers.com/t/aosp-11-0_r40-all-in-one-microg-ufofficial-cve-august-2021-arm32-64-vndklite.4281231/) by @oF2pks.
I'm looking at LeOS-S GSI beta. Features I'm interested in:
* Integrated and fully working MicroG.
* Seedvault included.
* Degoogled as much as possible.
Questions:
* Speaking of aosp / lineage. Is settings -> Accessibility in there i.e. can I sideload TTS voices and Google Accessibility suite or have you also stripped off these when degoogling?
* After flashing LeOS-S, are developer settings and ADB already enabled or do I have to enable them?
* I have Xiaomi Redmi 9 code name gallahad with Android 10 vendor. System partition is part of so called super partition and even with vndklite variant of AOSP I can't make the system mounting read write. Also there is no working TWRP for this device as far as I know. Is there a way to selectivelly disable or reenable the root features with LeOS-S? phh-securize needs an ability to write to system partition, can I make it work somehow?
* Initially I'd like to restore my backups using adb and copying files as root. Then I'd like to disable root so I can run banking apps and use seedvault for backing up my apps.
* As for seedvault will it only backup apps which can be backed up with ADB or can it backup all user installed apps along with their data? For example FairEmail can't be backed up using ADB.
* I think LeOS-S is now based off of lineage. Can lineage call recording be made to work? Or alternativelly is there a way to install axet call recorder as a system app?
I'm going to backup my stuff and try out these things for my-self one after the other. If I can get some hints I'll appreciate it and I might be able to make it work.
Thanks for great rom
Greetings
Click to expand...
Click to collapse
question 1:
sure, all google sh...t is removed. TTS is replaced with open source app from e.foundation
2. you have to enable them as on every other rom/GSI
3. you can flash LeOS-S on devices with Android 10 or 11 vendor
4. seedvault is integrated, but I'm not sue that the restore will work when swapping the OS
5. You can remove root be with an integrated option
6. LeOS-R is based on LOS18.1 and LeOS-S is based on AOSP
axet call recorder I don't know. Call recording is not allowed on most european countries. So I never have used such thing.
I'm using true phone on my personal build and it's including a call recorder
I prefer joining my telegram group. there we can chat and you can get help from whole community
EDIT: MicroG is full integrated
harvey186 said:
Hi all,
I have created a GSI based on latest PHH AOSP Android 12. Thanks PHH for his great work.
What is LeOS:
1. It's full ungoogled
2. It includes full Working MicroG
3. It includes Seedvauld
4.The beta version is a minimal version which only includes some essential apps. But with an easy install script, you can create a 'full' version with more FOSS apps.
5. available for now arm64bvS, a64bvS. Both in VNDK and VNDK lite available.
6. no google Apps will work !!!!
You can download latest release at https://leos-gsi.de/downloads
Which variant do I pick
To know which variant to download, use https://play.google.com/store/apps/details?id=com.kevintresuelo.treble . Don't use other Treble Check apps, they'll give wrong informations.
Which vendor to use?
1. Always use your actual device's vendor
2. Always use OEM unmodified vendor, not some custom vendor
3. This includes boot.img. boot.img and vendor MUST BE the same version.
4. Android 10 / 11 / 12 OEM vendor is needed.
LeOS-S is still in Beta and does have some bugs.
Know bugs you will find on PHH release page
-- the su bug I have fixed
Join us a telegram group for support: https://t.me/LeOS_Support
Short overview: http://leos-gsi.de
Click to expand...
Click to collapse
can I use an unofficial Treble patch?
AltFantasy said:
can I use an unofficial Treble patch?
Click to expand...
Click to collapse
Phh treble patches are included. Do you have different patches?
harvey186 said:
Phh treble patches are included. Do you have different patches?
Click to expand...
Click to collapse
I'm using this one: https://forum.xda-developers.com/t/...e-for-xiaomi-redmi-4a-amp-5a-unified.3789814/
AltFantasy said:
I'm using this one: https://forum.xda-developers.com/t/...e-for-xiaomi-redmi-4a-amp-5a-unified.3789814/
Click to expand...
Click to collapse
I think that are patches for treblize the device because it's so old, that is not original treble device.
You can't try with A12 GSI. A12 is only as a/b version available
Has arm or arm64 a-only GSIs been fully discontinued since release a12?
Skippy12359 said:
Has arm or arm64 a-only GSIs been fully discontinued since release a12?
Click to expand...
Click to collapse
yes, in the moment no way to build a-only or arm versions. Sorry, it's a Google 'feature'
harvey186 said:
yes, in the moment no way to build a-only or arm versions. Sorry, it's a Google 'feature'
Click to expand...
Click to collapse
Thanks
Hello, can Google Photos work with the support of MicroG?
harvey186 said:
I think that are patches for treblize the device because it's so old, that is not original treble device.
You can't try with A12 GSI. A12 is only as a/b version available
Click to expand...
Click to collapse
so it's only either A-only, or B-only? my device is A only
AltFantasy said:
so it's only either A-only, or B-only? my device is A only
Click to expand...
Click to collapse
Android12 is only as a/b version available and I don't know if there will be a a-only version in future. Sorry
Android devices are a-only or a/b devices. There is no b-only.

[ROM][UNOFFICIAL][12L][EAS][SM-T820][SM-T825][2022-09-23] crDroid 8 for Galaxy Tab S3

Code:
/*
* Your warranty will be VOID after installing a custom ROM.
*
* Get notified yourself that I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM
* before flashing it!
* YOU are choosing to make these modifications,
* and if you point the finger at me for messing up your device,
* I will laugh at you.
*/
# crDroid
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.
# What's working
Display/Touchscreen
LiveDisplay
Audio playback
Dolby Atmos
Headphone/Headset
Quad speakers
Video playback
HDR
Camera
Microphone
Sensors
Fingerprint sensor
GPS
LTE (SM-T825)
Hotspot
WiFi
WiFi display
Bluetooth
DRM
Widevine L1
USB ADB/MTP
Samsung Doze
S-Pen
Palm rejection
Hardware Encryption
MDFPP
SD Card
Power-off mode charging
# Untested
FBE for userdata
# What's not working
USB OTG
SELinux permissive
Please see the "Known issues" part of this post
# Downloads
## crDroid 8
Galaxy Tab S3 LTE (gts3llte, SM-T825)
Galaxy Tab S3 WiFi (gts3lwifi, SM-T820)
## Google Apps
NikGapps
The other Gapps will work too, but I only confirmed that NikGapps working
## TWRP Recovery
You can use mine, please visit this thread.
[RECOVERY][SM-T820][SM-T825][UNOFFICIAL] TWRP for Galaxy Tab S3
# How to install
Unlock the bootloader.
Download TWRP and flash the recovery image via Odin.
Download crDroid 8 for Galaxy Tab S3.
Be aware of the board name.
Download GAPPS for Android 12L and the others you want to flash.
Enter TWRP recovery.
The first boot to TWRP might be very slow because of the unmatched file systems.
Format the whole system, data, cache partitions using the format menu.
You will type `yes` to do that.
Flash the images.
If you're going to install GApps or something, you have to install the crDroid first.
Reboot the system.
Done.
# Known issues
Camera somewhat buggy
The built-in camera application (Camera2) is not working well. You can use another camera application like OpenCamera.
Sometimes the camera doesn't work after booting. You can fix that back by just rebooting.
After using the camera application, the Torch tile on the quick settings not working. But you can use the camera anyway.
On webcam chat apps, there is a vertical green bar and the color is not properly displayed.
Audio bugs
No sound for the microphone and speaker in voice calls, such as the regular phone call or voice chat with a meeting app.
Thank all of you for the feedback
# Sources
Device Tree
gts3l-common: https://github.com/awesometic/android_device_samsung_gts3l-common
gts3llte: https://github.com/awesometic/android_device_samsung_gts3llte
gts3lwifi: https://github.com/awesometic/android_device_samsung_gts3lwifi
Kernel: https://github.com/awesometic/android_kernel_samsung_msm8996
Vendor: https://github.com/awesometic/proprietary_vendor_samsung
# Telegram Groups
If you are interested in developing this potential machine, please tell me through PM then I will send you the invitation link.
If you need a general discussion channel for this potential machine or want to share the news of its Android projects from anyone to everyone, you can join our discussion group chat.
Galaxy Tab S3 General Discussion
# Buy me a coffee
If you like my efforts or would like to support me, please don't hesitate to buy me a cup of coffee.
https://www.paypal.com/paypalme/awesometic
# Credits / Special thanks to
Android Open Source Project
LineageOS Team
crDroid Team
LOS17.1) @Valera1978 for his amazing previous work including his MSM8996 kernel
LOS18.1) @supermike86 and @samsuffit for testing LineageOS 18.1 for T820, which is I don't have one
LOS18.1) @bmwdroid and @cherepanov for confirming the LTE works
LOS18.1) @sebmue for letting me know that the useful information for palm rejection, and @ghostwheel for sharing its working source codes on Android 9
General) @switchgott for helping me in the development discussion and creating Telegram groups
General) All from our Telegram discussion channel, @EonOfBlack , Sands, David Becker, ...
LOS18.1) @LuK1337 for giving me a hint to fix the quad-speakers
LOS19.1) @followmsi , @html6405 , @ThE_MarD for giving me a hint to bring up Android 12
LOS19.1) @masdaster for the fix of MDFPP Keystore on our device
## Changelogs
2022. 9. 23
Synced with the latest CrDroid 8 repositories
Security patch by September 5, 2022
2022. 8. 15
Initial release
## Special Notes
You must do clean-install if you are willing to upgrade from another ROM such as an Android 11 based one
I have tested Magisk 25.2 working
You can fix SafetyNet using Magisk modules, SafetyNet Fix and PropsConfig
Fow now, crDroid 8.8 doesn't fix CTS profile with those two modules. There is a workaround for that.
https://forum.xda-developers.com/t/...crdroid-v8-8-13-08-2022.4184671/post-87282899
You can hide the soft nav buttons on the bottom bar in "System -> crDroid settings".
You can hide the bottom Taskbar by using "Launcher settings -> Misc -> Use Taskbar".
It is disabled by default, you should turn it on and go to the launcher back, and turn it off again and when you go back to the launcher the taskbar will be disappeared.
reserved
yet another beauty from this legend...
will flash asap and let you know but I'm sure it's as amazing as your other releases.
thank you,sincerely
@Awesometic thx very much.
Gave it a try today.
Flashing (using your TWRP as always) went well after wiping and formatting.
Reboot to system was very fast.
Then back to TWRP to flash NikGapps64 core (Bitgapps64 didn't work) and Magisk in one go.
Just to try if it works I restored DATA backup from your latest LOS.
All apps restored but system UI crashes as I'm used to in LOS19 but I always use Nove Prime launcher anyway.
Now I'll carry on testing.
Edit: until now only two banking apps needed reinstallation.
The rest are working fine.
Edit 2: Dolby Atmos working but if once turned off needs (turned on again) system restart to make it workagain.
Headphones jack output louder (atmos turned on) than on LOS19.1 although being turned on as well.
Did a clean flash on T820 with NikGapps, everything went well and smooth. It's a breath of fresh air for a 5-year old Tablet. Opencamera works well too. Looking forward to a new build for the audio fixes. Many thanks, much appreciated.
Great and fast rom on T820. Best one IMHO - thx so much!
greenleaves said:
Did a clean flash on T820 with NikGapps, everything went well and smooth. It's a breath of fresh air for a 5-year old Tablet. Opencamera works well too. Looking forward to a new build for the audio fixes. Many thanks, much appreciated.
Click to expand...
Click to collapse
Hello, can you get Netflix to work?
eduvz23 said:
Hello, can you get Netflix to work?
Click to expand...
Click to collapse
Safetynet match fails in this rom.
Exact same steps in lineageos rom... and it works.
eduvz23 said:
Hello, can you get Netflix to work?
Click to expand...
Click to collapse
Netflix and Disney+ works with widevine L1 without issues in this rom.
You just need to make sure, that you are on latest and official correct firmware for your specific device and region. You don't even need to pass safetynet for it.
I've recently updated my Tab S3 from your LineageOS 11 ROM and it's been running quite well! I do hope there is a way to fix the microphone issue while on VoIP apps like discord in the future, but other then that it runs great!! I greatly appreciate the work you've put into this!
Installed Crdroid8 - Android 12. The second day of use, the flight is normal! Very good job!
Stogie87 said:
Netflix and Disney+ works with widevine L1 without issues in this rom.
You just need to make sure, that you are on latest and official correct firmware for your specific device and region. You don't even need to pass safetynet for it.
Click to expand...
Click to collapse
Hi, just recently installed crDroid 8. Could you please share a step by step to make netflix work? I tried installing Magisk but TWRP doesnt show any partition info. I don't know why it seems as it can't read the files but it boots and works normally.
Hi!
There are no steps necessary. Netflix should work out of the box, because there is no way on software site to manipulate Widevine to L1. You just have to make sure to have to correct samsung firmware of your device installed before you flash crDroid.
So if netflix had L1 on you samsung stock rom, it should also work with crDroid.
chapat5 said:
Hi, just recently installed crDroid 8. Could you please share a step by step to make netflix work? I tried installing Magisk but TWRP doesnt show any partition info. I don't know why it seems as it can't read the files but it boots and works normally.
Click to expand...
Click to collapse
I flashed it from the latest stock ROM available in my region. There is no Netflix to be found in the play store. Any suggestions?
Stogie87 said:
Hi!
There are no steps necessary. Netflix should work out of the box, because there is no way on software site to manipulate Widevine to L1. You just have to make sure to have to correct samsung firmware of your device installed before you flash crDroid.
So if netflix had L1 on you samsung stock rom, it should also work with crDroid.
Click to expand...
Click to collapse
chapat5 said:
I flashed it from the latest stock ROM available in my region. There is no Netflix to be found in the play store. Any suggestions?
Click to expand...
Click to collapse
Install Aurora Store 4.1.1 and install netflix from there.
I always use it since i use microG Installer Revived instead of gapps.
Anyone had issues with quad speakers after installation? My top speakers doesn't work on SM-T825. Bottom speakers work w\out issues.
wladimirowitsch said:
Anyone had issues with quad speakers after installation? My top speakers doesn't work on SM-T825. Bottom speakers work w\out issues.
Click to expand...
Click to collapse
It should work out of the box. Are the speakers not working after clean-installation too?
wladimirowitsch said:
Anyone had issues with quad speakers after installation? My top speakers doesn't work on SM-T825. Bottom speakers work w\out issues.
Click to expand...
Click to collapse
I nave no proplem about that.

Categories

Resources