yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Zackptg5:
This is a flashable zip that enables init.d scripts to run depending on the root method you have installed.

To uninstall, just flash the zip again and it'll restore everything to how it was before

If magisk:

Boot scripts will be installed that will run all exectuable scripts in init.d as post-fs-data except any that end in '-ls' which will be run as late start. Also note that if you're trying to create the init.d folder, the original directory when using magisk is actually /sbin/.core/mirror/system/etc. It goes without saying that this could break safetynet (honestly though, just copy your script to /sbin/.core/img/.core/service.d or post-fs-data.d instead and set permissions to 0755 rather than creating an init.d directory - using the in-house magisk solution is always the better option. Magisk users have almost no reason to create an init.d directory)

The rest of this is for non-magisk/supersu installs

Otherwise: the boot img and part of the system will be modified to enable init.d support.

What it does:

Search for sysinit in any rc file. If found and seclabel is intact and equal to target seclabel for my init rc script, then that seclabel will be set to permissive in sepolicy if needbe instead of using my solution

If sysinit with seclabel isn't found, a custom rc file and system/bin/script file will be installed and sepolicy will be patched accordingly to add init.d support. Init.d scripts will be run the same way as with magisk installs above

Adds magiskpolicy to sbin. It's more up to date and complete than setools so why not?

If there is an error on unpacking your boot image, check the binary inclusion section here to see if your device needs one: https://github.com/osm0sis/AnyKernel3#-binary-inclusion

If it does, place it in addon/AnyKernel3/tools/arm (or x86 - whichever your architecture is - probably arm)

I am not responsible for any oddities that happen to your device because of this, use common sense. For example, if you know your device has a weird boot img, check first.

BACKUP BOOT AND SYSTEM PARTITIONS BEFORE FLASHING

Compatibility: Any device magisk is compatible with

Confirmed working (boot img method):

Nexus 5x

Verizon LG G2

Oneplus 3/3T

Oneplus 5T

Nexus 9

Redmi Note

Zuk Edge

Axon 7 (A2017U)

Nexus 5

SM-N900T

SM-T350

LeEco Pro 3

Confirm your device works and I'll add it to the list! :)

Special thanks to: [MENTION=4544860]osm0sis[/MENTION], [MENTION=1844875]CosmicDan[/MENTION], [MENTION=5105831]Ricky Divjakovski[/MENTION], [MENTION=5161352]JustArchi[/MENTION]

Source: https://github.com/Zackptg5/Init.d-Injector

Download
[Android Software/Hacking General [Developers Only]] CosmicDan:
Good stuff :good:

Good idea with the removal of other/old init.d capabilities. It's annoying that so many ROM's/kernels claim to have init.d but they're fake or hacky (well, I guess the sepolicy injection is pretty hacky too lol). You might also want to consider looking for install-recovery hijack method of init.d and disabling that too - shouldn't be too hard, just check if the file exists in known locations and grep for init.d. The harder part though is what to actually *do* if found - probably best to comment-out the line that contains "run-parts" and/or "init.d" rather than erase the whole file.
[Android Software/Hacking General [Developers Only]] Zackptg5:
Good idea, I'll look into that. Thanks!
[Android Software/Hacking General [Developers Only]] adriansticoid:
Will try this soon on Honor 8 Pro and report back.
[Android Software/Hacking General [Developers Only]] Zackptg5:
Quick update to v1.1

Just bought a used nexus 9 and found that the boot partition layout for it and other nvidia tegra devices is different from typical android devices. So I added support for nvidia tegra devices :)
[Android Software/Hacking General [Developers Only]] Zackptg5:
So github screwed with my EOL again and converted a few of the files to windows eol which broke everything. I just fixed it and reuploaded v1.1 with the fixes so just redownload it and flash away. Thanks to [MENTION=8267490]dmgZero[/MENTION] for finding the issue
[Android Software/Hacking General [Developers Only]] Zackptg5:
Just updated to v1.2. I added support for pixels and nexus5x/6p avb-signing. I haven't been able to test it out myself as my bullhead doesn't even need signing to work so any feedback would be great. Also updated the OP on how to modify this for any weird boot imgs you may have

Edit: No point in spamming the thread with another post: updated to v1.3. Just adds capability to remove any init.d stuff present from install-recovery.sh. Thanks to [MENTION=1844875]CosmicDan[/MENTION] for pointing it out
[Android Software/Hacking General [Developers Only]] CosmicDan:
Works fine on Redmi Note (a MediaTek Helio X20 device) running MIUI 9 (Android 6.0).

One tiny detail, maybe just do an mkdir /system/etc/init.d after the patch succeeds, if it doesn't already exist. I could imagine that some other zips could check for the existence of this folder for a simple way to determine if init.d is supported.
[Android Software/Hacking General [Developers Only]] Zackptg5:
Sweet, I already have that in the sysinit script but it would make more sense to move that to the installer so I'll put that into the next version. Thanks!
[Android Software/Hacking General [Developers Only]] sscheib01:
Is that supposed to work systemlessly?
[Android Software/Hacking General [Developers Only]] Metabolic12:
You should probably add Samsung to the weird/hexed/Satan kernels. Tried flashing your zip and recovery came back with Invalid Partition upon failure, my device is a Galaxy Note 5 running RR 7.1.2. I do love the idea and your work though bro. Thanks.
[Android Software/Hacking General [Developers Only]] Zackptg5:
I tried to originally but it was basically impossible to detect all bootimg types and they need extract binaries which if I included them all, would make the zip over 70mb. I updated the op a few days ago with instructions on how to add support for weird boot imgs (it's basically adding a few files to the zip)
[Android Software/Hacking General [Developers Only]] Metabolic12:
I completely understand, I wasn't gonna ask you to include my kernel regardless that's rather selfish, and I did follow your guide in the OP to get it to work. I was just suggesting maybe add Samsung kernels next to LG in your OP. Great work bro, thank you.

---------- Post added at 02:58 AM ---------- Previous post was at 02:51 AM ----------

I'm a retard, I read the OP wrong earlier. Disregard the adding Samsung part ha.
[Android Software/Hacking General [Developers Only]] Zackptg5:
The boot img is not part of the system partition so that's systemless. However, it installs an addon.d script and modifies the sysinit and install_recovery files if present which are on the system. It won't break safetynet if that's what you're wondering :)
[Android Software/Hacking General [Developers Only]] CosmicDan:
I thought *any* System modification trips the Safety net?

I use the Universal Safetynet Bypass module for Magisk so it doesn't bother me, but curious.
[Android Software/Hacking General [Developers Only]] Zackptg5:
That's what I thought initially too but I've found lots of system modifications doesn't break safetynet such as editing the hosts file. Modifications to the zygote such as xposed framework for sure break safetynet but I'm not sure exactly which system modifications would. Other than testing them myself, I'm not really sure what would break it. I've found that you can completely alter parts of the system like with arise sound systems which adds a whole slew of libs and other modifications and safetynet still won't break (I found through my work there that having the system mounted as rw via a boot script will trigger safetynet but you can even go so far as to mount it as rw, make your changes, and then remount it as ro before boot completes and safetynet will still pass). It's weird man
[Android Software/Hacking General [Developers Only]] CosmicDan:
Kind of makes sense actually.

Hosts is in etc right, nothing in there is executable. So I imagine any changes to etc won't trip it because nothing in there would mess with device security. Sound mods... Well yeah they ADD libs but they don't replace any do they? They just add sound filters through the mixer configs in etc.

So I guess it makes sense. Sysinit is just added to xbin or whatever and I guess that doesn't trip it. But if you replaced, say, dex2oat with a proxy script to intercept oat generation, then it would definitely trip it.
[Android Software/Hacking General [Developers Only]] TigerKing:
Is it really needed??

I want to flash Dolby Atmos for Redmi Note 4, but init.d support is needed as mentioned by developer.

I tried Dolby Atmos without it sound is loud and great

I can't understand, why init.d is still needed?

Can anyone explain here?
[Android Software/Hacking General [Developers Only]] Zackptg5:
If it's working, then you don't need it or already have it. Init.d support is needed for Dolby if you are not using magisk or supersu and you have selinux set to enforcing
[Android Software/Hacking General [Developers Only]] d3vyarth:
That's with respect to Dolby, what does it provide as a general point of view? What is it's significance?

Explain if you've enough time or just throw a link, it will help out.
[Galaxy Tab S2 Android Development] oadam11:
#reserved
[Galaxy Tab S2 Android Development] oadam11:
New builds coming very soon! (validus tonight most likely)
[Galaxy Tab S2 Android Development] oadam11:
New Validus build is live. Enjoy!
[Galaxy Tab S2 Android Development] oadam11:
New Tipsy build is up. Enjoy!
[Galaxy Tab S2 Android Development] lahegry:
Is this for the 710? If so does the microphone work?
[Galaxy Tab S2 Android Development] oadam11:
No. Its for the gts28vewifi model. T713
[Galaxy Tab S2 Android Development] Dnorris55:
On the download page, it says (710, 715).

BTW, I can't get the 2 recent roms installed on my 713 extsd using dual boot patcher.
[Galaxy Tab S2 Android Development] oadam11:
That's just afh organization. Not really familiar to dual boot patcher. Always have installed as main
[Galaxy Tab S2 Android Development] Dnorris55:
I've got Lineage 15 (Oreo) installed in primary, RR in a Data slot, and I just got Tipsy installed in a Data slot. Seems to be working OK, I like it. Thanks.
[Galaxy Tab S2 Android Development] Lupin The Third:
Very Nice to see this for the tab s2. I have the 9.7 model, so i can't use this, but these roms are fantastic. Enjoy all you that can. :)
[Galaxy Tab S2 Android Development] oadam11:
If I get bord, I might throw a 9.7 build out there. It uses the same common so shouldnt be that hard
[Galaxy Tab S2 Android Development] angaraja:
I have a 9.7 (4G) too... It would be fantastic if you can provide one for 9.7 too. I have always enjoyed Ground zero ROMs on many of my previous (& current) devices. :):)
[Galaxy Tab S2 Android Development] Lupin The Third:
I hope you get bored easily and stay that way :laugh:

JK. Thanks for the time you spend with these projects.
[Galaxy Tab S2 Android Development] Nicolas2112:
Will it be available for t710?
[Galaxy Tab S2 Android Development] DedPehto:
no acsess to download pages... :(

is there any version for t719 (gts28velte) ??
[Galaxy Tab S2 Android Development] oadam11:
Validus Oreo build is now available for the gts28vewifi! Links in OP. Enjoy!
[Galaxy Tab S2 Android Development] GuestK00141:
So validus for t710 will be available or not? ? , already using it on my nexus 5x.

Thanks for developping on our devices!
[Galaxy Tab S2 Android Development] Dnorris55:
Validus 8.1 working pretty good, but no backlight on hardware keys, and WiFi seems to intermittently fail.
[Galaxy Tab S2 Android Development] oadam11:
There's backlight settings in wolfden settings
[Galaxy Tab S2 Android Development] osk4rin:
Does this Rom work on SM-T810?
[Galaxy Tab S2 Android Development] Dnorris55:
Thanks. Backlight is now working, although I'm positive they didn't for the first couple of days.
[Galaxy Tab S2 Android Development] Chep2185:
I keep getting the start up and restart loop from Validus Oreo 5/21 build.?

Please help!!!

Sorry Forgot to mention it was on T713
[Galaxy Tab S2 Android Development] nnortel37:
Same Validus problem for me (713).
[Galaxy Tab S2 Android Development] oadam11:
It is running well for me.

Are you flashing any mods during boot or just clean flashing rom and gapps? Can you get a log?
[Galaxy Tab S2 Android Development] AL_IRAQI:
Hey buddy, i just noticed GZR thread, will flash its asap

Awesome work :D
[Galaxy Tab S2 Android Development] VWijenberg1987:
I hope that somebody can make this roms to work on T813 to?
[Galaxy Tab S2 Android Development] Chep2185:
I tried clean flashing and gapps but it restarted during the android logo animation then it restarts during the initial setup I skipped all that and it still restarts after it loads up
[Galaxy Tab S2 Android Development] oadam11:
Hey guys, new Validus build is up. Enjoy!
[Galaxy Tab S2 Android Development] dantibes:
hello

this rom works on sm-t819 thanks
[Galaxy Tab S2 Android Development] slipnslider:
Does this ROM works on t810?
[Galaxy Tab S2 Android Development] Lupin The Third:
T810 is the exynos variant of the 9.7" but this rom is for the snapdragon 8"... What gives? :)
[LeEco Le 1S Questions & Answers] Masood_alam:
I was just not backup my device before flashing another roms but when I want the same rom as before ( means EUI 5.8.017 ) so I had downloaded it from tech and tricky YouTube channel.

But now in this rom there is any app from LeTV company does not working even if I want to download any theme then application errors as no internet connection.

So, help me what should I do for access to LeTV app and site.:cowboy:
[LeEco Le 1S Questions & Answers] DarkAbhi:
LeEco company is no longer there. All their servers are dead. You won't be able to use any content of LeTV. Use stable 19s without LeEco apps or use any custom ROM
[Google Pixel 2 Themes, Apps, and Mods] Chronzy:
What the title says- just have to buy $2.00 Andromeda add-on and download and run the desktop client.

Installed Swift Dark and it works great. Said there was 1 error during applying, but I can't tell; everything looks good to me. Great to have substratum working.

With substratum and LMT working, along with button mapper for vol button next/prev track long press ... I'm actually doing okay without root or custom roms.
[Google Pixel 2 Themes, Apps, and Mods] Archangel:
Oh yeah Def glad to have the Andromeda add on for Substratum, all my themes work great and its so easy to use.
[Google Pixel 2 Themes, Apps, and Mods] kevincuomo:
I downloaded the substratum and paid for a theme but when i hook up my pixel 2 to my computer and run the desktop app it never gets rid of the red window on my phone with the X. What am i doing wrong?
[Google Pixel 2 Themes, Apps, and Mods] Chronzy:
Are you switching to USB file transfer instead of charging in the notification when you plug it in? Do you have developer settings enabled and USB debugging checked?
[Google Pixel 2 Themes, Apps, and Mods] kevincuomo:
Yes, I changed to file transfer when i connected it and i also turned on developer mode and USB debugging as the tutorial said. I read a few forum posts on here about it boot looping the Pixel 2 XL but i wanted to try it anyways and still couldn't get it to work. Do i have to restart it at some point? I also tried to use the Java steps but i couldn't get that to work either.
[Google Pixel 2 Themes, Apps, and Mods] Chronzy:
Once you have both substratum and andromeda installed on your phone, have the desktop client downloaded, and run the "start_andromeda" batch file while the phone's plugged in, it should automatically start substratum on your phone, and then apply like normal.

Those are the steps; if that's not working for you then I'd recommend reading through the original thread: https://xdaforums.com/apps/substratum/andromeda-desktop-clients-release-notes-t3668682?styleid=18
[Google Pixel 2 Themes, Apps, and Mods] Ashyford:
At least for OS X, you need to connect phone to computer, open substratum app on phone, mount dmg on desktop, open andromeda on desktop, and select the mounted dmg.
[Google Pixel 2 Themes, Apps, and Mods] dakotah2468:
Too bad I don't have a working computer xD
[Google Pixel 2 Themes, Apps, and Mods] k4r70ng:
Is it normal that it slows down the app launching and themed apps in general?
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Hello everybody.

I need your help to save my P8 Lite 2015 please...

I loose everything after a bad manip so I took DC Phoenix and HCU CLient but I still miss all the mobile thing.

Can't call, no sms, no data. Even the emergency number didn't work.

I'm lost!

Somebody have a easy solution for please?

Thank you in advance!
[P8lite Q&A, Help & Troubleshooting] Adi5:
My friend haven't got imei in android 5 And flash vendor file fixed this problem,try this
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Ok :)

Where can I find the vendor file please?
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Where you live? So i will make one for You.
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Oh thanks!

I'm in France :)
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Flash this in twrp and you will be good.
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Oh thanks!

I'm gonna try now!
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Pm Me if it didn't work, okey?
[P8lite Q&A, Help & Troubleshooting] Phiver13:
I can't install it cause when I want to flash twrp, I have always the message: command not allowed...
[P8lite Q&A, Help & Troubleshooting] Adi5:
Unlocked bootloader?

---------- Post added at 12:47 PM ---------- Previous post was at 12:47 PM ----------

What rom? 5.0 or 6.0?
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
On 5.0.1 bootloader do not allow flashing, he needs to be in 6.0
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Hi!

Was completely blocked without phone and no web at home... :(

So my p8 lite is bootloader unlock.

I do all the update from Huawei, now is in B610, Android 6.0

I'm gonna try when I'm back home ?
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Up :)

Still blocked, tried a lot of things without sucess... :(
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Hmm, seems no one will help you! But I will.

1. Download this https://mega.nz/#!1zo1gDgS

2. Extract it on TWRP folder at backup section ( if you don't have, create it on local SD card TWRP>backup>yournameoridk

3. Make sure you have backup on your current state, I am not responsible for any damage!

4. Boot in TWRP

5. restore these files and wipe danvik and cache!

6. Reboot to system.

7. Go to About Phone and if you see IMEI you are lucky, if not, better buy new phone!

Slap that Thanks button! I will appreciate that!
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Thanks but when I want to download, mega ask me a password...

Can't download your file!

Tks again anyway :)
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Password?
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Yep!
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
#!1zo1gDgS!1ju_HC42CqkH7YRc-IHzVFi2UkI0E4S-z9lKYLJnqpA

Try this!
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Don't work :(
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
https://mega.nz/#!1zo1gDgS this definitely should work

---------- Post added at 09:40 AM ---------- Previous post was at 09:39 AM ----------

This is key - !1ju_HC42CqkH7YRc-IHzVFi2UkI0E4S-z9lKYLJnqpA
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Good that's work :)
[P8lite Q&A, Help & Troubleshooting] Phiver13:
I forgot...

I can't install TWRP :(
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Do you have unlocked bootloader?

---------- Post added at 12:24 PM ---------- Previous post was at 11:35 AM ----------

https://mega.nz/#!QyRS1RjR

Key is - !G64aDGbpyX6v8FJ_IVlVDlSFqDG9pHkrG9-rdJfNEEw

That's TWRP recovery flash this one
[P8lite Q&A, Help & Troubleshooting] Phiver13:
So thanks for your help but impossible to put twrp so I'm lock...

Don't know if a magic soft or a small shop can fix it maybe...

Thanks again!
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Try dc phoenix it is strongest software ever made for Huawei, so try it!
[P8lite Q&A, Help & Troubleshooting] Phiver13:
Yes I know this one

But for my trouble I'm afraid I need some help to do the right thing lol
[P8lite Q&A, Help & Troubleshooting] HoldMySoul69:
Ohh! You need to re flash system, that software will force system to update.
[P8lite Q&A, Help & Troubleshooting] nadiebaby:
Hi I need help with with rom tried to update my room from 7.1.2 just an updated version so I flashed it normally through trwp and now my phone doesn't read any sim but th weird part is there is no balong bug coz imei is there build number is fine and I can occasionally receive calls and sms even though it says no sim card on ale-l21
[P8lite Q&A, Help & Troubleshooting] Adi5:
Did you flash emui 4.1 before rros?
[8125, K-JAM, P4300, MDA Vario General] dirkjanneman:
Hi, I have an problem with my MDA vario.

I use the Hi (kpn) network.

When my MDA vario tries to connect with GPRS, i got the message:

Dailed: internet

The aswering modem has disconnected. To check your connection settings and change them if need, tap Settings.

I have tried many things, but it doesnt work at all...

In the Hi store they can't help me, and the supportline says i must visit the Hi store.

Anyone here that have the solution for this problem?

Many thanks.
[ONE Q&A, Help & Troubleshooting] Tilburn1976@gmail.com:
Good all adx
[ONE Q&A, Help & Troubleshooting] Mr.Ak:
Dafaq?!
[General Questions and Answers] xt7xda:
Hi,

I'm using Amplify 3.3.7 (donation version) in moto x play, running on Lineage OS 14.1 20171012 with Xposed 88.1.

This app 99% of time doesn't show any stat, it only shows "Stats collected for" timer, that too gets reset automatically.

Today once i restarted the phone and this app showed all the stats (Wakelocks/Alarms etc) since last 1 hr or so. But then for some other reason i had to soft reboot and after that all the amplify data vanished.

I'm not getting it; is it the app or something else!

Please help to fix this issue.

Thanks
[General Questions and Answers] scottwallacesh:
I'm seeing this behaviour too.

Freedom OS, Elemental X kernel.
[General Questions and Answers] xt7xda:
Since, official xposed for nougat is released recently, i think the amplify needs some changes in code.
[ONE Q&A, Help & Troubleshooting] Tilburn1976@gmail.com:
Good day xda developers if there is a rom/kennel l/APK you need to be tested for a Samsung Galaxy note 4 SM-N910C.im will to help you with no issues. And if there is a whatsapp chat for for the above mentioned device please ad me..

My EMAIL is tilburn1976@gmail.com

Thanks for the effort and hard 2prk u put in for us to use for FREE..Clyde
[ONE Q&A, Help & Troubleshooting] Mr.Ak:
You drunk?
[Google Pixel 2 XL Questions & Answers] ccoulterjg1:
Is anyone else getting poor custom ringtone quality on the Pixel 2 XL? When I play the file (mp3, wav, whatever) directly from the file system on the phone, like the ringtones folder, the sound is much fuller, louder, and truer to original quality than when it is played in the ringtone selection screen or when the phone rings. When the phone rings, the ringtone comes through sounding super compressed and tinny.

Is anyone else having this issue? If so, does anyone know how to fix it?
[Google Pixel 2 XL Questions & Answers] scottjal:
Just tested and yes I hear a difference between what Textra plays verses playing the file in a music app.
[Google Pixel 2 XL Questions & Answers] ccoulterjg1:
I figured out part of the problem. The ringtone only plays through the bottom speaker whereas the file played elsewhere is played through both speakers. I don't know if there's a way to enable both speakers for ringtones without unlocking/rooting though.
[Google Pixel 2 XL Questions & Answers] TheSt33v:
I'd like to resurrect this post. Has anyone found a solution? I had the same problem on my previous phone as well. If I play a sound file using play music, it sounds great. If I set that same file as a ringtone, it sounds awful.