yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 Original Android Development] MOVZX:
Fail in mmcblk0p14. Restoring...[/QUOTE]

mmcblk0p14 = tee2 partition? What to do with it?

----------------------------

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/mmcblk0p14", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");

ui_print("Verifying the updated system image...");

if range_sha1("/dev/block/mmcblk0p14", "44,0,32770,32865,32867,33379,65535,65536,65538,66050,75568,98304,98306,98401,98403,98915,131071,131072,131074,163840,163842,163937,163939,164451,196607,196608,196610,229376,229378,229473,229475,229987,262143,262144,262146,294912,294914,295009,295011,295523,327679,327680,327682,360448,360450") == "f9ffacc435350fc1e51dd052ed27c9a38946759e" then

if range_sha1("/dev/block/mmcblk0p14", "54,32770,32865,32867,33379,65535,65536,65538,66050,75568,76080,97792,98304,98306,98401,98403,98915,131071,131072,131074,131586,163328,163840,163842,163937,163939,164451,196607,196608,196610,197122,228864,229376,229378,229473,229475,229987,262143,262144,262146,262658,294400,294912,294914,295009,295011,295523,327679,327680,327682,328194,359936,360448,360450,360962") == "3f7b0f5a7f573967fab7e93b7d644be750c9483e" then

ui_print("Verified the updated system image.");

else

abort("system partition has unexpected non-zero contents after OTA update");

endif;

else

abort("system partition has unexpected contents after OTA update");

endif;

mmcblk0p14 is tee2 partition, not system partition. It should be mmcblk0p15.

Also, it's safer to use /dev/block/platform/mtk-msdc.0/by-name/system instead of /dev/block/mmcblkxpx

Careful guys, this ROM is still in very alpha state (CM13).

C:\Users\MOVZX>adb shell cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000400 00001800 "proinfo"
emmc_p2: 00001c00 00002800 "nvram"
emmc_p3: 00004400 00005000 "protect1"
emmc_p4: 00009400 00005000 "protect2"
emmc_p5: 0000e400 00000200 "seccfg"
emmc_p6: 0000e600 00002000 "lk"
emmc_p7: 00010600 00008000 "boot"
emmc_p8: 00018600 00040000 "recovery"
emmc_p9: 00058600 00003000 "secro"
emmc_p10: 0005b600 00000400 "para"
emmc_p11: 0005ba00 00004000 "logo"
emmc_p12: 0005fa00 00005000 "expdb"
emmc_p13: 00064a00 00002800 "tee1"
[COLOR="Red"]emmc_p14[/COLOR]: 00067200 00004e00 "[COLOR="red"]tee2[/COLOR]"
emmc_p15: 0006c000 00400000 "system"
emmc_p16: 0046c000 0012c000 "cache"
emmc_p17: 00598000 0349dc00 "userdata"
emmc_p18: 03a35c00 00008000 "flashinfo"
[Redmi Note 2 Original Android Development] Jawor245:
If we change p14 to p15 it will change something ? Rom will boot ?

edit.

Nevermind won't boot even into recovery only fastboot :p
[Redmi Note 2 Original Android Development] Maszter93:
I have few questions about this cm 12.1 rom:

1. is this cm 12.1 can record 4k? with stock or additional app?

2. how about usb OTG with NTFS drive?
[Redmi Note 2 Original Android Development] rena71rai73:
hello, there are ☺che heroes have tried the 13 cm?

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] Jawor245:
I tried doesn't boot :p only fastboot working after flash we need to wait more while Loki make it bootable :)
[Redmi Note 2 Original Android Development] rena71rai73:
wuau, I can not wait ?

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] Aziz_T:
Hi,

[MENTION=6738603]lokjianming[/MENTION] maybe you should start a new thread for CM13 ROM.

That way more people will know about your new project and you may get some new beta testers or even donations, who knows...

Apart from that, can't wait to see a working version of CM13 so I can try it.

Since my only phone is RN2, I can't provide such a luxury to myself by trying CM13 beta ROMs.

As soon as you make a working version, I'll be happy to try it.

Keep up with the good work.

Best,
[Redmi Note 2 Original Android Development] Cyber-Shadow:
So CM 13 doesn't seem to be working, I saw than you have been using meizu mx4 source code, why is that?
[Redmi Note 2 Original Android Development] spoof123:
jiayu.de have already built cm13 for jiayu s3. They have been given the kernel source code by jiayu. The problem is that xiaomi has not release kernel source so it is really difficult to make a bootable cm13. Thanks a lot for Master [MENTION=6738603]lokjianming[/MENTION] for giving it a try. This is the link for cm13 jiayu s3 : http://www.needrom.com/download/cm-13-android-6-0-1-2/. Maybe [MENTION=5238428]superdragonpt[/MENTION] will give you a hint.
[Redmi Note 2 Original Android Development] rena71rai73:
hello, then you will not have to 13 cm '' Hermes ''? or remains a chance? thank you.

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] hypersongster:
Multi Window

Is xposed framework compatible with the latest update? I tried before and it gave me boot loop but I managed to uninstall xposed framework. It would be very cool if you can add the split screen or multi window to the rom! Thanks!
[Redmi Note 2 Original Android Development] tau.gi.mo:
For me Xposed Framework v80 flashable works fine and it worked with every Update yet. Anywhere in the Internet I found a Addon.d Script, so I installer once weeks ago and it still works...

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] hypersongster:
Can you please give me the link that works for you? Thanks. I will try again.
[Redmi Note 2 Original Android Development] pumpkins12:
here you go

xposed-v80-sdk22-arm64.zip
[Redmi Note 2 Original Android Development] Cyber-Shadow:
Come on xiaomi... Just release source code... Not all hope is given up though [MENTION=6738603]lokjianming[/MENTION] will find a way to do it.
[Redmi Note 2 Original Android Development] wasd-:
It's very simple, if Xiaomi releases source(not going to happen) or updates the device to MM we have a chance, if not forget about CM13 or MM. Currently there is no way he can boot CM13.
[Redmi Note 2 Original Android Development] rena71rai73:
May 10 is expected to begin upgrading to Android 6

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] Pato Mareao:
It's expected MIUI 8 to be presented, surely it will be available just for Mi5 and a couple more, and a time after for the rest of xiaomis

But even if MIUI 8 arrives to us it surely will be based on Android 5 not 6

Wish I am wrong
[Redmi Note 2 Original Android Development] DumF0rGaming:
At least we should get official 5.1.1, that isn't bad as well. Otherwise I would prefer Meizu or something pop next time
[Redmi Note 2 Original Android Development] Pato Mareao:
Well Xiaomi promised official android 6 to this phone so I hope they keep their word
[Redmi Note 2 Original Android Development] DumF0rGaming:
Really? I thought it were overexcited fanboys as me and you
[Redmi Note 2 Original Android Development] hypersongster:
Unfortunately I still got boot loop... :( I wonder why it's not working on my device.
[Redmi Note 2 Original Android Development] Ranomez:
How long did you wait?

After flashing xposed it wipes cache and dalvik so it takes about 5 min to get past the bootanimation and then onto the "Optimizing Apps" screen so depending on how many apps you have installed it should take between 10 and 20 minutes to get to the launcher on the boot after you flash xposed.
[Redmi Note 2 Original Android Development] tau.gi.mo:
For me it took more than a half hour to Po ass the bootanimation once....

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] hypersongster:
I used a different zip file the one with romracer and it worked! Yay. I still haven't been able to make the multi window work though.

---------- Post added at 03:31 PM ---------- Previous post was at 03:30 PM ----------

Wow that's a really long time... @_@ I only waited for about 10 mins lol
[Redmi Note 2 Original Android Development] xu3sno:
Go to Settings > Developer options > Drawings > Multi-window mode enable.

Recents > tap app you want to run on multi-window > tap box on task bar > select window position.

No need to install XHallowFloatingWindow module. [emoji106]
[Redmi Note 2 Original Android Development] Ranomez:
You are talking about android 6.0+ not 5.1.1, there is no such thing on 5.1.1
[Redmi Note 2 Original Android Development] hypersongster:
I don't see the multi window mode on the developper settings. I'm using xmultiwindow. It doesn't work at all.
[Redmi Note 2 Original Android Development] xu3sno:
You're right bro. Sorry. I'm mistakenly with 6.0. My bad!

---------- Post added at 10:49 AM ---------- Previous post was at 10:44 AM ----------

Sorry. It's on 6.0.

You may give a try XHalloFloatingWindow 2.4.1-lollipop2
[Redmi Note 2 Original Android Development] xu3sno:
OT

Sorry for posting other ROM here. It's just FYI!

Currently, my Redmi Note 2 is running on Bliss (20160329) Lollipop 5.1.1 by bule:

1. Native floating window works just fine!

2. Xposed Framework (v83) and XHalloFloatingWindow 2.41-lollipop2 module works, too.

End of OT
[Redmi Note 2 Original Android Development] lokjianming:
Here's another CM13 test build, I'm not sure whether it boots but we should have no problem flashing it now. But again, be extra careful and get your fastboot tools ready.

Here's the link: https://jenkins.redmi.co/job/CM13_T...tifact/cm-13.0-20160501-UNOFFICIAL-hermes.zip
[Redmi Note 2 Original Android Development] jerryshaw12:
Please make another thread for cm13 ;D
[Redmi Note 2 Original Android Development] lokjianming:
I will make one after it boots :)
[Redmi Note 2 Original Android Development] Dev111:
it dosent boot
[Redmi Note 2 Original Android Development] lokjianming:
Does it get to the CyanogenMod logo? Or it just shows a black screen? :confused:
[Redmi Note 2 Original Android Development] Dev111:
No CM Logo just reboot to twrp.
[Redmi Note 2 Original Android Development] lokjianming:
I will try to fix that later, taking a rest now, been working on this since I woke up.
[Redmi Note 2 Original Android Development] Jawor245:
[MENTION=6738603]lokjianming[/MENTION] here's the dmesg if it usefull ;)
[Redmi Note 2 Original Android Development] lokjianming:
Releasing another test build (probably 1 hour later) with some boot patches from CM13, hope it boots this time. If no we will have to look for other solutions.
[Redmi Note 2 Original Android Development] rena71rai73:
we hope Wellington [emoji6]

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] DumF0rGaming:
Can I try it on RN3?
[Redmi Note 2 Original Android Development] lokjianming:
Yes you can but you will have to flash Redmi Note 2's TWRP first, I will make a version for Redmi Note 3 once Redmi Note 2's goes stable. :)

Anyway here's the third test build, freshly compiled with boot patches from CM 12.1, hope it works this time: https://jenkins.redmi.co/job/CM13_T...tifact/cm-13.0-20160501-UNOFFICIAL-hermes.zip (Remember, be extra careful, you could brick your phone with this.)
[Redmi Note 2 Original Android Development] DumF0rGaming:
I guess I can change your updater-script to work with Henessey and dirty flash it? I would try it when I have a complete backup
[Redmi Note 2 Original Android Development] lokjianming:
Yea I think you could try.
[Redmi Note 2 Original Android Development] Jawor245:
Still MI logo and reboot
[Redmi Note 2 Original Android Development] DumF0rGaming:
Are you sure your bootloader is unlocked?
[Redmi Note 2 Original Android Development] Ranomez:
Redmi Note 2 does not have locked bootloader yet fortunately, can confirm the results, MI logo and reboot to recovery.
[Redmi Note 2 Original Android Development] tau.gi.mo:
Working for you???

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] DumF0rGaming:
I haven't tested yet. I'll notice you when I try
[Redmi Note 2 Original Android Development] spoof123:
I use 2016.04.30 version. This version is very good. It is smooth and battery friendly. If I install xposed framework v83 from rovo89, mtktscpu is missing from thermal section (app cpu-z). But if I install xposed framework for MIUI (v83) from solarwarez, mtktscpu is always there in thermal section.
[Redmi Note 2 Original Android Development] nathankaunang:
good job bro..nice room and smooth.
[Redmi Note 2 Original Android Development] Cyber-Shadow:
Has anyone tested the new CM13 by [MENTION=6738603]lokjianming[/MENTION] ? Looking forward to seeing a working patch.
[Redmi Note 2 Original Android Development] hans2001:
cm13

i have tried it.mi logo ,then goes to twrp

pitt, it does not work on redmi note 2
[Redmi Note 2 Original Android Development] harizamzi:
Doesnt work..mi logo and reboot to recovery
[Redmi Note 2 Original Android Development] Karulije:
It's still rebooting, but only when you are using chrome while apps are being updated, is it only me if so any suggestions?
[Redmi Note 2 Original Android Development] hsheng:
终于找到新的网址了，之前的build开头的域名失效后就不知道新编译的去哪里了……
[Redmi Note 2 Original Android Development] tau.gi.mo:
English please, if you cannot speak, please use a translator!!!

If I understand Google translate right you are looking for the build Server URL. Here it is:

https://jenkins.redmi.co/

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] frickendope:
Any fix in cm13?
[Redmi Note 2 Original Android Development] wasd-:
I really apreciate OP's work but as said before it's completely useless with current kernel...
[Redmi Note 2 Original Android Development] DumF0rGaming:
With compatibility patches everything is possible. Remember, HD2 runs MM with (sic!) 3.0.101 kernel!
[Redmi Note 2 Original Android Development] frickendope:
Why it is 1782 MHz always?

Отправлено с моего Redmi Note 2 через Tapatalk
[Redmi Note 2 Original Android Development] INFIN1TY-:
Performance dropped a bit in latest build (benchmark wise)

---------- Post added at 09:40 PM ---------- Previous post was at 09:38 PM ----------

Mines on 1885Mhz. I changed it tho.
[Redmi Note 2 Original Android Development] wasd-:
Thats snapdragon, MTK is completely different.
[Redmi Note 2 Original Android Development] xu3sno:
+1K
[Redmi Note 2 Original Android Development] gandrigoes:
Thank you. Ive been flashed this rom, but it wont boot. But this is first step to 6.0, so its light for this device! Great!
[Redmi Note 2 Original Android Development] rena71rai73:
good morning, let me understand, it works for CM13 redmi Notes 2?

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Original Android Development] MOVZX:
CyanogenMod spit on MTK, I know the risks when purchased MTK device. Been years with Qualcomm, the community support is great, kernel sources everywhere (HTC, Sony, Samsung, LG, etc) but ****-iamoi; sigh... Chinese business model obey no GPL no nothing, just profit profit profit and profit.
[Redmi Note 2 Original Android Development] lokjianming:
Yes let's just wait for MIUI 8 to get released and we will see whether we have a new kernel or not. :)
[Redmi Note 2 Original Android Development] exillity:
Lokjianming, thanks for your ROM, but i have some bug. When I updated the ROM on May 2nd, I began to charge end very quickly. I have one that happens?
[Redmi Note 2 Original Android Development] barome:
Yes hope Miui 8 come with marshmallow :)
[Redmi Note 2 Original Android Development] lokjianming:
I would like to know how many of you here actually download from the build server, since 600++ GB of outbound bandwidth is already generated and we still have 12-13 days to go before it the 1000 GB bandwidth renews. If there's really a high amount of downloads I will purchase more bandwidth next month but before that I will just have to make sure nothing fishy is going on on the server, thanks! :)
[Redmi Note 2 Original Android Development] chrzaszczwtrzcinie:
I do. Almost everyday.
[Redmi Note 2 Original Android Development] jerryshaw12:
[MENTION=6738603]lokjianming[/MENTION] could you change navigation button layout to recent|home/assistant|back like in miui? Also battery led to yellow like in miui too (first boot)
[Redmi Note 2 Original Android Development] tau.gi.mo:
Me too...

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] Dnxss:
What is error 7? I can't flash this rom with twrp :/
[Redmi Note 2 Original Android Development] Aziz_T:
It happened to me also, but with other ROM (I think it was Flyme OS).

Anyway, when you get this error just restart the phone, enter TWRP again and install the ROM again WITHOUT ANY WIPING! L

After that it will be successfull installation. When successfull don't forget to wipe the caches.

It worked for me as well for other people.

Best
[Redmi Note 2 Original Android Development] gr4nis:
Hey,

I still use April the 2nd build of this ROM. What are changes since then? I don't quite understand daily releases. I mean... what can be improved from one day to another? Can someone explain me, please? Also... any known bugs in todays release? And what about battery efficiency? Currently I'm very happy with 20160402 regarding battery efficiency. In inactivity the system drains like 1%/day.

Thank you
[Redmi Note 2 Original Android Development] Dnxss:
Loving your rom! A great freature that will be awesome to have is stereo while recording a video. I recorded a video and it sounded in mono. Thanks for your work budy! :)
[Redmi Note 2 Original Android Development] Michalec:
[MENTION=6738603]lokjianming[/MENTION], I'm using 20160127 and I don't have speaker stereo bug. Maybe this information will help.

Now waiting for update with fixed battery life, mms problem (to send mms I need to restart my phone) and this speaker bug.
[Redmi Note 2 Original Android Development] Gomo:
Hi guys. Just flashed my redmi note 2 with fhe latest night build, been running miui7 for the last 2 months but wanted to give this ago!

I play a game called "stack" and it works fine on miui7 but on cm12 I get weird crackling audio..? Is this because of the left audio from my speaker not working maybe?

Also things like YouTube have no sound issues it just seems to be this game at the moment!

Never the less keep up the good work!
[Redmi Note 2 Original Android Development] MOVZX:
I think so, but I always hooked up my headphone so it's not a problem for me.
[Redmi Note 2 Original Android Development] Gomo:
Weird! So the moment I saw your reply I got my headset and opened the game! Audio is perfect! I was like how odd.. Then I unplugged the headset and the audio was normal!

Then I was curious so I did a reboot.. Booted back in and I have them crackling sounds back again ;(
[Redmi Note 2 Original Android Development] MOVZX:
Put the headphone back then play audio or games or whatever, then unplug and violaaaaaa... Audio should be normal.
[Redmi Note 2 Original Android Development] DeltaAlien:
Any way to record slow motion on this rom?
[Redmi Note 2 Original Android Development] Aziz_T:
Hi,

You can try with this app.

https://drive.google.com/file/d/0B2FG4wbnEIzvLVM3SXFjQnRPQ2c/view
[Redmi Note 2 Original Android Development] DeltaAlien:
Tnx man, it works perfectly...
[Redmi Note 2 Original Android Development] mcdull:
Got confused with opengapps with this rom. Which build is stable and good to use with it?
[Redmi Note 2 Original Android Development] DeltaAlien:
Any build should be stable, as long as you use arm64 gapps for 5.1. I'm using build from 20160422 and it works perfectly.
[Redmi Note 2 Original Android Development] Dnxss:
Any Idea about the changelogs of the new releases?
[Redmi Note 2 Original Android Development] spoof123:
[MENTION=257340]michaelc[/MENTION], could you share download link for 2016.01.27 version ? Thanks
[Redmi Note 2 Original Android Development] Michalec:
Here you have: https://www.androidfilehost.com/?fid=24391638059057368
[Redmi Note 2 Original Android Development] Aziz_T:
You can't use Gapps 5.1 because Redmi Note 2 runs on Android 5.0.2, so you need to use Gapps 5.0 ARM64.
[Redmi Note 2 Original Android Development] tau.gi.mo:
This is CM 12.1 which is based on 5.1.1, Stock MIUI is based on 5.0.2. So for this Rom you need 5.1 arm64, for Stock MIUI 5.0 arm64

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Original Android Development] Aziz_T:
Sorry, my bad...

I was using CM12.1 but had to revert to MIUI due to poor battery life on CM12.1.

That's why I got a bit confused.

I'm still following this thread because I'm waiting for a version which will fix the battery draining issue while using the phone.

Standby time is great but when I'm using the phone... oh my God... I can see the numbers decreasing ?
[Redmi Note 2 Original Android Development] INFIN1TY-:
Last build drains battery..
[Redmi Note 2 Original Android Development] MOVZX:
True, I have it.
[Redmi Note 2 Original Android Development] exillity:
MOVZX, INFIN1TY-,

I continue to write about it on almost every page. Finally, there are people with the same problem.
[Redmi Note 2 Original Android Development] Aziz_T:
I was also writing it in my almost every post.

I have this problem since the january build.

I think it's because when you put the CPU settings to min 403 MHz, max 2200 MHz, governor cfq (as it should be, because these settings are by default on MIUI) the battery drains quickly.

On CM12.1 by default the CPU settings are set to max 403 MHz and that's why (before the last build) many users were reporting to have a good battery life, but I'm sure they were also experiencing lag because when CPU is running at 403 MHz there must be lag.

I really liked CM12.1 but I had to revert to MIUI because of this problem.
[Redmi Note 2 Original Android Development] exillity:
Thank you for that clarified the situation.

I watched it recently. At first, I thought that the application consumes a lot of battery, but when pulled back to the previous build, I realized that the case in the ROM.
[Redmi Note 2 Original Android Development] vickdu31:
Also is the sound glitch problem in some games fixed ? For me it happend in minions paradise
[Redmi Note 2 Original Android Development] INFIN1TY-:
I have it set from low to highest Mhz and it drains on mobile standby... (Never Used 403Mhz max, i always edit it) It wasnt before, its something else in the build.. Like when u close screen it continues to do something that drains the battery.

I also have a prime version.
[Redmi Note 2 Original Android Development] Aziz_T:
I also use the same settings but the battery drained rapidly while using the phone.

Standby time was amazing.
[Redmi Note 2 Original Android Development] frickendope:
http://www.needrom.com/category/xiaomi/redmi-note-2-xiaomi/

Отправлено с моего Redmi Note 2 через Tapatalk
[Redmi Note 2 Original Android Development] Dev111:
I see there are cm13 Builds 6.0 is this true or fake? Cant Test it!
[Redmi Note 2 Original Android Development] frickendope:
I dont know. I cant test it too. But i think that its fake.

Отправлено с моего Redmi Note 2 через Tapatalk
[Redmi Note 2 Original Android Development] Dev111:
It must be fake or at least for Redmi 2 not for Redmi Note 2! Can someone else confirm :)
[Redmi Note 2 Original Android Development] xu3sno:
It's for Redmi 2 bro. :(

Excerpt from http://www.needrom.com/download/temaseks-cm13-0-build-v4-0/

Title: Temasek’s CM13.0 Build v4.0

Listed: 05/05/2016 8:36 pm

ROM Version: 6.0.1

Links:

Links other than Needrom:

cm-13.0-20160209-UNOFFICIAL-redmi_2.zip

Have a great weekend!
[Redmi Note 2 Original Android Development] Dev111:
Yeah I was reading through the post and see that is for Redmi 2 anyway Thank you
[Redmi Note 2 Original Android Development] tripper22:
If you use Google Voice input. For significantly more battery life and less wakelocks go to settings - language & Input - voice input and check Basic Google Recognition instead of Enhanced if you don't use hotword etc. It took a long time for me to figure out where the drain / wakelock was coming from.

This change has reduced my overnight standby drain to less than 1% over 8 hours with wifi on using Amplify & Greenify. Confirmed with Gsam Pro and BBS. I'm using build 20160417. Hopefully this tip helps a few people. :fingers-crossed: