yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 Android Development] jajk:
[MENTION=4666525]Adam Hui[/MENTION] No need to worry about spreading the thermal load across more cores, each core has own temp gauge and it is all the same lump of silicon so heat spreads out quickly. Quite some time ago it was shown that the gain of adding extra cores is all but extinguished by 5 cores. I run 4 core myself. 6 core @ 1781 = half maximum dissipation so is a good compromise. You could run less core at 1950 to get the same max dissipation. I posted a spreadsheet with graphs of power dissipation so you can make an informed choice.

Do you find p52 modem better? Is the link to the RR559 version or something else?

[MENTION=2606021]cukierkas[/MENTION] There are more links to 8020 if you look. I think [MENTION=4666525]Adam Hui[/MENTION] posted a different one a while back? EU or MR are pretty much the same at the moment so grab what you can download easily.

The newer init.d settings help reduce the onset of more cores coming online. One core will throttle up in frequency more before another core kicks in.

If your settings allow more cores, then the cores tend to be more happy to come online - another reason to keep max cores on the lower side - I would run up to a higher frequency first before adding extra cores if I was chasing a bit more max performance e.g. 4 cores @ 1950 instead of 5 cores @ 1781. Surprisingly, from a power perspective, there is no extra cost in running to max freq but there is a cost in adding cores.

In case you missed it: new TWRP3022 Turbo version uploaded for 5.02 and 5.1. Get over to the General Section and grab some of the action.
[Redmi Note 2 Android Development] cukierkas:
All eu rom stable links are down, so was happy to find out yandex link. Sadly it comes with data blabla name without the extension. Renaming with extension.zip does not boot. Maybe that's my problem, because I'm downloading with mobile browsers, haven't booted my home laptop maybe for a half year:)

[MENTION=5952980]jajk[/MENTION], [MENTION=4666525]Adam Hui[/MENTION], can someone upload stable untouched or your modded version to mega or gdrive?

Thanks in advance.

Edit: [MENTION=5952980]jajk[/MENTION],yes, I did miss the new turbo recovery, because I do read the threads I'm participating.

Will try it now.

Edit2: booted properly with turbo recover :)

Edit 3:

Guys, did you managed to get rid of Indian holiday showing in miui calendar?

Regards.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Try this one (it is MR 8020 which is essentially stock with extra language packs) https://yadi.sk/d/3DQtLBL9vPrzr

Calendar problem is easy fixed, uninstall it and install ColorNote:laugh:

More on power saving...

The spreadsheet mentioned a couple of posts back is derived from /proc/cpufreq/cpufreq_power_dump which is a table of freq / cores / power consumed. It helps understand what your choices will lead to in peak power consumption.

An equivalent file for the gpu exists here: /proc/gpufreq/gpufreq_power_dump Not that you will want to mess with the gpu freq;)
[Redmi Note 2 Android Development] cukierkas:
Nonono, I don't want to mess with it gpu settings, I'm more than happy with current settings. 4 cores runs nicely for me [MENTION=2809558]403[/MENTION] and Max 1,7GHz.

I'm using colornote for my notes and passwords, very handy app, it's goes with me since xperia can't remember the name on Android 1.6:) but the calendar itself is very short. Only moon states is the only advantage for me I guess :)

And this calendar is not related with contacts birthday fields, so sadly it's useless.

I do like stock calendar, because it's remembering me the birthdays before 3 days in advance :) very handy.

I did managed to remove all the miui tracking receivers, but Indian Holidays are the mystery. If you don't have the remedy, I'd go for app repacking. Maybe some strings should be removed.

Edit: by the way, the 802 stable just flies with newest v6 version and updated script.

I'm in love with my phone again. My kid broke the screen corner, I was thinking to renew it with Kenzo, but now, I've just ordered new screen replacement kit :D

Kudos, dear [MENTION=5952980]jajk[/MENTION], nice job done!

The only one thing is missed from gravity box, I kinda liked feature, when double tapping the resent app key - previous app is shown. Multitasking was superb. Do you know how to get it without xposed?
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Replace stock calendar with Google Calendar to solve the problem. The stock is just (Google) Android Calendar messed with by Xiaomi with all the usual spyware inserted.
[Redmi Note 2 Android Development] cukierkas:
I did that once, some years ago, but I didn't liked it at all. Maybe it's very updated now, gonna check it later on.

Regards.

Edit: Google Calendar shows same crap as well even if xiaomi calendar is frozen. Calendars storage is cleared, so thinking is hidden somewhere else. Adding the screen.

Edit2:

Deeper in the settings one more opt out should be done.

Now it's great.
[Redmi Note 2 Android Development] vetriolo:
[MENTION=5952980]jajk[/MENTION] I'm on redmi note 2 prime, 7.5.3 stable skinnify with v6 boot img (no perfserv, 4 core running with no limitation for max freq). Could you better clarify the role of zram? Have you enabled this or not? When it's helpful to do it? Thanks...
[Redmi Note 2 Android Development] jajk:
[MENTION=7694222]vetriolo[/MENTION] zram is an area of RAM that is compressed/decompressed on the fly (every time a file is written to, or read from). This effectively gives you more available RAM at a cost of the extra processing required to do the compression/decompression. If you are running out of RAM, apps will start to be killed by LowMemoryKiller. The cost of reloading an app from eMMC memory is higher than the cost of having the overheads of zram.

When should you use it?

If you are experiencing apps being killed and you already have made the effort to maximize free RAM by getting rid of running apps and services and set LMK to more sensible values than stock. If you do not need it, don't enable it - it has a slight impact on battery.

How much space to give to zram?

Around half of your normal free RAM which is close enough to 512MB for a 2GB RAM device or 1GB for a 3GB RAM device.

What gains to expect?

The zram space can typically yield a 2.5:1 compression ratio assuming a mixed bag of files so 512MB zram could hold around 1280MB of data.

Anything else?

Set swappiness to 0 if no zram or 100 if zram enable.

Do not trust Kernel Adiutor to tell you if zram is present and functional - it only reads the disksize value and does not check any further. Use busybox free command in Terminal to prove it is available. Open a load of apps and see if the swap space starts being used.

Hope that helps;)

Edit: I don't enable zram since I have 1200 - 1300MB free RAM to start with that only drops to around 900MB after a while of using the phone. No gaming, no Gapps, no Social Media so I can get away without zram on a 2GB phone.
[Redmi Note 2 Android Development] cukierkas:
I made 1GB zram partition. That works fine with me.
[Redmi Note 2 Android Development] bartez1596:
I set swappiness to 100 in 01_tweaks and zram don't work :(
[Redmi Note 2 Android Development] cukierkas:
Use alternative syntax with busybox, that's working for me.

And don't forget to set permissions to 777 after file editing.

Off-topic question:

Guys, what are your suggestions for email app? What you're using? Can't find proper one for me: I need Gmail and exchange push without sync on (only background data), easily attachments accessible, exchange notes or tasks support.

Was using Touchdown, but as mentioned, I do need 2 accounts with attachments management. It supports only 1.

Thanks.
[Redmi Note 2 Android Development] slumslayer:
Gmail app can do Exchange with push, including tasks (but I dont' know if it works if sync is off)

Envoyé de mon Redmi Note 2 en utilisant Tapatalk
[Redmi Note 2 Android Development] cukierkas:
Sadly it doesn't sync with out sync off nor have separate attachments tab :(
[Redmi Note 2 Android Development] turboente:
hello,

now that im very interested in darthjabba 7.2.3.0 rom, i always get "updater process ended with signal 11"

have done 2 downloads, same size.

several times tried to install the zip. always error 11.

redmi note 2

coming from wolf rom 7.1.3

twrp from this thread 3.0.2.2

installation from external sd

i have wiped system,cache,data, internal storage dalvik/art cache. also format data.

what can i do?

btw: i really appreciate this thread and all of these works!
[Redmi Note 2 Android Development] jajk:
[MENTION=5496681]turboente[/MENTION] Just to be sure, do a filesystem repair on /data using TWRP. Strange errors can occur when switching between ROMs.

A question for the masses: Has anyone found a way of stopping MIUI (8020) or other versions from adding the country code prefix to outgoing messages? The Call Settings - Add country code toggle doesn't seem to disable the behaviour. Maybe I have deleted or disabled a vital piece that has broken this? Does the toggle actually work for anyone else?
[Redmi Note 2 Android Development] cukierkas:
Haven't seen such settings in none of phones I did had. Guessing it belongs from your providers sms center.

And yes, I'm voting for second space removing.
[Redmi Note 2 Android Development] acestars:
remove secondspace i browse social media from browser anyway.
[Redmi Note 2 Android Development] turboente:
[MENTION=5952980]jajk[/MENTION]

thanks man, have changed the twrp.img to 3.0.2.0 .now its working:cyclops:

the next goal is to understand your awesome work...
[Redmi Note 2 Android Development] jajk:
Next question for the masses, hoards, great unwashed or whatever you like to be referred to as.

Should fdpp (Find Device Protected Process) also be disabled in the boot image rather than leaving it for the user to disable? I see Find Device as being a risk after reading the woes of several people who have been locked out of their devices after playing with different ROMs. You tell me if it stays or goes;)
[Redmi Note 2 Android Development] acestars:
if it connects to xiaomi server and the device still works without it then disable it.
[Redmi Note 2 Android Development] dedebekri:
I bought my device second hand, and the guy who sold me the device had activated find my device service to unlock the bootloader (RN3 - MTK).

Since I didn't know his password, the device asked me to enter password to activate device when turned on, and there was no way I could pass that validation screen.

I deleted find device apk from twrp and voila! The device could be set up without the validation screen.

So I assume there would be no harm removing the service.
[Redmi Note 2 Android Development] cukierkas:
That's xiaomi's soft or part of the Android? Does it consumes a lot? I would vote for stopping it, because I do remove xiaomi's app with hope that android manager would work someday, when needed :)
[Redmi Note 2 Android Development] jajk:
Find Device is Xiaomi version of what you can do with Google. The difference is (besides not involving giving all your data to Xiaomi) is that when things go wrong, you can usually correct it with a Google account.

Sounds like the vote is to get rid of it when I release a v7. I will look for a few more gains before doing so. Open to suggestions as to what to get rid of or what to include from where it is now.
[Redmi Note 2 Android Development] acestars:
[MENTION=5952980]jajk[/MENTION] I just flashed MR8020 and found some system apps that not exist on MR7230. So which one safe to delete

com.miui.rom

com.miui.stepsprovider StepsProvider.apk

com.miui.system miuisystem.apk

com.miui.translationservice translationservice.apk

com.miui.securitycore securitycoreadd.apk

com.miui.sysbase systembasefunctions.apk

com.mobiletoools.systemhelper systemhelper.apk

com.miui.touchassistant touchassistant.apk

I never use miui launcher i have nova launcher so is it okay if I delete miui launcher, themes, and mi account?
[Redmi Note 2 Android Development] HDHR:
Is this miui 8.0.2.0 based on cn stable?
[Redmi Note 2 Android Development] Brkge:
Xiaomi.EU one is based on China Stable. No Idea about Multirom
[Redmi Note 2 Android Development] DarthJabba9:
Sounds fine to me. Perhaps anything that could cause trouble when enabled by default should be disabled (with instructions as to how to enable it in initd scripts for anyone who feels the need to do so).
[Redmi Note 2 Android Development] cukierkas:
In [MENTION=5952980]jajk[/MENTION] we trust :)

As a half noob, I'm in your hands :)

By the way, I'm more than happy in skinny stable plus stable boot plus smart init script and plus Android tools :)
[Redmi Note 2 Android Development] jajk:
[MENTION=7181343]HDHR[/MENTION] All 8020 versions are based on China stable. There is no Global 8020 at this point.
[MENTION=3885679]acestars[/MENTION]

must keep:

com.miui.rom

com.miui.system miuisystem.apk

com.miui.sysbase systembasefunctions.apk

com.miui.stepsprovider StepsProvider.apk

keep themes otherwise you won't be able to change ringtones etc.

can delete:

com.miui.translationservice translationservice.apk

com.miui.securitycore securitycoreadd.apk (app privacy app)

com.mobiletoools.systemhelper systemhelper.apk

com.miui.touchassistant touchassistant.apk (Quick Ball)

miui home launcher + miui wallpaper becomes obsolete when you do this.

Mi Account

The list for deletion in the upcoming v7 so far:

Delete find device service

Delete unused matv service

Delete remaining lines for non-present Camera devices and sensors.

What you will have available to manually stop depending on your circumstances are:

stop ssService gone since v6

stop namespaceCreate gone since v6

stop mcd_service gone since v6

stop fdpp going in v7

stop matv going in v7

stop sn

stop wifi2agps

stop agpsd

stop emsvr_user

stop PPLAgent

stop mtkbt

stop batterywarning

stop debuggerd64

stop debuggerd

stop emdlogger1

stop logd

stop mobile_log_d

stop netdiag

stop autokd
[Redmi Note 2 Android Development] acestars:
[MENTION=5952980]jajk[/MENTION] I forget some apk

com.securespaces.android.trustagent SpacesTrustAgent.apk

com.securespaces.android.ssm.service SpacesManagerServices.apk

com.mfashiongallery.emag MiGalleryLockscreen.apk

How about them is it safe to delete?
[Redmi Note 2 Android Development] jajk:
[MENTION=3885679]acestars[/MENTION] All can be deleted providing you are not using second space and you are not downloading rotating wallpaper from Xiaomi.
[Redmi Note 2 Android Development] jajk:
v7 images for all versions uploaded - link in O.P as always:)

Changelog:

Disable fdpp service (applies to miui8 only)

Disable matv service (all versions)

remove remaining non-present camera & sensor lines

remove unusable meta init files and defunct init.miui8.rc

Remaining boot services that can be disabled in init.d script depending on users requirements:

sn

wifi2agps

agpsd

emsvr_user

PPLAgent

mtkbt

batterywarning

debuggerd64

debuggerd

emdlogger1

logd

mobile_log_d

netdiag

autokd
[Redmi Note 2 Android Development] HDHR:
But I look at build.prop it's like based on cn beta (6.x.xx)??? Not global??
[Redmi Note 2 Android Development] acestars:
My build.prop

ro.build.version.incremental=V8.0.2.0.LHMCNDG
[Redmi Note 2 Android Development] jajk:
[MENTION=7181343]HDHR[/MENTION] Where did you get you 8020 ROM from? All

untainted

versions should have the same as what [MENTION=3885679]acestars[/MENTION] has:

ro.build.version.incremental=V8.0.2.0.LHMCNDG

It is important because 80xx has a different kernel + a few support files to the 6xxx versions.

Warning to All: sMIUI boot images are modified in such a way that I would strongly advise against using them - they contain dubious additional executable code and the tweaks claimed are not legit.
[Redmi Note 2 Android Development] lckjosh:
[MENTION=5952980]jajk[/MENTION] but if I use the smiui rom with your boot.img it should be alright right?
[Redmi Note 2 Android Development] cukierkas:
Updated to v7.

Regards.
[Redmi Note 2 Android Development] jajk:
[MENTION=6074407]lckjosh[/MENTION] Why would you want to? If there is dodgy stuff in the boot.img, who knows what else is in the ROM? I am not going to download a whole sMIUI ROM to discover what is lurking beneath the surface. Besides, sMIUI is not a good example of how a skinny ROM should be.
[Redmi Note 2 Android Development] jajk:
If you have removed MIUI Home launcher and want to change the Lockscreen Wallpaper but now find you can't:

The file /system/media/theme/default/lock_wallpaper is actually the current lockscreen wallpaper jpg file. Rename your desired lockscreen wallpaper to lock_wallpaper (no .jpg extension) and overwrite the existing. Fix up the permissions afterwards of course;)

MIUI Wallpaper won't work so is redundant as soon as you replace MIUI Home Launcher. Delete it.
[Redmi Note 2 Android Development] slumslayer:
Someone already found something, see http://xdaforums.com/showpost.php?p=68260615&postcount=123

I would strongly advise against using this rom

The sMiui thread has now been closed...

Envoyé de mon Redmi Note 2 en utilisant Tapatalk
[Redmi Note 2 Android Development] acestars:
Wow, fortunately I never installed the smiui rom. So how about another famous cooked rom, such as MR or EU? Are they safe?

documentui always got disabled every reboot is there any config to make it enabled? For now i enable it from init.d.
[Redmi Note 2 Android Development] jajk:
sMIUI xda thread is closed but sMIUI lives on and is ramping up the included Malware. It looks like the initial blame the John Dizzle dude was just a smoke screen and the intent all along was to contaminate your phones.

I tried sMIUI a long time ago and found it was crap and used crap tweaks that were (and sometimes still are) pushed around here for a long time. Serial victims lining up for the next serve all the time:rolleyes:

As far as EU and MR MIUI goes, it is a case of tread carefully - who do you trust more - a bunch of anonymous Russians or a bunch of anonymous Chinese? It is good practice to look at the installer script carefully and even unpack the boot image to look for unexpected extra services like what is found in 6.9.x.x versions that have added services not found in stable Xiaomi sourced releases.

Has anyone found an explanation of the extra services appearing in init.miui.rc?

Personally, I stick to stable releases from EU or MR so I can quickly see that the only changes are additional lang packs:good:
[Redmi Note 2 Android Development] jerryshaw12:
maybe someone can build app for changing lockscreen wallpaper ?
[Redmi Note 2 Android Development] everdeath66:
Hi somebody give a work script an ini.d when realy works zram config and etc..

For rom official miui global 6.9.29 . Thanks you!
[Redmi Note 2 Android Development] acestars:
I removed miui calendar then installed google calendar from play store after that the calendar sync from account menu is missing any way to fix that?
[Redmi Note 2 Android Development] everdeath66:
I install boot from twrp like a img and for boot

(Skinny pro Miui 8 6.9.29 v7)

Then after i create file script to system/etc/init.d/

And gives permissions . Then reboot

But after boot device i watch laggy interface and no zram in ram managment

And this a questions , what i doing wrong ?
[Redmi Note 2 Android Development] jerryshaw12:
delete all # at ###Enable zram to enable it

e.g

#echo - > echo

or replace with this if you still don't understand

#### Enable zram

echo 536870912 > /sys/block/zram0/disksize # 268435456 (256MB) 536870912 (512MB for non-prime version) 1073741824 (1GB for prime version)

/system/bin/tiny_mkswap /dev/block/zram0 # alternative syntax: /system/xbin/busybox mkswap /dev/block/zram0

/system/bin/tiny_swapon /dev/block/zram0 # alternative syntax: /system/xbin/busybox swapon /dev/block/zram0

echo 100 > /proc/sys/vm/swappiness # disable line or set to factory default 100 when zram is enabled
[Redmi Note 2 Android Development] jajk:
[MENTION=5761138]everdeath66[/MENTION] O.P edited to show the condition with zram enabled in the sample script. The alternative busybox commands are shown since some have problems getting the inbuilt tinyswap commands to work.

It relies upon you installing a more complete version of busybox before it will work.

Hopefully this should reduce the hassle of getting zram up and running;)

[MENTION=6150156]jerryshaw12[/MENTION] The bigger question is why on earth would Xiaomi go to such lengths to disguise what is going on? What is there to gain? Was someone paid to come up with that? Post your app here when you have finished it and don't include any analytics, in app offers or ads thanks:laugh:

[MENTION=3885679]acestars[/MENTION] Not sure what you are asking but....Calendar sync is part of Gapps package. If it is missing, installing PicoGapps will re-establish it. You will have to add and log on to a Google account to make it work (obviously)
[Redmi Note 2 Android Development] everdeath66:
Good do you give me full scripts be work everyfing what you in the skinny boot? For a noob:good:
[Redmi Note 2 Android Development] jerryshaw12:
just created Automate flow to change the lockscreen wallpaper [emoji23] (can't write code) [emoji23]

link : http://llamalab.com/automate/community/flows/7479
[Redmi Note 2 Android Development] jajk:
Version 8 is on its way soon. Any sensible requests for changes will be entertained for a short space of time;)
[Redmi Note 2 Android Development] cukierkas:
can you make android system more silent?

right now, running since morning, it waked up the system 39 times (most of them location and EINT wakelock with powermanagerservice wakelock).

Or this more depends on modem version?

wifi2agps and agps are stopped with init script.

Maybe there is the culprit?

Most of the gapps broadcast receivers are silenced, so I'm more than happy with it.

Maybe there are some system wakelocks, which can be silenced easier as well?

Regards.
[Redmi Note 2 Android Development] acestars:
any change logs?
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Can't do much with the eint wakelock but powermanagerservice maybe....

One of the dumb things about MTK / Xiaomi is that all the running services related to saving power actually consume more power than they save. You have a choice in either running with the Battery Saver app or making sure it is all turned off before deleting the app. Turn it off then freeze it first to see if you get better results. If so, delete the app when you are convinced.

wifi2agps and agps only affect fine location.

I found that disabling components of Gapps only made it angry and it retaliated by starting more services:mad: Even if you only install pico Gapps, you can still uninstall some of the components like googlebackuptransport, googlefeedback, googlepartnersetup and Google Keyboard without affecting core functionality.

[MENTION=3885679]acestars[/MENTION] Yes. It is better:p
[Redmi Note 2 Android Development] cukierkas:
In this case it's needed to shutdown and gapps panic, restart, rebuild, health etc receivers.

helps, indeed :)

Edit: yes, wakelocks of Android system are reduced with power keeper freezing up. Will see later on.
[Redmi Note 2 Android Development] jajk:
Skinny_Pro_MIUI8_8020_boot-v8.img uploaded. This is suitable for both 75xx and 8xxx ROMs. Do not use on 6xxx ROMs.

Changes:

merge init.storage.rc into init.ssd.rc then delete file

delete unused init.zygote32.rc

change importing scripts in init.rc to refer to filenames rather than props that may not be set correctly in default.prop or build.prop. (for zygote and hardware)

remove lots of useless stuff out of ueventd.rc, file_contexts, property_contexts, seapp_contexts, service_contexts