yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 Android Development] jajk:
O.P edited with change to no perfserv settings and a couple more build.prop lines to test out.

I had a duplicated line in HPS settings for down_threshold. Check that error hasn't translated into your script too.

I am starting to think like [MENTION=4666525]Adam Hui[/MENTION] with regards to setting hispeed_freq to 403MHz (essentially disabling it). Who knows, might even start feeding the Trolls on the AOSP 6.0 thread as well:laugh::laugh::laugh:

I have already developed a Skinny image for AOSP 6.0 22/09 release but I am not going to release anything on XDA until all the little dweebs loose interest and go back to CM. Dumbness has found a new home for now at least:(
[Redmi Note 2 Android Development] cukierkas:
Now I see the problem, why my perfservice is working, nor I'm disabling it. :)

The line is already in build.prop with 1. So additional line does not make anything. And most of the lines, [MENTION=5952980]jajk[/MENTION] already mentioned, are already in build.prop. Check it out :)

By the way, working with 403000, that's fine with me. Glitches, but acceptable.

And 0-3 cores.

Making Hermes as lumia 640 :)

Regards.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] I'm on 403MHz hi_speed, 4 cores and 1781MHz limit. Performance is still damned good and battery is phenomenal. I think the breakthrough is definitely getting rid of MTKs crappy PerfServer. Now we are running like a Moto G with just the governor and hotplug server doing the business;)

All the same tricks work equally as well on MT6753 SoC phones.

I think the original text was a bit misleading regarding build.prop edits.

Yes all the lines already exist in build.prop so edit that line - do not add a duplicate that contradicts the first.
[Redmi Note 2 Android Development] jajk:
I have uploaded a new TWRP that has AOSP 6.0 2209 kernel (and supporting files). It is suitable for all ROMs (5.02, 5.1 and 6.0 based) and is faster than the previous one with a 5.02 kernel.

It has been my daily driver for a while now and I am backup / restoring between MIUI and AOSP 6.0 without issue.

Enjoy;)

https://drive.google.com/open?id=0BwdRTuyj12_yWjNCUWdXT1RYWXM
[Redmi Note 2 Android Development] cukierkas:
Can you please make flashable zip?
[Redmi Note 2 Android Development] cukierkas:
Just finished playing with the app, my android tools.! I'm amased, how I'm spayed with Google services and xiaomi apps!

Every screen on, every text entered every calendar entry taken :) wow, nothing to say more. Cutting and trimming, will see if I'm not trimmed too much ;) [MENTION=5952980]jajk[/MENTION], thanks for a lovely app.

Regards.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Flash latest TWRP image via your existing TWRP (you can flash images too) or fastboot or SP Flash Tool.

You forgot to mention every location, every contact, what you had for breakfast, pictures of your girlfriend......... this is when you find out that Google retaliates if you dare try to limit its power. The quantity of Google services and their behaviour is totally unjustified - it is just subterfuge to stop its nature being too obvious. At least the Xiaomi stuff is blatantly obvious spyware and easier to subdue:p

I don't know if it is just me being paranoid or whether people should be a little more questioning of why companies push to offer free cloud based services. If you love to hate the Xunlei "Network accelerator" spyware then thank Opera for monetizing its technologies and selling out to any bidder.
[Redmi Note 2 Android Development] Gyovany96:
[MENTION=5952980]jajk[/MENTION] The only difference between v4 and v5 it's that v5 doesn't disable all unneeded services and leave it to your preference , right ? In rest I guess it's all the same with v4... :)

EDIT :

wifi.supplicant_scan_interval it's not present at all in my 6.9.22 build.prop :/

Changing dalvik.vm.isa.arm64.variant=cortex-a53 and dalvik.vm.isa.arm.variant=cortex-a53 doesn't let me install any apps ( manually or from Gplay ) , so it actually do something...bad :p
[Redmi Note 2 Android Development] vaselor:
[MENTION=5952980]jajk[/MENTION] How do you install apps without having gapps? Do you rely solely on manually downloaded apks, or use something like F-droid?

Thank you.
[Redmi Note 2 Android Development] Gyovany96:
You can install apps without Gapps. Aptoide is one of the best App Stores or you can install apps manually by downloading them from sites like F-droid , apkmirror , etc..
[Redmi Note 2 Android Development] jajk:
[MENTION=5216574]Gyovany96[/MENTION] wifi.supplicant_scan_interval is a new entry so needs to be added. Hmmm... dalvik a53 lines should have nothing to do with the ability to install apps but I will look into it and see if I can get the same problem recreated.

[MENTION=7117356]vaselor[/MENTION] Gapps is like a drug that you have to ween yourself off. After 2 weeks cold turkey, you will never want Google back in your life. There are a lot of ways to find and install apps without Gapps;)

I use http://www.apkmirror.com/apk/google-inc/ to keep up to date with things like Messenger and Webview.

Edit: [MENTION=5216574]Gyovany96[/MENTION] You are correct about the a53 lines. Removing them from AOSP 6.0 also fixes some refusals to install apps.
[Redmi Note 2 Android Development] acestars:
[MENTION=5952980]jajk[/MENTION] I just read https://plus.google.com/109978578814688510803/posts/foPPdVxgYC6 and I really intrigued about "timer_slack: -1". Based on https://android.googlesource.com/kernel/common/+/android-3.4/Documentation/cpu-freq/governors.txt timer_slack is for dropping the clock of cpu on idle but if it set to (-1) the cpu wont drop, isn;t it?

How about your opinion about this?
[Redmi Note 2 Android Development] jajk:
[MENTION=3885679]acestars[/MENTION] I think if timer_slack is set to -1, it is set to infinite which is sort of the same as the function saying "I don't care" or "I want no involvement". The function is really to cover scenarios where the timer_rate and other timing elements are caught at the wrong end of their cycle when a sudden load hits. My rule of thumb is timer_slack >= timer_rate + min_sample_time (which should always be larger than above_hispeed_delay)

If you get these timings wrong, you see a "bouncing" in frequencies or cores, or both on upward and downward trends depending on what is stuffed up.

I loathe to do this but..... Uploaded a Skinny v5 image for CM12.1 since I have just had a play with vova 23.09 version. It takes a bit of work but this CM can run quite well applying all the techniques used on MIUI ROMs but you forfeit the sophistication you only get from factory hardware drivers. It is like comparing a Lada to a BMW but you can kid yourself otherwise:)

Don't spam my thread with questions or gripes about the CM boot.image - it is there for the taking - end of story.
[Redmi Note 2 Android Development] vaselor:
[MENTION=5952980]jajk[/MENTION] My concern is about installing unmodified apps. I had checked apkpure.com which seems like apkmirror, but with an app to download stuff from there. I don't want to delete gapps to keep myself safe from Google spying and then give my information to some Asian hacker (at least I know Google is not selling my into to the mafia). Is there a way to check the apks' authenticity?

Thanks.

---------- Post added at 08:42 AM ---------- Previous post was at 08:35 AM ----------

I'm sorry, I've just seen this reply. I'll check it. Thank you.
[Redmi Note 2 Android Development] AssToast:
Aptoide is more like a black market for android apps last time I checked. Not sure if much has changed, so beware.

Apkmirror is by androidpolice.com if you know them. They're safe, to me at least.
[Redmi Note 2 Android Development] Gyovany96:
Aptoide is safe ! I never had problems with any app downloaded from there. Apkmirror it's also very good and safe site :good:
[Redmi Note 2 Android Development] vetriolo:
[MENTION=5952980]jajk[/MENTION] How do you eliminate Gapps? Before flashing ROM (What app we need to remove form flashable zip?)? Or after? I have net_scheduler wakelock very heavy for my poor battery....
[Redmi Note 2 Android Development] vaselor:
Oh yes, I've read some of their articles before. I'll take apkmirror as reliable.

I'll do a backup of my rom and will install again without gapps next time. I didn't do it before because the only not-Google-Amazon place I knew about to install apks was F-droid, and while I like it, not being able to install popular messaging apps would be a big hassle.
[Redmi Note 2 Android Development] jerryshaw12:
when i flashed mokee from bule, your twrp did not recognize system partition by name, so it won't flash
[Redmi Note 2 Android Development] slumslayer:
I know you said no question, but I'd like to try your skinny img for cm and I can't find it under the link on the first page :(

There is only v3 & 4 for miui
[Redmi Note 2 Android Development] lckjosh:
How does one remove gapps? And when I remove gapps is there a way I can download and install my paid apps legally?
[Redmi Note 2 Android Development] jajk:
[MENTION=4229343]slumslayer[/MENTION] When I look it is there. I think you have an outdated cached page - reload and it should appear;).

jerryshaw12 I had the same issue to flash Vova CM. It is due to a weird way of doing the mounts that use the long path instead of just saying mount /system.

Just edit the updater-script to add the bold text bit to any paths to partitions that need it. (probably a /data partition line as well)

mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system", "/system", "");

[MENTION=7117356]vaselor[/MENTION] No need to reinstall without Gapps. Gapps is easy to uninstall completely. There are scripts for doing exactly that but if you look at the original Gapps package installer, you will find a gapps-remove.txt that can be used to manually delete everything you need to.

I would be very cautious about any site that wants you to use a piece of software to download apps or sends you on a wild goose chase to gain ad revenue. I have a bunch of "semi-trusted" sites but still pull the apps apart to check they are indeed what they are meant to be.

[MENTION=7694222]vetriolo[/MENTION] Edit the updater-script found inside ROMxxx.zip\META-INF\com\google\android\

Disable the lines that are installing Gapps, save it and then the install process won't go on to install Gapps.

[MENTION=6074407]lckjosh[/MENTION] See answer above to uninstall Gapps. The problem of paid apps that need Playstore to update or reinstall is tricky. Going Gappless is not going to work for everyone. I have one paid app that give me grief but I work around it by the magic of restoring a Gapps image, doing what needs to be done and then going back to a Gappless image with the newly updated paid app safely migrated over.
[Redmi Note 2 Android Development] vetriolo:
Thanks. But is it also possible to uninstall it after flash?
[Redmi Note 2 Android Development] slumslayer:
[MENTION=5952980]jajk[/MENTION] You were right. Stupid google chrome, even reloading the page wasn't refreshing it, I had to clear the cache... Thx ! :)

Envoyé de mon Redmi Note 2 en utilisant Tapatalk
[Redmi Note 2 Android Development] Adam Hui:
Not mean to make it dumber [emoji12] , but how about Titanium Bckup : playservices, g service framework, playstore, g calender & contact sync, g account manager, onetimeinit, partnersetup, etc, etc...

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] acestars:
I installed the gapps for google map because i need it for traffic info for driving to work and contact sync. If i found another good alternative i think i can live without gapps.
[Redmi Note 2 Android Development] Adam Hui:
Oh so many alternative for maps, and for contact sync u could use TiB to backup it offline then save the backups .gz to your laptop HDD forever.

It's even safer offline, be advice ur contacts, destinations, movement, etc. can be profiled as who u're for ad analytics, spy, etc.

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] cukierkas:
One and huge plus of using Google contacts - ordinary aosp or cm dialer or contacts app doesn't have birthday line, I do like to add it.
[Redmi Note 2 Android Development] acestars:
Until now just google map has most updated, almost real time traffic info for my city. I am not from usa or europe so i have very little alternative.
[Redmi Note 2 Android Development] cukierkas:
[MENTION=5952980]jajk[/MENTION], short question, what is a better way to replace cm12 boot.img with yours?

A, rename it to boot.img and replace it in the zip with original one? And after that install it usual way? I did with miui 6915 version.

B, install vova's cm and afterwards yours img? Would it work that way? :)

Going to get friendly with cm12 while mm is going to be ready for daily usage.

Another question. I'm so used to miui eu integrated search, would that quicksearchbox app work in cm12? What should be done to make it workable? Regards.
[Redmi Note 2 Android Development] jajk:
On the issue of going without Gapps - seems like people want to have it both ways. It's like being a drug addict but there is life post Google. When you can sink no further, you will change;)
[MENTION=4666525]Adam Hui[/MENTION] You dumbing down my thread again? Did everybody miss what I wrote???

Gapps is easy to uninstall completely. There are scripts for doing exactly that but if you look at the original Gapps package installer, you will find a gapps-remove.txt that can be used to manually delete everything you need to.

[MENTION=2606021]cukierkas[/MENTION] Just install CM and then reflash the boot.img using TWRP. QuickSearch is integrated into many launchers - choose one as you will be changing from the god awful Trebuchet I would hope...
[Redmi Note 2 Android Development] Adam Hui:
[emoji44] for the 2nd time maybe yes, and no.

lol, sorry... But not everyone capable to create script or zip to uninstall it, i'm in for and then just guys asking it after gapps done. Gapps-remove.txt is most complete list about itself tough ;) , except PhoneSky.apk imo is too essential maybe.

Honestly, unistalling Gapps using TiB listed by the txt was easiest way, then finish it by wiping all corpses.

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] cukierkas:
[MENTION=5952980]jajk[/MENTION], have managed to trim aosp 09/22 boot.img?

using it from morning, very fine with exposed.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Yes, I skinnied a boot image for AOSP6.0 2209 but there are still too many issues with the ROM to make it a daily driver so I won't release it because all the faults in the ROM will then become mine;)

What faults you ask? Give it a day or 2 and you will be restoring your previous ROM.

And..... too many kiddies hovering around the AOSP 6.0 thread - not going to attract them my way.

[MENTION=4666525]Adam Hui[/MENTION] First thing I mention in this thread is NOT FOR NOOBS so I kinda expect some capabilities to at least edit the odd script or use a list as a reference to delete folders. The tricky bit is recognizing what is and isn't part of a Gapps package which is where the Gapps-remove.txt file is a handy reference for the less experienced.
[Redmi Note 2 Android Development] cukierkas:
Yep, you're right. Restored miui couple hours ago. Gonna wait for a stable version instead.

One more thanks. Yours recovery really fast :)

Regards.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] Don't hold your breath waiting. It is starting to look like it will fall short and end up no better than CM5.1 builds with a lot of things that don't quite work and a whole lot of people pretending they do:p
[Redmi Note 2 Android Development] cukierkas:
R U sure?

I'm still remembering my samsung i-9003 and how eagerly our community was waiting for working ics :)

Here is the same. Let's hope.

Nor, I'm happy and with skinned miui.
[Redmi Note 2 Android Development] jajk:
[MENTION=2606021]cukierkas[/MENTION] 9003=Qualcomm just like the original Moto G that also now has Android 6.0 through the efforts of devs. Name an MTK based phone that has had a jump in Android version that didn't' come from the manufacturer ( or crudely ported from a phone with the same internals)
[Redmi Note 2 Android Development] cukierkas:
Morning. Hardly name it, so guessing - none:)

Same 9003 is still alive, used as kids entertainment system :)

Regards.
[Redmi Note 2 Android Development] jajk:
Skinny_Pro_MIUI8_8020_boot-v5.img uploaded. This will work fine on 8010 but not 6.9.x due to the extra msqasd service it appears to need.

I have moved from 7550 to EU 8020 as my daily driver - lets see how the battery holds up in comparison.

If on MIU8, you can stop a couple more services if not using the second space feature.

add these lines to your init.d script if you wish to disable them:

stop ssService

stop namespaceCreate
[Redmi Note 2 Android Development] andrea210701:
Jiayu s3?
[Redmi Note 2 Android Development] jajk:
[MENTION=4772299]andrea210701[/MENTION] I see they are up to Nougat ROMs for Jiayu s3 which is 6752 / 6753 SoC. Not sure if the development is based on Kernel source code or just picking a kernel from another device (tons to choose from in 6753). They are having the same issues trying to adapt drivers to their particular hardware so the fanfare is short-lived.

v6 images uploaded.

All: mcd services completely removed (expectation is that you create your own zram or run without)

MIUI8 only: second space functionality removed

Boot services removed in V6:

checkpath

checksdkpath

mcd_service

mcd_init

mobicore

ssService ***applies to MIUI8 only

namespaceCreate ***applies to MIUI8 only

Boot services that are running by default but can be stopped if not needed:

sn - USB serial number service

wifi2agps - wifi network assisted GPS location (fine location)

agpsd - mobile network assisted GPS location (fine location)

emsvr_user - Engineering Mode Server (will still start when needed)

PPLAgent - Privacy Protection Lock

mtkbt - MTK Bluetooth

batterywarning - not needed to be running (still functions)

debuggerd64 - logging

debuggerd - logging

emdlogger1 - logging

fdpp - find device protected procedure *** MIUI7.5 and 8 only

logd - logging

matv - unused in our phone

mobile_log_d - logging

netdiag - logging

autokd - needed for wifi speed negotiation (tuning)

All other boot services must be left as they are.
[Redmi Note 2 Android Development] Adam Hui:
This thread is beautiful.

Imo this could be the standard procedure of management for every stock roms to defending users ownership advantage against vendors interests.

Every changes in should asap write in op please.

[MENTION=5952980]jajk[/MENTION] do we need to make complete to OP about 3 points how to enable zram : init.d (stop mcd & busybox script) & edit mcd_conf. to blank ?

and whether stop autokd doesnt make a trouble for mid-weak wifi signal performance, if no so it could be said that autokd service is a waste ?

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] jajk:
[MENTION=4666525]Adam Hui[/MENTION] I know the O.P is lacking some historic info and detail but we are moving on so quickly it is hard to know what is still relevant and what is important. If I ask for feedback, I get little so I just keep moving forward with what I think is a good direction to move in. Enjoy the ride;)

autokd should probably be running if you are using WiFi. Like all of the listed boot services, if you are using the service, don't stop it. I am only saying it is an option to stop these if you are not using them.

A few days on and 8020 is my new favorite. It is harder to skinnify than 7550 or previous versions since more apps & services are trying to run all the time by default. Using our best friends - SD Maid and MyAndroidTools, all is under control once again:)

I wonder whether the removal of second space in v6 suits other users?

Anyone on 6.9.29 can use 6.9.15 skinny boot.
[Redmi Note 2 Android Development] cukierkas:
I'm still on 6.9.15 version, runs good for me. Gonna try and 8.0.2 stable someday. Is it worth? Does stable is somewhat better and newer than the weakly?
[Redmi Note 2 Android Development] acestars:
[MENTION=5952980]jajk[/MENTION] would you mind to re-upload the 8020? android file host error no mirror found and megadysk not supported by my provider. Thank you.
[Redmi Note 2 Android Development] jajk:
[MENTION=3885679]acestars[/MENTION] Link in O.P is to Google drive.

[MENTION=2606021]cukierkas[/MENTION] It is a matter of personal preference. I watch a few different forums to see what is regarded as the least buggy version before jumping. (still have to ignore the noob misinformation that follows this phone)
[Redmi Note 2 Android Development] acestars:
[MENTION=5952980]jajk[/MENTION] sorry i mean the rom 8020. would you mind to share it? i already downloaded the boot image 8020.
[Redmi Note 2 Android Development] Adam Hui:
It's ok, your own, lets move on.

I'm just taking care if there are new guys probably come with obscurity of details how to, but want a sharpest benefits of your skinnifying, since xda searchbox still a slo-move wide innacurrated. The other side i knew u're a dedicated perfectionist in about something ;)

Xiaomi or vendors read all. This thread is serious threats to their interest & post market strategy, asap logically they will prepare new complicated techniques to get it back.

So far i'm still synced with all your changes, no complaining, my miui feeling sharper by time (with my own adaption).

About secondSpace, it's feel kinda a provocation for me, since basically i dont want to betray my wife.. lol.

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] jajk:
[MENTION=3885679]acestars[/MENTION] link for EU 8020:

https://yadi.sk/d/_aQNXdk-vgbsx

[MENTION=4666525]Adam Hui[/MENTION] So is that a vote for Second Space stay or goes?

O.P updated with changed init.d settings for running with no perfserv. Highly recommended;)
[Redmi Note 2 Android Development] Adam Hui:
Yes, i voted 2ndSpace goes.

Coz i wanted miui becomes to xtreme skinnied aosp with proper drivers & kernel.

i have a bit obscurity about your hotplug setting, there's only 6 cores enabled (i know this sets for battery & 6 cores were enough, no wasting energy), but will there be moments while 8 cores work together when really needed with that hotplug setting?

Sorry if sounds so noob, but i wanted the thermal spreads splitted evenly to keep cpus healthy & no cores be unemployed when rom really really needed... :D

Anyway, this is a working p52 for guys who needed https://drive.google.com/drive/mobile/folders/0B5EC17PiSpCzbHF1ZU5NYlA3d00

*] front LED holographic keyboard >> another dream in android
[Redmi Note 2 Android Development] cukierkas:
I'm keeping only 4 cores alive, no need to have all of them. Will try newer settings.

Having problem with installing 802 stable, downloading from yandex link, strange long name is coming. Error 11. Trying to re-download.

Recovery [MENTION=5952980]jajk[/MENTION]'s, aosp modded.