yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] jajk:
[MENTION=7206918]efr07[/MENTION] The boot image is based on 7.1.4 which contains the latest kernel for our phone. The 7.2.30 kernel is same version with added support for fingerprint sensor which we don't have and does not perform as well.

I expect the 7.1.20 kernel will be exactly the same also but if you want to link to it, I can quickly check that out....

[MENTION=5850987]DarthJabba9[/MENTION] The reno2 is the right choice for the low price once we have beaten the O.S into shape:)

The haters will always be haters until they own a Ulefone (Star) which should stick to making fake Samsungs and IPhones because then you knew you were buying Chinese crap.

MT6753 cpu makes a good heater for those cold London nights - no frost-bitten hand or ear as long as you stay on the phone:)

That reminds me, in latest version, locale information is removed from default.prop so it can be set solely in build.prop. Diplomacy at its best;)
[Redmi Note 2 General] efr07:
Here is a link to the core 7.2.1.0 https://cloud.mail.ru/public/MnbX/JTRebBU5n
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I'm glad I chose the RN2 then :) I did research both devices a lot, and ended up choosing the RN2, bu I don't remember why exactly I did so! Perhaps for next winter I might choose a phone with the 6753 chip!

Yes, locale should probably be left to build.prop ...
[Redmi Note 2 General] tonydeli7:
Guys, I am using the latest developer rom from Multirom.me(I used stable 7.1.2.0 and flashed yesterday the developer), after installing all my apps(158) I get 1.2gb RAM free after half day use. So did the stable one.

Maybe you use that as the base.. I tried once but ended up in bootloop because I removed too much.. :P
[Redmi Note 2 General] jajk:
[MENTION=7206918]efr07[/MENTION] Thanks for the link - downloading now and will report back soon

[MENTION=468748]tonydeli7[/MENTION] Testing 7.2.10 boot.img now to see if the kernel is newer etc. .
[Redmi Note 2 General] jajk:
[MENTION=7206918]efr07[/MENTION] Can you tell me if the following files exist in the 7.2.10 ROM?

/system/xbin/mdbd

/system/bin/mtd

/system/bin/tlcMkm

On first test run, the 7.2.10 skinny boot.img is slower with raised idle activity much like I found playing with the reno3 boot.img.
[Redmi Note 2 General] efr07:
/system/xbin/mdbd

/system/bin/mtd

/system/bin/tlcMkm

These files do not exist
[Redmi Note 2 General] jajk:
O.K the 7.2.10 boot.img is same version kernel with a bit added to deal with locked bootloader. I recommend that you do not use the preloader, uboot and boot.img from this ROM - it may lead to being locked out of your phone at some stage - particularly since we are messing around with stuff. Stick with the preloader and uboot from any version back to 7.1.1 (all the same versions) and use my 7.1.4 based boot.img for the 7.2.10, 6.3.30 and 7.2.30 ROMs.

If you want to run with the 7.2.10 boot.img, careful not to mix'n'match preloader and uboot with other ROMs.

Never say never:)

I have a new test version that has disabled the mdbd daemon on suspicion this is a Xiaomi modded version of adb over USB that calls home without you knowing. It is likely to affect connectivity via MiSetup suite if anyone really uses that:confused:

Tested and it does not affect MTP, PTP or ADB operation over USB. Effects may not be limited to USB connectivity.

Looking for volunteers to load this and report any unwanted side-effects:fingers-crossed:

https://drive.google.com/file/d/0BwdRTuyj12_yZ3dFdHlaMmhMV1U/view?usp=sharing
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] I will definitely test that boot image for you. One question though, unrelated; The miui download accelerator crap is still running on my phone, and I don't know how to get rid of it. I already removed the mi store. How do I get rid of it "accelerating" my downloads?

Edit: Also I am running 7.2.3.0 so would I still be an ideal test server for this bit image?
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] The accelerator option should not be present if you have also removed Traffic Control and replaced the Web Browser with something else. Make sure you have disabled VPN in Settings/More (defaults to On). Unfortunately, all Xiaomi apps are woven into each other and into MIUI to purposely make it difficult to peel back the layers. Have you kept any Xiaomi apps / functionality?

Please do test the latest boot.img. I am running it without problem so far but no Xiaomi services are tested by me.
[Redmi Note 2 General] jajk:
Those on 7.2.10 should have a look here:

http://www.needrom.com/download/nik-rom-project-multirom-7-2-1-0/

There is mention of built in viruses but I guess it depends on where you got the 7.2.10 from.

Best check rather than be sorry....
[Redmi Note 2 General] DarthJabba9:
It seems to run fine without any problem. What kinds of problem am I supposed to be looking for?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] [MENTION=7150090]Sleepy_Augie[/MENTION] The mdbd service is something that runs over USB. It appears to be some sort of tunneling network protocol looking to find a connection via USB to a network and then back to Xiaomi.

I have tested MTP, PTP, adb, fastboot, USB tethering, media device functions all still work without it and the phone almost feels faster all round. Watch the idle cpu load before and after - I think it is quieter without mdbd.

The things I can't test are anything Xiaomi + USB related. Nothing springs to mind but I don't walk in that world;)
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] I am using the boot image right now and it seems to work for me. I am still using themes, so I guess it works with at least the basic xiaomi services (I'll keap you posted next time I plug into a USB though). Also deleted the mi account backup (is that the name of it?) which I guess is fine (?), kinda lost track.

Also, still getting accelerated. I turned the VPN off, had already removed traffic control, and have a different browser. Maybe it's not acceleration even though it says it is? Idk what to do about it.
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] Nothing seems to have gone awry so far. I am able to change themes, use my Mi Band, etc. USB connections to the PC seem to be fine.

PS: I notice that some of the themes are using a lot of memory. I might just use only the skinniest nice theme (once I discover what that is - that is probably the default theme - but who knows?).
[Redmi Note 2 General] tonydeli7:
That mdbd service might be used for rooting using the Security app because it says "install over usb"...

In the latest developer edition, you also have the ability to control app installs from usb.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] Open Download app and go to Settings and disable Xunlei Download Accelerator.
[Redmi Note 2 General] jajk:
New boot.img to test....

This one is the previous test version (boot-no_mdbd) with the following services additionally disabled:

MATV - possibly not for our device - check all sdcard rw functions still work. May be related to miracasting to TV?

met_log_d - not for our device

mobile_log_d - part of MTKLogger - pretty useless

bugreport - part of KLO Bug Reporter - useless

https://drive.google.com/file/d/0BwdRTuyj12_yU0ZXSXM1U1YwYkk/view?usp=sharing
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] If you go to Settings->Installed apps->All, and scroll right to the bottom, you will (at least, I did) find "JejeenMiuiContainer". Shouldn't this have been consigned to oblivion after all the skinnyfying?
[Redmi Note 2 General] vermillions:
Anyone know how to disable XMpushservice even when disabled via disable service it re-enables itself. It is associated with multiple apps and is said to be one of the main reporting services to Xiaomi. On the 7.2.30 rom it is used by Xiaomi frame work only but if you delete the frame work other apps will start the XMpushservice. Simalar situation in the China stable rom.

Also I have the same problem as Darthjabba9 in that if I delete the framework I get the sim no connection icon
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Just you, or at least, not on my phone;)
[MENTION=1915382]vermillions[/MENTION] You are correct in stating that XMPush is the main culprit in reporting back to Xiaomi. I am also using Disable Service app and see the same behavior. If you or anyone figures out how to kill it dead, please spread the joy around.

The no sim connection issue is a strange one that is reported on many forums for many different reasons. I remove the framework and it is not the root cause of the problem. I have seen it twice on 7.2.30 and fixed it once by reflashing from backup and the second time by going into eng mode and setting the network to 3G/2G auto which is not available through normal settings in this ROM. I am thinking it does not switch network types properly and gets stuck. Try recovering by messing with the eng mode settings next time. There was a patch to select the auto modes in Settings but doesn't work with later versions:(

Confirmed MATV service is not for our phone so it can safely go.

The last test image looks like it will be the official stable build if I hear nothing bad about it in the next day or so.
[Redmi Note 2 General] vendingo:
jajk:

XMPushService - service runs in the case of forced removal "Xiaomi service framework". If you freeze (Titanium Backup etc) this service instead of the removal - all ok.

One more tweak:

You can limit max GPU freq:

echo 253500 /proc/gpufreq/gpufreq_opp_max_freq

chmod 0444 /proc/gpufreq/gpufreq_opp_max_freq

Available frequencies in a file - /proc/gpufreq/gpufreq_power_dump

Sorry for bad english.
[Redmi Note 2 General] Sleepy_Augie:
Using the latest boot image with no problems, no more acceleration thanks to [MENTION=5952980]jajk[/MENTION], and using trickster mod to apply most of the values from post 2. Everything is working well!
[Redmi Note 2 General] DarthJabba9:
Don't you mean "echo 253500 > /proc/gpufreq/gpufreq_opp_max_freq"
[Redmi Note 2 General] jajk:
[MENTION=7352283]vendingo[/MENTION] Thanks for the info. I will add that to the next re-write which will be very soon. Do you limit GPU to save battery? Can you notice graphics performance drop off?

I would prefer another way of stopping XMPush service without having to reinstate Xiaomi framework......it is an evil thing that Xiaomi and most other china manufacturers do to their ROMs.

While XMPush is obvious, there are Xiaomi services that can use FTP which is equally disturbing. But then when we see Google Play with 406 available services to exploit your data it kinda makes you wonder who the bad guys are:confused:
[Redmi Note 2 General] jajk:
Hmmm... seems like reinstating Xiaomi service framework is not the perfect answer. I get the app starting and running XMPush even when frozen so there is no gain.
[MENTION=1915382]vermillions[/MENTION] [MENTION=7352283]vendingo[/MENTION] Is that what you are seeing? Does App Quarantine stop the app running better than TB or SD Maid?

Looks like XMPush is wrapped up in MiuiSDK app which we can't delete also.........tried renaming the associated framework for XMpush but FCs all round:(

I will be adding MTKAndroidSuiteDaemon, MtkFloatMenu and MTKLogger to the delete list unless anyone can tell me a of some use in keeping them???

If you are on the latest test boot.img, have a go at reducing the timer_rate value down a little - I am now on 32000 with stable idle at 403MHz. If you go too low, you will see the idle freq starting to toggle between 403 and 806 often or barely sitting on 403MHz. Less apps & services running - the lower you can get this.
[Redmi Note 2 General] vermillions:
I haven't tested for long, but when the framework is frozen with app quarantine, i then check with disable services and that shows all services associated with the framework disabled apart from one XMpushservice, which is not active. I have also checked after a reboot and service is still inactive. I need to check for longer to see if the service activates, but got work today.
[Redmi Note 2 General] jajk:
Boot.img gone final in first post - there is no juice left to squeeze out. Don't bother updating if you are already on the last test version - same thing.

Minor alterations to the 1st three posts to catch up with latest developments.

Thanks to all contributors for adding their knowledge and experiences - keep it coming:)

Can't resist this......an inspirational target for all wannabe Skinnifiers: (and no zram involved)
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I am on the latest boot image, and it all seems to be working fine.

My primary concern now is not so much with Xiaomi bloat, but with the greatest battery hog of all time. It displays under GSAM as "Audio On". It keeps the cpu awake for hours on end. It is triggered by notification

sounds

from such apps as Gmail and WhatsApp. And then it stays on until someone manually does something about it. Greenify does not help (you wouldn't want to hibernate Gmail or WhatsApp anyway). In fact, I have uninstalled Greenify, as I have not found it particularly helpful in enhancing battery life.

Without the "Audio On" keep awakes, battery performance (especially during idle times) is stellar. Perhaps this is something that should occupy or collective attentions now - or am I the only one having this problem?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] What media player apps are you running? Sound FX app? There has been talk somewhere about some media apps being very wakelocky. Might have been Viper that was mentioned but not sure.

I ran wakelock detector overnight and get virtually nothing except Google Play being a prat for about 8 secs total. I have no audiofx app and only run VLC for media player. I also get zero battery drain over 18hrs if I sit the phone down and leave it alone.

Yes, bring out your wakelock and annoying running services issues - we will concentrate on those since the boot.img is final and I think most are happy and in control of their init.d scripts.

Please state which base ROM you are on so we can see if certain ROMs have odd behaviours.

I will clear out Post #4 and use that as a place to list tools and items under investigation.
[Redmi Note 2 General] DarthJabba9:
I am not running any media player apps. I have MX Player installed, but hardly use it. The problem only arises when a notification sound is triggered by certain apps. GMail and WhatsApp are the main culprits. When text messages arrive and trigger a notification sound from the (stock) Messaging app, this does not result in the "Audio On" problem. So perhaps the Messaging app, does things politely, and doesn't leave anything eating the cpu, while the other two are badly behaved?

PS: base ROM = 7.2.3.0

PSS: this is not the only phone where I have noticed this problem.
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] On Post #1, you have this

chmod 0444 [COLOR="Red"][B]>[/B][/COLOR] /proc/gpufreq/gpufreq_opp_max_freq

I think what you mean is

chmod 0444 /proc/gpufreq/gpufreq_opp_max_freq
[Redmi Note 2 General] DarthJabba9:
Can this be safely deleted?:

/vendor/lib64/libfingerprint_tac.so
[Redmi Note 2 General] vermillions:
Xmpush still not running for me after app freeze of xiaomi framework. I am on 7.2.30. By default Xmpush is disabled in Xiaomi apps apart from the framework and that shows two XMpush services one of which is disabled and the other enabled. If you disable the enabled one, the Xiaomi apps auto enable xmpush on individual apps.

If someone can test on a fresh install:

Disable all miui sdk services

Freeze Xiaomi framework, it should now show all services apart from the bottom XMpushservice disabled and leave that one enabled.

Then reboot and see if XMpush is running or if you can get it running using other apps.
[Redmi Note 2 General] DarthJabba9:
Safe to delete: Battery Saver app
[Redmi Note 2 General] Sleepy_Augie:
Tried this, seems correct. Deleting one of the mtk things suggested by jajk gave me a "battery saver crashed" message at random intervals, so deleting battery saver helped a bunch : )
[Redmi Note 2 General] cafezeenuts:
[MENTION=5952980]jajk[/MENTION] i could not find libweibosdkcore.so in /system/lib, but instead in /system/lib64 Cheers
[Redmi Note 2 General] Sleepy_Augie:
Well, camera isn't working after a recent delete. Either mtk or battery saver. Anyone else have this issue? [MENTION=5850987]DarthJabba9[/MENTION]
[Redmi Note 2 General] DarthJabba9:
That is why I deleted it too (after doing a bit of research on the error message).

---------- Post added at 11:35 PM ---------- Previous post was at 11:23 PM ----------

Yes, I am having thios issue too. I am currently investigating it.
[Redmi Note 2 General] cafezeenuts:
Yeah I have the same issue.
[Redmi Note 2 General] DarthJabba9:
I've restored Battery Saver, and I still get the problem, so I don't think it's Battery Saver - it's probably one of the libs ...
[Redmi Note 2 General] Sleepy_Augie:
The recent ones in jakj's post, or one that was part of battery saver?
[Redmi Note 2 General] DarthJabba9:
The ones in jajk's recent posts. I've restored all the deleted libs, and everything is working again.
[Redmi Note 2 General] DarthJabba9:
This is the TWRP update zip package to restore the deleted libs and the Battery Saver. Clean cache after installing (you can leave Dalvik).

When I have time, I will investigate the libs one by one and see which one is causing the problem - but that won't be today.
[Redmi Note 2 General] cafezeenuts:
Thanks for providing the restore zip, i was about to re flash the rom. Cheers
[Redmi Note 2 General] Sleepy_Augie:
Yes, thank you very much!
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] libfingerprint_tac.so safe to delete and added to list as is everything called fingerprint except the line in build.prop # Do not try to parse description, fingerprint, or thumbprint which is not talking about fingerprint sensors or apps.

[MENTION=2771703]cafezeenuts[/MENTION] Yes, Cheers added to list (is that Cheers.so or just Cheers?) Not everyone will have all the files or apps mentioned - depends on what base ROM was used.

Battery Saver / Battery Warning ironically chews the battery so you are better off without them. Normally they complain when Whetsone app and associated files are deleted.

Camera looks fine, just won't take pictures. You guys are hard to please:p

Will fix it shortly.
[Redmi Note 2 General] jajk:
Sorry guys:( Camera fault caused by deleting libmatv_cust.so which I thought was obsolete since matv service not loaded in boot.img
[Redmi Note 2 General] jajk:
[MENTION=1915382]vermillions[/MENTION] What I see with Xiaomi framework installed or not is there is always one instance of XMPush running. Whether or not it is shown as being associated with one app or another is probably a distraction from the pursuit of killing it off totally. I am pretty sure it is part of MiuiSDK which refuses to be frozen so it may be a futile pursuit but never say never;).

In my case with the framework uninstalled, the one instance of XMPush service can be chased around Download Manager, Phone or Security but never defeated.
[Redmi Note 2 General] cafezeenuts:
There is no "cheers" file in lib. I was just saying cheers at the end of my post. :silly:
[Redmi Note 2 General] DarthJabba9:
Deleting it caused a persistent FC of com.fingerprints.service. Only restoring the system image fixed it. Why is that service running anyway?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Because you are using a reno3 ROM:p

Apart from deleting the startup of all fingerprint related services in the boot.img, deleting all fingerprint apps, removing references in build.prop and the now unused libraries is up to the user. If anything triggers the fingerprint services, they will still start if they still exist.

[MENTION=2771703]cafezeenuts[/MENTION] ....and Cheers to you too:o

I hope everyone is back taking copious selfies again:o
[Redmi Note 2 General] jajk:
Don't forget to pickup my new TWRP3.0.0-3 here: Free to the first 1,000,000 customers;)

https://drive.google.com/file/d/0BwdRTuyj12_yMEd5VzZQSW13Nkk/view?usp=sharing
[Redmi Note 2 General] Sleepy_Augie:
Deleating sensor test tool and com.fingerprints.service

and com.mediatek.batterywarning

Let's see how this turns out :)

Edit: looking good so far. We'll see what happens when the device is low on battery. Can someone confirm that these are fine to delete?

---------- Post added at 11:15 AM ---------- Previous post was at 10:45 AM ----------

I feel really dumb right now, but can someone tell me how to download apps over data? It keeps saying "waiting for wifi to download large app".
[Redmi Note 2 General] DarthJabba9:
I have that problem as well, and I haven't worked out how to get around it. It seems to be to be a GAPPs problem, because it is the Play Store that is doing this.

---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------

Is this a new version? I have your earlier one. What's different with this one?
[Redmi Note 2 General] Adam Hui:
open download app (if u didn't skinnied it down :P ) > setting > download size limit > unlimited.
[Redmi Note 2 General] Sleepy_Augie:
Ah, thanks! So many of my problems come from the download app lol.
[Redmi Note 2 General] DarthJabba9:
I have deleted com.fingerprints.service, com.mediatek.batterywarning, and libfingerprint_tac.so (in that order). No problems so far.
[Redmi Note 2 General] Sleepy_Augie:
Just made it to low battery, and the notification that came up didn't do any FC's. Seems that battery warning thingy is fine.
[Redmi Note 2 General] DarthJabba9:
Thanks for confirming that.

I found these directories, each with an apk file in it:

/system/app/jjcontainer/

/system/app/jjhome/

/system/app/jjknowledge/

/system/app/jjstore/

Does anyone know what these directories are? Are these all part of the "Jejeen" stuff that should be removed?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] It says it is a new version and has a bigger version number - would I release the same version twice? TWRP has a website where you can see what has changed between 3.0.0-0 and 3.0.0-3

Yes, the files are all part of Jeejen.
[Redmi Note 2 General] jajk:
Anyone got a link to v24p52 modem files for reno2 or reno3? I think the v24p51 version might be causing a few problems....
[Redmi Note 2 General] vermillions:
jajk we must have a difference in setup as i have no instances of XMpush running. Did you just re-add the framework or did you recover to a time before you had deleted the framework. I will upload my disable services DS_backup.txt for you to have a look at if that will help.
[Redmi Note 2 General] jajk:
[MENTION=1915382]vermillions[/MENTION] I re-added the framework. I might re-install from the start to see where a couple of things start misbehaving....

Here is a great tip found on the 4pda site - unknown originator. It works like a charm:)

To remove the music player widget from the notification area:

Rename /data/data/com.android.systemui/files/statusbar_music.maml to statusbar_music.maml.bak

Added PowerKeeper (Battery Saver) and FTPrecheck to removals list 21.03.16

Also from 4pda, these are v24p52 modem files from Resurrection 5.5.9. They look like p48 but they are p52 - trust me;)

I am running these now to see if they are less prone to the no service, no sim issue that pop up from time to time.

https://yadi.sk/d/ZImWkGwgqKWQd
[Redmi Note 2 General] Sleepy_Augie:
I never use the music player widget, but the notification area looks kinda blank without it.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] It is a lot easier to pull down now though:)