yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Here is a copy of my own personal mod for

mido

. I am only making it available because I thought others might find it useful.

What this mod does

1. Implements

init.d

functionality - any script in /system/etc/init.d/ with a name that starts with "00" (ie, zero zero) and has a ".sh" extension will be executed every time the phone boots up. My own script for interactive governor (based on [MENTION=8355076]FaustTN[/MENTION] tips in this thread is included as "/system/etc/init.d/00_userinit.sh")

2. Ad blocking with a replacement "/system/etc/hosts" file (built from various freely available lists)

3. Modified /system/etc/mkshrc that launches bash automatically (if bash is found) when a terminal session is opened (if bash is not found, then nothing is done)

4. Implements the "bad audio in videos" fix described by [MENTION=4669208]gianluca212[/MENTION] in this thread

Compatibility

This is a

mido only

mod. It is based on patched files from

OctOS

, and I am using it successfully on OctOS. It should also be fine for Slim, because the relevant patched files are identical. This may indicate that it is also suitable for other LOS based Nougat ROMs for mido. However, I have

not

tested it on others. The original files are first backed up (with a ".old" extension) before being patched

Disclaimer

All the usual disclaimers apply. The mod works perfectly fine for me, but your mileage may vary.

Use at your own risk

!

Download

Get your

updated

copy from this link (version 2)

AUDIO FIX ONLY

If you are only interested in fixing audio problems (i.e., no initd, and no ad-blocking) then download the attached zip file below only ("mido-audiofix-mod-aosp-LOS.zip"). It is based on SlimOS files, but should be compatible with any CAF/AOSP/LOS based ROM.

Installation

1. Make a full nandroid backup of your ROM. At the very least, the system partition should be backed up (do

NOT

skip this step)

2. Boot to TWRP recovery, and install the mod (no need to wipe anything)

3. Reboot

Bugs?

You tell me.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
UPDATED (NEW ("v2") ZIP FILES)

If you are interested in only the initd implementation, and are not interested in the other stuff listed above, see the links below.

* The first zip is an initd patch for AOSP / LOS based Nougat ROMs

* The second zip is an initd patch for MIUI based Nougat ROMs

* The third zip is a generic initd patch for all Nougat ROMs for mido - it should work equally well with AOSP/LOS/MIUI.

New users should use this in preference to the first two zips.

Notes:

1. Since only one file needed to be patched to implement initd, the first zip should also work fine for MIUI based ROMs (there are only minor differences between the AOSP/LOS and the MIUI files). However, a separate zip is supplied for MIUI to avoid all doubt. The third zip adopts a different approach by directly patching the existing file on the fly. Thus, it is not ROM dependent or version dependent.

2. The zip installer contains only the initd patch. No sample initd script is provided - you have to supply your own.

3. Make sure that the name of your initd script starts with "00", and that it has the extension ".sh"

4. Copy your initd script to the /system/etc/init.d directory.

5. Your ROM must be rooted before you can copy your initd script to the /system/etc/init.d directory (you need a file editor that can access root - eg, Root Explorer).

6. If you are using a Windows text editor to create your script, make sure that the script is saved with

unix line endings

.

As usual, all disclaimers apply.

Installation

1. Make a full nandroid backup of your ROM. At the very least, the system partition should be backed up (do

NOT

skip this step)

2. Boot to TWRP recovery, and install the mod (no need to wipe anything)

3. Reboot

Bugs?

You tell me.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] flongzy:
Works, thank you
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] iHusky:
I need only instal this zip for AOSP or I must do something with init.d in system or not?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
If you install the mod from post #1, then it already has installed an initd script ("/system/etc/init.d/00_userinit.sh") that tweaks the interactive governor. You can edit that, or remove it. If you install the mod from post #2, then all you get is initd functionality, and you will need to create your own scripts from the start.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] gianluca212:
Good work mate!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ~billie joe~:
im using official rom MIUI latest, can i use this as well?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Yes.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
I have updated Post #2 with a new "generic" version of the initd mod (the third zip) which should work equally well with any Nougat ROM for mido.

This is for

new users

or those who have upgraded their ROM after having installed one of the first two zips. If you have already installed either of the first two, you should

not

try to install this one. It will simply refuse to install, because it would be wholly unnecessary to install the mod twice.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] ksupreme:
Thank for your work, can i use this with GovTuner mod?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Sorry but I have no idea.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] BOYONG06:
How to make my initd to stock?
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] fahad96:
How to check?

How to check whether the mod is working or not? Thanks!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Check the values of the things that you have changed in your initd script. You can do this from a root terminal window - eg

cat /sys/devices/system/cpu/cpufreq/interactive/target_loads
cat /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Read the "Notes" on post #2
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] fahad96:
Okay, so I get these values from the terminal. What do u think?[IMG="Terminal"]https://ibb.co/jXPxhm[/IMG]

---------- Post added at 11:01 AM ---------- Previous post was at 10:49 AM ----------

I keep getting a bad request error while uploading!

---------- Post added at 12:15 PM ---------- Previous post was at 12:01 PM ----------

Okay

For the "target_load" command I get

"80 652800:57 1036800:67 1401600:75

1689600:9 1804800:85 1958400:87"

And for the "highspeed_freq" command I get

"652800"
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
Are those the values that you set them to in your script? If so, then your script is working.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] fahad96:
I just installed your mod. I didn't enter any values by myself!
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] DarthJabba9:
If you installed the one which already contains a "/system/etc/init.d/00_userinit.sh" script, then those will be the values in that script.
[Xiaomi Redmi Note 4 Themes, Apps, and Mods] Stylez Ray.:
Could you please create a version for only the bad audio in video problem?
[Xiaomi Redmi Note 3 Questions & Answers] mermade:
Whenever I plugin my earphones, I do not see the tiny earphones icon on top and cannot hear any audio from it. It just plays audio from my phone. I can confirm this is a firmware issue as I have installed an app called "SoundAbout" and in that app, I enabled the SoundAbout Service and under "Media audio", I changed the selection to "Wired Headset (with Mic)". After this, I can hear audio from my earphones. However, as soon as I change the Media audio setting back to "Let App Decide", I can no longer listen to audio from the earphones.

This is a workaround but I did not face this issue earlier. I do not want to depend on any third party app for routing the audio through my earphones. Can anyone please advise any troubleshooting steps apart from doing a factory reset/flashing the phone? Thanks!

Model: Redmi Note 3 (Qualcomm Snapdragon)

Android version: 6.0.1 MMB29M

MIUI version: MIUI Global 8.2 | Stable [ 8.2.4.0 (MHOMIDL) ]
[Xiaomi Redmi Note 3 Questions & Answers] Hiistakes:
I have the same problem as you but with Custom ROMs, there isn't any problem
[Xiaomi Redmi Note 3 Questions & Answers] sasukay:
[MENTION=7835752]mermade[/MENTION], This is my problem too. At first I thought it was hardware issue, but whenever I used a custom ROM, there was no such issue.

So, to tackle this, what I used to do was, I put the earphones into the headphones jack half-inserted for about 4-5secs. Then I would push them in completely and the audio used to be routed through my earphones.

Also I noted that this happened with earphones without mic only. The ones with mic never made this issue.

Earlier, I was having problems with Fingerprint Sensor too. I had FPC one and it just stopped recognising fingerprints. I thought my sensor had become obsolete. But, then again when I flashed custom ROMs it started working great for a while. The thing was, whenever I used to feed my fingerprints into it, it worked great for maybe upto 50 attempts. But, later it always vibrated and never unlocked the phone, nor did allowed to enter new fingerprint.

Another issue was the cellular reception. On miui stable there was no problem at first. Then I made some bad flashing ( that's only what I thought would've happened ), though I never bricked the device itself. I was getting signals on only one of the SIMs. Then flashed the modem partitions and had both the sim slots not working. Had my IMEI swept at times. After a lot of hit-and-trial, I managed to get both of my SIMs working (fp sensor still wasn't working). Now, I could use 4G and 3g networks simultaneously on the sim while earlier the other sim had to be on 2g is the first one was using 4g. I found out that the modem files of miui developer were more stable.

Currently, I'm on MIUI 8 Global Dev 7.5.23, and from the last builds, the fingerprint sensor has started working perfectly. Also the networks are fine. Now, the only problem is that if both sims are using 3g networks, then it always show the signal strengths on both networks exactly same. The signal strength bars change together. But that doesn't create any problem in usage.

The only problem with miui dev is that the performance, heating, charging rate and battery life keeps on fluctuating significantly with every weekly update. This 7.5.23 seems pretty good but sot is around 6hrs only.
[Xiaomi Redmi Note 3 Questions & Answers] mermade:
Thanks for the detailed reply :) Not sure what changed but when I connect the earphones now, my phone detects it. I tried it like three times and it detected it all three times. I guess this is a temporary issue and is triggered by some apps/settings. I will continue to monitor for any changes. I am not having other hardware issues like fingerprint sensor/any SIM/network issues so don't really want to take the risk of bricking the phone by flashing/rooting. Thanks!
[Xiaomi Redmi Note 3 Questions & Answers] Vagisha:
Same problem with my phone too.I don't want the third party app.I tried everything but nothing seems to help.Please help me.
[Xiaomi Redmi Note 3 Questions & Answers] Doplan:
As [MENTION=5816574]sasukay[/MENTION] said, push it half way in for couple of seconds and the earphones will start working normally. This was later fixed for me in later Xiaomi.eu ROM's, and never happend in other custom roms like LOS or RR.
[Xiaomi Redmi Note 3 Questions & Answers] XiaomiRedmi5Plus:
I have the exact same problems as the starter of this thread. Unfortunately none of the answers work as a solution for me on my Redmi 5 Plus. Why haven't Xiaomi fixed this?
[Xiaomi Redmi Note 3 Questions & Answers] reasonablebasis:
I've had this issue twice, and upon researching for it in XDA the solution that worked for me is to just simply plug and unplug an earphone numerous times until it finally works properly. This seems to be related/similar to the solution recommended by sasukay.

This solution also works for the issue the other way around, when the phone perpetually detects an earphone when there is none.
[Xiaomi Redmi Note 3 Questions & Answers] muntaim:
Thanks a lot brother. You are a lifesaver. Researched and tried many processes none of them worked. But your one solved the problem within seconds. May god bless you.
[T-Mobile Samsung Galaxy S8 Questions & Answers] wolfgart:
talking about this update just available for Exunos variant:

[YOUTUBE]ei3LGtxg6FA[/YOUTUBE]

Can't wait to have in my Snapdragon variant
[T-Mobile Samsung Galaxy S8 Questions & Answers] stmims1124:
For some reason I decided to manually check for updates and it showed up this morning, including the June security patch (on the T-Mobile variant). After the update the Play Store also did a Google VR Services update.
[T-Mobile Samsung Galaxy S8 Questions & Answers] Charkatak:
I have an unlocked device, but looks like T-Mobile is fast with some updates or features, but for security patch, my unlocked phone is faster as it got June update on 12th of that month.
[Huawei P10 Lite Questions & Answers] Trikfok:
: rolleyes:I DC Phoenix active on the PC does not know yet how long the activation with credits. How can I restore the Huawei P10 Lite phone that does not turn on?

The phone does not go in fastboot mode !!!

Thank you very much for helping

Angel.
[Huawei P10 Lite Questions & Answers] snickler:
Thread closed. Please don't create duplicate threads.
[Xiaomi Redmi Note 4 Questions & Answers] super gosu:
I used to make my own bootamimation.zip and all of those worked very well.

but, today I tried to make new one with boot animator beta5 as usual, but phone never let me watch bootanimation.

There's just black screen.

So I tried to adjust old bootanimation, and it works.

But, when I unzip and zip it again, it becomes black screen too.

What am I suppose to do?
[Xiaomi Redmi Note 4 Questions & Answers] Kronos_4:
I had the same problem , but now I solved it . Here's how -

1) Make sure to make the zip from 7 zip from PC , if not , it won't work

2) give all the permissions to the zip , that means rwx rwx rwx .

And there you go , it should work . Reply if you got problems
[Samsung Galaxy S8 Guides, News, & Discussion] Nathan5900:
Delete
[Samsung Galaxy S8 Guides, News, & Discussion] Vatsal:
Closed on OP's request.

Regards

Vatsal,

Forum Moderator.
[Samsung Galaxy S7 Questions and Answers] manyone:
hi, i tried to load twrp to modify the /system directory (moving an normal App to /system) but it doesnt work

adb devices shows me my device

adb reboot bootloader reboots only to normal system and fastboot devices show nothing

what do i wrong or isnt it possible to do this on S7 with stock rom ?
[Samsung Galaxy S7 Questions and Answers] manyone:
no suggestions ?

nobody ? really ?
[Huawei Mate 9 Questions & Answers] mermaidkiller:
I downloaded some themes.

Then I opened the Themes app (stock) and went to the ME tab and saw 'Default' (of course) and 'XDA_Exclusive_for_EMUI5_v1.1'. This one works fine.

But these three don't show up in

Simple_Mono_Dark_for_EMUI5_v1.1

Paint_It_Black_for_EMUI5_beta1

Dark_Bloom_for_EMUI5_v1.0_icons_huawei

despite they are downloaded and shown in /sdcard/HWThemes , along the other ones mentioned above.

What is going wrong here?

I downloaded these via the Themes app and the EMUI Theme factory app.
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] ebrahimN:
very good room put this launcher is not good
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Amanullah:
with some lag :(

---------- Post added at 09:47 AM ---------- Previous post was at 09:47 AM ----------

sound cracking many times

---------- Post added at 09:48 AM ---------- Previous post was at 09:47 AM ----------

videos play but sound play after 2 or 5 seconds
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] ebrahimN:
no its fine

however

i change it
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Amanullah:
What you changed?
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Anhlaaizai:
what's the true stable?
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Amanullah:
Deleted
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] FardeenTGO:
"The higher, the better"- Law of XDA.
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] pengse:
This rom work on 360h or not?
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Amanullah:
nah never and check op
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Amanullah:
Is there any update coming?
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Delta5104:
Is there any chance a ViperOS for g360h i need it real bad... I'm in love with the rom!!!plz
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] peter yang2:
Best ROM but Why when i called to anyone my phone screen of ..how to fix it?

---------- Post added at 04:37 PM ---------- Previous post was at 04:34 PM ----------

Yes , i use g360h
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] pengse:
Try to use Gapp lite zip just 50mb
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] GuestK00210:
NEW UPDATE

lot of bug fixes

updated to python 2.1

https://drive.google.com/file/d/0B2BVNSuLC6xFSjlzSFBnSzc2bmc/view?usp=sharing
[Samsung Galaxy Core Prime ROMs, Kernels, Recoverie] Make Maltsev:
DELETED
[Windows Mobile Development and Hacking General] karaz:
hi

is it posible to use SD card or a part of it as main memory

coz my phone have like 20MB free memory after inastalling WM5

and even when i install programs in SD main memory keep being short

tell i run out of memory

can i install WM5 in SD card ? so all programs wimm go directly to SD

or any other soultion ?

help me plz !
[Windows Mobile Development and Hacking General] karaz:
any one plz ?

u also can say no :\
[Windows Mobile Development and Hacking General] zielas27:
No, unfortunately you cant use memory card as device memory :( It depends on given application whether you can install it on card or not... most of it would install some parts in device memory even if you've chosen memory card... usually link files. Your only solution is to find "big storage" rom for your device and flash it.
[Samsung Galaxy S8 Questions and Answers] Nathan5900:
A developer to make a rom stock ultra debloat?
[Samsung Galaxy S7 Edge Questions and Answers] jack allen:
Yes there are various ways to do that via custom rom etc just look
[Samsung Galaxy S7 Edge Questions and Answers] Craz Basics:
I don't have an unlocked bootloader (Screw US carriers -_-) so there isn't many ROMs to flash
[Samsung Galaxy S7 Edge Questions and Answers] jack allen:
Ah right ok sorry to hear that bro what model is it i may be able to point you in right direction
[Samsung Galaxy S7 Edge Questions and Answers] Craz Basics:
G935A, I could go g935U if I need to
[Moto E3 Questions & Answers] CherokeeDev:
Please, we don't have stable ROM on this forum...

We don't have an stable Lineage OS.... I've buy this phone but I should not have...

Please, developp ROM :crying:

We need an hero :victory:

Sorry for my bad english..
[Moto E3 Questions & Answers] TheLastAlphaUK:
Omg this is so true!!
[Moto E3 Questions & Answers] yash@:
Yesss plzzz we need more
[Huawei P10 Lite Questions & Answers] Trikfok:
I DC Phoenix active on the PC does not know yet how long the activation with credits. How can I restore the Huawei P10 Lite phone that does not turn on?

The phone does not go in fastboot mode !!!

Thank you very much for helping

Angel
[Nexus 9 Q&A, Help & Troubleshooting] leif2:
I may have dropped my Nexus 9 too many times the screen has been completely unresponsive. This happened a couple times before at first the screen would flash White when I would try to touch something and then no response at all. After rebooting and then hard rebooting it would temporarily restore touch but now that won't fix it. I saw a guide that says I need to open up the case and check the wire connecting the display to the motherboard is secure and undamaged. Is this hard to do? Wondering if I should put on Craigslist for parts.
[Nexus 9 Q&A, Help & Troubleshooting] leif2:
To be clear the screen doesn't appear to have any damage and the power button and volume rockers still function to turn the Nexus 9 on and off I want to know if I'll be able to refasten a cable myself if I open this up to fix if it's just a loose cable
[Nexus 9 Q&A, Help & Troubleshooting] sunmybun:
You could try to open it up and check it out. there are number of teardown videos on the web such as: ifixit .

I would say the screen might've been messed up.

but if you are going to sell it, i could buy it from you too.
[Nexus 9 Q&A, Help & Troubleshooting] leif2:
I'm in the Bay Area I don't know how we would conduct a sale I've never sold anything on eBay although I do have an ebay account but yeah I don't think I want to open it up unless it's easy to locate a possible loose wire culd be causing the problem. I'll I was going to list it as a local pickup Craigslist listing
[Nexus 9 Q&A, Help & Troubleshooting] sunmybun:
if you dont want to open it up, ill buy it from you even though im on the east coast.

how much are you willing to sell it for?

i can make it work if the price is right hehe

i wouldnt ask for dirt cheap though
[Nexus 9 Q&A, Help & Troubleshooting] leif2:
If it was relatively easy to locate The Wire to check if it's loose or not I'd be willing to open it up but it does not appear that this is the case. I'd sell it for any reasonable price I don't know what it's worth in its current state. the screen has no scratches. Would you be willing to deposit cash into my PayPal account and then I would mail you tablet by Trust? or how would you propose to proceed? my PayPal is not set up as seller
[Nexus 9 Q&A, Help & Troubleshooting] sunmybun:
ill pm you my number, we can text.

i think one of xda's rules dont allow selling or buying of items.
[Nexus 9 Q&A, Help & Troubleshooting] leif2:
I held down the power and volume down button until I got to menu that let me do a hard boot Under fast boot. tablet then restarted and let me use the touch display after threatening not to unlock after flashing white a few times this is what happened when I did factory restart and after a few hours touch failed again so I'll report back again if touch again fails which I expect it to.
[Moto G5 Plus Questions & Answers] bobocuwado:
Hey everybody,

I just bought the "new" Moto G5 Plus. I am pretty happy with it. But recently I found out that the area around the earpiece on the frontside tends to become warmer than the rest of the phone (which stays enjoyably cool). My question now is whether this is something common or something which I would need to get fixed. What are your experiences on this topic. Some shared experiences would be largely appreciated. Thanks beforehand.
[Moto G5 Plus Questions & Answers] Knutselmaaster:
The only thing that gets warm on mine is the back, on the bottom, when I have a bad (3g/4g) connection if I transfer big amounts of data and the battery when I use turbocharger.
[Moto G5 Plus Questions & Answers] bobocuwado:
So do you think I should send it in or you think this is something normal ?
[Moto X Q&A] eeljas:
Hi,

I have a problem with my phone at random times it makes wierd crackling noise, I tried to clear all cached data and rebooting it but it didn't help for long ~2hours.

I have heard that it's a famous problem amongst many Android phones, so I wonder if there is a simple fix for that? I (I have a xt1058 at&t version running on stock lollipop rom and unrooted ) I'd be really thankful if there was a fix. :)