How to make vendor for my device? - Treble-Enabled Device Questions and Answers

I have a phone that launched on android 7 so no official support but someone made a vendor for my chipset. On my model the audio and cameras don't work. The developer said he isn't fixing it. How can i make one myself?
heres the link to the vendor
[Treble][Vendor][A64][AOSP]Project KEBAB 2.0 V2.2.1 [J330X][7570]
hello, after a while i retry this vendor. I retry audio fix but i can't get the audio working. After testing i also discovered that camera is broken. I attach a logcat I realy appreciate your work in this device, keep up and thanks
forum.xda-developers.com

Related

4k recording on Resurrection Remix OS (official)? & what about firmware?

Hey community, what's up?
I'm curious if there is any option to enable 4k video recording? I activated camera2api and I'm using the google camera (the latest port a very kind developer has made). Everything works perfectly, except 4k video recording. The method described in this post only works for MIUI, in RR we neither have the folder, nor the corresponding file.
https://forum.xda-developers.com/showthread.php?t=3774141
Long story short guys: if I switch from FHD to 4k, the camera stops working. Does it has to do anything with the firmware I'm currently using? I've tried several camera mods, but none of them worked. Can I enable it somewhere in my system files (like I did with camera2api?)?
Additional question: do I need to update/flash firmware updates in general? Does it provide any benefit? Someone provides the latest firmware but I have the strange feeling that flashing one of them can damage my device (however they are classified in china & global version --> no flashing of "wrong" firmware but it's still somehow scetchy...).
I know you are busy and it's pretty much to ask, so thank you very much for your answers! Best regards
Marvin M.

LDAC 8.1

So I have been trying to get LDAC or apt-X working on my razer phone but it has not worked. I am on the latest stock ROM rooted with magisk (via ADB not TWRP) and with the rayglobe magisk module installed but it just stays on AAC. My headphones are Sony WH-1000XM2 and LDAC was working when using the resurrection remix ROM from the development thread but I had to uninstall the ROM due to instability and no sign of progression. Any help would be appreciated.
Firebuster said:
So I have been trying to get LDAC or apt-X working on my razer phone but it has not worked. I am on the latest stock ROM rooted with magisk (via ADB not TWRP) and with the rayglobe magisk module installed but it just stays on AAC. My headphones are Sony WH-1000XM2 and LDAC was working when using the resurrection remix ROM from the development thread but I had to uninstall the ROM due to instability and no sign of progression. Any help would be appreciated.
Click to expand...
Click to collapse
They locked it down somehow I think. I have 2 threads in here asking for help but no one seems to be able to help me. For added reference, here is the error produced even when all the files are added with root to enable aptx or ldac
I installed the magisk aptx&aptxHD module and modified /system/vendor/build.prop then aptx got working.
(I couldn't test with aptxHD or LDAC cos I have no compatibe device with them.)
Code:
persist.vendor.bt.a2dp_offload_cap=sbc-aac
to
Code:
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptXHD
This is the same parameter the magisk module set to /system/build.prop.
To guess, LDAC will may work if an appropriate value set to the prop.
ClubRaptor said:
I installed the magisk aptx&aptxHD module and modified /system/vendor/build.prop then aptx got working.
(I couldn't test with aptxHD or LDAC cos I have no compatibe device with them.)
to
This is the same parameter the magisk module set to /system/build.prop.
To guess, LDAC will may work if an appropriate value set to the prop.
Click to expand...
Click to collapse
This worked to enable switching to them however now Bluetooth just crashes. I changed it to persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-ldac
Edit:
Some interesting notes. I tried a few steps to debugging including readding AAC to the list which did nothing but if I only add aptx then the Bluetooth app no longer crashes however no sound plays so I'm guessing it's the lib files that are not correct? I just used the aptx package in magisk so if there's any other that I'm missing or other suggestions that would be useful
Firebuster said:
This worked to enable switching to them however now Bluetooth just crashes. I changed it to persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-ldac
Edit:
Some interesting notes. I tried a few steps to debugging including readding AAC to the list which did nothing but if I only add aptx then the Bluetooth app no longer crashes however no sound plays so I'm guessing it's the lib files that are not correct? I just used the aptx package in magisk so if there's any other that I'm missing or other suggestions that would be useful
Click to expand...
Click to collapse
I still can't get it to switch to aptx (the one I want) or ldac. It still falls back to SBC usually or aac if I'm on a different speaker. Any idea what I'm doing wrong? I'm on slot a on my device, rooted with magisk and I have tried multiple aptx modules. Is there a specific build.prop editor you use? Both my speakers and headphones support it and work with other devices and I'm still getting the error I replied with above (page one)
I'm an experienced rooter, so don't be afraid to fully explain any steps I may be missing out!
manor7777 said:
I still can't get it to switch to aptx (the one I want) or ldac. It still falls back to SBC usually or aac if I'm on a different speaker. Any idea what I'm doing wrong? I'm on slot a on my device, rooted with magisk and I have tried multiple aptx modules. Is there a specific build.prop editor you use? Both my speakers and headphones support it and work with other devices and I'm still getting the error I replied with above (page one)
I'm an experienced rooter, so don't be afraid to fully explain any steps I may be missing out!
Click to expand...
Click to collapse
I used root explorer and changed the build.prop entries in system\vendor\. In the first place I used the root essentials build.prop editor which shows a different build.prop. other than that I literally just edited that line and that allowed me to change it. I can't think of anything else I did other than install a bunch of library files which I'm guessing you found the same ones as me because it was very limited on what was available and up to date
Firebuster said:
I used root explorer and changed the build.prop entries in system\vendor\. In the first place I used the root essentials build.prop editor which shows a different build.prop. other than that I literally just edited that line and that allowed me to change it. I can't think of anything else I did other than install a bunch of library files which I'm guessing you found the same ones as me because it was very limited on what was available and up to date
Click to expand...
Click to collapse
OK, awesome. You rock. That got it to select aptx - now my 2nd problem, no audio! I can see in dev options and bt settings that it's showing aptx, but I get no audio (well, I get an almost click click click noise) then my Bluetooth adaptor for my headphones crashes. And it forces my headphones to turn off. I tried 3 different magisk modules for the library files, any ideas - I was getting SBC audio before
manor7777 said:
OK, awesome. You rock. That got it to select aptx - now my 2nd problem, no audio! I can see in dev options and bt settings that it's showing aptx, but I get no audio (well, I get an almost click click click noise) then my Bluetooth adaptor for my headphones crashes. And it forces my headphones to turn off. I tried 3 different magisk modules for the library files, any ideas - I was getting SBC audio before
Click to expand...
Click to collapse
Sounds like the same problem I am having. Aptx doesn't work and aptx HD and LDAC just crash Bluetooth. Genuinely have no idea where to go from here. It must be a driver or library file. Real shame it's not working.
Edit: seems to be looping these messages in catlog
Firebuster said:
Sounds like the same problem I am having. Aptx doesn't work and aptx HD and LDAC just crash Bluetooth. Genuinely have no idea where to go from here. It must be a driver or library file. Real shame it's not working.
Click to expand...
Click to collapse
OK, so last night and this morning I have been just messing with things. I no longer crash my headphones and force them to turn off, but I still have no audio over aptx - though at least it's not crashing my headphones (Bluetooth in the phone was always OK). There is one error I'm getting and I'm not sure if its related of not, but is to do with a buffer failing to release. See my screenshots of logs (just documenting here for reference)
so basically i went your path a few days ago and dropped that idea. please post updates if you manage to get aptx\aptx hd\ldac working (Razer Phone + Sony WH-1000 XM2)
hatemosphere said:
so basically i went your path a few days ago and dropped that idea. please post updates if you manage to get aptx\aptx hd\ldac working (Razer Phone + Sony WH-1000 XM2)
Click to expand...
Click to collapse
Cc @Firebuster
So, I might be an experienced rooter (no 1 click toolkits here) I am NOT a developer. I've tried a combination of a bunch of things to try and get this to work, and nothing has!
I did however get it to work by installing a GSI (basically a rom) to the device, but even that was painful to get working (well, installed). Now running AOSP 8.1 GSI w/gapps and I flashed magisk for root. I then installed the Aptx magisk module from the built in repo and it works perfectly fine. Not sure if It's something in razer software as I'm technically more up to date now so it's not like I was using the wrong drivers.
Can't find a decent dolby atmos I can install that will work along side v4a, all the magisk modules are for android 7 or 6.
Otherwise that's the only way I have found so far, sorry guys! - benefit is, other than AOSP's ****ty camera app (use the gcam port instead), literally everything works fine, and I even get stronger vibration on a GSI
manor7777 said:
Cc @Firebuster
So, I might be an experienced rooter (no 1 click toolkits here) I am NOT a developer. I've tried a combination of a bunch of things to try and get this to work, and nothing has!
I did however get it to work by installing a GSI (basically a rom) to the device, but even that was painful to get working (well, installed). Now running AOSP 8.1 GSI w/gapps and I flashed magisk for root. I then installed the Aptx magisk module from the built in repo and it works perfectly fine. Not sure if It's something in razer software as I'm technically more up to date now so it's not like I was using the wrong drivers.
Can't find a decent dolby atmos I can install that will work along side v4a, all the magisk modules are for android 7 or 6.
Otherwise that's the only way I have found so far, sorry guys! - benefit is, other than AOSP's ****ty camera app (use the gcam port instead), literally everything works fine, and I even get stronger vibration on a GSI
Click to expand...
Click to collapse
Yeah I might move onto that too. To try to fix the Bluetooth issues. I can only assume razer excluded some of the functionality but since it's baked into android 8 I don't see why they would remove it.
Razer and their development team is already informed about this issue, and they have correctly addressed it, and all the Bluetooth issues (which were a few), in the upcoming update MR2. No ETA.
linuxct said:
Razer and their development team is already informed about this issue, and they have correctly addressed it, and all the Bluetooth issues (which were a few), in the upcoming update MR2. No ETA.
Click to expand...
Click to collapse
so i've just got a new update and now i'm wondering if we should try this again...
hatemosphere said:
so i've just got a new update and now i'm wondering if we should try this again...
Click to expand...
Click to collapse
Go ahead, I can't since I'm on a Pie GSI.
If anyone has an LDAC BT Headset please give this a try.
cc @Firebuster
Great news, I just spent 2 hours updating my phone, with flashing back to stock because the OTA did not want to update me since I had Magisk, then putting everything back like before.
The update did not change anything.
Tried to do my research on issues with the Razer phone before getting it, but I guess this is just one of those things you don't comprehend until actually having the device in your hands. I came from a Oneplus One on Lineage OS and am comfortable with flashing (but no experience with GSI yet).
My razer phone is stock and not rooted. Anything I can do to contribute to test getting Apt-X working? The settings says my phone is up to date (build number OPM1.171019.011-RZR-180803.6033).
Got the official Pie installed - no LDAC nor AptX still.
cubeover said:
Got the official Pie installed - no LDAC nor AptX still.
Click to expand...
Click to collapse
you installed the official pie update for the razer phone 1?

[ROM][OFFICIAL] LineageOS 16.0 for S3NEO

Hi there,
If you haven't heard it already, we have official support now and Q is coming too.
links:
https://wiki.lineageos.org/devices/s3ve3gjv
https://wiki.lineageos.org/devices/s3ve3gxx
credits:
francescodario
me
LineageOS
Klte dev team (you guys rock)
Sources: www.github.com/LineageOS/android_device_samsung_s3ve3gxx
Deleted
Tested, works really well! Good job! Even the battery usage is great. It's smoother compared to 7.1.
As it's pointed out, Gapps breaks RIL. Everything else works except radio and offline charging. Installed Aurora Store and I'm pretty happy with it.
Things I tested:
☑ RIL
☑ Camera Front/Back
☑ Video Recording
☑ Bluetooth
☑ WiFi
☑ Sound
☑ GPS
☑ Calls
☒ Offline Charging, it loops.
☒ Radio, phone freezes.
@notfood
I can confirm your tests, but can you please test Videorecording with 1080p. For me the Video Quality (only with 1080p!) is low, becouse there are randomly White lines from the left to the right in the Video. (Like in all builds after 08/2018)
Humaxxx said:
@notfood
I can confirm your tests, but can you please test Videorecording with 1080p. For me the Video Quality (only with 1080p!) is low, becouse there are randomly White lines from the left to the right in the Video. (Like in all builds after 08/2018)
Click to expand...
Click to collapse
I see the white lines, they're sporadic but they're there only with 1080p.
HI
My findings so far: All things mentioned above are working for me as well, but with some exceptions:
GPS finds plenty of satelites, but doesn't snap in ( no position..).
Battery- charging freezes once, I had to reboot to go on.
In Whatsapp recorded video-sequences aren't playable ( frozen screen or artefacts..)
I couldn't find any menue to choose the touchscreen - triangles for moving the cursor in a text document.
I'm looking forward the next Version....:fingers-crossed:
Just tested this rom on my GT-I9301I for an hour or so and i have to say that auto-rotation doesn't work sometimes, also i don't know what exactly RIL is but i installed the gapps aroma (customized) and didn't realize any issue related to gapps until now, and also i got a new phone recently so the old phone doesn't have a sim card anymore, and i don't plan to put one on my GT-I9301I, so my old phone is somewhat like a test device now, i have tried some custom roms before but i didn't like them too much, this one doesn't look bad, except i wish you could do something about offline charging.
Error: this package is for device
Thank you for your contribution! I tried to flash it to my GT-I9301I with the help of TWRP 2.8.5.0 (I know its old, is there a better approach?). Before flashing i wiped everything, now when I try to install it from the sdcard it fails with the Error "E3004: This package is for device: s3ve3g, s3ve3gds, s3veg3gjv; this device is ." What am I doing wrong? Why is the installer not recognizing my device?
Koksnuss said:
Thank you for your contribution! I tried to flash it to my GT-I9301I with the help of TWRP 2.8.5.0 (I know its old, is there a better approach?). Before flashing i wiped everything, now when I try to install it from the sdcard it fails with the Error "E3004: This package is for device: s3ve3g, s3ve3gds, s3veg3gjv; this device is ." What am I doing wrong? Why is the installer not recognizing my device?
Click to expand...
Click to collapse
You have to use a newer Version of TWRP:
https://dl.twrp.me/s3ve3g/
I know this is only for the single sim variant, but would this work on a duos without ril at least? I don't really need ril that much right now.
JaadiBooti said:
I know this is only for the single sim variant, but would this work on a duos without ril at least? I don't really need ril that much right now.
Click to expand...
Click to collapse
Deleted
another useless ROM, we arrived at 10, or 15?
mariocaraf said:
another useless ROM, we arrived at 10, or 15?
Click to expand...
Click to collapse
Deleted
He didn't work he remained stuck
Please Help
Waiting for an edititon for Sony sensor! On Sony sensor not works camera and flashlight, but rom is usable as daily driver.
Auto-rotate is working in YT Vanced and other apps only sometimes.
This is very cool ROM, better than Nougat!
ayochan said:
He didn't work he remained stuck
Please Help
Click to expand...
Click to collapse
If it gets stuck, you are probably running an outdated firmware. Get the latest from Sammobile or check the Telegram group. You will need Odin or Heimdall to install it. Be careful which firmware you are burning, it can brick your device if it's the wrong one.
For more than an hour it is stuck in the installation screen
Humaxxx said:
You have to use a newer Version of TWRP
Click to expand...
Click to collapse
thanks, that worked perfect! I also like that encryption works
Just bought my a new Evo 860 ssd so I have enough storage for building multiple devices . So yes more build coming this week for Sony and dual SIM.
My 300gb ssd before didn't quite had enough.
Hi Thargorsson,
First of all. Excellent work on the new ROM!
I have just got a hold of 5x S3 NEO and wished they had a newer version than 4.4.2.
After some searches on Google I found this forum. I'm going to wait until you have an updated version of this ROM.
Please keep us all posted on any progress
Cheers,
Steve

[GCAM] Buffer fix by Wyroczen

[GCAM] Buffer fix by Wyroczen
Hey, I've made buffer fix for LG V35 in a form of Magisk module:
It will fix lagging viewfinder in GCAM both nightsight and normal mode.
Requirements:
Stock android 9 work (may or may not work in others)
Downloads:
Celsoazevedo: https://www.celsoazevedo.com/files/android/p/lg-v35-buffer-fix/
Donation:
If you want, you can support my work by sending me donation
https://www.paypal.me/wyroczen
XDA: DevDB Information
LG V35 TWRP flashable lib fix.
Wyroczen said:
[GCAM] Buffer fix by Wyroczen
Hey, I've made buffer fix for LG V35 in a form of Magisk module:
It will fix lagging viewfinder in GCAM both nightsight and normal mode.
Requirements:
Stock android 9 work (may or may not work in others)
Downloads:
Celsoazevedo: https://www.celsoazevedo.com/files/android/p/lg-v35-buffer-fix/
Donation:
If you want, you can support my work by sending me donation
https://www.paypal.me/wyroczen
XDA: DevDB Information
LG V35 TWRP flashable lib fix.
Click to expand...
Click to collapse
Hello, sorry to ask that silly question...but i want to ask you that which app you are using to edit shared object file(IDA/hex workshop) ?
Bcz i need some help regarding ti edit my phone camera sensor library...
Krypt185 said:
Hello, sorry to ask that silly question...but i want to ask you that which app you are using to edit shared object file(IDA/hex workshop) ?
Bcz i need some help regarding ti edit my phone camera sensor library...
Click to expand...
Click to collapse
IDA and hexworkshop, depends on what I want to do
Wyroczen said:
IDA and hexworkshop, depends on what I want to do
Click to expand...
Click to collapse
how can i get TWRP for lg v35? i can't find it. And have you tested this file on V35?
Hi Wyroczen,
will there by a GCAM apk with this fix ? would be nice to use this on a non-rooted phone.
hi.
you know, when i flash this fix via Magisk, gcam and stock cam dont work, dont open. i need to uninstall that zip to fix it and that two cameras can work fine again.
do you know somethin about it.
thank you
caligulaprobablemente said:
hi.
you know, when i flash this fix via Magisk, gcam and stock cam dont work, dont open. i need to uninstall that zip to fix it and that two cameras can work fine again.
do you know somethin about it.
thank you
Click to expand...
Click to collapse
Hi, how can you flash this fix? unlock bootloader then flash TWRP right? can u guide me please
Hello Wyroczen,
Could you please prepare an APK for non rooted phones?
Also what is the base version for this one, 6.x or 7.x?
I am definitely going to donate if I am finally gonna get a proper gcam on my v35
Hello Thanks for the great fix. Unfortunately it seems to be causing some issues in Android 10. The software fades when opening Gcam (Burial 7.3, Pit 7.3) Opening the normal camera displays "Critical error".
Version: Android 10 (V350N30a)
Model:LM-V350N

Lineageos for Gigaset GS290

Hi all,
I tried to find anything in regards of using lineageos with the Gigaset GS290, but unfortunately I was not able to find any note.
Do anybody knows if there is a possibility to install lineageOS on that device?
btw. I used also the google search but there was also no result.
Many thanks in advance for any hint.
BR
Martin
McT73 said:
Hi all,
I tried to find anything in regards of using lineageos with the Gigaset GS290, but unfortunately I was not able to find any note.
Do anybody knows if there is a possibility to install lineageOS on that device?
btw. I used also the google search but there was also no result.
Many thanks in advance for any hint.
BR
Martin
Click to expand...
Click to collapse
Nothing.
McT73 said:
Hi all,
I tried to find anything in regards of using lineageos with the Gigaset GS290, but unfortunately I was not able to find any note.
Do anybody knows if there is a possibility to install lineageOS on that device?
btw. I used also the google search but there was also no result.
Many thanks in advance for any hint.
BR
Martin
Click to expand...
Click to collapse
https://mastodon.social/@gael/104914516447228584
/e/OS has been ported to the GS290 by /e/ and Gigaset, they just announced it:
/e/ announces the /e/-GS290 as the latest device available with privacy friendly /e/OS pre-installed - e Foundation - deGoogled unGoogled smartphone operating systems and online services - your data is your data
/e/ announces the /e/-GS290 as the latest device available with privacy friendly /e/OS pre-installed December 17th 2020 - /e/OS, the privacy by design operating system is pleased to announce that the best-selling GS290 by Gigaset, the major European electronics company that produces smartphones...
e.foundation
They also sell it as /e/-GS290, already flashed: https://esolutions.shop/shop/e-os-gs290/
https://build.lolinet.com/file/lineage/GS290/
I decided to add some info:
- It automagically installs the latest Firmware.
- This has working VoLTE and stuff.
- This is an clean device tree (the /e/ one is hacked together based on Volla's Ubuntu Touch device tree)
- This has been developed by the a bit famous Erfan Abdi (erfanoabdi).
Deleted
nift4 said:
https://build.lolinet.com/file/lineage/GS290/
I decided to add some info:
- It automagically installs the latest Firmware.
- This has working VoLTE and stuff.
- This is an clean device tree (the /e/ one is hacked together based on Volla's Ubuntu Touch device tree)
- This has been developed by the a bit famous Erfan Abdi (erfanoabdi).
Click to expand...
Click to collapse
@nift4, I'm very impressed with your ROM lineage-17.1-20210318-EXPERIMENTAL-GS290. At first glance, it runs like clockwork. I can't tell you the details yet. Please continue. I would be happy to donate a coffee or more...
iodemos said:
@nift4, I'm very impressed with your ROM lineage-17.1-20210318-EXPERIMENTAL-GS290. At first glance, it runs like clockwork. I can't tell you the details yet. Please continue. I would be happy to donate a coffee or more...
Click to expand...
Click to collapse
Actually, it's not by me, but by @erfanoabdi. I wrote that in the post tho.
@erfanoabdi
I flashed the latest 17.1 rom but without flashing the firmware (mine was newer, had the february 2021 update installed before switching to your rom). Now the compass does not work, would it work if I would downgrade the firmware to what is included in the zip?
Second problem:
Recovery reboots when inserting an USB cable and connecting it to a linux pc. Had to flash though /e/ recovery then switch to the lineage recovery and refrain from inserting the USB cable.
Any ideas?
My Gs290 works now with the latest 18.1 rom. really happy this is made possible! thanks sir. Erfanoabdi ! i'll buy you a coffee too!
i did notice outgoing calls are not possible no sound and hang up after 8 seconds , receiver has no sound neither.
incomming calls work fine . putting phone on speaker does not work , still on earspeaker.
i did mannage to ring a person on 3G but no ringing and no sound afterwards.
strangely a helpdeskline of a company (fixed line ) did work
don't know if i would need to flash to 17.1 rom to have calling fully possible???
areshinakya said:
@erfanoabdi
I flashed the latest 17.1 rom but without flashing the firmware (mine was newer, had the february 2021 update installed before switching to your rom). Now the compass does not work, would it work if I would downgrade the firmware to what is included in the zip?
Second problem:
Recovery reboots when inserting an USB cable and connecting it to a linux pc. Had to flash though /e/ recovery then switch to the lineage recovery and refrain from inserting the USB cable.
Any ideas?
Click to expand...
Click to collapse
I did need twrp gs290 recovery for succesful completion , other wise it looped in to "smartphone in orange state. and when connecting the smartphone in fastboot to the pc it would reboot in orange state....
also need the right driver for the gigaset GS920 chip https://www.getdroidtips.com/install-mediatek-mt65xx-usb-vcom-drivers/
(don't know if it's trustworthy) and update it with driver booster 8 (easy )
(In win10 you need to restart in advanced startupsettings and push "7" disable drive signing enforcement before doing so)
Or update "android device " in device manager with the driver.
areshinakya said:
@erfanoabdi
I flashed the latest 17.1 rom but without flashing the firmware (mine was newer, had the february 2021 update installed before switching to your rom). Now the compass does not work, would it work if I would downgrade the firmware to what is included in the zip?
Second problem:
Recovery reboots when inserting an USB cable and connecting it to a linux pc. Had to flash though /e/ recovery then switch to the lineage recovery and refrain from inserting the USB cable.
Any ideas?
Click to expand...
Click to collapse
1- yep that should work
2- known bug and will be fixed sooner or later
FlashedMeself said:
My Gs290 works now with the latest 18.1 rom. really happy this is made possible! thanks sir. Erfanoabdi ! i'll buy you a coffee too!
i did notice outgoing calls are not possible no sound and hang up after 8 seconds , receiver has no sound neither.
incomming calls work fine . putting phone on speaker does not work , still on earspeaker.
i did mannage to ring a person on 3G but no ringing and no sound afterwards.
strangely a helpdeskline of a company (fixed line ) did work
don't know if i would need to flash to 17.1 rom to have calling fully possible???
Click to expand...
Click to collapse
Does this still happen?

Categories

Resources