yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A8+ (2018) Questions & Answers] Hòang Ramiel:
please !!!

Please help me root and install twrp on samsung galaxy a8 star phone (SM-G885F / DS)

Thanks!
[Samsung Galaxy A8+ (2018) Questions & Answers] Kiwi8:
Can I install this with the phone already updated to Android 10?
[Samsung Galaxy A8+ (2018) Questions & Answers] Kiwi8:
If my phone OS is already Android 10, can I still flash this boot image tar file?
[Samsung Galaxy A8+ (2018) Questions & Answers] mchlbenner:
Nope it is for android 9.
[Samsung Galaxy A8+ (2018) Questions & Answers] Kiwi8:
Thanks. I have since decided to directly root the phone using Magisk without having TWRP on the phone.

What I did was to download the latest stock rom, then let the Magisk manager have the file that starts with "APxxxxxxxxxxxxxxxxxx" and let it generate a patched file.

Then I flashed this patched AP file, together with the other untouched parts of the stock rom like BL, CSC, etc on the phone.

It works! :)
[Samsung Galaxy A8+ (2018) Questions & Answers] Siisao:
There is a twrp on xda

Are u trying to install custom rom
[Asus Zenfone Max Pro M2 Questions & Answers] asutosh.biswal1996:
I was using ArrowOS in my Max Pro M2. Then, due to problems in GCAM Ports, I unrooted by uninstalling Magisk from within the app, thereby unrooting the phone.

Then, I flashed the latest stock ROM of oreo and stock RECOVERY.

Then, I re-locked my BOOTLOADER.

Still, BHIM app sometimes says that my device may be rooted.

What might be the reason??
[Asus Zenfone Max Pro M2 Questions & Answers] Aaron26:
Did you find the reason & fix for this?

Facing same issue on a different device.
[Asus Zenfone Max Pro M2 Questions & Answers] spg89:
go to settings,then installed apps, then find BHIM app. If the telephone permission is given, just remove the permission. then try again. this solution works for unrooted custom rom, might work for you too.
[Asus Zenfone Max Pro M2 Questions & Answers] Aaron26:
It is asking for telephone permission again, I think telephone permission is mandatory.
[Asus Zenfone Max Pro M2 Questions & Answers] spg89:
telephone is not mandatory, just deny the permission
[Asus Zenfone Max Pro M2 Questions & Answers] shekhar4u:
its manfatory, if u deney it wont run.
[Asus Zenfone Max Pro M2 Questions & Answers] megabull:
Hit your phone with your hammer if you think you're extra smart.

Dont waste someone's time
[Asus Zenfone Max Pro M2 Questions & Answers] sampath82:
flash with another rom.I did flash my mobile with pixel rom for my note 5 pro and now BHIM app is working
[Xiaomi Poco F1 Questions & Answers] GeeyahnOfficial:
What does Chrysalis Thermals do? Cause I always see this.

Does this boost performance? battery? :confused:
[Xiaomi Poco F1 Questions & Answers] santiagoruel13:
it adjust the phone throttle to a bit higher,,,

i mean,, normally,, without one,, when you're doing something on your phone,,, and it hits about,, lets say 40 deg C,, then it will slow down so as to prevent it from heating too much,, but doing so,, sacrifices performances and you may easily notice a bit lags and slower framerates..

now,, with that thermal module script,, it allows your phone to perform at its maximum capability for a longer period of time even if it hits a certain higher value of TEMPERATURE,,, at the expense of heating,,
[Xiaomi Poco F1 Questions & Answers] GeeyahnOfficial:
Thanks, how about this?
[Xiaomi Poco F1 Questions & Answers] pipyakas:
It removes ALL thermal-engine related files in your ROM, thus removing almost all of the thermal restrictions put on CPU, resulting in less thermal throttling, performance is better as well. The phone would got warmer and batterylife would suffer if you have too much running all the time, of course

The GPU rendering module just disable software rendering the UI via the CPU, nothing major
[Treble-Enabled Device Development A/AB ROMS] Technical:
Screenshots
[Treble-Enabled Device Development A/AB ROMS] Technical:
Issues and workarounds:

1. Guides moving to Treble ROMs.

2. Smart charging new feature (Settings > Battery > Smart Charging) is not working probably because it depends on kernel (which is not Treble). You can have the same functionality using Battery Charge Limit [ROOT] app.

3. Can't flash Gapps due to error 70 (insufficient storage space available in System partition)? In TWRP, just go to Wipe menu > Advanced Wipe > check System partition > Partition options > Resize FS. Then flash Gapps again.

4. Viper4Android working on GSI ROMs, please, try and thank here. The root apk install the driver and it's working like a charm :o

5. RAW support on cameras: Settings > Phh Treble Settings > Misc features > and select Expose Aux cameras (Qualcomm)

6. Message on each boot: "Android System: There's an internal problem with your device. Contact your manufacturer for details" or "Vendor mismatch" error message before unlocking was solved changing true to false in file frameworks/base/core/res/res/values/havoc_config.xml, line 241: <bool name="config_show_vendor_mismatch_message">true</bool>. Credits: [MENTION=7932843]vince31fr[/MENTION]
[Treble-Enabled Device Development A/AB ROMS] eremitein:
this is wrong. need to do vise versa, copying from vendor to system

and as i know need to change some more values in the system build.prop (for google play certification, sample)

anyway don't touch vendor! it will be not trable but trouble)))

MAC address will be changed immediately after turning on Wi-Fi. and if Wi-Fi does not turn on then the problem is definitely not in the "wrong" MAC)

big thanks!!

.
[Treble-Enabled Device Development A/AB ROMS] Technical:
I used this method myself a lot of times, i.e., from system to vendor.

Well, I stay one day trying to restore Wi-Fi in Treble ROMs. Read a lot, tried a lot. This worked for me and not *any* other methods.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
it works because the values are the same (system->vendor). but this method is not correct, should be vendor->system

many users will be have problems with the definition of notch, with the headphones jack, with the certification of Google Play. remember my words)

some gsi don't have wifi problem

I will say more - I had no wifi problem with any tested GSIs. it's all about vendor

you should get logs and see what's really going on

.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Ok. I'll try, although I suppose any ROM update will bring back the issue. Am I right?

Sure. Who is saying the opposite? Just this is a known issue at Treble, just search in xda or: https://xdaforums.com/showpost.php?p=79173958&postcount=237

Sure. I never had before either. And it's a vendor issue.
[Treble-Enabled Device Development A/AB ROMS] Germano1980:
There are two bugs in the Xiaomi Mi Max 3: the SIM card signal is constantly disappearing (turning the power off and on again) the headset does not work (the sound comes out directly on the speakers.) I'm using Vendor Pie, is that the problem? ?

I was expecting a lot this rom to leave and work on my device

Thanks

edit: when I went to make a call, the screen of the smartphone turned black and nothing reappeared. I had to reset the phone, but it went into bootloop.
[Treble-Enabled Device Development A/AB ROMS] Jeff88malaquias:
I have the same problem with the SIM card signal device is Núbia Z17s
[Treble-Enabled Device Development A/AB ROMS] k3jru:
not booting on Honor 7x dunno why
[Treble-Enabled Device Development A/AB ROMS] BeeTLeApp:
Bluetooth doesn't work. Moto z2 play
[Treble-Enabled Device Development A/AB ROMS] alifr:
bluetooth and dialer not work
[Treble-Enabled Device Development A/AB ROMS] alifr:
i got this problem too
[Treble-Enabled Device Development A/AB ROMS] Technical:
Well, in my opinion, this is all about vendor, i.e., Xiaomi, and not the ROM.

Strange. Mine are working perfectly. Volume is ok. Never saw this problem. I also using Viper audio mod.

Which is your default call app? Is the system one or another. Maybe it should be marked as default app and/or add rights to be over other apps.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Sorry guys: Dialer also stopped for me. I need to wait for devs to release new updated sources and compile again to see if they will work. I'm only compiling the ROM. Right now, maybe moving to LiquidRemix to see if we got more luck.

But, Bluetooth is working for me.
[Treble-Enabled Device Development A/AB ROMS] dirtyreturn:
LiquidRemix!!:svetius:
[Treble-Enabled Device Development A/AB ROMS] lsolis293:
he dialer works, mine does not work, the bluetooth if it works, occupy as a base mokee rom
[Treble-Enabled Device Development A/AB ROMS] lsolis293:
for those who have problems with the dialer here I leave a patch that worked on my bike z2 play
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Doesn't work on the S9 (starlte) no matter what firmware, vendor or kernel I use. PixelDust works fine tho
[Treble-Enabled Device Development A/AB ROMS] alifr:
https://del.dog/ineqahanal.coffeescript

bluetooth not work
[Treble-Enabled Device Development A/AB ROMS] Txatxiquesi:
Yes a/b, is a mi a2 lite, no problem with wifi.
[Treble-Enabled Device Development A/AB ROMS] Technical:
And are you on slot A without data? Can you use the phone for calls?
[Treble-Enabled Device Development A/AB ROMS] Txatxiquesi:
Yes, slot a, phone calls are fine.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Well, I suppose it's not a problem of your carrier. I never had problems with SIM card recognition and data on slot A. Hope other user can jump and try to help you. By the way, does this occur only with Havoc?
[Treble-Enabled Device Development A/AB ROMS] Txatxiquesi:
No problems on the old official havoc gsi, also no problems on stock , i am trying to manually configure the apn.

Edit: I fixed manually reconfiguring my apn data, y dont know why the system didnt get automatically that data.
[Treble-Enabled Device Development A/AB ROMS] Technical:
I'm using international information of apn data to compile the ROM. Really strange.
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
Infrared works well on my redmi 3 ido

---------- Post added at 08:39 AM ---------- Previous post was at 08:21 AM ----------

One thing I noticed with the new build 13042019 is that the miracast mirroring function is broken. When activated it forces my phone into system ui reboot and will not connect, It was working before. Any idea?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks for the answer. So it may be a vendor problem. Which apps do you use with infrared?
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Anyone managed to get this running on the Samsung S9 yet? Tried a while back and got nowhere but thinking the latest might be different and wondered if anyone had tested it more recently?
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
I installed the Mi remote control app from playmarket.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Il finally managed to make it work, thanks.

The only remaining thing that does not work, but it was the same in all GSIs I tried, is the sound mixer and effects. The vendor libs are shadowed by the rw-system.sh script for many devices by mounting an empty directory in /vendor/lib/soundfx and /vendor/lib64/soundfx, as the sound was crappy; the side effect is that no mixer/equalizer/... can be used (or at least I did not find a solution). I wonder if there could exist a better solution?...
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
Well if you have magisk installed, then you can try viper4Android fx module, but I am personally using black player (it has inbuilt equalizer and other sound effects) and its giving me the quality of music I need. You can try that too it is available in the play store.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Well, I did not manage to install v4a: the driver cannot be installed. The magisk module generated by v4a is installed, but when rebooting, v4a says that the driver is not installed, I don't know why.

I also use blackplayer, but I have an error message in the equalizer: "Error starting equalizer! No hardware support - Try disabling any existing Equalizer".

In fact with mido device, you're not concerned with my problem, as can be confirmed in rw-system.sh:

if getprop ro.vendor.build.fingerprint | grep -iq \
-e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \
-e Xiaomi/dipper/dipper -e Xiaomi/ursa/ursa -e Xiaomi/polaris/polaris \
-e motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \
-e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \
-e motorola/hannah -e motorola/james -e motorola/pettyl -e iaomi/cepheus;then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
fi
[Treble-Enabled Device Development A/AB ROMS] Technical:
Anyone who want Viper4Android working on GSI ROMs, please, try and thank here:

https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651/page166

It can be downloaded in XDA Labs too. The root apk install the driver and it's working like a charm :o
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
Yes I experienced that same issue in respect to blackplayer when I was on android 7 due to the built in audiofx. If you have any in built audiofx app you'll need to disable/ freeze it via the app settings. There was a version of viper4a that could do that but its not from magisk module (you'll need to get the app and manually install it.) Another app I used before which you can try is equalizer from play store, it may work for you.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks for your answer, but the problem is however more complex than just finding an equalizer app. The vendor sound effect libraries are buggy in the treble context for a number of devices (see my previous post: sirius -my device-, dipper, ...), that's why they are hidden by rw-system.sh script, and that's why no simple equalizer app (such as builtin AudioFX, BlackPlayer equalizer) work: they use these vendor libraries.

I finally found a solution to make V4A work, by executing the following script in my magisk module post-fs-data.sh which I described in a previous post:

umount /vendor/etc/audio

# empty directories from rw-system.sh must be unmounted, and replaced by empty ones in this module system dir tree
umount /vendor/lib/soundfx
umount /vendor/lib64/soundfx

# copying V4A libraries
v4a=/data/adb/modules/ViPER4AndroidFX/system/vendor
vv=/data/adb/modules/vv_mod/system/vendor

if [ -d "$v4a" ]; then
cp -a $v4a/lib/soundfx/* $vv/lib/soundfx
fi

After that, /vendor/lib/soundfx only contains V4A libraries (only one, actually), and it works... All these manipulations are required, due to conflicting system files in rw-system.h, V4A, my own module...
[Treble-Enabled Device Development A/AB ROMS] Technical:
New builds are out and apply all the available patches until yesterday.

Also, for Havoc, we have changelogs which I attach here.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Havoc 2.4 has a bug - mobile Internet not connected.

RR 7.0.1 official without this bug.

Umidigi A3, mtk6739, vendor android 8.1
[Treble-Enabled Device Development A/AB ROMS] gxfuzion92:
Official 2.0 booting.. 2.4 Not boot on zenfone max m2..
[Treble-Enabled Device Development A/AB ROMS] Technical:
For sure it's not on all phones, as I'm using mobile data in Havoc without an issue.

As Treble are generic ROMs, for all phones, some of them could have issues.
[Treble-Enabled Device Development A/AB ROMS] Mohammed779:
Seems like you haven't included latest Phh's changes? As they included Mi9 fixes to in-display fingerprint scanner and few more. If you could please include them next build, thanks
[Treble-Enabled Device Development A/AB ROMS] 2nqey:
The latest build is working really fine on my Moto Z2 play except for the Magisk Safety net pass patch. I think the patch is causing some conflict with substratum because I noticed that when I flashed the safety net pass patch while having substratum, the phone won't boot up. But when I uninstalled the patch, the phone started booting well.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Can you point our which phh repository on Github I should be using?

I'm using:

https://github.com/phhusson/device_phh_treble.git

https://github.com/phhusson/treble_patches

Which one should I include?
[Treble-Enabled Device Development A/AB ROMS] Mohammed779:
Honestly I am not a familiar with any of GitHub, more of a general user here. But here is the Mi9 page on phhusson's github, https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Mi-9

Those fixes were included in other GSI such as ArrowOS and LiquidRemix.

Thanks,
[Treble-Enabled Device Development A/AB ROMS] Technical:
Sorry, forgot to add https://github.com/phhusson/treble_experimentations.git in the sources. If it was there, it should be used in my compilation.

Anyway, thanks for pointing it out, as it could be some mistake from my side on updating that particular source before compiling.
[Treble-Enabled Device Development A/AB ROMS] Txatxiquesi:
Happen to me also, i fixed by manually editing my apn data.
[Treble-Enabled Device Development A/AB ROMS] king1990:
its not , you need to cherry pick phh commits from his aosp repos but first you need to revert oneplus commits for in display fingerprint if they were added to the ROM.
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
what's is the differences between A/B and A only? can I install it on Axon 7?
[Treble-Enabled Device Development A/AB ROMS] runninghamster:
Should work fine on Axon 7, make sure to download ARM 64 A Only. A/B is a separate vendor partition scheme, used on devices such as the Pixel. There's no difference in A/B and A Only, they're the exact same asides from the vendor compatibility. Our Axon 7 has an A Only vendor scheme, so only A Only GSI will work.

If you want to know more about it, Google 'Project Treble' and have a look at some of the articles.
[Treble-Enabled Device Development A/AB ROMS] vatsal_chandan:
Nice to see devs are helping each other :fingers-crossed:
[Treble-Enabled Device Development A/AB ROMS] cercelcremene:
Hi! I tried the 0413 version on Axon7. Thanx! Unfortunately Dialer does not work, and NFound patch also does not work.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Hello! I've updated all the sources mentioned in OP and compiled new versions. I'm attaching the changelogs.

Sorry if it does not work on certain phones, but I'm doing my best to bring you the last available patches and updates.
[Treble-Enabled Device Development A/AB ROMS] Technical:
All the cherry picking is done automatically by Dakkar's script.

I do not (and would not) do manual cherry picking. Sorry.
[Treble-Enabled Device Development A/AB ROMS] king1990:
well, The patches used in dakkar already old and obsolete , if phh pushed new feature or fixes in his aosp repos you will miss them all and the GSI you build will be outdated.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Each time I've tested manual cherry picking I failed. I'm afraid to begin all over again without guidance.

Isn't this collecting the new patches?

function init_patches() {
if [[ -n "$treble_generate" ]]; then
clone_or_checkout patches treble_patches

# We don't want to replace from AOSP since we'll be applying
# patches by hand
rm -f .repo/local_manifests/replace.xml

# Remove exfat entry from local_manifest if it exists in ROM manifest
if grep -rqF exfat .repo/manifests || grep -qF exfat .repo/manifest.xml;then
sed -i -E '/external\/exfat/d' .repo/local_manifests/manifest.xml
fi

# should I do this? will it interfere with building non-gapps images?
# rm -f .repo/local_manifests/opengapps.xml
fi
}

function patch_things() {
if [[ -n "$treble_generate" ]]; then
rm -f device/*/sepolicy/common/private/genfs_contexts
(
cd device/phh/treble
if [[ $choice == *"y"* ]];then
git clean -fdx
fi
bash generate.sh "$treble_generate"
)
bash "$(dirname "$0")/apply-patches.sh" patches
else
(
cd device/phh/treble
git clean -fdx
bash generate.sh
)
repo manifest -r > release/"$rom_fp"/manifest.xml
bash "$(dirname "$0")"/list-patches.sh
cp patches.zip release/"$rom_fp"/patches.zip
fi
}
[Treble-Enabled Device Development A/AB ROMS] king1990:
Manually cherry-pick the commits in his aosp repo not the patches ,

That script will look for the patches in phh repo called treble_patches which phh stopped updating since very long time , you can use these newer patches instead but still phh always pushing new things so to keep your GSI updated you need pick them manually.
[Treble-Enabled Device Development A/AB ROMS] Technical:
Is it possible and would you be so kind as to make an example in a script, with the necessary commands and their syntax?

I know this is spoonfeeding, but I won't be able to get them alone. Believe me, I've tried a lot, put a lot of hours and I'm on my limit.
[Treble-Enabled Device Development A/AB ROMS] Muntasir Mahmud Saif:
are you using exynos? phh rom? mine got no mobile network.. can you help?
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
can you make an option to select ambient display with low brightness?
[Treble-Enabled Device Development A/AB ROMS] king1990:
Not a script , once you synced the sources you can go to phh aosp repos for example frameworks/base and choose the latest branch then got to your synced source and go to the same directory and type :

git fetch repo branch

then you can start cherry-pick the commits , sometimes you will get a conflict so you need to fix them , search in XDA to learn more about git and fixing conflicts
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
GPS isnt working for me. Axon 7
[Treble-Enabled Device Development A/AB ROMS] Pureness:
How can I use volte...?

ROM is perfect. But I don't know about volte.
[Treble-Enabled Device Development A/AB ROMS] Technical:
This is tricky. Are you using any Magisk module or app to replace GPS data?

I've installed Global_Optimized_GPS_File_Replacer-v.2.1 in Magisk, reboot, uninstall it, reboot, and GPS came back.

I really can't imagine what is going on...
[Treble-Enabled Device Development A/AB ROMS] baggino:
in my mi 9 the torch with power button goes and does not go
[Treble-Enabled Device Development A/AB ROMS] rafik25:
mobile data doesnt work for me device perseus (mimix 3)
[Treble-Enabled Device Development A/AB ROMS] nrgsnm:
Storage is unaccessible!

My device huawei mate 10 lite... I dirty flashed with selinux mapping patch over phh's aosp v111, but it have storage bug (storage is unaccessible).
[Treble-Enabled Device Development A/AB ROMS] Txatxiquesi:
Check the last pages of this post.
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
I'm trying do install edXposed, but didn't work. someone installed it?
[Treble-Enabled Device Development A/AB ROMS] gxfuzion92:
Bootloop on asus zenfone max m2.. help..
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
How to change the data apn?

---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------

How to change the data apn on subject?

---------- Post added at 09:05 AM ---------- Previous post was at 09:04 AM ----------

How to change the data apn?
[Treble-Enabled Device Development A/AB ROMS] runninghamster:
Settings > Network and Internet > Mobile network > Advanced > Access Point Names
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Has happened to me after trying havoc 2.4 with various vendors, CSD4 is now the only Rom I get signal with, anything lower gets no signal and I'm now sick of trying to fix it atm
[Treble-Enabled Device Development A/AB ROMS] aljoscha81:
Yes settings for device working bugfree for me now but can remember some problems like the icon for tab't and nothing changes...

My device running ufs 2.1 memory i think and as it is for me a question can this way of memory hardware formate to f2fs file system?????...cause have read that is not possible for the chip?
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
This method I did not help
[Treble-Enabled Device Development A/AB ROMS] Goalach:
Hey

Installed is Havoc's ROM .

Can I dirty flash this Image ?

Thanks