Honor 8 AOSPA Bluetooth stack - Honor 8 Questions & Answers

So far I am loving my new honor 8, however it doesnt work properly with my cars bluetooth handsfree. After some research in a thread for the oneplus 3t, I have determined this is due to the bluetooth stack in the Ressurection remix rom I am using. In said thread it was said that the BT stack used by lineageos and rros is different from the aospa stack, which works better for hands free. I really dont know how to go about obtaining the aospa stack for my phone without having to actualy flash the rom, extract the stack, flash back to rros, then finally flash the other stack (which may not even work on a different rom). Anyone have any ideas?

I don't think it will work, since LOS is based on CAF and AOSPA is based on pure AOSP

if it doesnt work on your rom atm, it prolly wont work on any other. AOSP-CAF differences exist only for qcomm based devices, which op3 is. CAF = qualcomm repositories. honor8 runs on kirin. for every other non qcomm device, device tree is MOSTLY aosp based and usually identical, which is the case with h8. thats why every rom for h8 is plagued with same issues.
if you wish to experiment though, simplest way would be to dl and extract files from different builds for your device and replace them one by one.
youll need a .new.dat extractor to do this on win. simply copy all bluetooth related files in system/etc and systen/lib and replace existing ones in same locations on your phone, with proper permissions. this is a dirty way of doing this, you might get bootloops and prolly wont make a difference. as a guide to which files should be replaced, search for porting guides, mediatek guides usually have in depth discussions on which files are neccessary to make bt work.

Related

(Discussion) Latest Android feels Numb, Old, kindish - a bit like Symbian

Hey, am I the only one who feels like each of the latest Android Versions from 4.0.2 until Lollipop were steps backwards?
I remember when i started experimenting with 2.3.5 and there, it was Raw, you could feel that the device got so much more power and possibilities after flashing, par example Cyanogenmod compared to the stock roms.
But i expect now (was one year without Android, sadly) that the latest versions are now so complicated to modificate. On CM7.2 you had so many settings in the Settings section. Now you need to flash a framework (so many frameworks for so many devices, OS, Versions and so on) which are buggy, lagging and device slowing. After the Framwork you look for an APK to be able to download extensions for the framework to chance setting from the system (the version the extension is made doesnt even matter now, because the framworks you flash are so different that the android version kinda doesnt even matter).
Now, we are on 5.1.1 and it feels not true anymore, it is hard to use devices still without google apps, even on CM7. Many apps need a connection to Google, like Snapchat to even work.
The Hardware of devices exploded, is so high now that we don't give a #### about the software anymore. I remember, on my old device HTC Incredible S, we had so many developer who builded over 30 different kernels, changed so many things from the rom, trimmed it, even the code to made them as fast as possible, with every setting you need in the section it fits, many different flashable extras integrated in the rom with an ON/OFF Switch (Now it's more like Aroma gets interesting, but getting always back to Recovery, Flashing the Rom again for some extras?)
I feel like android is lossing itself. What do you think?

Last best ROM for this phone with most recent security fixes?

Given the age of this phone, I simply wanted to ask a question on the last, best ROM that brings this phone to the most recent Android version, and provides security fixes? The newest ROM I can find is the Carbon ROM: http://forum.xda-developers.com/myt...ent/rom-carbonrom-mt4gs-april-8-2015-t3077527 based on 4.4.4, and is newer than the Virtuous ROM I have been using on this phone (4.0.3), as I believe that one of the most recent ROMS that supported TMobile wifi calling (although I'm now on Google FI). I don't use this phone as a daily driver, but I do try to keep it updated, and available as a spare.
ebrandsberg said:
Given the age of this phone, I simply wanted to ask a question on the last, best ROM that brings this phone to the most recent Android version, and provides security fixes? The newest ROM I can find is the Carbon ROM: http://forum.xda-developers.com/myt...ent/rom-carbonrom-mt4gs-april-8-2015-t3077527 based on 4.4.4, and is newer than the Virtuous ROM I have been using on this phone (4.0.3), as I believe that one of the most recent ROMS that supported TMobile wifi calling (although I'm now on Google FI). I don't use this phone as a daily driver, but I do try to keep it updated, and available as a spare.
Click to expand...
Click to collapse
Even under the circumstances (lack of activity on the Doubleshot forum - RIP), the question remains very subjective. I still keep my Doubleshot/"media player" up-to-date as much I can, and post the new builds, but it seems I am the only one here that is doing that. So the questions intent (instead of army of one) reads to me as the best over time. Still, it depends on what your needs are.
If you need the latest security patches, there seems to be only one choice. If you need maximum functionality of the device, you would be locked into stock or stock-based (e.g. MikTouch), if you don't care about either but want a balance of performance and features, then there are a myriad of ROM's out there still (TBalden's CM10.1 still leaves a special spot in my heart).
Mind you, the latest available still is not infallible. There are currently two vulnerabilities that can act as a vector for QuadRooter, and one of them may not be fixed (I patched the file as per the guidelines, but it is still picking up on that vulnerability) without having to upgrade the kernel (I attempted a build with a 3.4 kernel, and I'm running into includes/undeclared problems I don't know how to fix). If you use only the Play Store (that is, only verified apps), it's not a problem, but I wanted to share the latest detail at any rate.

G930F Exynos/herolte: LinOS 14.1 microG ROM or another 8/9 based ROM?

I have no experience with this device and have it not here to test. Want to maybe install a Custom ROM for a friend to get away from a "destroyed" Stock. So I need to be sure if I want to do that, since I can not test around with the device.
My main question is if I should go with lineage-14.1-20190302-microG-herolte.zip (camera performance?) or because of better camera performance, stability, speed and long autonomy go with another ROM based on 8/9 (maybe MicroG also possible to install there)?
Bluetooth support/stability is certainly important (car, home stereo) as well as usage of apps like WhatsApp, Facebook, Instagram and Signal. For E-Mail, Calendar, Addresses I think we could switch to Google Alternatives as well as as to FOSS/F-Droid Alternatives for others. Not sure if the friend needs Google Maps - would install OSMAnd.
Any experience and advise welcome. Thanks a lot.
ChriMo said:
I have no experience with this device and have it not here to test. Want to maybe install a Custom ROM for a friend to get away from a "destroyed" Stock. So I need to be sure if I want to do that, since I can not test around with the device.
My main question is if I should go with lineage-14.1-20190302-microG-herolte.zip (camera performance?) or because of better camera performance, stability, speed and long autonomy go with another ROM based on 8/9 (maybe MicroG also possible to install there)?
Bluetooth support/stability is certainly important (car, home stereo) as well as usage of apps like WhatsApp, Facebook, Instagram and Signal. For E-Mail, Calendar, Addresses I think we could switch to Google Alternatives as well as as to FOSS/F-Droid Alternatives for others. Not sure if the friend needs Google Maps - would install OSMAnd.
Any experience and advise welcome. Thanks a lot.
Click to expand...
Click to collapse
I can tell you from my own experience it is much faster with lineage rom and you will have much more storage and ram avaible than the stock rom. By the way if you decide to install lineage knox will not work anymore and microg would be possible to install
It may also be worth considering the unofficial ports in these forums, they're built off the LOS nightly releases but given more special attention.
Beanvee7 said:
It may also be worth considering the unofficial ports in these forums, they're built off the LOS nightly releases but given more special attention.
Click to expand...
Click to collapse
Ok, but since it is not my device (can not test ROMs) and I seek support-free daily driving I'm not ready to take the risk of unofficial ports as well as they might work, unless experienced users comment here comparing current well supported ports directly to official LinOS 14.1 (microG) builds. As far as I can see the only official Pie 9.0 ROM is Resurrection Remix v7.0 from 20190310; but MicroG is not supported and deodexing services.jar for NanoDroid MicroG install seems too complex for this case. If it would be my device I would try, no problem then.
ChriMo said:
Ok, but since it is not my device (can not test ROMs) and I seek support-free daily driving I'm not ready to take the risk of unofficial ports as well as they might work, unless experienced users comment here comparing current well supported ports directly to official LinOS 14.1 (microG) builds. As far as I can see the only official Pie 9.0 ROM is Resurrection Remix v7.0 from 20190310; but MicroG is not supported and deodexing services.jar for NanoDroid MicroG install seems too complex for this case. If it would be my device I would try, no problem then.
Click to expand...
Click to collapse
That's part of why I was recommending unofficial, as far as I'm aware the official LineageOS builds are nightly, which is technically non-stable branch. Unofficial ports aim to be 'stable' quality.
Either way you probably won't get a support free OS out of LineageOS. There's always oddities, although usually small.
Beanvee7 said:
That's part of why I was recommending unofficial, as far as I'm aware the official LineageOS builds are nightly, which is technically non-stable branch. Unofficial ports aim to be 'stable' quality.
Either way you probably won't get a support free OS out of LineageOS. There's always oddities, although usually small.
Click to expand...
Click to collapse
Thank you for explaining. Small oddities should be fine, at least I hope since I never used TouchWiz (immediately installed LinOS on a S5m) and do not know how easy it is for a Samsung user to come to the AOSP/LinOS World.
I probably would go with a PIE MicroG supporting ROM like AospExtended 6.3, HavocOS 2.2 or crDroid 5.1 if any of them would be official like Resurrection Remix v7. I know it is not a quality distinction per se, but without some experience it gives a little more confidence to at least currently have something cared for.
LineageOS 16 because necessity of deodexing etc. is not a candidate for me.
Hopefully in the next days I can try the migration. I will try in this order: HavocOS 2.2 (no experience) > AospExtended 6.3 > LineageOS 15.1 microG

Redmi 9a flashed with Treble GSI (stock android ROM) - just saying thanks

Hi everyone,
I've been away from the ROM scene for a few years and was pleasantly surprised to find out that even a MediaTek phone these days can be flashed with a ROM different from its original. With a lot of bumps and information from this thread and others, I was able to test the Lineage, Havoc, and Treble ROMs, flashing through adb commands on fastbootd on unsigned xiaomi drivers. The one with the best compatibility so far is an older ROM, the Treble 10 GSI bundled with go gapps. Treble 11, the latest, doesn't have a working "recent apps" button (multitasker/app switcher). I'm not using this phone as a camera phone, but I did install an older Gcam (Gcam 2.3, I think) by googling the phone's mediatek processor, Helio G25.
On stock android, I do feel like the phone is much improved from the MIUI OS's bloat. I feel that Xiaomi as of late is putting too much adware, a far cry from when I bought my first phone from them (A Redmi 1S).
I would like to thank everyone here for the recovery files, twrp, etc.
I'd love to know how you accomplished this, as an otherwise decent phone is, I feel, crippled by MIUI's ridiculous bloat.
Bludwurst said:
I'd love to know how you accomplished this, as an otherwise decent phone is, I feel, crippled by MIUI's ridiculous bloat.
Click to expand...
Click to collapse
Hi @Bludwurst ... I'll see if I can write something semi-coherent about it. Please give me a few days. But the general method was pretty similar to flashing other treble-based ROMs, the important thing is that the phone boots into FASTBOOTD ("elevated" fastboot) and the rom you're flashing is the correct architecture with some Google Go apps (if you want it to be easier to set up). They update every few weeks, so depending on the progress, it may even be feasible to try out the other more popular ROMs. Lineage was 2nd best in my experience, and Android 11 to boot with its own recovery, but it doesn't come bundled with Google Go apps, you'll have to flash the Google apps yourself.
Major caveat about the treble GSI i'm using though -- the Gcam with HDR on has a chance of shutting down (exiting). It's less of an issue when the setting is off. I do have a separate primary camera phone so that wasn't an issue to me.
I've had the phone for about 3 weeks now. I think the biggest difference between this ROM and the MIUI OS is that the MIUI OS is very aggressive about killing my VPN (Ad blocker) and other background apps. With this Treble GSI (Android 10, not 11), I won't claim that my mediatek phone suddenly became a snapdragon, but there's no unexpected app-killing, which is very important for Blokada to stay alive.
**Has any other app crapped out (crashed/exited) since I changed ROMs?**
I don't run games on this phone, so I can't say if there's a difference between MIUI and Treble, but most of the productivity stuff is running okay (time tracker, markdown editor, pdf viewer, etc.) there IS some slowdown when running mobile youtube on my browser (yes, i don't run the youtube app... there may be an improvement if you're using a dedicated app.
I bought this phone as my work tracker phone. Before, with the MIUI stuff, it would stutter after a few apps were loaded. This is improved, but under heavy loads (10+ tabs, video playing), the phone is likely to complain.
**How's the battery life**
I bought this phone for the battery life, so I'd say I'm pretty satisfied on that front. The difference between the MIUI and the Treble GSI.... there's some small improvement with the Treble GSI. But it is (after a few weeks of use) not as much of a "battery boost" as I initially thought. Maybe this is because MIUI keeps killing background apps that now stay on? Can't tell.
**Any other issues**
I had to fix brightness and I think the headphone bug. I still have the commands somewhere, I'll dig it up.
Next, I am not sure if this phone will get security issues moving forward, or if i'll have to keep reflashing to a later GSI. I haven't checked if there's a way to sideload kernel security patches.
**Worth it to switch?**
Yeah, absolutely. Not having to reload apps is a huge deal, and not losing working data while typing helps. Tradeoff is camera hdr and security.
This all sounds very interesting.
I've admittedly not kept up with the Android scene (to call it something), so I'm a bit lost regarding Treble ROMs and such; I'll try to catch up a bit.
Take your time, I can wait.
(It goes without saying that, should I not like the results, I can always bail and reinstall an official Xiaomi ROM for this device, no?)
Yes, MIUI is extremely aggressive killing apps, and getting it to stop is rather confusing (it's not enough to turn off battery optimizations... You need to dig into Settings).
I managed to stop it from killing Netguard, at least...
I also don't play games or otherwise make extremely heavy use of the phone; I also don't care much for camera apps, so such disadvantages aren't dealbreakers for me.
Thank you for your reply
can you tell what gsi did you install? tkss
Luelu said:
can you tell what gsi did you install? tkss
Click to expand...
Click to collapse
You should use arm32_binder64-ab variants for this device, and you should flash an image that is THE SAME ANDROID VERSION you currently have or 1 version above. Example if you have Android 11, Flash Android 11R version, if you have Android 10 only flash ANDROID 10Q versions, etc.
To find out what GSI image should you use, this app makes it easier, it recommends you which one to download. https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=&gl=US --
#Another mirror:
https://www.apkmirror.com/apk/hacki...lease/treble-info-5-0-6-android-apk-download/
2 Years later, i made a guide on how to flash it , maybe it can be useful to you.
Xiaomi Redmi 9A 9i 9AT 10A
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
s_code said:
Hi everyone,
I've been away from the ROM scene for a few years and was pleasantly surprised to find out that even a MediaTek phone these days can be flashed with a ROM different from its original. With a lot of bumps and information from this thread and others, I was able to test the Lineage, Havoc, and Treble ROMs, flashing through adb commands on fastbootd on unsigned xiaomi drivers. The one with the best compatibility so far is an older ROM, the Treble 10 GSI bundled with go gapps. Treble 11, the latest, doesn't have a working "recent apps" button (multitasker/app switcher). I'm not using this phone as a camera phone, but I did install an older Gcam (Gcam 2.3, I think) by googling the phone's mediatek processor, Helio G25.
On stock android, I do feel like the phone is much improved from the MIUI OS's bloat. I feel that Xiaomi as of late is putting too much adware, a far cry from when I bought my first phone from them (A Redmi 1S).
I would like to thank everyone here for the recovery files, twrp, etc.
Click to expand...
Click to collapse
by the way can you share the links you used to download those roms? I wanna try em out too

Development [ROM][Official][Weekly] LineageOS 20 for Edge S / Moto G100

LineageOS is a free, community-built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Important information:
This thread is for LineageOS 20 builds for Edge S / Moto G100. The following will not be supported here:
Custom kernels
Mods
Xposed
We don't support Xposed and any logcat which includes an Xposed module will be ignored. You're kindly invited to not report bugs if you:
Flashed a custom kernel
Installed or did mods from untrusted sources
Modified system files
Installation:
https://wiki.lineageos.org/devices/nio/install
Notice on SafetyNet:
As announced in the charter, LineageOS does not ship any hacks to help you bypass SafetyNet. The Universal SafetyNet Fix (USNF) Magisk module is a popular 3rd-party choice to workaround SafetyNet on custom ROMs. However, USNF is not sufficient to bypass SafetyNet on LineageOS, because we track the latest Android security patches while SafetyNet fails if the underlying security patch level (SPL) doesn't match stock.
To workaround this issue, I created a simple Magisk module to spoof SPL, which can be downloaded at https://github.com/MoetaYuko/spoof-spl/releases. Activating both USNF and spoof-spl should enable you to bypass SafetyNet checks. Noting that this is provided for convenience and NOT an official LineageOS solution.
Source code:
https://github.com/lineageos
Credits:
LineageOS Team & Contributors
Code Aurora Forum
Special thanks to Electimon, this work is heavily based on his prior ones.
......
Changelog & Download:
2022/10/7 initial release:​https://drive.yuko.moe/d/E5/Android/nio/lineage-20/lineage-20.0-20221006-UNOFFICIAL-nio.zip​2022/11/4:​https://drive.yuko.moe/d/E5/Android/nio/lineage-20/lineage-20.0-20221104-UNOFFICIAL-nio.zip​
Sync latest source
Fix wifi display
Reduce auto brightness latency
Other minor fixes
This is supposed to be the last custom build before official release
2023/1/2 and later:​https://download.lineageos.org/nio​
Ok. I upgrade from 19.1 to 20.0 and everything work exelent on this moment.
sp6ina said:
Ok. I upgrade from 19.1 to 20.0 and everything work exelent on this moment.
Click to expand...
Click to collapse
Dirty flash?!?!
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Yes. Dirty flash.
Moto-J said:
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Click to expand...
Click to collapse
Okay, installed 20.0 myself for test and indeed other build signature.
Great build, everything seems to work, no issues so far.
Dirty flash probably will work as @sp6ina mentioned, though I would recommend a clean flash always when you update to a mayor new version.
Moto-J said:
Dirty flash?!?!
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Click to expand...
Click to collapse
I personally don't use officially signed builds so can't tell.
Really excited for this, thanks @dianlujitao !
I do hope the echo/noise cancellation bug with speakerphone is fixed with the upcoming official release, as I'm still stuck on stock because of it being broken in 19.1...
Some small issues here, further very stable build:
1. USB file transfer seems not to work, though PTP is (phone not showing up in explorer);
Edit: solved this by installing "Mobile universal MTP USB device" driver and now XT2125-4 is recognised ;-)
No idea now if the reason was the LOS20 install, though when it happenes, you know what to do.
So: Portable Devices - Default MTP Device - MTP USB Device solved it.
2. Some app settings seems to reset after reboot like battery setting restricted
That's it for the moment, looking forward for the next build! ;-)
I modified my phone to 16gb of RAM, but the system can't fully utilize the memory. Even though continuous use can use up to 80 percent of the memory, there are still a lot of applications that get killed in the background after a while.
The number of apps running in the background is not as good as the 12gb pixel.
Is there any possiblity to improve it?
@dianlujitao
Do you plan new release of LineagoOS 20 ?
I know, newer ask about release time but... you know
noahhhh said:
I modified my phone to 16gb of RAM, but the system can't fully utilize the memory. Even though continuous use can use up to 80 percent of the memory, there are still a lot of applications that get killed in the background after a while.
The number of apps running in the background is not as good as the 12gb pixel.
Is there any possiblity to improve it?
Click to expand...
Click to collapse
GitHub - kerneltoast/simple_lmk: A simple low memory killer kernel driver for Android devices. Pick from the branch that corresponds to your kernel version.
A simple low memory killer kernel driver for Android devices. Pick from the branch that corresponds to your kernel version. - GitHub - kerneltoast/simple_lmk: A simple low memory killer kernel driv...
github.com
NFC, gpay?
I love lineageos, but I really need my camera. You essentially discard your 64MP camera when you flash a custom ROM. Is there any app that has the option to use your ULTRARES cam? Open camera and all the others go up to 16MP. Has lineage found a way to make use of all the cams / options? Also, has an option to remap the bixby button been included?
I noticed same volume issues like on version 19.1.
e.g. can't control volume when on speaker, can't change volume when using headset (wired) in signal, wire....,adds stronger echo for the other side
Can anyone confirm?
Latest is working great here; no issues found till now. Ready for official I think
Great work @dianlujitao !
nahoda said:
I noticed same volume issues like on version 19.1.
e.g. can't control volume when on speaker, can't change volume when using headset (wired) in signal, wire....,adds stronger echo for the other side
Can anyone confirm?
Click to expand...
Click to collapse
I confirm, same issues of 19.1. Echo on the other side is a real pain
Strange thing happened .. i was able to control volume during last wire call I made (both when on speaker and with headset). I changed nothing except installed magisk. But that shouldn't matter. I'm confused.
nahoda said:
Strange thing happened .. i was able to control volume during last wire call I made (both when on speaker and with headset). I changed nothing except installed magisk. But that shouldn't matter. I'm confused.
Click to expand...
Click to collapse
Happens to me too.
This is what I experienced:
- Call volume cannot really be changed from the settings app (you can slide it, but nothing will change)
- Most times you cannot control call volume during a call. Sometimes, you can, but it's rare.
However, even if I slide the call volume to the minimum (if I can do it, which is rare) my caller still hears echo. The only workaround is using a pair of headphones (or stock rom). It's really sad that all custom roms have this problem and nobody seems to be able to figure out how to fix it. I tried to contact a few developers of custom ROMs to see how I can help but so far I got 0 answers...
Demax55 said:
However, even if I slide the call volume to the minimum (if I can do it, which is rare) my caller still hears echo. The only workaround is using a pair of headphones (or stock rom). It's really sad that all custom roms have this problem and nobody seems to be able to figure out how to fix it. I tried to contact a few developers of custom ROMs to see how I can help but so far I got 0 answers...
Click to expand...
Click to collapse
Thanks for your involvement. It's unfortunate that noone can track the cause down.
I also noticed the echo is not present with headphones, tho if it's headset with mic it has echo.
I tried to experiment when i was still on 19.1 to replace sound related xml files with files from stock rom (i think from vendor fs), it did't help much, but headset behaved as headphones without mic, just using phone mic and echo wasn't present in such case.
This morning I was looking at the build server sites etc... to find some info about the status of LOS20. Is there a place where we can find info about the progress (not the changelog) and planning of it?
Just wondering ;-)

Categories

Resources