yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] DarthJabba9:
I have run a diff on my skinny image versus the full image

diff -qr slim/ full/ | sort &> diff.diff

The result is this

Only in full/app: AntiSpam
Only in full/app: BugReport
Only in full/app: CalendarImporter
Only in full/app: CloudService
Only in full/app: DocumentsUI
Only in full/app: FileExplorer
Only in full/app: FWUpgrade
Only in full/app: FWUpgradeProvider
Only in full/app: KingSoftCleaner
Only in full/app: LocationEM2
Only in full/app: Metok
Only in full/app: MiAssistant
Only in full/app: MiLinkService
Only in full/app: MiuiVideo
Only in full/app: Notes
Only in full/app: PacProcessor
Only in full/app: PaymentService
Only in full/app: PicoTts
Only in full/app: PrintSpooler
Only in full/app: SecurityAdd
Only in full/app: textinput-tng
Only in full/app: TrafficControl
Only in full/app: VoiceUnlock
Only in full/app: Whetstone
Only in full/etc: fake_cdrom_install.iso
Only in full/etc: iAmCdRom.iso
Only in full/etc: jeejen
Only in full/priv-app: Backup
Only in full/priv-app: CleanMaster
Only in full/priv-app: FindDevice
Only in full/priv-app: MiDrop
Only in full/priv-app: MiuiHome
Only in full/priv-app: MiuiVoip
Only in full/priv-app: Music
Only in full/priv-app: Weather
Only in full/priv-app: WeatherProvider
Only in full/priv-app: YellowPage
Only in full/: tts

So, for anyone who is feeling

very brave

, and who would like to skinnify the raw files of the 7.2.3 ROM before flashing, all you need do is run this

rm -rf system/app/AntiSpam
rm -rf system/app/BugReport
rm -rf system/app/CalendarImporter
rm -rf system/app/CloudService
rm -rf system/app/DocumentsUI
rm -rf system/app/FileExplorer
rm -rf system/app/FWUpgrade
rm -rf system/app/FWUpgradeProvider
rm -rf system/app/KingSoftCleaner
rm -rf system/app/LocationEM2
rm -rf system/app/Metok
rm -rf system/app/MiAssistant
rm -rf system/app/MiLinkService
rm -rf system/app/MiuiVideo
rm -rf system/app/Notes
rm -rf system/app/PacProcessor
rm -rf system/app/PaymentService
rm -rf system/app/PicoTts
rm -rf system/app/PrintSpooler
rm -rf system/app/SecurityAdd
rm -rf system/app/textinput-tng
rm -rf system/app/TrafficControl
rm -rf system/app/VoiceUnlock
rm -rf system/app/Whetstone
rm -rf system/etc/fake_cdrom_install.iso
rm -rf system/etc/iAmCdRom.iso
rm -rf system/etc/jeejen
rm -rf system/priv-app/Backup
rm -rf system/priv-app/CleanMaster
rm -rf system/priv-app/FindDevice
rm -rf system/priv-app/MiDrop
rm -rf system/priv-app/MiuiHome
rm -rf system/priv-app/MiuiVoip
rm -rf system/priv-app/Music
rm -rf system/priv-app/Weather
rm -rf system/priv-app/WeatherProvider
rm -rf system/priv-app/YellowPage
rm -rf system/tts

- and then edit the updater-script to comment out any references to those directories/files.

You will probably end up with a bootloop if you try to flash the result - but who knows? It might well work. If it does, then you can tell those of us who are cowards :p and then we will know ! And, if it gives you a bootloop, then we will also all be the wiser for it!:D
[Redmi Note 2 General] jajk:
[MENTION=7287632]exiacruzalta[/MENTION] I knew that screenshot would have you come over to the dark side:)

The default build prop will get you started but.....

Changes to build prop that are required for compatibility further down the track are:

ro.product.model=Redmi Note 2

ro.product.brand=Xiaomi

ro.product.name=hermes

ro.product.device=hermes

persist.fingerprint.unlock=0

I change or delete other lines also but that depends on what features have been removed so it will be different.

Another safe deletion:

/system/etc/haptic delete entire folder
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] The fault in your build prop is the locale/region. It has been proven before that Australia/Brisbane works much better:silly:

/system/etc/radv folder may or may not exist since I stopped its creation in the boot.img so a clean install using that boot.img won't have it.

/etc/sensor should exist as it is in the MR 7.2.30 system partition. Maybe a hidden folder perhaps?

A few of the recommended deletions are in a "delete if it exists" category depending on the order of installations.
[Redmi Note 2 General] jajk:
Useful ROM links:

Needrom: http://www.needrom.com/category/xiaomi/

MultiROM: https://multirom.me/index.php?m=app&app=roms

4pda.ru: https://translate.googleusercontent...695717&usg=ALkJrhjvsR-1LBL7b-yCgBHKFMGwYBzEFQ

en.miui: http://en.miui.com/type-83-641.html
[Redmi Note 2 General] exiacruzalta:
lol well my install does go seriously awry as i replaced the defo build.prop with 7.14 one :p and there the bootloop ride began. well back to the drawing board :D repeat until the monster comes alive :victory:
[Redmi Note 2 General] Sleepy_Augie:
I'm using 7.2.3.0 with the edited boot image. I removed a fair amount of junk that you guys said was safe, and everything is running really smooth, so I'm really happy. I also have xposed installed. However, I haven't edited the build prop at all. One more thing I want to remove is the calendar. If I wanted to do this, which system apps would be safe to remove? (Calendar, calendar storage, and Google calendar sync are the three I'm looking at. Would that be safe?)
[Redmi Note 2 General] Adam Hui:
I got 1,3 gb free ram on first reboot after 1st skinny progress MR 7.2.3.0 (i'm still not going deep thru though ;) ) , still not using any scripts, just kernel adiutor & xmister tool.

Still using mr 7.2.3.0 stock kernel since i couldnt d/l [MENTION=5952980]jajk[/MENTION] boot.img on 2nd post, yes gdrive is a crap for me, maybe he'll be a nice to give other...lol.

O yeah, i didnt uninstall xiaomi service framework cuz will break security center, since i love to use it as it's simply a lite replacement of my usual Clean Master routine must have app.. :)
[Redmi Note 2 General] Adam Hui:
Edit: 12+ user apps installed (my essential, gplay, comm, chat, socials, tools, news & some games).
[Redmi Note 2 General] exiacruzalta:
here, have a cookie bruh :o

jajk custom boot.img

https://mega.nz/#!SJ1XmIyJ!OWXsr_lKjr9_SSwEuMNPmZqJ-ec8vkMx8v4-RlV7lXk

the must-have update script

https://mega.nz/#!XNsywYRK!Hfr7zQAsjbXxv0ybRlqmzut98ho9333cQmBw-lT2lno

---------- Post added at 02:36 AM ---------- Previous post was at 02:35 AM ----------

Yes you can, i have no problem removing them. i think they are not system critical apps.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] Build prop edits are not essential to get up and running but later on, if something needs to check which model phone you have, it will report itself as a reno3 which is possibly not good. Do the basic edits I mentioned then everything is good. You can delete just the Calendar app and replace it with the standard Google version or delete the whole lot. Messenger can also be replaced with the stock Google version but Contact/Dialler is somewhat trickier as it is embedded heavily and the Google replacement won't work unless someone can backwards port the latest Google Contacts app to work on 5.02???

[MENTION=4666525]Adam Hui[/MENTION] Have another cookie:) Security Center doesn't break if you delete xiaomi service framework. Only thing worth keeping (by necessity) is the permissions manager and data usage components. Tencent Virus is crap and spyware, same as Blocklist and Cleaner. Attractive GUIs do not make good apps......

Hmmm... people starting to mix their tweaks:confused: I should release some more tweaks that give Qualcom-like performance to our device:laugh::laugh::laugh:

P.S I get 1.5GB free when freshly cleared out background tasks
[Redmi Note 2 General] exiacruzalta:
lol can i have tweak that make my reno2 transform? like persist.transform.reno2 = mi5? :D

wow, 1.5gb?first boot or after apps loadout?with zram?
[Redmi Note 2 General] DarthJabba9:
Which version of xposed did you install?

---------- Post added at 06:32 AM ---------- Previous post was at 06:18 AM ----------

I found the /etc/sensor (used a different root explorer).

PS: within the next 2 months or so, London will be like Brisbane is now, and Brisbane will be London is now :victory:
[Redmi Note 2 General] Adam Hui:
Yes, please release it at OP, indeed.

then u've beaten me :D , btw i didnt disable any bloat & unuseful services module in any apps yet... so 1,3gig is not the final... ;)

---------- Post added at 01:56 PM ---------- Previous post was at 01:32 PM ----------

Just flash [MENTION=5952980]jajk[/MENTION]'s kernel by twrp.

Stupid question : i must edit tis script to put the header #!/system/bin/sh & add blank line at the end, then rename this script by 01_tweak , put it in etc/ini.d folder right ??

(i read it at the OP)

How can i change the permission to 0755, instead i only know about rw-rw---- ??
[Redmi Note 2 General] DarthJabba9:
I also have 1.3GB free after clearing out background stuff (I have 125 of my own apps). I think I should be happy now!

---------- Post added at 07:00 AM ---------- Previous post was at 06:57 AM ----------

@Adam Hui - I use a terminal app to change permissions ("chmod 0755 blah.blah"). But if you just reboot, everything in /etc/init.d will magically get 0755 permissions (the custom boot image does that).
[Redmi Note 2 General] exiacruzalta:
[MENTION=4666525]Adam Hui[/MENTION] no. its not an init.d script. it is the update script. look in the zip, a folder named META-INF. open com folder, open google folder and lastly android folder. there you will see update binary and update script. replace the one inside the folder with the jajk one. (you can backup the original script)

i usually use root explorer to change permission, rw-r-r if i not mistaken is 6-4-4

---------- Post added at 07:18 AM ---------- Previous post was at 07:16 AM ----------

1.3GB free with 125 apps, thats already an achievement :good:

[MENTION=5952980]jajk[/MENTION] you said in your new boot image you disabled another useless service. may i know what is that?
[Redmi Note 2 General] Sleepy_Augie:
I installed xposed miui edition v80 (fixed) by solarwarez. Kinda salty rn though because it broke crunchyroll, and i can't seem to fix it.

---------- Post added at 11:02 AM ---------- Previous post was at 10:51 AM ----------

Anyone have a small specific list of apps NOT to delete if I want to keep the themes functionality? Idk if I can delete mi credits or framework for this reason.
[Redmi Note 2 General] exiacruzalta:
you can delete micredit, theme use the xiaomiframework, thememanager and miwallpaper.apk i guess

P.S Crunchyroll? hmm, have you read koe no katachi? lol :D
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I have problems with files randomly not showing up in Root Explorer (2 versions) so tried MiXplorer - same thing happens. It seems to be files that are hidden don't always show up.

What app did you use to see the files?

Yeah, not looking forward to our winter season, I can't handle the 2 weeks when it drops below 10C overnight:laugh::laugh::laugh:

To All - You will not beat my 1.5GB free while still sucking on Xiaomi's teat:D

Anyone playing with what seems like later versions, take a look in the build.prop for this line:

ro.mediatek.version.release=ALPS.L0.MP6.V3.18_LCSH6795.LWT.L_P201

The P201 is the telltale sign of what release this is. The other numbers will change depending on the target device i.e. Hennesy or Hermes so mean nothing as far as how new the release is.
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I used ES File Explorer. It is beginning to look like the most reliable of them all. I agree that one will not beat 1.5GB while there's any of the Xiaomi stuff at work. So I am happy with my 1.3GB - but I would not like any superfluous files or apps lying around either, so I'll still be on the lookout for more things to delete.

As for below 10C overnight, it feels colder when it's in Brisbane!
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Thanks, will give ES a go and see if it reliably shows up all files. Brisbane does get too cold in winter for me so I stay further north;)

I think we are seeing a new breed of skinny emerging that is a bit on the tubby side, but not morbidly obese like stock. Do we need to fork off?
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I'm not sure it's that tubby - it's basically your super-skinny minus Mi Account and Xiaomi service framework, which I think are needed if you have a Mi Band - although I might test out whether Xiaomi service framework is really needed for that [Edit: I've deleted the service framework, and it doesn't affect the functionality of the Mi Band]

PS: you still haven't said whether Mi Cloud backup is safe to delete ...

And what is "Setup Wizard 2.0?"
[Redmi Note 2 General] Sleepy_Augie:
What functionality will I lose/ what will crash if I remove mi account? I just want themes and music stuff to work. Also, sorry if it seems like I'm just reaffirming things that are OK to delete, but there isn't a list which says what each system app deletion actually effects (I feel that this info in OP would help a lot of people).
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] MiCloud backup can definitely be deleted. No idea what Setup Wizard 2.0 is - I didn't have it but I did a cut-down install.
[MENTION=7150090]Sleepy_Augie[/MENTION] I will take on board your request for the next rewrite. Deleting Mi Account will stop you getting Xiaomi online content for the themes and anything else that gives you an option of getting some extra online. Do a backup, delete the app, see what you are missing, restore if not acceptable. The benefit of having TWRP;)

Seems like ES File Manager and Total Commander are not affected by a bug that causes the odd file not to be displayed which affects Root Explorer, MiXplorer and Amaze File Manager

I ended up on Total Commander which is not owned by Baidu so doesn't have the urge to phone home all the time.
[Redmi Note 2 General] Xabadou:
I Have uploaded my Lite version of multilanguage Xiaomi.eu Miui 7.2.1.

Xiaomi.eu version come without chinesse apps.

Deleted apps (in Rom and updater-script lines):

-Analytics Core

-Antispam

-LiweWallpapersPicker

-Notes

-Pac Processor

-PicoTts

-PowerKeeper

-PrintSpooler

-QuickSearchBox

-Whetstone

-XMRemoteController

-MiDrop

-Mipub

-YellowPage

-Baidu_Location

After Rom install, Installing SuperSu with TWRP 3.0 add init.d support.

First setup works properly.

Rom Link:

https://mega.nz/#!TF9ESYwZ!stOUQ9PsMNx3Y7rO9YzMOxYiGokNlm6L4VmnKq8rdmE

Happy Skinny!
[Redmi Note 2 General] jajk:
[MENTION=6199310]Xabadou[/MENTION] Have you tested what must

minimally

remain to pass first Setup? It would be nice to know and perhaps branch off into a "Lite" version. Quick, claim the name before someone steals it:D

[MENTION=4666525]Adam Hui[/MENTION] If you know how to count in binary, this will help you understand permissions.
[Redmi Note 2 General] DarthJabba9:
A discovery - if you remove "Find Device", Mi Account will FC if you try to sign in to your account. This means that you cannot download themes. So, if you want to be able to dowbload themes, don't delete (or even freeze) "Find Device".
[Redmi Note 2 General] Xabadou:
Yes I have tested the ROM with clean install (all wipes before install).

First setup passed without any problem.

Enviado desde mi Redmi Note 2 mediante Tapatalk
[Redmi Note 2 General] vermillions:
I use Disableservice from Play store on find device, themes, app store, updater, system launcher ect then just re-enable to get themes change lockscreen wallpaper ect. Seems to work well for me.
[Redmi Note 2 General] DarthJabba9:
Thanks. I use Titanium Backup for the same purpose. But we are talking here about skinnifying the ROM (i.e., deleting Xiaomi stuff, rather than just freezing them). This is one component that you

do not

want to

delete

if you want to use themes.
[Redmi Note 2 General] vermillions:
I agree deleting the unnecessary stuff is the way to go. But like you stated "don't delete (or even freeze) "Find Device". So if you are unable to delete an app disabling the services is a good way to go, only re-enabling if required for a purpose then disabling again. Also Disableservice is not an apk freezer as such, it disables the services associated with the app ie Mi App store has 12 services so if you needed one service for a specific act you can leave that one enabled and disable the other 11.
[Redmi Note 2 General] DarthJabba9:
Interesting approach! But how do you which service you actually need for your purpose?
[Redmi Note 2 General] vermillions:
Mostly trial and error. I start with the app I would like to uninstall but I cant for what ever reason, then disable all the services and see if all works as it should if not I re-enable a service at a time until I find the service I need. Must have a TWRP backup though in case of soft brick. On the 7.1.4 I am on the apps I have disabled services for are:

App Store. = All

com.securitycore.miui_t = All

Data usage = All

Miui SDK = All but coreservice

Phone/message storage =All

setup Wizard = All

System Launcher = All

Themes =All but XMPushservice

Updater = All

This will change for others depending on what you want working at the time.
[Redmi Note 2 General] jajk:
Thanks for the findings [MENTION=1915382]vermillions[/MENTION] [MENTION=5850987]DarthJabba9[/MENTION]

It does show how embedded Xiaomi have made their marketware/spyware. I notice that even the innocent looking Mi Remote app is forever trying to report back so it is going to get the chop too as soon as I find a good alternative.

Will give this DisableService a go.

Edit: Couldn't download DisableService from Play but found the App elsewhere. Works as advertised - highly recommended:good::good::good: even if only to see the linkages between apps and services. Paranoia here we come:silly:
[Redmi Note 2 General] DarthJabba9:
Another discovery - if you delete Xiaomi Service Framework, and then clean corpses/optimise databases with SD Maid, things go awry with the notification display for SIM card connections at the top of the screen. It suddenly changes to an "x", with "no service", even though there is a good signal. If you just freeze Xiaomi Service Framework, then you don't get this problem.
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I have seen the x problem too which needs a restore from backup to fix again. Can't remember what I was doing to cause it, but it was not the same way you created it.

I run with Xiaomi Service Framework completely deleted and do not have the problem so it may be over-reacting to say not to delete it.

Let's see if anyone else has experienced this problem before drawing conclusions.
[Redmi Note 2 General] vermillions:
Sorry should have put it as two words Disable Service, the apk installed shows as one word.

https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en

This also looks interesting allowing backups and activity management. Though I haven't tried it yet.

https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&hl=en
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] It is possible that the problem is elsewhere, but I have tested this out several times, and the result is the same everytime. Yes, it may be caused by a particular set of interactions that shows up on one device but not on another - but the cuplrit (at least, from my end) is always deletion of the service framework. It took quite a bit of effort to narrow it down to this, but, since I narrowed it down, the problem is 100% reproducible.
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Have you set up a Xiaomi Acct prior to this? The problem is 100% not there for me but I don't log on to Xiaomi.

[MENTION=1915382]vermillions[/MENTION] The problem was Google playing difficult. I will try the next app too - always looking for apps of this type.

I am taking a second look at AOSP by vova.vafin since it has been a while and it might disappear. Built a skinny boot.img for it (almost the same - just remove miui stuff) and applying the same process of skinnying it.

The flashable ROM is already down to 390MB and working fine. A bit more work to get the performance and battery back to where it should be - it was faster back a few versions:confused:
[Redmi Note 2 General] elaurens:
I know that deleting the Updater app is not an option, but is there a way to remove the Update notification when the Updater app finds a new version? Or even better prevent the Updater app from looking for new versions? Looking for OTA updates is pretty useless when you're on a slimmed down version :p
[Redmi Note 2 General] DarthJabba9:
I do have a Xiaomi account which I use with my Mi Band, but I can't remember now whether I had logged on before this problem. I suspect that I would have logged on.

My problem with AOSP and CM 12.x is that bluetooth phone audio doesn't work in my car with an of their ROMs. I have abandoned the quest for an AOSP or CM 12.x ROM that will overcome this problem, because it seems to be beyond them ...
[Redmi Note 2 General] efr07:
can make the kernel on 7.2.1.0 ?
[Redmi Note 2 General] jajk:
New custom boot.img uploaded today - minor cleanups - nothing major.

[MENTION=2862580]elaurens[/MENTION] If you are on the custom boot image and you disable autostarts on Updater it shouldn't run. The custom boot image has already disabled the auto start of the OTA updater service but something else can still start it. Are you seeing updates offered? Maybe Disable Services app mentioned by [MENTION=1915382]vermillions[/MENTION] back a few posts will do the trick for you but make sure you have a current backup in case you lock yourself out.

[MENTION=5850987]DarthJabba9[/MENTION] There you go - once you are part of Xiaomi's culture, you can never leave:)

I agree about AOSP and CM12. There is no hope for either as development always runs off to the latest shiny version of Android - never quite finishing what is left behind.....

It is still a reality check to compare naked AOSP with skinny MIUI. The major difference is the incredible amount of invasive permissions that Xiaomi demands in MIUI apps.

[MENTION=7206918]efr07[/MENTION] Just use the one posted in 1st post - it is good for all versions up to 7.2.30 (redmi note 3 port). If you give me a link to just the boot.img off 7.2.10 I will check if there is any benefit in upgrading the build.
[Redmi Note 2 General] DarthJabba9:
Well, at the moment, I am still enjoying my Mi Band - only cost £15 on eBay. When (and if) I tire of it, then I will delete all the excess Xiaomi stuff. But I would drop all this for AOSP any day, if they ever manage to get bluetooth working. The Mi Band should work even if you don't have a Xiaomi phone, because the app works perfectly fine with iOS and generic Android devices, I am told.

PS: when I was using an AOSP based ROM, the battery life was no better than what I am getting now, and the CM ROMs that I tried were actually quite bad with respect to battery life.
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Unfortunately similar phones like LeTv and HTC One E9 and X9 don't run native AOSP otherwise there would be an opportunity for an easy port. Incredibly, my other phone (Ulefone BeTouch 3 MT6753) has essentially pure AOSP 5.1 with zero spyware. From the crappiest of manufacturers, comes a better O.S offering:confused:

And yes, back on Skinny MIUI after a day on AOSP. The circle of life;)
[Redmi Note 2 General] DarthJabba9:
I think we've probably achieved all we can for the Miui ROM as far as trimming it down is concerned.

And how is the Be Touch 3? I chose the RN2 over it, and I've always wondered whether I made the right choice!
[Redmi Note 2 General] efr07:
In the first post link to the core 7.2.30?