yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] I'm using xposed for gravity box, Spotify skip, YouTube background playback, and some assorted ad away packages (like ad away for SoundCloud). Do you think xposed would cut performance? It seems like it might create a longer boot, but not much else. Is this true?

Also, it's spring break for me, and I wasn't able to get the backup off school computers in time, so now I'll have to wait for two weeks before I'll be able to get the backup back.
[Redmi Note 2 General] DarthJabba9:
Not if you have something like WhatsApp. It has become the biggest battery drain (after the kernel) - especially after making it a system app to stop SkyNet from "optimising" it into uselessness. Unfortunately, I absolutely need it.

---------- Post added at 07:21 AM ---------- Previous post was at 06:58 AM ----------

Big question - is anyone else using 7.2.3.0 base having trouble booting into bootloader mode? Seems that one can only boot into fastboot, recovery, or system - is this the same as having a locked bootloader? :eek: Or are bootloader and fastboot the same thing :confused:
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Not being able to boot into bootloader has been the case (for me) since the beginning on any ROM. I think the bootloader was meant to be accessed via the original recovery but Xiaomi conveniently omitted the code to recognize the keypress to select bootloader in that menu. Someone can confirm this if they flash back original recovery. It doesn't seem to matter since we have a custom recovery and root ability.

[MENTION=7150090]Sleepy_Augie[/MENTION] Plenty of time to contemplate your sins between reboots;)

Xposed + MIUI seems to be a bit buggy. The 4pda site is kicking around a MIUI version that may be different to the SolarWarez version. I can't download it and not really interested in it but for others.....

I should have given a link to the root of the Xiaomi forums before but here it is: (remember redmi note 3 forums are of equal interest but not redmi note 3 pro which is a qualcom processor version)

https://translate.googleusercontent...um=768&usg=ALkJrhisxZHT6z6TbQ0Qr4o4coVeYmcOOA
[Redmi Note 2 General] DarthJabba9:
Thanks. I thought as much (that it doesn't matter) - but I just wanted to confirm that it is not during my excessive ROM-swapping activities that I killed off bootloader mode!
[Redmi Note 2 General] jajk:
Three things to watch out for:

1. Flashing preloader and uboot partitions of redmi note 3 or unknown origin and ending up with a locked bootloader.

2. Registering with Xiaomi for Find Phone app and then getting locked out of your own phone.

3. Enabling fingerprint lock:silly:
[Redmi Note 2 General] Gyovany96:
How to check if Zram working ?

Already renamed teeny.. but Kernel Adiutor show 0 :/
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] Make sure you have updated the busybox installation first, then in a terminal app, type free and it will tell you if you have any swap.

Usual problems are incorrect permissions for the script - set to 0755 to be sure, typos and incorrect formatting of the script (windows end of line characters).

Can you confirm that any part of your script is working?
[Redmi Note 2 General] Gyovany96:
[MENTION=5952980]jajk[/MENTION] typed 'free' in terminal and it still '0'. I updated busybox using .zip file from threat. Permissions are set correct 0755. Yes, a part of script works , CPU is limited at 1,8GHz..

I'm using 6.4.7 Beta xiaomi.eu and I've done every step

P.S. You know what is Miui Optimisation in Developers Options and what does it do ? We should let it checked or uncheck it ?
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] There is one more thing to consider: A script will simply abort if it finds an error so it is possible for part of a script to be processed but not past a certain point. Move the zram lines to the start of the script and see if your cpu freq still gets limited. If not - it is a syntax error. Other than that, I don't know why it is not working.

I am not sure what the MIUI Optimisation does but if you turn it off, you can still reallocate the task switcher / killer functions to the buttons. Someone mentioned it is better to turn it off to avoid unnecessary killing of apps so it could be just an aggressive LMK setting. I have turned it off since we have a lot more free memory and if you can run a zram swap drive, killing of apps will be extremely rare.

P.S. How do you find eu6.4.7? I tried MR 7.2.50 (modded from reno3) and it was too buggy to use.
[Redmi Note 2 General] Gyovany96:
[MENTION=5952980]jajk[/MENTION] thanks for answer , but I flashed back my nandroid backup because I couldn't get Zram working and after one day using SKINNY MIUI script it was just like before for me ( same 5:30h SOT with non-stop Wifi , Facebook , Browsing and a lot of Youtube and same performance ).

So disabling MIUI Optimisation should give me more memory , right ? :)

EU 6.4.7 is the best for me so far. 100% stable and good for daily use. I use it with a lot of removed apps and service disabled , following your guide (y) and is the best. Right now I flashed Skynet and it seems to move even faster ( visible faster :D ) and Swap working btw. I wait one day using Skynet to see battery life :)
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] Disabling MIUI Optimization might stop apps being closed too aggressively (according to others).

Can you post a link to just the boot.img from the EU 6.47 ROM? I am always looking for later versions to test and maybe I can see why it does not like setting zram;)
[Redmi Note 2 General] Gyovany96:
[MENTION=5952980]jajk[/MENTION] Of course. Thanks for answers :)
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] Thanks, I will let you know what I find:)

First posts updated with newer busybox installer 1.24-2 just to keep it current.

Updated link to later revision of TWRP 3.0.2-1 with some fixes for external storage not being mounted.
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] EU 6.47 is incompatible with zram setting for some reason. Just tried it and it hangs on boot when zram enabled. It has some strange entries in init.miui.rc as follows:

on property:sys.miui.nativedebug.coredump=on
mkdir /data/system/nativedebug/core 0777 root root
restorecon /data/system/nativedebug/core
write /proc/sys/kernel/core_pattern "/data/system/nativedebug/core/core-%e-%p"

on property:sys.miui.nativedebug.coredump=off
write /proc/sys/kernel/core_pattern "/dev/null"

service fdpp /system/bin/fdpp daemon
class main
user root
group root

fdpp does not exist in previous versions of MIUI so I have no idea what it is and why it has appeared. Deleting these lines does not fix the zram issue so there is something odd with the kernel.

It is not stock so I guess anything goes:confused:
[Redmi Note 2 General] Gyovany96:
[MENTION=5952980]jajk[/MENTION] I think I'll keep stock MIUI busybox 1.20. Is it critical to update latest busybox since I don't use any terminal commands ? ( or maybe it's good for something else ) I saw that after busybox update /xbin -> 300+mb

I use TWRP 3.0.2-1 from a long time :D

When I tried SKINNY MIUI I flashed 'Skinny_Pro_MIUI_714-4' before and no Zram. Btw Zram don't work with Skynet too on 6.4.7 stock kernel... :confused:
[Redmi Note 2 General] jajk:
[MENTION=5216574]Gyovany96[/MENTION] Busybox adds 2MB to xbin but some filemanagers count all the symlinks to the commands inside busybox as 2.1MB in size also so you get a massively inflated representation of the size. You can just copy the single busybox file inside the zip to xbin to update. If you do this, all busbox commands must have the path to the command i.e. fstrim cache becomes busybox/fstrim cache.

The reason to update (apart from the myriad of bugfixes since 1.20) is to add a full set of commands rather than the limited choice that Xiaomi package. It is not necessary but each users choice.
[Redmi Note 2 General] jajk:
For better memory management, refer to this:

http://xdaforums.com/redmi-note-2/development/b-skinny-pro-t3347906/page9#post66369078
[Redmi Note 2 General] DarthJabba9:
The greatest battery hog on my phone now (apart from WhatsApp) is something called "Phone Radio", which seems to be on endlessly. Any way to optimise this?
[Redmi Note 2 General] DarthJabba9:
It seems that we have to wait for Android 6.0 to solve the "Phone Radio" problem: http://www.androidpolice.com/2015/0...amous-mobile-radio-active-bug-in-android-6-0/
[Redmi Note 2 General] DarthJabba9:
Some kind of success at last! Death to SkyNet! :victory: I actually found an app that gives me significantly better battery life (well, at least, the early signs are very promising). It is called "Doze" (https://play.google.com/store/apps/details?id=com.yirgalab.dzzz).

Let's see whether I still feel the same way in a few days time :)
[Redmi Note 2 General] Sleepy_Augie:
After one to many stutter and one to many reboot on aosp, I'm back here.

[MENTION=5952980]jajk[/MENTION] so it looks like it might be better for me to start from scratch with miui instead of waiting to maybe find my backup on a computer. What would you say is the cleanest/best miui ROM that has the Chinese theme store?
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] MR 7.2.30 is still my recommendation or anything based on 7.2.30 is good.
[Redmi Note 2 General] schmanto:
hi, i'm wondering if i can apply the cpu changes on the rn3 mtk as well? or even the boot.img? [MENTION=5952980]jajk[/MENTION]: thanks for this thread! my rom is a lot skinnier now, but i did not dare to apply the cpu changes yet ;)
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] The rn3 is almost exactly the same except for fingerprint sensor and a sometimes locked bootloader so the cpu tweaks are identical but.....they will not work without a boot image that enables init.d support and alters other settings to make some settings possible. If you have an unlocked bootloader and had no interest in the fingerprint lock, you could actually use the rn2 boot images. Look over in the thread: http://xdaforums.com/redmi-note-2/development/b-skinny-pro-t3347906

for further advancements in the boot.img and scripting.

After the excitement and disappointment has settled over the release of MIUI 8, I will look at the latest boot images that come with that update and remake a boot.img to suit. If someone provides a stock boot.img for the rn3, I can do the same but leaving in the fingerprint modules etc. There may be more bugs than previous versions as has been the case lately, so give it some time to mature.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]: wow that's interesting, thanks for clearing that out! however, i have the 32 gb /3 gb ram version here - does that make a difference?

kinda got used to the fingerprint already, so i don't wanna use the rn2 boot.img.

i'll gladly provide you the rn3 one(s). thanks for the offer!

right now i'm latest quakze rom 7.2.5 (http://en.miui.com/thread-236615-1-1.html) and this is the boot.img that came with it:

https://mega.nz/#!Wo1izaJZ
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] I'll modify the provided boot.img for you. Do you use any accounts with Xiaomi or features that depend on it? The boot.img will purposely break some communications back to Xiaomi like OTA updates, error reporting, find my device and a lot of straight out spyware activities. You must be O.K with that - are you?

Edit: Link to boot.img requires decryption key so I can't download it.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]: thank you for your support, i do appreciate your offer!

no i don't use any mi stuff and i don't like spyware, so yes i'm ok with getting rid of it (that's why i'm here after all ;))

sorry, this link should be working now:

https://mega.nz/#!Wo1izaJZ!6ZJmQimkwnoVIO589LeUwYQeSdZ1huM_BZDxgz9poXE
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] In progress.... and I forgot to answer one part of your question: it makes no difference if you have 3GB /32GB version except for your decisions on LMK and zram settings to best utilize the available memory.
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] RN3 version is done and posted. It is identical to RN2 714-11 version but has fingerprint services enabled by default and secure boot functions left intact. Before flashing, disable all fingerprint lock functions and re-enable afterwards (just in case of problems). Remember to modify scripts to take into account the 2.2GHz cpu.

Let me know how you get on.

https://drive.google.com/folderview?id=0BwdRTuyj12_yRk9Kcm1pZkxuZzg&usp=sharing
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]: i just tried - unfortunately, as soon as i flash the modified boot.img, the simcard is not recognized anymore.. it just shows an empty sim in statusbar with an X inside.

when i flash back the rom's original boot.img, I'm asked to active the sim card again and after a process of sms activation, syncing calling list etc. the SIM is working again.

most of xiaomi bloat is deleted, but xiaomi framework is running (followed your guide), do you think it would work on a 'fresh' install?

thanks for your efforts!
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] The x in the statusbar usually occurs when Xiaomi framework is deleted (even if it is later manually put back). You will find that manually changing to 2G and then back to 3G or 4G will get the sim working again but it will erratically stop for no apparent reason. It can be a fault in the ROM (I think caused by bad deodexing in some cases). I have previously caused the problem for myself by deleting Xiaomi framework and also installed ROMs that cause the problem by themselves. Once the problem appears, it seems to be permanent until restoring or re-installing.

The Xiaomi framework can be frozen but it must be present, Miui.sdk must be present and must not be frozen.

Try wiping cache & dalvik after flashing boot.img to see if the problem clears. Also in TWRP / Wipes / Advanced Wipes, do a fix filesystem errors on cache, data and system partitions to catch any unnoticed errors that can creep in when flashing custom ROMs. There isn't anything altered in the boot.img that would upset the sim card recognition.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]:

unfortunately, that does not seem to be the case.

i just tried a clean install with the modified boot.img (wiped phone before, included boot.img in romfile), but the initial setup showed the X-ed out sim error already..

i also tried with the official, unmodified rom -> same result
[Redmi Note 2 General] Sleepy_Augie:
[MENTION=5952980]jajk[/MENTION] Hi, I was using my phone and was looking at the battery stats and realized that my phone goes into deep sleep/isn't "awake" when the screen is off AND it is lying down without moving. If it is off but in my pocket, it stays "awake" (I'm guessing some gyroscopic sensor dohicky is keeping the phone awake). Any idea how to remedy this?
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] Leave it with me - I will go back through the changes and see what could possibly affect it in this way. Are you up with unpacking / repacking boot images? We may need to creep up on this incrementally to find the culprit.

[MENTION=7150090]Sleepy_Augie[/MENTION] That's easy: Walk very slowly and do not run - the phone will sleep like a baby:silly:

Or perhaps...........Settings / Lock screen & password /Prevent pocket dials - if enabled would require the proximity sensor to be active.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]:

cool, yes i'm ready to help where i can!

i'm not a developer in that sense though, more of a 'user, who knows his ways'.

for example, i don't how to unpack/repack images.

yet. ;)

edit: out of curiosity, i just flashed this boot.img: Skinny_Pro_MIUI_714-11_boot.img

--> same SIM error
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] try RN3 test boot image. This reverts a few disabled items until we can figure out what the offending item is that causes the x. It still allows full init.d scripting mods (remember to update BB to 1.24-2)

If this doesn't work, then I can revert even further.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]: that didn't do it, i'm afraid.. tried to wipe apps/cache again, but sim error awaits me on every boot.

btw: i can only imagine how frustrating it might be to work on a device you don't even own and wait for results, and try to find the cause etc...

you got my sincere appreciation for that.
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] No problem, the RN3 is so close to RN2 it is not too much of a problem. I will do a minimal edit version with just enough to give you init.d support plus enabling for LMK tweakability etc.
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] Test version 2 is up (for RN3 only)

Mods over stock:

add init.d support

LMK settings enabled (permissions set to allow values to be edited)

disable mdbd service (spyware over usb connection)

disable flash recovery (stops stock recovery re-installing itself)

disable tunman service (spyware via tunneling protocol)

disable otad service (pointless on custom ROM)

disable fake cdrom mounting (pointless exercise)

disable /custom folder (pointless)

disable FOTA service (pointless on custom ROM)

disable emsvr service (eng mode service does not need to start at boot)

This version does not disable mcd services so do not try to establish a zram swap drive in init.d scripts.
[Redmi Note 2 General] schmanto:
[MENTION=5952980]jajk[/MENTION]: ..eureka! sim is working with test 2 :victory:

big thanks man, now i can finally go through your guide properly :good:

you might want to post this in the rn3 forum section as well, i think other people will appreciate you work :)
[Redmi Note 2 General] jajk:
[MENTION=6720440]schmanto[/MENTION] Hurray:good: I will now do a version that disables the cumbersome mcd services. This is key to taking control over memory management. Tomorrow maybe you will see a test 3 version. Continue the boot.img discussion over on the Skinny Pro thread so others from the RN3 thread can see and join in the development.
[Redmi Note 2 General] Sleepy_Augie:
One thing that I've never liked about miui is their ui for notifications and tasks. Is there no way to bring the aosp ones back since it's based on aosp?
[Redmi Note 2 General] jajk:
[MENTION=7150090]Sleepy_Augie[/MENTION] MIUI8 will fix it. Too early to say "welcome back" or you still want to suffer a bit longer with missing features and broken drivers?
[Redmi Note 2 General] Sleepy_Augie:
Yeah, I think I'll suffer with sub par performance. No time on my hands to get an optimal skinny miui (5 pages to write by Monday) running. I am interested if miui 8 intends to clean up its bloated complicated act though.

Edit: saw the miui 8 post on their website. Notification shade looks better. Hopefully they make some positive internal changes as well.
[Redmi Note 2 General] kenryk:
Instagram confirmed as best task killer.
[Redmi Note 2 General] TamOmachi:
I am looking forward MIUI 8, you will continue to support when have MIUI 8, right?
[Redmi Note 2 General] jajk:
[MENTION=2633575]kenryk[/MENTION] Only 100MB used for O.S - That is amazing but Photoshop can do better;)

[MENTION=7122332]TamOmachi[/MENTION] I will support MIUI 8 if it ever comes out.......
[Redmi Note 2 General] TamOmachi:
So great! Thank pro so much :D
[Redmi Note 2 General] Adam Hui:
Could u pls write more detailed about what u do to get that, what miui ver, etc. Cuz it seems to be impossible with miui.

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 General] kenryk:
[MENTION=4666525]Adam Hui[/MENTION]

It happens whenever I scroll through my Instagram feed for ten+ minutes. For some reason, it allocates an enormous amount of ram. For example, if I am listening to music, scrolling for about five minutes kills the music player. Usually I see 1.6GB free after killing everything, but I got 1.9 this one time. It might have been a bug, who knows. However, I did look at the running processes right after and every single one had been restarted. The screenshot was taken on a skinny 7.2.2.0 with the "Skinny_Pro_MIUI_714-4_boot" kernel if I remember correctly.
[Redmi Note 2 General] nadhif.nrfsw:
I has deleted apk which in your 'Definitely O.K to delete list:' but why MIUI Optimization always cant set, whats apk is intregated with MIUI Optimization?
[Redmi Note 2 General] Brecht35:
I plan on doing this after my exams, I only have 1 question.

This guide applies to MIUI stable versions 7.1.1 thru to 7.2.5 only. Developer, Beta or Eng versions are not good candidates.

Do you mean "global ROM", the official ROM provided by Xiaomi?
[Redmi Note 2 General] jajk:
[MENTION=7190041]nadhif.nrfsw[/MENTION] I have no idea what is causing your problem.

[MENTION=6479773]Brecht35[/MENTION] Anything that is 7.x.x.x is fine. Some 6.x.x.x are fine, others are bad so I recommend sticking with stable release versions. Tested working well with MR 7.3.20 port from RN3. MR Roms tend to be better than EU Roms in my experience.
[Redmi Note 2 General] krlenjuska:
i just made skinny rom from MR_7.2.3.0_Multilang_Xrnote2. I deleted many apps from "app" and "priv-app" folder. When i install this i cant start contacts and dialer-probably because i deleted some important app. Can you guys help? What app are important to Contacts and dialer app?

apps i deleted from "app" folder:

AntiSpam

BatteryWarning

BrowserProviderProxy

BugReport

Calculator

CloudService

DocumentsUI

Email

FileExplorer

FingerprintService

FPCSensorTestTool

FTPreCheck

FWUpgrade

FWUpgradeProvider

GuardProvider

HTMLViewer

jjcontainer

jjhome

jjknowledge

jjstore

KingSoftCleaner

LiveWallpapersPicker

LocationEM2

Metok

MiAssistant

MiLinkService

MiraVision

MiuiCompass

MiuiVideo

MTKAndroidSuiteDaemon

MtkFloatMenu

MTKLogger

MusicFX

Notes

PacProcessor

PaymentService

PicoTts

PowerKeeper

PrintSpooler

QuickSearchBox

RegisterHelper

SecurityAdd

SoundRecorder

StepsProvider

textinput-tng

TrafficControl

VirtualSim

VoiceUnlock

Whetstone

XiaomiAccount

apps i deleted from "priv-app" folder:

Backup

BackupRestoreConfirmation

BarcodeScanner

Browser

Calendar

CleanMaster

CloudBackup

FindDevice

MiDrop

MiuiVoip

Mms

Music

ShakeIt

Weather

WeatherProvider

YellowPage

thanks in advance
[Redmi Note 2 General] Xabadou:
Restore Yellowpage.
[Redmi Note 2 General] krlenjuska:
thanks i will try :good:
[Redmi Note 2 General] jajk:
[MENTION=7467903]krlenjuska[/MENTION] I don't think that Yellowpage is an essential part of Contact & Dialer but could be wrong? It requires Contacts Storage and InCallUI but nothing else I can see in your list.

FYI: The Google version of Contacts & Dialer does not work - an app that can totally replace the MIUI version is True Phone (com.hb.dialer.free). MMS can easily be replaced with Google Messenger - just don't delete MmsService.
[Redmi Note 2 General] krlenjuska:
i restored yellowpage and everything is ok with contacts and dialer.
[Redmi Note 2 General] jajk:
[MENTION=7467903]krlenjuska[/MENTION] [MENTION=6199310]Xabadou[/MENTION] Thanks for reporting. Hmmm... I am running MR 7.2.30 with Yellowpage deleted and had no problem with the original Contacts & Dialer. (I later went to Truephone to get rid of some Xiaomi annoyances). Maybe there is some interdependence with Yellowpage and Contacts & Dialer if Blocklist or MiuiVoip etc. are still present?
[Redmi Note 2 General] Xabadou:
Restoring Yellowpage return contacts, once they have returned Yellowpage can be deleted.
[Redmi Note 2 General] acestars:
is anybody already make skinny version of 7.3.30 or 6.5.26? would you mind to upload it? thanks