yashsingh1/xdaforums huggingface dataset:
[Android General] heineken78:
Bootloader unlock Universal for m810 and m812

Thx to xda community this thread and another dev's (http://xdaforums.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912)

I have found the unlockbit in aboot image for our device.

Now you can easy unlock and relock bootloader by running a script on custom recovery.

Script is actually "backdoor", so bootloader gets unlocked without standart unlock process.

Data will not erase.

To run this script Busybox should be installed (from playmarket) if you don't have system/sbin/busybox image.
[Android General] prietus:
Omg!
[Android General] heineken78:
lolo, I need emmc image dump of your 1.5gb start of emmc memory. We have 2 cases or your phone settings (stored) in chip: are wrong or you have a VERY special phone.

First case can be fixed. Second, will be very inetersting to all of us.

Why I think its afirst case, because you cant have battery "2860mah" capacity in default, and because 5.1.1 kernel is made for m812 by default, due wrong settings your phone is getting all parameters from m812....

Pls dump and share.

adb shell

su

dd if=/dev/block/mmcblk0 of=/storage/sdcard1/mmcblk0_dump.img bs=1048576 count=1460
[Android General] lolo9393:
I'll do it. but I have to take off or remove from it all sensitive info or data I don't want to spread out.

Should I delete all the applications and google infos that are stored already? or a simple factory reset?

attached the deviceinfo partition N°8 backup
[Android General] heineken78:
1,5 gb of start memory dont even contang fully system image. userdata, cache, are stored after it. Is over 3-4 gb of image. Don't worry. No resets needed.

All we see can see its your IMEI and Serial, secure partitions. basically can be replicated with image on another same device (with your bugs ) :)

you can PM me anyway.

I see your device is very new, my was build in 2014 (from info)Anyway you can try to flash my device info with fastboot, hardreset and check the difference. you will get my serial number too.

WHATEVER backup rv_nv, modemst1, modemst2, securefs originals! Its you phone data keep it before any change.

Also if will make a dump of 1,5 gb image of your emmc- all your phone data will be there. Keep it and you can flash it fully back to restore all up to system partition.

fastboot flash deviceinfo <name of image>

flashed your deviceinfo
[Android General] Nitin2581:
hi..a small query

A small query....i hv rooted my infocus m810 using Kingroot app..now pls tell me how to install xposed framework? Is it required to install custom recovery for that?
[Android General] heineken78:
No flash only boot

use: fastboot boot <custom recovey>

install. restart.

Any delete Kingroot, it can be flagged by bootloader and you will have always notations from system about ROOTED PHONE.

Use Root, Framework, recovery from here

Lolo, device info practicaly won't reproduce effect about model recognition.

Only what changes is my device is showing as Infocus m810 instead of m810t and your serial numer.

So need image to check.

Im away until evening.
[Android General] lolo9393:
uploading the file now, but I will send you the link tomorrow because Here it is GMT+7 and family break.....

Good evening
[Android General] Fooox1:
So you can now flash the CWM permanently and not just boot !?
[Android General] heineken78:
you can flash, but that custom recovery we have has issue- its rebooting only into recovery again :)
[Android General] heineken78:
To install my next ROM you will need this program.

No recovery's no bootloaders.

Factory tool. All drivers included in installation package.

-full flash in 1 min;

-option to don't delete userdata;

-unbrick mode flashing;

-backup nv data;

-regions switching (from regions supported by rom)

SUT 3.0.8 http://www.mediafire.com/download/k2vcm4p4tbibfbc/SUTLR_v3.0.8.rar

New ROM is uploaded.

Check 1st page.
[Android General] lolo9393:
GREAT, EXCELLENT,WONDERFUL,SPLENDID!!!!!

installed with the new rom release and done in less than 130 sec.

a perfect tool for everybody to simply install.

Merci Monsieur.

:cowboy:
[Android General] prietus:
Thanks.

Hey. Thank you very much for your work and the time you spend doing this phone better.
[Android General] farazmm:
what is the diff between 5.1.1new in 5.1.1b?

Dear Heineken78,

Thanks bro. Your simply amazing. Carry on your tweaks to extract all the juice from this phone.

Plz specify new features in 5.1.1B & also tell us when are you going to release the deodexed version.

regards,

Masood Mombasawala.

++++++++++++++++++++++++++++++++++
[Android General] Hiran123:
Thank you very much

SUT LR tool is awesome :)

And this rom is great, I was missing that audio effects equalizer after I installed 5.1.1 and that is included also the rom solved the issue with boot logo which was showing, 'your phone ever been rooted' it's clean now also rooted :)

The only issue remain is the capacitive button backlight remain on while playing videos no matter what I tried, please let me know if there are any solution :rolleyes:

Thanks for the awesome rom ;) :fingers-crossed:
[Android General] lolo9393:
[MENTION=1611492]heineken78[/MENTION]

SUBJECT:NV VALUE AND RF BAND SELECTION

With new rom 5.11B I just installed at first start all the previously NV values set were lost.

I REWROTE THEM AND DOUBLE CHECKED.

After reboot (and also before) they are still written in QXDM AND visible in QPST as well.

But result they do not stick as report bandinfo and hwcfg reading.

What has been modified that can explain this?

attached QPST and adb check

UP to your lights

Thanks
[Android General] heineken78:
band selection you had before, in cat/bandinfo was wrong, thats why GPS wasnt working for you too.

Now its fixed somehow.

Band-selection is debug info only-plain string, doesnt matter what you have in nv values (mostly)

You have SUT logs from update on c:\LogData.

Can you share?

Did new rom changed something in you telephony or gps (better or worse)?
[Android General] lolo9393:
ALMOST understood! You tell I have to stop playing with NV value until you'll find the hole in the system.

The new rom runs very well.

I am still struggling with the GPS because it is working well after a long time to fix. And it restarts well and quick from the GPS STATUS application staying in the ram but it seems to restart at cold when PHONE IS rebooted (several minutes to fix) ! That's very strange like it lost AGPS or other values in memory....

I'll continue my tests tomorrow.

Attached the logs you need.
[Android General] Fooox1:
Time feedback to 5.1.1B. Installation very well resolved. Memory is now no longer so full. 4G has improved. Benchmark increased from 44398 to 50483, no matter how you stand it, but is definitely a performance gain. GPS I still need to test. What I do not like, no Xposed.

Overall very satisfied. Thank Heineken78.
[Android General] heineken78:
Dankje.

Unodexed ROM in must do (flashing, checking, packing, may be bugs fixing) But holidays is above all.
[Android General] sknipas:
5.11c for m812 is out here ->http://www.infocusphone.com/tw/服務支援-m812

android and wifi fixes
[Android General] heineken78:
Thx, I apply this patch to deodexed ROM.

Btw another SUT bonus is- if you mess up with system files and your phone will be not able to boot or getting bootloop, you can in minute reflash the ROM by unticking "clear userdata" option. And all your data will remain untouched.
[Android General] PowerPlop:
If you upgrade from the original 5.0 rom to your 5.1.1 rom , do you have to clear userdata?
[Android General] heineken78:
You should Clear Data in this way.

Only if you installed ROM nb0 image from SUT, you can use same nb0 to reinstall but without clearing of data. System parts will eb restored only.
[Android General] Fooox1:
[MENTION=1611492]heineken78[/MENTION] If the twrp-2.8.7.0-infocus-m810-rev2.zip works, could you please here upload? In 4PDA I can not upload it unfortunately. Thank you.
[Android General] Oswaldo4:
I have two questions:

it is possible to update ODEXED ROM Android 5.1.1B from stock 5.0.2 ROM, or it has to be previusly flashed with titovich ROM?

Does kingroot and Xposed work with this update? Because on stock ROM xposed does not work..
[Android General] lolo9393:
PLEASE

READ the thread.
[Android General] heineken78:
Custom recovery TWRP 2.8.7.0 /m810/m812/

Here we go.

First of all thx to tw101(https://www.facebook.com/tw101.rom.factory/) You can press "Like" ;) for his significant help to m810/m812 holders, for cooking new (and old, and one we had )recovery for us.

I had to patch -fake aboot with recovery bootloop protection (specific to our device), also sdcard problems, because tw101 don't has m810 anymore.

Virtual recovery

You don't have to flash this recovery, only to run from fastboot via command.

With unlocking bootloader (needed for root of Android 6)

"fastboot boot recovery810812_for_fastboot.img"

Download https://drive.google.com/open?id=0B3Wy4Ok3qGszOGV1SUFiN1BPY3M

Version without unlocking bootloader

"fastboot boot recovery810_812_for_fastboot.img"

Download https://drive.google.com/open?id=0B3Wy4Ok3qGszLXM2MWczTWE3U1U

Normal (flashing) recovery

Recovery makes bootloader unlock each time when its start (made it easy for you).

To exit Recovery you have to use Reboot to System. Any Other Reboot to Bootloader, Reboot to Recovery, Turnoff will cause returning to recovery from bootloader etc..

How to open recovery on m810/m812:

Way 1:

1) Phone on cable

2) Hold power+ volume "up"

3) phone restarts, at vibration- release power, keep holing volume until recovery starts.

Way 2:

adb reboot recovery

Way 3 (ROOT):

Download from market any program" reboot recovery"

Installation:

Note: backup your data. Bootloader will erase your data when you flash from locked bootloader!

a)Flash via fastboot

fastboot flash recovery <nameofimagefile>

b) You can try SUT image below

Custom recovery v3 (m810 only)

Original 511.(m810/m812)

SUT image custom recovery v3.(m810 only)

SUT image custom recovery v31 (m812 only)
[Android General] heineken78:
First 2 roms are supporting XPOSED. Pls read instructions, download, install and enjoy.
[Android General] Fooox1:
Edit:

After a time to restart and switch to the Fastboot it works.
[Android General] heineken78:
It restarts if you boot in memory 1 of 5 times. Its designed to be flashed.

Open recovery normal way:

1) Phone on cable

2) Hold power+ volume "up"

3) phone restarts, at vibration- release power, keep holing volume until recovery starts.

Another way:

adb reboot recovery :)

helped?
[Android General] prasad14:
Good going devs great work. Only one thing missing here that is M810 device forum.... ☺
[Android General] Fooox1:
No, worked. Had only just fastboot flash and then nothing happened, fastboot boot chosen. Device is restarted. After the change to the Recovery TWRP was there. Has therefore works. Thank you.

Bring a backup in TWRP or what it still has flaws?
[Android General] heineken78:
You gonna be first who try it.

I think backup of data is working, also its separated of files in internal storage.

because if you choise to "wipe", by default it will wipe only files related to system but rest will remain. You have lot of options..

Main thing I found weird, system partition shows (2000mb), while on my last SUT 511B its 2,5 gb (extended), but don't matter you don't need to backup system part, if you have flash image =p
[Android General] heineken78:
extended m812 to thread

Bootunlock and Custom recovery for m810 as for m812 :)
[Android General] heineken78:
Only Infocus is able to ruin 300$ ward QUALCOMM device with no updates.
[Android General] Oswaldo4:
Thank you heineken78.

Having just some issues in adb and fastboot to recognise the phone on windows 7. I succeeded with samsung galaxy tab 3, with some drivers, those usb drivers allready preinstalled on the phone doesn not work.. Would like to have xposed installed, just because need to have multi window feauture, that would be supercool..
[Android General] gauravbhakuni90:
Hi guys i was wondering if we can have unofficial cm or aosp based rom for M810??
[Android General] heineken78:
I hope we will get some more devs too, just a bit!
[Android General] heineken78:
problem is possibly not in drivers but in fastboot adb versions.

Install SUT (it has drivers inside) from first page and fastboot, adb. Then you will get touch.

I had same problem on win7_64, first it were drivers (old from 2009) then version of fastboot.
[Android General] Bossunselo:
İs there a way to create aospa for this device?
[Android General] heineken78:
Please decode aospa
[Android General] Bossunselo:
İ should have asked İf there is a way to get custom roms on this device?

Aospa is a custom rom
[Android General] heineken78:
On first page :))))

Unfortunately there is a leak of chiefs atm. What can we do for you ?:)

Its XDA community: so far you search so much you find;

don't forget to share something new you find with others.

Welcome!
[Android General] Fooox1:
[MENTION=1611492]heineken78[/MENTION] Have you the 5.1.1 C in labor?
[Android General] heineken78:
Havent download it yet.

From 1 side I should have a time, from other, we wait for 6.0 for m812 before 31.12

BTW: backed up the data from recovery. Made factory reset from android and and restored data from recovery.

Everything is as untouched.
[Android General] Fooox1:
[MENTION=1611492]heineken78[/MENTION] Me too. 5.1.1B but runs well.
[Android General] lolo9393:
[MENTION=1611492]heineken78[/MENTION]

THANKS AGAIN you made this phone getting maturity with your latest works.

5.1.1B is perfect for what i ask to my phone. GPS is back home and working honestly.

I am away from my computer for some times and will install the recovery later.

MERRY CHRISTMAS
[Android General] Fooox1:
I can associate myself with exception. Beautiful Christmas to all.
[Android General] nikhubest:
Can I flash this recovery (from 5.1.1b) on your original 5.1.1 rom?
[Android General] heineken78:
Sure you can. Its for any.
[Android General] heineken78:
On 5.1.1 C for Infocus 812 they removed package supported Broadcom nfc for m810.

Fight began.
[Android General] mandeepsandhu3:
When deodexed rom comning??

Waiting for it to flash.

Can i do clean install of 5.1.1b over origional 5.0.2
[Android General] prietus:
When?

There's no point of asking when

unless you want to get the answer: when it's ready.
[Android General] heineken78:
no comment.
[Android General] Oswaldo4:
Yeees, I did that and it worked :) 5.1.1A is a very nice ROOM, everything works perfectly, root with superSU too, but Xposed does not.. Flashed in fastboot 3 times, every time it seemed the install was succesfull, but after restart no Xposed installed.. Anyway, your work is amazing heineken78 :) Thank you..
[Android General] heineken78:
Oswaldo, you installed xposed zip framework - its a base of xposed. Now go to market and download xposed.apk. Without framework zip file, apk won't work
[Android General] Oswaldo4:
I thought that could be the case, I allready installed xposed.apk, but getting this: (picture below)

Edit: I have one other question :) it is safe to use a 3 Amps charger for this phone? The stock charger is only 1 Amp. Than I found this post: http://www.androidauthority.com/quick-charge-explained-563838/ but suppose, this phone does not have a quick charge feauture. But according to this post, snapdragon 801 supports it.
[Android General] heineken78:
quick charge feauture means from usb3 is charging as from charger.

Don't use any chargers above 1.5 amp if you care about battery.
[Android General] Oswaldo4:
Thank you very much, now its working :) ok, i do not buy than 3 amps charger
[Android General] lolo9393:
I have done courant charging measurement and this phone is set to a max charging of 850 mA. it is the value given by my own phone and checked we all the different firmware from Kk 4.4 and it doesnt depend on the charger capability. I checked many combination up to 3A charger, short cable etc... No change. It is set internally and if the setting can be changed it would be good to increase it by some 30% without taking any risk for the battery life and saving charging time for urgent matters.

I make my measurements with a Kc017 USB current controller that offer a good view of all the charging process.

mY little contribution to the OP....
[Android General] frietfriet:
Hi,

You are doing a great job heineken78 (and the others of course).

In the first post of this thread it mentions for the 5.0.2 rom: " This ROM is full upgrade, so its able to install over Android 4.4.2 ROMS."

Is this also valid for the third method/rom (the 5.1.1B with SUT)?Can I install this on top of a rooted or unrooted kitkat rom?

It is not explicitly mentioned there and I'm afraid I can brick my phone.
[Android General] mandeepsandhu3:
Just installed 5.1.1b today

Overall rom is awesome. I just found one bug

When screen brightness is set to minimum screen keeps on flicking. Brighthess is not stable.
[Android General] t135640:
language

Excuse my English. I lost multilanguage in in LP511 and now I have Spanish. I installed 511B I still just 7 languages, English Indonesian Filipino tieng bied

How I can recover multi language?

Thank you for your great work
[Android General] heineken78:
it should be in rom. have you done wipe data?
[Android General] t135640:
Yes, can be recovered, the multilanguage (data folder)
[Android General] ultimatezero:
This might be a stupid question, but is it possible to flash the one plus one baseband on this phone? Or will it literally break it?
[Android General] nikhubest:
I am on Heineken78's 5.1.1A rom.

I got a system update.

Software Update: 00WW_5_11c

Data size: 223MB

Space required: 278MB

Should I install it?
[Android General] heineken78:
It won't install.

You can delete OTAUpdate and DownloadProviderUi from System/apps to remove those updates.
[Android General] mandeepsandhu3:
Can we unlock 2k video recording on m810???

I am using 5.1.1b and it is working great. Thanks bro.

Battery life improved

More clean ui than origional m810

Sound level also increased than before
[Android General] nemonautilux:
No errors on m810 5.1.1b found yet. Good improvements. Thanks [MENTION=1611492]heineken78[/MENTION] a lot. Hope for better roms in future.
[Android General] pranabb:
Haptic feedback for screen buttons

I have been using the custom 5.11A release and it's running quite smoothly. However I miss the haptic feedback for the onscreen buttons. Is there a patch for that? Is it fixed in5.11B? Thanks for your help.
[Android General] heineken78:
I have already fixed haptics feedback. Is not possible to patch to odexed 511B you have now, due odexed system framework in boot.oat that need to be patched.

More, I have unlocked mode for vibration type select for rigning, notifs and haptic. Trying to get calibration of sensors better, because it uses old data.

Camera 2160p patch is possible, just add change to xml file in etc, but faced another problem: our camera, patched idint work with, 3d prty cameras dont want to take video with res above fixed, because of caps limits in framework. Need a lot of time to fix it. May be later.

Im busy at my work at home too, besides of ripping of our device caps.

Seems noone still care about our device, its bad to waste time alone on it...

In next deodexed rom il try to put all inside.
[Android General] daciangeorge:
Merry Christmas to all
[Android General] pranabb:
Thanks for all your efforts heineken. I wish I could also contribute, but unfortunately I am not a developer. m810 was launched in India 1 full year late, so even though the model was liked by everyone, it didn't sell so much. The Xiaomis and indian brands like Mircromax/Intex rule here. That is why there's very little development happening on this phone. The manufacturer is also playing catch up with the bigger brands, so it is focusing all its energy on the latest models. So you are my last HOPE :) Carry on with the great work you are doing. Thanks!
[Android General] ifro4u:
first of all thanks for your work heineken78

i using your 5.1.1 rom it is very smooth

i want to try your 5.1.1b but because of system re partitioning i am hesitate to go for it

i think if you remove lot of google apps from roms there will not be issue for installing them on 1.5 gb system partition

and size of rom will be decresed a lot.(after installing rom i delete lot of google junk(about 200 to 300mb))

and people like me. who are on very slow broadband. it will be easy for them to download your rom

please make normal installation of your rom without repartitions

and for all our rom user if u changed screen density from 460 to 320 rom will look very impressive and will give more output in same screen :)
[Android General] heineken78:
Deodexed ROM will be on native partition, same, via SUT.

I can give you the link of Chinese operator firmware for m810 for SUT that includes original partition too. https://yadi.sk/d/xUlBrY9OmG98e

By flashing it via SUT and after, flashing your desired zip, will give you same effect as before.
[Android General] mandeepsandhu3:
Changed my dpi from 470 to 320
[Android General] heineken78:
Lollipop 5.1.1C update.

-deodexed stock room with root;

-standart recovery;

-standart partition table;

-keyboard replaced by Xperia's;

Diff's from 5.1.1B:

-update 5.1.1C;

-deodexed. can be xposed. check for zip at first page (ver22);

-improvements of perfomace in games;

-faster than 511B;

-haptics fix;

-unlocked vibration settings;

-better proximity in phone calls.

Everything else find yourself

Note: the recovery will be replaced by the original one.

Installation Lollipop 5.1.1C via SUT.

User Erase data is necessary.

STOP! Im not responsible for curve hands and damaged phones.

DOWNLOAD @ GDRIVE

Update!!! PATCH 511D

TWM recovery with bootloader autounlock for SUT now:

Note: flashing of custom recovery will cause erasing of userdata.

DOWNLOAD @ GDRIVE
[Android General] sknipas:
Merry Christmas everyone!

Στάλθηκε από το InFocus M810t μου χρησιμοποιώντας Tapatalk
[Android General] Magnum_Enforcer:
Thread cleaned.

With that being said, keep on topic and abide by the forum rules you all agreed to when you joined this site.

Cheers

Magnum_Enforcer

FSM
[Android General] inhalt:
Hi, [MENTION=1611492]heineken78[/MENTION]! First of all, thanks for your amazing work :)

I've been using your 5.1.1b rom until now, for I have just installed your 5.1.1c one ;)

I was very happy with B and C seems to be working just as smooth... I could notice that the gaming performance has improved by default.

I mean, on B I had to switch governor to Performance to play Subway Surfers. Now -on C- I can play it with governor Ondemand.

However, I have noticed the automatic brightness stopped working... It worked great in previous B version. Any fix for that?

Will continue to give you feedback on C. Keep up the good work! :)
[Android General] heineken78:
Automatic brightness is working for me better than before. Its also fixed on driver basis.

Had you data reset?
[Android General] inhalt:
Yes, I did. I ticked "Normal Download" and "Erase user data". Should I have chosen another one??
[Android General] heineken78:
that's right
[Android General] inhalt:
I was coming from 5.5.1b with unlocked bootloader and TWRP installed... Perhaps I should try to install once again??
[Android General] heineken78:
Check with "sensor box" for working sensors. Light sensor must be present.
[Android General] nikhubest:
Is xposed working on this rom?
[Android General] heineken78:
Xposed should work. Pick xposed-v78-sdk22-arm.zip and install via recovery.

Anyone else with nonworking sensors?
[Android General] prietus:
Yes. No sensors at all here.
[Android General] heineken78:
posted fix
[Android General] t135640:
Thanks for your work Heineken 78, if I install 511c with original partitions , can then install the original 4.4 for recovery. to have the multilanguage again. My car does not recognize the bluetooth does not synchronize the phone.
[Android General] heineken78:
Yes you can go back to 4.4 with original update zip.

About Bluetooth, there is some support added, but try anyway.