yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] Not quite..... MIUI fought back but the fight is not over:mad:

In the battle to defeat XMPush, you can minimize its impact by changing the contents of /data/data/com.xiaomi.xmsf/shared_prefs/pref_registered_pkg_names as per the file attached. This should stop the XMPush service starting in Data Manager, Phone and Settings Apps which is better than nothing.

I have found that there is a lot of interlinking this service with other functions so it cannot just be deleted without punishment. I originally edited com.xiaomi.xmsf to point it at localhost 127.0.0.1 which work briefly but then MIUI retaliated and started putting back the original IP addresses - a brief flicker of hope:(

Anyway, for those keen to kill this service, have a look at the files in /data/data/com.xiaomi.xmsf and see if you can come up with a permanent solution.

If you touch anything, make sure to set perms and owner to 10076 10076 rw-rw--

[MENTION=5850987]DarthJabba9[/MENTION] See if you can see /system/vendor/bin/pvrsrvctl - this is one that also disappears

Another lib to delete:

In /system/lib64/libduokantext.so can be given the flick.
[Redmi Note 2 General] insestito:
Thanks you man!!
[Redmi Note 2 General] DarthJabba9:
Amaze can see it.
[Redmi Note 2 General] jajk:
If anyone is playing with V7.2.2.0.LHMMIDA can they please post a link to the boot.img or supply screenshot of Settings -About Phone?

Always on the lookout for a later and better kernel;)

[MENTION=1928598]insestito[/MENTION] Let me know how it goes.
[Redmi Note 2 General] jajk:
Anyone having problems with Xposed take a look here:

https://translate.googleusercontent...JrhgZP-8mQqcHcp2BGsUH5jJeeucMqQ#entry48261067
[Redmi Note 2 General] jajk:
A new test boot.img that removes the symlinks to "legacy" for the internal emulated SDcard. The need for the linkages to legacy is long gone as far as I can see.

Unfortunately the remaining symlinks are a necessity because we are on Android 5.02 and it needs to be that way.

It is tested by me to be working;)

https://drive.google.com/file/d/0BwdRTuyj12_ySlVSREQtWVBSbGs/view?usp=sharing
[Redmi Note 2 General] Sleepy_Augie:
I was having problems with xposed but today I decided to just delete it and use some alternative modded apps (ogyoutube, oginstagram+). goodbye premium Spotify for free. :(

...and welcome back crunchyroll/internet videos!
[Redmi Note 2 General] jajk:
Never say never....

New test boot image with additions on top of previous test:

atci service (AT Command interface to modem) disable startup on boot

atci daemon (AT Command interface to modem) disable startup on boot

em_svr service (engineering mode service) disable startup on boot

https://drive.google.com/file/d/0BwdRTuyj12_yQmZfbnVQb2ZOcGs/view?usp=sharing

Added 2 more libs in /system/lib64 that can go:

libairtunes_jni.so

libairtunes.so

Anyone wanting 7.2.20 (from the same guys who did MR 7.2.30) 650MB download size.

https://yadi.sk/d/6JSMbp2IqTZMg
[Redmi Note 2 General] RichyE:
Thank you for the great tutorial.

At the moment I'm cooking my personal rom based on Multirom 7.2.3 but I have a question.

Where can I find the stock bookmarks in the browser and change them to what I want?

I extracted the browser apk but can’t find them so I think I am looking in the wrong place..

I already have it booting and with some modifications and addons :

New bootanimation

SU installed

Busybox

Xperia keyboard

ViperFX

Miravision and clear motion

Advance Power Menu

Adaway

Xposed Support

Mi4i camera

etc and more that I think I want inside it :)
[Redmi Note 2 General] Sleepy_Augie:
My phone doesn't seem to like it when the screen turns on or off. When an alarm or call turns on the screen, it sometimes crashes the phone, and when I turn the screen off after picking a song on SoundCloud/Spotify, it stops any music streaming that was happening. Anyone know what could be causing these problems? (using skinnified 7.2.3)
[Redmi Note 2 General] DarthJabba9:
Did you reduce the GPU speed in your init.d script? I found random crashes/reboots when I reduced the GPU speed, and had to comment out the code that does it.
[Redmi Note 2 General] DarthJabba9:
Anyone else having problems with WhatsApp messages not coming through unless you manually start the apps?
[Redmi Note 2 General] Sleepy_Augie:
I did not to my knowledge do that.

Edit: I think it has something to do with the internet connection falling asleep when I turn off my phone.
[Redmi Note 2 General] jajk:
Skinny Pro is arriving

This one is not for noobs.

Everyone is welcome to use this in their own projects but thanks and crediting the developer would be nice;)

There are significant changes over stock, such as dismantling MIUIs mcd service (MIUIs elaborate and bizarre version of dynamic zram).

If you do not understand the implications of this and all other changes, don't use it.

This version of boot.img includes all changes found in the recent test versions plus upgrades the implementation of SDCard functions to that found in Android 5.1.

It streamlines the way storage is displayed and accessed to:

sdcard0 = emulated sdcard on /data/media symlinked to /storage/sdcard0

sdcard1 = internal slot sdcard symlinked to /storage/sdcard1

usbotg = external usbotg device symlinked to /storage/usbotg

All unnecessary symlinks and intermediary mounts are removed providing a more logical display and less error prone file system.

This change means that any existing data that is on the emulated sdcard will be dumped into a folder named 0. You can simply move the data back to sdcard0 without loss. Backup is probably advisable to avoid:crying:

This is now based on 7.2.20 and can be used from 7.1.1 thru to 7.2.30 and it can be flashed without wipes on existing installs. Remember - All embedded tweaks found in other boot images will disappear.

https://drive.google.com/file/d/0BwdRTuyj12_yUzE5MXJPVWpyWkU/view?usp=sharing
[Redmi Note 2 General] okxda:
Thanks for hard working.?
[Redmi Note 2 General] kenryk:
The hermes 7.2.2.0 seems to be a newer build than the hennessy 7.2.3.0.

7.2.2.0: ro.mediatek.version.release=ALPS.L0.MP6.V3.18_LCSH6795.LWT.L_P206

7.2.3.0: ro.mediatek.version.release=ALPS.L0.MP6.V3.18_LCSH6795.LWT.L_P201
[Redmi Note 2 General] jajk:
[MENTION=2633575]kenryk[/MENTION] If you have 7.2.20, any chance you can give me a link to the boot.img only? I have bad internet connection so full ROMs are tough going:(
[Redmi Note 2 General] kenryk:
[MENTION=5952980]jajk[/MENTION]

Sure, here it is.
[Redmi Note 2 General] jajk:
[MENTION=2633575]kenryk[/MENTION] Thanks:good:

I'll compare it to 7.1.4 in skinny form to see if there is any extra goodness.
[Redmi Note 2 General] kenryk:
[MENTION=5952980]jajk[/MENTION]

It's .3MB larger than the standard 7.1.4 kernel, hopefully at least some of that is good.
[Redmi Note 2 General] jajk:
O.K just finished trying out the 7.2.20 boot.img which has a later version kernel than 7.1.4.

Differences:

It has the setlockstate service and unlock key as in reno3 ROMs and it seems, all later reno2 ROMs follow suit.

It has a reworked init.ssd.rc that claims "fix non-shell uid process can not access shared-sd" but is looks like a bigger disaster than in 7.14

Other than that, all the init files are essentially identical and skinny up in the same manner.

I will run it for a day and post it as an alternative if it doesn't break anything.
[Redmi Note 2 General] DarthJabba9:
Is that good or bad?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Reno3 has locked bootloader where we do not (yet). That is where the extra files come in. If you flash a preloader image that is locked, you may be in for some problems (so don't do it).

It looks like there is no separation of ROMs up to the boot stage - we get fingerprint services loaded just like the reno3 and now we also get the lockstate service. It is only at the system level that the difference is seen - reno2 don't get the fingerprint apps and settings.

Anyone tried Skinny Pro boot image yet?
[Redmi Note 2 General] Sleepy_Augie:
:( to many problems with miui for me, so I moved on to vova.vafin's aosp. Taken some of this skinnying knowledge (and jajk's skinny aosp boot.img), and so far aosp is super. Slight stuttering on geometry dash, but no major problems like I was having with miui, and the battery life seems really good. Using xposed without bugs as well.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] You'll be back:)

The AOSP boot.img I made is already outdated! vova.vafin has gone to using 7.2.20 as base so I will make a new one.........done.

This is the Pro version so read back a few posts about how this will impact the internal emulated sdcard. It should be compatible with AOSP 1.82. and the next update coming soon. It should also work on Cyanogen based ROMs. No wipes required.

https://drive.google.com/file/d/0BwdRTuyj12_yVjQwU1pUMFN1U2M/view?usp=sharing

Skinny Pro boot image is now updated to 7.2.20 as base. There is no noticeable difference to 7.1.4 that I have found but who knows what's inside the newer kernel:confused:

I'll stick with 7.2.20 as base until Marshmallow comes out sometime in May or if it doesn't, is ported from a compatible device.
[Redmi Note 2 General] DarthJabba9:
I would have preferred AOSP as well - except that bluetooth car audio (which is non-negotiable for me) only works properly on miui. I am most unimpressed with battery life on miui, despite all skinnyfication ...

---------- Post added at 07:46 AM ---------- Previous post was at 07:33 AM ----------

If there is no clear improvement, then is there any compelling reason to change? Are we sure that "they" haven't hidden some scary SkyNet "stuff" in the new kernel?

How is this different from 7.2.30? Isn't ".30" later than ".20" (or are they doing weird versioning?):confused:
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5850987]DarthJabba9[/MENTION] you know your car situation better than me, but a car with Bluetooth must have an aux plug in somewhere, right? I'm still doing the old tape deck to aux config myself. If you really felt drawn to aosp, you could always set up one of those mini FM transmitter in car things.
[Redmi Note 2 General] DarthJabba9:
Thanks - there is an aux connection - but I'm interested in the hands-free car phone system working properly. Also, I just want things to work without any hacks ...
[Redmi Note 2 General] Sleepy_Augie:
Yeah, I dig. It's a nice feeling when I can get through the whole day without a fc message.
[Redmi Note 2 General] DarthJabba9:
Maybe I should let you have a copy of my skinny ROM. I don't have any problem with FCs (although I do get the odd random reboot once in a while).
[Redmi Note 2 General] jajk:
Versions are a bit misleading because we have ROMs and Kernels from Reno3 mixing in with Reno2. Later phone models have higher versions even if the firmware is older - a marketing thing;)

Reno2 7.2.20 is newer than Reno3 7.2.30 but newer does not always mean better - 7.2.20 is generating some reports of bugs (in the UI)

[MENTION=5850987]DarthJabba9[/MENTION] [MENTION=7150090]Sleepy_Augie[/MENTION] What are these things you call FCs? Give me a link to them and I will incorporate them into a special build:rolleyes:

I will put together a new guide to go from a stock install to Skinny Pro - removing the variability in user experience.
[Redmi Note 2 General] Sleepy_Augie:
Might have something to do with me trying to preserve themes, idk.
[Redmi Note 2 General] DarthJabba9:
I have kept themes support (although I ended up deleting most of the themes that I downloaded, and have returned to the default theme). I had issues with WhatsApp messages not coming through, but that problem disappeared when I converted WhatsApp into a system app.

---------- Post added at 05:23 PM ---------- Previous post was at 05:20 PM ----------

But do you have any confidence in the 7.2.2.20 kernel?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] The bug reports for 7.2.20 are all graphical layout related i.e. not kernel related.

I still think the MR 7.2.30 ROM is the most bug free that I have seen and the best base ROM. Just don't use the Preloader, Uboot, Logo and Boot partitions from this ROM.

If I had to start from scratch, I would load Preloader and Uboot from 7.1.4 to avoid any potential problems with locked bootloaders or dev editions wanting a Xiaomi logon.

[MENTION=7150090]Sleepy_Augie[/MENTION] I will have a new procedure ready for when you return to the fold:D

Themes functionality remains intact in skinny MIUI but there is a huge price to pay for extra bling - decision is whether you value bling over functionality?

Hi-res displays mean hi-res icons and animations which means large size files and memory consumption.
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] atm AOSP is really buttery smooth and fast (vova just updated his project to 1.8.6 & your boot.img still seems to work here), but im game to try out miui again. However im still waiting for solar warez to update his miui xposed framework because so far it always breaks my online video playback.
[Redmi Note 2 General] bmdhj:
I tried it on AOSP same ROM as you. How do I uninstall this boot.IMG? It lags once I flash. Maybe it's me...but how do I unflash/uninstall this? I never gave myself the chance to experience this ROM on its own, I flash the boot.img as well.
[Redmi Note 2 General] Sleepy_Augie:
You should just be able to do a dirty flash of the aosp rom, which will have its original boot.img in it. If you have more questions about it, pm me or we can move the discussion over to the AOSP form.
[Redmi Note 2 General] jajk:
Skinny Pro has its own thread now over on http://xdaforums.com/redmi-note-2/development/b-skinny-pro-t3347906
[MENTION=7150090]Sleepy_Augie[/MENTION] [MENTION=6765673]bmdhj[/MENTION] To go back to stock boot.img, just extract the boot.img out of original AOSP ROM zip file and flash that by itself. Perhaps try the latest boot.img I posted?
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] As far as memory optimisation is concerned, playing with "/sys/module/lowmemorykiller/parameters/minfree" values may prove fruitful (note that init sets the permissions to 0220, and you will need to change the permissions, as well as those of "/sys/module/lowmemorykiller/parameters/adj" in order to be able to play with these).
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I know what you are suggesting but I have found LMK settings of limited use and more of a band-aid for the real problem (bloat and crap apps). I have been playing with a 1GB swap and have got to say that it works well with the 2GB RAM we have. It is my new recommended size and in real world conditions should give a usable RAM size around 2.7GB
[Redmi Note 2 General] DarthJabba9:
Fair enough. Just that I read an article about Android memory management that suggested that many stock settings for LMK are far from optimal...
[Redmi Note 2 General] jajk:
I think it has come time to merge the Skinny MIUI boot.img with the Skinny Pro image. Just flash and reboot. If you have loaded the Pro version previously, backup anything valuable on sdcard0 - you will loose it all.

https://drive.google.com/file/d/0BwdRTuyj12_yREV0bFZNaDNyUlE/view?usp=sharing

Please follow the new Skinny Pro thread for anything related to the boot.img and use this thread for skinny ROM related stuff.
[Redmi Note 2 General] Sleepy_Augie:
I haven't been able to get zram to work. The two files are in system/bin but I have no more RAM than usual.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] What ROM are you on? What boot.img version are you on?

The swap will only work if set on boot - not once booted. It will error if you try to reload it without a reboot and will not not work if on a foreign boot.img with mcd services still enabled.

I have found in some cases, that if you rename tiny_mkswap and tiny_swapon to teeny_mkswap and teeny_swapon

and

rename them in the script to the same, it will magically work. MIUI can lock these files so they cannot be used by other programs or users - renaming them defeats this behavior. 1GB works fantastic - don't bother with 512MB setting.
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] Still on aosp rom, but I'm using your aosp boot.img and your suggestions for init.d. How do I set it on boot? I have su set to allow requests at boot, is that what you are talking about?
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] It will run at boot if it is in the init.d tweak file. What I mean is that if you try to run that script again - say in kernel aduitor, it will fail - that is normal.

It worked without problem in AOSP 1.77 with the standard script I published so I see no reason why it should stop working for you now.

Hope you are on the 714-4 version boot.img - it is the best ever:good:

P.S you won't see the extra RAM - it actually consumes a little to provide for the swap drive. You have 2GB real memory, add a 1GB swap and you will have usable 2.7GB memory after taking away overheads and accounting for typical compression efficiency. The only downside is a very slight slow down for anything running in the swap space due to being compressed / decompressed on the fly.

In a terminal app, type free to see if it shows swap memory - it is the only surefire way of knowing.
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] Used a terminal emulator. Typed free; it says that there is 0 total swap.

Using your new boot image now.
[Redmi Note 2 General] darko150:
Have you updated Busybox?

Tablet S8-701W
[Redmi Note 2 General] jajk:
This is roughly what you should see. This shows a 1GB swap. And yes, you do need updated busybox to get the free command. You know where to get it if you haven't already:)

View attachment 3707112
[Redmi Note 2 General] Sleepy_Augie:
The only way I ended up being able to use zram was through kernel auditor. Couldn't get it to work through init.d
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] Copy the following into your file to make sure there is no typo. Make sure permissions are set to 0755 on the file too.

Do you have evidence that your init.d script is actually being processed? i.e. you can see he changed settings in kernel aduitor without executing the script after boot.

Make sure Kernel Aduitor is not set to autostart and no values are being applied by it - use it to observe - not set things otherwise you will get conflicts.

#Enable 1GB zram
echo 1073741824 > /sys/block/zram0/disksize
/system/bin/tiny_mkswap /dev/block/zram0
/system/bin/tiny_swapon /dev/block/zram0
[Redmi Note 2 General] Sleepy_Augie:
I'm fairly certain that the init.d script is working because my entropy pools were set to 512 and 1024 (which I don't think is the default)
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] That is a correct assumption.

Don't trust the zram indication in Kernel Aduitor - it just reads the disksize value - do the "free" command in terminal and if it still don't work, do the renaming thing suggested earlier.
[Redmi Note 2 General] Sleepy_Augie:
After using kernel auditor, "free" shows the presence of zram, but without it, nothing. Just got home so I'll test some stuff out.

Edit: tried teeny, didn't work. Permissions are 0755.
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] I have just loaded AOSP 1.83 with skinny pro 7.1.4-4 boot.img and zram works no problem at all.

I will take the opportunity to go through the AOSP boot image again as I have already found some more savings:)

The vova.vafin boot.img is pretty much stock MIUI with no skinnification to speak of.
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] I am using 1.8.6, so maybe there was some problem there (vova.vafin probably didn't downgrade to 1.8.3 for nothing).

btw, I like the newest boot.img :)
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] Then you will like the latest latest one even more;)

I am having a good play around with 1.83 to see how things have progressed since 1.77

It will work on 1.8.6 no probs.
[Redmi Note 2 General] okxda:
Good news.

I'm using 1.77, will try 1.83 later with your boot.img.
[Redmi Note 2 General] jajk:
Skinny_Pro_AOSP_183_boot.img is the latest and greatest for AOSP 1.77 to 1.86
[Redmi Note 2 General] Sleepy_Augie:
Running your new boot.img, and updated to a newer vova.vafin build, and now I am able to use zram! :D
[Redmi Note 2 General] jajk:
Do we need to have a Skinny AOSP list of removable apps etc. since AOSP has become a bit more popular?

I am running AOSP 1.83 for now and already skinnied down considerably with great results - there is an amazing amount of bloat once you start looking...

[MENTION=7150090]Sleepy_Augie[/MENTION] I did a bad thing and skinnied the AOSP 1.83 ROM without keeping a backup copy so now I can't make a complete list of what to delete:(

I know what I have left on my phone but not all that has gone. Maybe I can do a "this is what I have left" list and from that you can deduce what has gone?
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] that would work, since we are running the exact same thing.
[Redmi Note 2 General] DarthJabba9:
You can unpack the original ROM and then do a "diff" (that shows only the differences in the files/directories that are there, rather than the contents of those files) of that directory tree and the one with your current ROM.
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I am not going to re-download the ROM so I can do a diff on it because of my next comment...

[MENTION=7150090]Sleepy_Augie[/MENTION] I have returned to MIUI after discovering that AOSP 1.83 still has some nasty reboot issues and is hopelessly slow in some gpu activities such as rendering PDFs. I missed calls because of it so it is history.
[Redmi Note 2 General] Sleepy_Augie:
Yeah, missed calls or other events that are supposed to happen (like that dang alarm >:/ ) is usually where I draw the line. I haven't experienced any of those glitches (except for a few reboots) but hopefully [MENTION=5857044]vova.vafin[/MENTION] will be able to fix some of this stuff soon.
[Redmi Note 2 General] DarthJabba9:
Welcome back! SkyNet must be defeated!
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I never left;)

Just a detour to see what is happening on the other side. Still too many deep seated bugs to be a daily driver.

Returning to my backed up Skinny MIUI makes me appreciate how much better it is:)

Some versions of 7.2.50 are appearing but there is nothing in the changelogs that makes me want to update from MR 7.2.30 I.D

[MENTION=7150090]Sleepy_Augie[/MENTION] Welcome back (I will say it now for when you too see the light):laugh::laugh::laugh:
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] if you can show me zero battery drain on idle, and I can find my backup again on one of my school's computers (if I'm lucky it's in the shared drive), than I'm game to switch back. I was having more issues in the past with miui than I am with aosp though (and xposed :0). What's with the gpu btw?
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] It is easy to get zero battery drain - I have seen 100% 18hrs later on my phone. In reality there is some loss of course.

What does Xposed give you that is a must have and can't get any other way? It seems like an extreme hack to get little things.

I will go through the first posts one more time to see if there is anything that needs rewording / adding / deleting. Maybe I will split it into 2 streams; one stream for total Xiaomi extermination and one for those not ready to let go:laugh::laugh:

First posts revised today - pay attention to new content in post #4