yashsingh1/xdaforums huggingface dataset:
[Device Reviews and Information] Iye Vice:
Dear bigrammy! Thank you very much for the updated MM TWRP. Don't know about the previous 302 version, but for the first time I was able to set microSD as internal storage, reboot into recovery and there TWRP can actually differ internal memory AND adopted microSD memory, which was impossible in Taiwan101 recoveries. Now I can easily buy 128 Gb microSD card, link it with internal, move all needed apps to microSD storage & also put backup there, which was unheard of with previous recoveries. It's official orthodox Christmas now in Russia, Ukraine & all former USSR republics, thus making your updated TWRP a perfect Christmas present for all 4pda.ru forum dwellers, so thanks again ;)
[Device Reviews and Information] bigrammy:
Your welcome

I have never used the Taiwan101 recoveries so I have no idea about their limitations.

Enjoy the recovery and have a good Christmas. :good:
[Device Reviews and Information] virusx:
Thanks [MENTION=3924647]bigrammy[/MENTION] for this TWRP update, I can now access TWRP easily.

I tried to flash "ZM1-622Q-0-00WW-A04-update-TWRP" from 622D-A03 but I got an error:

system partition has unexpected contents after OTA update
Updater process ended with ERROR: 7
Error installing zip file...

I will try a fresh 622B-A02 install from SP Flash Tool and update from TWRP

EDIT: I had the same error trying to update to 622Q from 622B-A02 with your last TWRP version
[Device Reviews and Information] bigrammy:
That error is from the update because after sha1 checking the system it found it to be different to what it expected to find.

If you are flashing over the top of a modified system example you have removed or installed system app's you will need to edit the updater-script or do as your doing and flash a "clean" system.

I wanted to leave the "official update Q" stock as possible so I only modified the partition paths to make it compatible with the old MM TWRP nothing else.

The Newer TWRP will now flash the modified and unmodified Q updates :D so regardless of which update version you flash the result will be the same.

To edit the updater-script so it will flash even a modified system you would need to remove these lines at your own risk of course.

ui_print("Verifying the updated system image...");
if range_sha1("/dev/block/platform/mtk-msdc.0/by-name/system", "100,0,32770,32961,32963,33475,65535,65536,65538,66050,98303,98304,98306,98497,98499,99011,131071,131072,131074,131586,163839,163840,163842,164033,164035,164547,196607,196608,196610,197122,229375,229376,229378,229569,229571,230083,262143,262144,262146,262658,294911,294912,294914,295105,295107,295619,327679,327680,327682,328194,360447,360448,360450,360962,393215,393216,393218,393730,425983,425984,425986,426498,458751,458752,458754,459266,491519,491520,491522,492034,524287,524288,524290,524802,557055,557056,557058,557570,589823,589824,589826,590338,622591,622592,622594,623106,655359,655360,655362,655874,688127,688128,688130,688642,706655,720896,720898,721410,752036,753664,753666") == "4ee7c53808c9e9053fa344c060a21abba97159cf" then
if range_sha1("/dev/block/platform/mtk-msdc.0/by-name/system", "104,32770,32961,32963,33475,65535,65536,65538,66050,98303,98304,98306,98497,98499,99011,131071,131072,131074,131586,163839,163840,163842,164033,164035,164547,196607,196608,196610,197122,229375,229376,229378,229569,229571,230083,262143,262144,262146,262658,294911,294912,294914,295105,295107,295619,327679,327680,327682,328194,360447,360448,360450,360962,393215,393216,393218,393730,425983,425984,425986,426498,458751,458752,458754,459266,491519,491520,491522,492034,524287,524288,524290,524802,557055,557056,557058,557570,589823,589824,589826,590338,622591,622592,622594,623106,655359,655360,655362,655874,688127,688128,688130,688642,706655,707167,720384,720896,720898,721410,752036,752548,753152,753664,753666,754178") == "7e2b6fba7cc4eb4adcfeb16fed972c723d359c44" 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;

:cool: :cool:
[Device Reviews and Information] bigrammy:
NEW-TWRP now Fixed.
[Device Reviews and Information] virusx:
Yes I was about to post a new message as I did try from a fresh 622D-A03 flash and it's not working.

Still thanks for your hard work on MM roms and tools for this incredible phone mate :)

I'll wait your update.
[Device Reviews and Information] paulroland:
Hey, can you explain me, whats the TWRP has to do with the setting of the SD card as an internal storage?

When i do that, actually it happenend in the short installation process of the rom,after reboot and after flashing - and it fails. My SD card ist totally corrupted, no way to safe or repair.

Which MM Version do you use. I'm a little bit afraid, to put another SD card in the phone, because i heard here also from other users of problems with the setting of the card. I don't need it absolutely as an internal, but i need the sd card for my music and i want to make it work again...
[Device Reviews and Information] Iye Vice:
I use MM 622Q firmware. With previous recoveries (not by bigrammy) microSD set as internal memory couldn't be identified, only native EMMC. Now I can save backup either to microSD or to USB-OTG, which wasn't possible before. As for your corrupted microSD, use SD Formatter software for PC/Mac to re-format it, so it could be used again.

https://www.sdcard.org/downloads/formatter_4/
[Device Reviews and Information] virusx:
Now I got a new problem, neither 622D-A03 nor 622B-A02 (the one I had installed previously) want to connect to my country and carrier's networks.

I can find it by scanning the networks but it's not active, even when it's activated.
[Device Reviews and Information] bigrammy:
New mm twrp fixed

The new MM TWRP is fixed now so please see Post #182 for details :victory:

A simple wipe the of cache will normally fix that.

If it is Just the data connection then you may need to enter the APN manually.

The recovery will not of flashed anything wrong as the links were broken so nothing at all will have been flashed using the old partition paths.
[Device Reviews and Information] paulroland:
Thanks, that was one of the first software i tried, no chance...even the windows internal cmd diskpart (clean) does not work. We shouldn't discuss this issue in public here in this Infocus M808 thread - maybe the card has an hardware problem - who knows
[Device Reviews and Information] virusx:
I installed this TWRP over 622D-A03 but I cannot access it (just tried 2 times).

For my phone, it seems to be related to the fact that my SIM card doesn't have an IMEI number anymore. I'm investigating this and will try again your TWRP and 622Q update
[Device Reviews and Information] virusx:
EDIT 2: Finally working, I don't know how ^^

I tried to flash this NEW FIXED version over 622D-A03 rom and I can't access recovery.

idk if it's relevant but when my phone is connected to power supply it stay to the Infocus logo page, not the battery charging screen.

EDIT: After several attempts I got a dead droid icon with red exclamation with this recovery
[Device Reviews and Information] bigrammy:
Hi. Ref Edit2 Just to be clear you now have working twrp and your imei is now back??
[Device Reviews and Information] virusx:
TWRP is working, thanks [MENTION=3924647]bigrammy[/MENTION], I accessed it and flashed 622Q successfully then rooted the phone.

Now I'm going to write back my IMEI number on my SIM card, idk what happened but I saw an "IMEI unavailable" message on the unlock screen and when I checked on the parameters I saw that my SIM was left without any IMEI number.
[Device Reviews and Information] paulroland:
Sorry, just for better understanding - the IMEI number is the number of the device and there is no relation to the sim card from your provider. So, i don't understand, what do you mean with ""write back my IMEI number on my sim card"???
[Device Reviews and Information] virusx:
Yes, sorry, it's because there's one IMEI number per SIM slot in the parameters.

It was written "Invalid IMEI" on the lockscreen and I'm left with empty IMEI in both slots so I can't use my phone... to phone.

I tried several ways to write back my IMEI (Engineer Mode, Mobileuncle MTK IMEI Write Tool, MTK Droid Tool) but I'm facing another issue with drivers (my Win 10 computer keeps loading an unknown driver with config descriptor failure).
[Device Reviews and Information] Nonta72:
Hi,

Would you mind sharing how you extracted files from nb0?

I will be delighted if you share your experience with us.

Thanks ...
[Device Reviews and Information] virusx:
Finally found that I apparently soft bricked my phone:

https://xdaforums.com/lenovo-p780/g...and-backup-t2673130/post50887293#post50887293

noobflashing :eek:

EDIT: I tried several flashing and workaround but I still have invalid IMEI and WiFi NVRAM WARNING: ERR 0x10.

Does anyone knows a way to recover from this issue for this phone ?

I found so many information that it's difficult to figure out how to restore my phone from this NVRAM bug.

https://www.skyneel.com/how-to-fix-or-resolve-lost-imei-number-android-micromax-mtk-devices

https://www.skyneel.com/how-to-fix-nvram-error-in-all-mediatek-devices

But I'll need the Infocus V5 BPLGU modem file or NVRAM.bin
[Device Reviews and Information] Iye Vice:
Dear bigrammy! Please advise - is it possible to somehow install camera app from 518J (or any 5.1 firmware), which is built-in into Gallery2.apk (as App Info suggests) to 622Q firmware? Maybe I'm asking somthing stupid, but I really liked the Mode variety in 5.1 camera app, as opposed to very limited Normal & Panorama modes in 6.0 camera app. Can it be done in any way possible?
[Device Reviews and Information] drei.liter.milch:
Hi!

Try this:

Downgrade to LP firmware

Root

Open engineering mode

Go to CDS (Common Data Services)

Here you can manually enter your imei with a certain code ->Google ;)

Viola

This worked for me..

Second opportunity: find a WORKING Xposed module regarding IMEI fix/restore.. (tried so many, and not a single one worked.. )

EDIT: this will Not fix the nvram thing

-----------

[MENTION=277821]RammY[/MENTION]: using your updated twrp, everything works fine :fingers-crossed:

But i cant notice any difference to the old one.. :D

----------

General Statement for the q-version: major compatibility improvements regarding the storage handling!

Way better than d-versions :svetius::svetius:
[Device Reviews and Information] virusx:
Thanks for the hint [MENTION=7958441]drei.liter.milch[/MENTION], I was about to do a downgrade as I've been reading that flashing a stock LP should be working in some case.

In any MM roms I don't have access to CDS via MTK service mode.

I also tried Xposed modules that changed the IMEI but I still can't phone.
[Device Reviews and Information] bigrammy:
I do not think it's as easy as just swapping a few .apk's etc etc :eek:

I think porting a camera from another MM mt6753 device that has a developed camera would be easier maybe :confused:

I have noticed other MTK devices on MM complaining about having less options with stock camera apk's so it looks like that is the way Mediatek are doing things now. I think this is on purpose and Mediatek are maybe now leaving it to the OEM to add more features or there own camera .apks

It maybe time to move away from the stock Camera's and move to something like Open camera which is free https://xdaforums.com/android/apps-games/app-camera-t2850557

Or one of the many Paid camera apps. :(

Good advice :good:

The Changes to the MM TWRP are behind the scenes in the fact it supports old and new paths to the partitions.

I may change the theme slightly to distinguish it from the earlier version when I get some spare time.

Good advice from [MENTION=7958441]drei.liter.milch[/MENTION] :good:

I believe protect_f and protect_s have the relevant files in LP to restore the imei wifi etc :fingers-crossed:

EDIT: Also check this app for imei https://play.google.com/store/apps/details?id=com.cryptotel.chamelephon&hl=en_GB :good:
[Device Reviews and Information] Iye Vice:
well, too bad. One either has to enjoy all kinds of MM stock features or stick to LP & have fun with multi-mode camera. Anyway, thanks for your reply ;).
[Device Reviews and Information] bigrammy:
You can still have the best of both worlds for a small price. :confused:

I have the Snap Camera HDR Paid Version which as more options modes and setting than anyone could ever need in my opinion :eek: and seems to work fine on this Infocus although I have not thoroughly tested every option and setting. I just use the camera for quick snaps nothing too involved. :o

They have a Trial Version HERE so give it a go and see what you think. :fingers-crossed:
[Device Reviews and Information] virusx:
Hey [MENTION=3924647]bigrammy[/MENTION] and [MENTION=7958441]drei.liter.milch[/MENTION], I can confirm that after flashing a LP rom I have both IMEI (not mine, I'll change it in a minute) and even WLAN back to normal (no NVRAM issue).

I updated to MM 622D-A03 and I still get a normal behavior.

Now I'm going to flash TWRP, 622Q, root and change my IMEI if possible.

Thanks a lot guys !

Note that my Win 10 drivers issue can be resolved by rebooting the phone if it's detected as "unknown device".
[Device Reviews and Information] bigrammy:
Right click the "unknown device" update the driver when in Device Manager.

Click /Choose /android usb /then USB MTP Device It must be "USB MTP" and not just the "MTP" do the same on each usb port and hopefully it will remember for a while anyway. :fingers-crossed: (I cant give the exact path/wording as I am on Linux at the moment).

I am very surprised the imei remains lost after rolling back to LP you must of done a good job of wiping things /nvram and /nvdata and /protect_f protect_s :laugh:
[Device Reviews and Information] virusx:
I did not succeed in writing back IMEI under MM rom, I did it from stock rooted LP rom with AT+ code in MTK engineer mode and upgraded to MM afterward.

It was a painful, I can blame myself for not having taken a full backup before updating.

ALWAYS BACKUP FIRST ^^
[Device Reviews and Information] naosediz:
found this on a spanish forum... anyone want to take a look?

https://www.movilesdualsim.com/tema/beta-android-m-liteada.141401/
[Device Reviews and Information] bigrammy:
Hi Thanks,

It is based on the first MM beta ROM and quite old now I think. :confused:

The ROM is just a Stripped Down stock rom with a few additions.

Removing CDA is not a good idea as there are many many configs and links to configs in the "hidden Partition" such as audio parameters region settings etc etc.

I really wanted [MENTION=5278124]deryalex96[/MENTION] to upload the "hidden partition" (ROM_22) as he was the only one to get the pre-update which made changes to that partition.

The official MM Q update did not make any changes to the "hidden Partition" :confused:

(In My Opinion :o ) The MM Q for me seems not as good as the older Beta ROM's from ZM1-0-622D-00WW-A03.zip so I will probably revert back to that unless we get a readback from deryalex96 which may or may not fix a few things in the MM Q ROM.
[Device Reviews and Information] drei.liter.milch:
What do you think is better in the d-version? To me they seemed to be buggy as hell :eek::laugh:
[Device Reviews and Information] bigrammy:
I am not been too critical of the Q version :o

Nothing seemed that buggy for me on D versions except maybe the default messenger app. I switched that for google messenger.

The battery life was better for me on D version.

I have to admit I have not stripped down this Q version like I did the D version so maybe it will be OK if I do the same as I did with the D.

When I get chance I will strip out the none useful apps and see if that increases the battery life. :fingers-crossed:
[Device Reviews and Information] deryalex96:
Hey,

now i am in Austria, and have no internet and pc, but shortly i get home.
[Device Reviews and Information] Hunzool:
Hi all,

I'm on Stock 6.22Q and i have problem with Google Play Services. I can not updating. So I got a massage G.P.S is out to date. Google Play Store seems working. Any suggestions?

Big THNX to all for the hard work and helping hands!
[Device Reviews and Information] bigrammy:
Did you upgrade from stock 5.0 LP to the Q 6.0 if you did this maybe the cause of the problem. :confused:

As I have said before many config files exist in the hidden partition which was not updated in this 6.0 Q update and maybe the reason they pulled it from their website firmware download section.

Hopefully when [MENTION=5278124]deryalex96[/MENTION] uploads the updated version of hidden partition after he returns from his trip then most of these minor glitches can be resolved :fingers-crossed:

It seems he was the only one to receive the pre-Q OTA update which did update the hidden partition

In the meantime you could try clearing Cache then try update Google Play Services again. :fingers-crossed:
[Device Reviews and Information] drei.liter.milch:
Hi!

Yesterday I tried porting resurrection remix rom from umi touch to infocus. Tried several different methods & tuts but finally did not get it working :crying: :crying:

Very nerve wrecking all these so called noob proof tutorials :eek:

Try again this evening.. Wanna get it done!! [MENTION=3924647]bigrammy[/MENTION] I guess perhaps you have ported an mtk rom in the past..?

Any tips..?
[Device Reviews and Information] bigrammy:
I have not tried porting lately due to the amount of time required & as you have said it seems to be very much trial and error these days with no hard and fast method of porting these 64bit ROM's successfully. :(

The closest I got with the Infocus after doing a very quick port while on 5.0 was the CM logo and a constant boot-loop :laugh:

I have a half finished porting script which I started writing but kind of give up on due to the lack of concrete information porting these ROM's maybe I will re visit it when I get some spare time. :eek:

I have uploaded the ZM1-518Q-0-00WW-A03 which was the last thing add to the Baidu source for our device.

I will add it to My Firmware/Recovery post Here post #182 soon as the upload finishes.

Details

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=LMY47D
ro.build.display.id=00WW_5_18Q
ro.build.version.incremental=00WW_5_18Q
ro.build.version.sdk=22
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=5.1
ro.build.version.security_patch=2016-05-01
ro.build.version.base_os=
ro.build.date=Fri May 13 22:11:00 CST 2016
ro.build.date.utc=1463148660
ro.build.type=user
ro.build.user=foxconn
ro.build.host=NJ-SW-UBUNTU-S7
ro.build.tags=release-keys
ro.build.flavor=ZM1_00WW_FIH-user
ro.product.model.num=00WW
ro.product.model=InFocus M808
ro.product.brand=InFocus
ro.product.name=M560_00WW
ro.product.device=ZM1
ro.product.board=MT6753
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.manufacturer=alps
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=mt6753
# ro.build.product is obsolete; use ro.product.device
ro.build.product=ZM1
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=M560_00WW-user 5.1 LMY47D 00WW_5_18Q release-keys
ro.build.fingerprint=InFocus/M560_00WW/ZM1:5.1/LMY47D/00WW_5_18Q:user/release-keys
ro.build.characteristics=default
# end build properties

Porting Tip: Choose your port device carefully as you may need to dump other things like /cda /hidden or their equivalent partitions as some stock ROM's may well be looking for files and folders in these partitions like the stock Infocus, Sony and Lenovo ROM's do.

CM is your best bet as this should all be contained in the /system folder rather than separate partitions.

The Jiayu S3 Plus would be my choice of port device for our Infocus. https://xdaforums.com/jiayu-s3/development :good:
[Device Reviews and Information] virusx:
After two weeks using the 622Q rom, I can say it's pretty stable.

For exemple I had some glitches in the messaging app, the screen jumped because of some photos loading while browsing (I think).

This behaviour disappeared with the 622Q rom.

The only issues I still have is because of my dirty flashing and soft brick: I still have NVRAM Error in WiFi parameters and a wrong SN number. I can't change those under MM rom, I should have modified those along with my IMEIs when I flashed stock LP.

Thanks again to [MENTION=3924647]bigrammy[/MENTION] and [MENTION=7958441]drei.liter.milch[/MENTION] for the help and understanding

And remember... Always backup first ^^
[Device Reviews and Information] drei.liter.milch:
[MENTION=3924647]bigrammy[/MENTION] i finally arrived AT the state of ongoing bootloop Too :laugh:

The rr Rom is cm-based, so i think its as Good as original cm..

And the phone you suggested is different chipset, so a little bit more complicated for porting, but ill give it a try definitely

[MENTION=1470057]virusx[/MENTION] i have the nvram error,too. Its ugly, but it doesnt affect functionality in any way, does it?
[Device Reviews and Information] bigrammy:
LP-TWRP V3.0.0.0 Fixed the usb-otg

Hi I have fixed the usb-otg (storage) problem in this version. ;)

One Drive Download Infocus-v5-OTG-Twrp

Edit: This is for LP version ROM only.
[Device Reviews and Information] bigrammy:
Request for TWRP 3.0.0.1 Also any Development?

Hi [MENTION=5210252]hanuma[/MENTION]

Could you share your TWRP 3.0.0.1 from The 4PDA thread HERE with us here on XDA we cant download it without signing up. :fingers-crossed:

Hi ALL,

Does anyone know of any active development with this phone?

Eg: Custom ROM's Bug fixes etc.

Not sure if this is just my phone or not but I find the Wifi signal is very erratic and pretty weak and the Cellular signal is also erratic going from full signal to zero signal and back again this is made worse when the wifi is on :confused:
[Device Reviews and Information] hanuma:
TWRP Recovery for M560(M808)

TWRP Recovery 3.0.0-1 (00WW_5_18J)

Download

Firmware (00WW_5_18J) Multilanguage

Download
[Device Reviews and Information] bigrammy:
Great work hanuma. :good:

Is the firmware stock or modded stock :confused:

I am already on that firmware version which you can also get the recovery flashable version from Infocus here under the "software download" tab (Use google to translate).

Downloading the recovery now. :D

Many thanks bro. :highfive:
[Device Reviews and Information] toyota86:
Do you think they will give you the kernel source?
[Device Reviews and Information] bigrammy:
Hi,

I asked them that already and they said "No not original" whatever that means :laugh:

Seems like we will get the usual runaround from Infocus FIH as we get with all the other Chinese manufacturers :silly:

Hopefully someone will leak the source soon. :fingers-crossed:
[Device Reviews and Information] derauer:
Anyone able to implement german language to the rom posted by hanuma. I´m from Austria, myself no problem having only english. But my mother...

Got it Myself:

Used winrar to open and extract "ZM1-518J-0-00WW-A03-update.zip" rom from there:

http://www.infocusphone.com/tw/服務支援-m808

(Download Tab, a few posts before - you read)

In there´s a folder "cda".

Just open. And open again the Folder CDA in there.

Now, just for example, maybe must done for all, i did:

Open the Folders 100IN, ...103... 108...

In Each open the Folder CDA.

Open in each "setting.xml" with windows editor.

Scroll down to the lines beginning with lang.

Change Language to what you prefer (it_IT for Italy... Google your language code or find it in SKUID_info.xml in the root of the ZIP)

Replace the files in the zip.

Flash with TWRP.

You can also, for example, set the TimeZone here for your country.

Hope this helps anyone...