yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] DiskDumper:
I have a Samsung S3 Intl. (i9300) which does not boot anymore. When I entered the recovery mode I got a lot of error messages (unable to mount ...). But as the phone has still the stock recovery I cannot connect with ADB. So I started it in download mode to boot/flash a custom recovery mode. While fastboot never detected the phone Odin and Heimdall did. But when I tried to flash the recovery mode with Odin or Heimdall I got error messages that the PIT is broken.

What do I want?

Primary Objective: Recover the Data

Secundary Objective: Repair the Phone

So is there any way to dump the internal memory of the phone while having it connected to a PC in download mode?

If I would have a large file with a broken partition table and broken filesystems I would know my way around.
[Android Q&A, Help & Troubleshooting] zelendel:
Recovering the data is a lost cause at this point.

It sounds like the partition setup is screwed. You would have to find a way to repatriation everything back the way it was.

If the device is encrypted that will also cause it not to be able to read the partitions (or so I have read as I don't use encryption)
[Android Q&A, Help & Troubleshooting] DiskDumper:
Well yeah, but as it had a stock rom and was probably not encrypted (Android 4.3) it might be possible the recover some files (I have done things like that in the past). Maybe the /data filesystem is okay and the partition table is just broken.

But without having the data at all I can't even try to recover the files.
[LeEco Le Max 2 Questions & Answers] Aman747:
Who else is having the same problem?

Developers please check this out. I appreciate your Hardwork anyways.
[LeEco Le Max 2 Questions & Answers] Slay1991:
Which bug you mean?
[LeEco Le Max 2 Questions & Answers] Aman747:
When Camera is switched on it goes out of focus then starts making clicking noises. Video Recording doesnt work too. I have tested Google Camera,Footej,Open,stock etc. Nothing works! :(
[LeEco Le Max 2 Questions & Answers] Slay1991:
Maybe it's a hardware issue, but I'm not sure. Which roms have you tried? Did you make a clean flash of the roms?

My camera is working perfectly on RR 06/06 build. Didn't find any focus issue

https://i.imgur.com/rOzkKTW.jpg a photo I took a few minutes ago with Footej
[LeEco Le Max 2 Questions & Answers] lmarchenac01:
I have the same problem, camera wont focus. I tried everything even change the bulid.prop but its imposible, i think its because camera api2. The problem only happends in 7.1.2 rom. Any help? Please
[LeEco Le Max 2 Questions & Answers] zandordimitri:
For me all have zoom problem
[LeEco Le Max 2 Questions & Answers] Shahzef:
I am also facing focus issue on camera tried rr,dirty unicorn, lineage, mokee and footej,open cam,snapdragon cam. Even in photos it is not focusing. Hope someone can help.
[LeEco Le Max 2 Questions & Answers] volo5:
I'm used the stock rom and today the cuoco92 (V92) rom.

The standard camera app has no issues, because of it's gallery i use cameramx some times. But mostly i use the opencamera app (some times with camer2api to take RAW files).

There is no bumping or miss-focus.

All these app's starts with an initial focusing (wich takes not a second under normal light conditions) and then are ready to shot.

Only the (with cameramx) installed OneShot feature, takes a picture at start.

May it's only depends on the rom or on hardware?
[LeEco Le Max 2 Questions & Answers] Shahzef:
it happens with nougat roms only, eui based roms doesnt have any problem. (cucuo is eui based)
[LeEco Le Max 2 Questions & Answers] volo5:
Exactly.
[LeEco Le Max 2 Questions & Answers] Aman747:
Is there any solution ?
[LeEco Le Max 2 Questions & Answers] Enzo_84:
https://xdaforums.com/showpost.php?p=72688951&postcount=504
[LeEco Le Max 2 Questions & Answers] Aman747:
Doesn't Work.

Tried It. It doesn't work at all. So Back to square one. :(
[LeEco Le Max 2 Questions & Answers] gti206:
I don't have any problem in RR rom

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 Questions & Answers] Akiisi:
i also got a weird bug with the camera. when i zoom the picture goes to left side of the screen and then i take a picture . the picture is normal:D
[LeEco Le Max 2 Questions & Answers] Aman747:
Are you running on the latest version? Can you mention the flashing procedure. Thanks for the help. :fingers-crossed:
[LeEco Le Max 2 Questions & Answers] gti206:
I'm running the 1306 version and had the 2705 before. To flash from eui s26 to RR I did all wipes, and from 2705 to 1306 I wiped system, cache and dalvik. Auto focus on video works perfect, it didn't work fine in eui and the photos aren't dark when there isn't much light as happens in eui. Bugs I have are that zoom doesn't work properly and panorama photos are too low quality. I prefer this bugs that the ones I had on eui.

I flashed pico gapps.

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 Questions & Answers] Scratchling:
For me when I tried any Nougat ROMs this started. The lens motor would slam the lens home. A worryingly loud click.

Rolled back to 6, now it randomly impacts but much softer AND does this weird rolling shutter where it will change focus while capturing an image (so chunks are in focus, chunks out, lines are bendy). Really quite annoying.
[LeEco Le Max 2 Questions & Answers] kuljitsingh@gmail.com:
I am facing the same issue. Moved from EUI to RR 7.1.2 and focus goes wild. Starts making these weird sounds as if circuit board inside is having sparks. Planning to go back to EUI.
[LeEco Le Max 2 Questions & Answers] MTG-SPA:
I´ve got the same problem. No camera app seems to work. Running LineageOS 14.1 nightly 06/29/17.
[LeEco Le Max 2 Questions & Answers] darkness_nightfall:
IS this related to the flash that is to late?
[LeEco Le Max 2 Questions & Answers] Scratchling:
Here's some footage where you can hear and just about see whats happening. Turn the volume up.

https://leecophones.tumblr.com/post/162475935443/af-noises-on-a-leeco-max-2-serious-issue-that-its
[LeEco Le Max 2 Questions & Answers] xjack03:
I have an issue with AF as well. But it is very different, because there is no "click". I tried footej camera with manual focus and instead of focus it stated to zoom. My camera's focuse is now cca 10cm. ROM LianegeOS 7.1.2 4.1-20170630

[MENTION=1187148]infrag[/MENTION]'s patch did not worked for me.
[LeEco Le Max 2 Questions & Answers] Scratchling:
This is really bugging me now.
[LeEco Le Max 2 Questions & Answers] Aman747:
[MENTION=1187148]infrag[/MENTION] please look into this matter as its turning into an serious issue for many. Appreciate your hardwork. :)
[LeEco Le Max 2 Questions & Answers] xjack03:
[MENTION=1187148]infrag[/MENTION] Just let me know, if there is anything I can help you with... Test a patch, provide logs...
[LeEco Le Max 2 Questions & Answers] infrag:
Did everyone who has this problem try a newer version of EUI say 26s before this happened?

I'm trying to find some common ground to what causes the issue.

Logs may be helpful.

Please just use the stock camera app when giving logs though.

adb logcat

adb shell dmesg
[LeEco Le Max 2 Questions & Answers] Aman747:
No i haven't updated to any version of EUI except 19S .

And ill provide my logcat ASAP.?
[LeEco Le Max 2 Questions & Answers] mjoach:
I'm about 70% confident I have not tried EUI 26s before things went bad, but don't really remember well, so let's say there is a 30% chance I did a quick flash of EUI 26s to see what's new and flashed NN again immediately after.

Coincidentally, I just posted my camera logs in RR thread:

https://xdaforums.com/showpost.php?p=72995499&postcount=3587
[LeEco Le Max 2 Questions & Answers] infrag:
There were reports of old RR builds working but not newer ones.

Anyone have a rough idea in which builds/version it stopped working?
[LeEco Le Max 2 Questions & Answers] Aman747:
I used catlog on DU latest build. As for the build, its roughly after blackscreen was implemented.
[LeEco Le Max 2 Questions & Answers] mjoach:
Someone claimed that a few weeks ago, but had zero details when asked for. So perhaps he remembered incorrectly or it was like my case, just stopped working for him at some point. I tried the oldest I could find, some RR from the end of April (28.04 maybe?), same thing. Until someone comes up with hard proof, I think we can assume affected cameras never worked on Nougats.
[LeEco Le Max 2 Questions & Answers] hackerpower:
Never had any focusing problem.

Besides the very low clicking sound when recording video, everything is perfect.
[LeEco Le Max 2 Questions & Answers] bwalter:
Sorry, I voted wrong. I meant no, I don't have the problem.
[LeEco Le Max 2 Questions & Answers] xjack03:
The same with me. I was on Aurel's roms that are based on 23S and 26S and camera in nugat never worked for me properly. First, I have the same issue as others when camera did not worked, after it was fixed I started to have the AF issue.
[LeEco Le Max 2 Questions & Answers] Loru2:
I'm on EUI 23S and I have a focus problem during panorama mode (except for the stock camera app) and with photosphere as well.
[LeEco Le Max 2 Questions & Answers] Mahz4130:
I'm facing low light camera problem on nougat ROMs. Camera freezes and captures after a long time. Anyone else facing this issue?
[LeEco Le Max 2 Questions & Answers] Gatzoe:
I was having problems with focus ,and now it is stuck.

Neither photo or video can be focused.zoom works perfectly.

I ordered a replacement camera to try it cause I think it is a hardware problem.

I am giving up my hopes that it is a software problem.

I don't know what version I am using, I bought the phone 7 months ago from gearbest and didn't flash it or changed anything,so stock.

Can u tell me how to check for version?
[LeEco Le Max 2 Questions & Answers] Scratchling:
This is my history:

EUI 5.8.018S (6.0.1)	FEXCNFN5801809292S - FINE

EUI 5.9.021S (6.0.1)	FEXCNFN5902110261S - FINE

MadMax2 446 Dev Rom	FEXCNFN5944611281D - FINE

DirtyUnicorns 7.1.2	20170526-1845.v11.4 - Problem begins

ResurectRemix 7.1.2 v5.8.3	RR-N-v5.8.3-20170527 - Persists

MadSurfer Sense 5.9 14/4	FEXCNFN5902303111S - Persists

So assuming DU 7.1.2 wasnt 26S based I havent touched 26.
[LeEco Le Max 2 Questions & Answers] Aman747:
Any Solution?

[MENTION=1187148]infrag[/MENTION] you are working on this right now? Have you found the bug?:confused:
[LeEco Le Max 2 Questions & Answers] xjack03:
I maybe found a way to reproduce. Today I flashed https://xdaforums.com/le-max-2/development/lemax2-cn-26s-developer-rom-unrooted-t3604661 and I started to hear the camera clinking when I flashed over RR. I also tested BS 2.7 and [MENTION=1187148]infrag[/MENTION]'s patch but still the same. The clicking was noticeable only with Bacon camera, other apps did not focused at all.
[LeEco Le Max 2 Questions & Answers] Regnarus:
I have the same problem.

I used Lineage OS 13.0 and the camera works fine.

I went to RR 7.1.2 and to some point it was all right.

Now autofocus does not work properly even when I go back to Lineage OS 13.0 ...

It's like a hardware problem but I installed yesterday a small EUI and on that rom the camera works very well ...

What happened?
[LeEco Le Max 2 Questions & Answers] mjoach:
Can you clarify? Does focusing work for you with some camera app or stopped completely?
[LeEco Le Max 2 Questions & Answers] xjack03:
Focusing works partially with Beacon Camera... Sometimes it focuses when I shake the phone or click on some point on screen but mostly it is blurry. With other apps, I am unable to focus at all.
[LeEco Le Max 2 Questions & Answers] mjoach:
And before you flashed this EUI you had no focusing problem on Nougat?
[LeEco Le Max 2 Questions & Answers] xjack03:
I was on SmallEUI since Aurel released it and I updated it regularly. I am not away of the timeline since when Aurel included 26S if you are trying to deduced a correlation between supposed 26S camera firmware change and Nougat focusing issue.

My first try was with LOS 14.1 Nougat when camera did not work at all, second was also with LOS 14.1 in a time when camera started to work and "the first focusing issue" occurred but that was the one that everyone had that time. Third attempt was when "the first focusing issue" was fixed but for me the focusing was even worse and camera did not focus at all. Fourth was when I flashed

*NEW-KERNEL*STOCK-GAPPS*CN 26S AROMA 4-Rom/in One and I started to have another focusing issue, the common one with the focusing click that [MENTION=4486914]Scratchling[/MENTION] has as well and described it #22 .

To summarize it, focusing never worked for me in Nougat as supposed to, and works in EUI.
[LeEco Le Max 2 Questions & Answers] Scratchling:
AF has just totally stopped for me.
[LeEco Le Max 2 Questions & Answers] Regnarus:
My autofocus does not work anymore.
[LeEco Le Max 2 Questions & Answers] mjoach:
Be more specific guys. Stopped in what circumstances and whether you confirm that it still works in EUI but not on Nougat.
[LeEco Le Max 2 Questions & Answers] Scratchling:
AF totally dead now. On any ROM.

IME 7.x based roms dont respect the AF motor limits and probably damage it. Once that HW damage is done, its done.

Hope Im wrong, suspect Im not.

EDIT:

Just to add, went back to 20S after a COMPLETE wipe, no change.

Flicking, tapping the body, no change. High contrast targets, no change.
[LeEco Le Max 2 Questions & Answers] mjoach:
Sorry to hear that, though interesting hypothesis. Did you try flashing full ROM in fastboot mode? E.g. Cuoco has uploaded many of these.
[LeEco Le Max 2 Questions & Answers] Regnarus:
On rom based on EUI also you AF does not work?

At me all other AF does not work anymore, but on every EUI rom is working very well.

Since I do not really like the EUI, I have to say goodbye to the phone if someone does not find a solution quickly.
[LeEco Le Max 2 Questions & Answers] ThE_MarD:
Heyyo, hmm so after reading this thread it seems that the autofocus bug seems to occur after using a custom EUI build... By chance does anyone in this thread have autofocus issues only after using EUI stock ROM?

Also, has anyone tried using TWRP "format data" button and then installing a custom ROM? I wonder if nuking all traces of data could solve this as maybe these custom EUI ROMs are messing with system files? Format data does completely reformat the device and all data will be lost so be sure to backup to a cloud service any important data first and then use TWRP with a PC to transfer the ROM and Gapps of choice onto the device and then try to install.
[LeEco Le Max 2 Questions & Answers] mjoach:
Format data button just cleans the data partition, I do it frequently. A more thorough reflash can be done with a fastboot image I mention above. None solved the problem for me but the latter did unbrick my phone once.
[LeEco Le Max 2 Questions & Answers] Scratchling:
Mine started again after fully stopping before.

Still getting crappy/limited AF and "rolling focus". Super unreliable.

Looking on Ali there's front camera modules available but no rears. And disassembly is a ****.
[LeEco Le Max 2 Questions & Answers] Regnarus:
Not only in the nougat. I have the same problem with autofocus in Lineage 13.0 official (Android 6.0.1).

And for example, in Mokee 6.0.1 it works ok ...

In older versions of RR 7.1.2, the camera works poorly, but sometimes it is possible to take a picture because sometimes autofocus is working. In the latest RR 7.1.2 autofocus does not work completely.
[LeEco Le Max 2 Questions & Answers] Aman747:
[MENTION=1187148]infrag[/MENTION] any updates??
[LeEco Le Max 2 Questions & Answers] weigeloveu:
i meet this bug also.eui doesn't have focus issue.

通过我的 Le X821 上的 Tapatalk发言
[LeEco Le Max 2 Questions & Answers] mjoach:
Give us your ROM history. Did you use something EUI 26s based at some point?
[LeEco Le Max 2 Questions & Answers] weigeloveu:
yes, but I've restored the stock 19s.and tried all the modem, it can't help with the issue.

通过我的 Le X821 上的 Tapatalk发言

---------- Post added at 04:12 AM ---------- Previous post was at 03:52 AM ----------

RR camera with focus issue

https://photos.app.goo.gl/OYp66jZftb7KJyzs1

eui camera

https://photos.app.goo.gl/47vHoRUrzSWpoF1l2

this is the link could help tell what is focus issue.

i guess all the nougat rom have the focus issue.if could let me to see the screen record video of those no focus issue.i just want to know what is the normal nougat camera looks like.

I tried all the stock rom and modem, it won't be help with the focus issue.

someone thought it is the custom eui cause the focus issue.i don't think it's the right reason.ive ever seen someone fixed this issue by flash stock rom or firmware until now.

通过我的 Le X821 上的 Tapatalk发言
[LeEco Le Max 2 Questions & Answers] mjoach:
My camera worked perfectly on Nougats until it stopped after trying some other ROMs. One possibility is that EUI 26s uploads updated camera firmware to the sensor and further flashing of ROMs doesn't downgrade it.
[LeEco Le Max 2 Questions & Answers] weigeloveu:
my camera also worked well on nougat in my memory, but I can't remember it clear.I don't use nought on daily use, because i need xposed.i found the xposed for nought a few days ago.so I decided turn to nought rom.before that I used 26s for a long time.so 26s might not the reason.maybe infrag and

andr68rus(after his vacation) could help to find out.

通过我的 Le X821 上的 Tapatalk发言
[LeEco Le Max 2 Questions & Answers] mjoach:
But that is consistent with the hypothesis that 26s modified your camera's firmware.

---------- Post added at 03:03 PM ---------- Previous post was at 02:40 PM ----------

Can someone running EUI test if this code displays camera firmware information and post? Note the warning to not choose "update". Maybe we can see different versions for working and non working cameras. The code didn't do anything for me on AOKP MM.

*#*#34971539#*#* - This code is used to get information about phone camera. It shows following 4 menus:

* Update camera firmware in image (Don't try this option)

* Update camera firmware in SD card

* Get camera firmware version in LeEco Le Max 2

* Get firmware update count

WARNING: Never use the first option otherwise your phone camera will stop working and you'll need to take LeEco Le Max 2 to service center to reinstall camera firmware.

Source: http://mobilespecs.net/phone/codes/LeEco/LeEco_Le_Max_2.html
[LeEco Le Max 2 Questions & Answers] weigeloveu:
nothing happened

通过我的 Le X821 上的 Tapatalk发言
[LeEco Le Max 2 Questions & Answers] xjack03:
The same for me, the code did not opened a service menu.
[LeEco Le Max 2 Questions & Answers] Scratchling:
If it works for one user they can probably point us to the package name it calls and then we can manually use an app to open it (if still present in later ROMs).
[LeEco Le Max 2 Questions & Answers] moneshaq:
Hello guys,

as context here is my history:

i have an x820

- Stock ROM 26s (october 2016- 07/29/17)

- Lineage OS 14.1 (07/29/17-07/30/17)

- RR 7.1.2 (07/30/17)

- multiple kernel test, now on los25.05

when i flashed LOS i had this Camera problem then i navigated throught XDA and found RR that said "no camera problem", i thought it was from LOS so i switched. had the same issue, then i started read this thread and saw the solution of flashing the camera5api, did it and now i passed from a blurry camera to a non-working camera

i tried installing the LeTVCamera and see what would happen but nothing did, tried the Code in phone, same as others...

i am actually pretty sad and anyone has a clue about how i (we) can solve this problem would be great.

i have a question now before i screw up my phone some more, would it solve the problem to go back to a stock rom/Eui Based Rom, i also saw LOS 13.1 that has a "camera api switcher", would that work ?
[LeEco Le Max 2 Questions & Answers] Scratchling:
Nope.

Maybe, but Im not too hopeful.
[LeEco Le Max 2 Questions & Answers] moneshaq:
OK, i'll Wait to see if someone finds something then i'll give it a try maybe tomorrow. What i'm upset the most is that i need the camera to be working for tuesday for work :eek:

Meh guess i'll use the crappy phone they usually gives me

Update 30/07@22:20 : Video and photos works only when not using built-in camera app or google camera app, using Camera api 2 (option featured in Open Camera) doesn't make any difference, the camera is still blurry and only close-up pictures/recordings doesn't look weird. zoom for itself works also
[LeEco Le Max 2 Questions & Answers] Paul64:
i have an X820, problem with camera focus indeed started after upgrading to official eui 26s
[LeEco Le Max 2 Questions & Answers] Scratchling:
Just tried Stock 26S just in case it would be useful, nada. Im stuck locked at short focus.

Trying to work out what kinda of focus mechanism is built into the IMX230 but not quite sure on that one yet.
[LeEco Le Max 2 Questions & Answers] Hafi5Z:
For me, i think it started after flashing BS 2.5 or so..
[LeEco Le Max 2 Questions & Answers] adnan9801:
Camera

I flashed 16s stock ROM today, this is after after I started experiencing focus issues on RR. Before flashing stock I had RR 16/07 build, before that I had MIUI8 by [MENTION=7565215]CrisBalGreece[/MENTION] (Camera Working)and before that I had Lineage OS 13 (Camera Working).

So after I flashed the stock ROM I had no issues with camera and when I again I flashed RR (same build as before) and the focusing issue still remains.

Won't flash any other ROM until this issue is fixed. I did not try that patch by [MENTION=1187148]infrag[/MENTION] because I think it might do some hardware damage which I can't afford.

Anyways the guys here are doing an incredible job.

P.S Here is the link to the stock ROM thread : https://xdaforums.com/le-max-2/how-to/official-fastboot-rom-x829-regular-twrp-t3620591

We can and We will.:)
[LeEco Le Max 2 Questions & Answers] Shrako:
Same issue with the churping noise from the lens and the focus becoming gradually worse and worse. I am using the stock EUI Rom without any updates since I got the phone - x822
[LeEco Le Max 2 Questions & Answers] Scratchling:
****. That might be a straight hardware fail so.
[LeEco Le Max 2 Questions & Answers] SantyC93:
So no more update on this? I would really like to fix the camera :(
[LeEco Le Max 2 Questions & Answers] SantyC93:
So you think there's no software solution? Do you maybe know where can we buy a new camera module to replace it?
[LeEco Le Max 2 Questions & Answers] Metal Slug:
So this is a permanent hardware issue? :(
[LeEco Le Max 2 Questions & Answers] SantyC93:
I'm not too sure, but it could be :(
[LeEco Le Max 2 Questions & Answers] Scratchling:
I'm not sure, but if I was betting I would say yes.

Before when I looked I couldnt find any replacement parts. Now I search again:

[IMG="Cam"]https://ae01.alicdn.com/kf/HTB1WpHoQFXXXXaLXpXXq6xXFXXX6/For-Letv-MAX-2-X820-Back-Camera-13-0MP-100-Original-X820-Rear-Camera-Module-Flex.jpg_220x220.jpg[/IMG]

AliExpress: https://www.aliexpress.com/item/For...820-Rear-Camera-Module-Flex/32805642141.html?

What I think I will do:

1. Buy 2 new cameras

2. Remove 1st Camera (stock)

3. Examine

4. Fit the 2nd Camera with a 7.1 ROM

5. If it breaks again, then roll back to 23S stock and replace with 3rd unit.
[LeEco Le Max 2 Questions & Answers] SantyC93:
Thank you :D I think I'll do the same. Let us know how it goes when u try :)
[LeEco Le Max 2 Questions & Answers] Scratchling:
Orders in. Updates in 2-3wks (ChinaPost).
[LeEco Le Max 2 Questions & Answers] wirew0lf:
Working on 16S

Hi, I'm facing the same problem, however if I go back to a really old stock rom with android 6.1 the camera focus works perfectly again. Only when I flash 7.1. So definitely, it's not a hardware issue. Also when I open the camera app it keeps focused 2 seconds before going blurry.
[LeEco Le Max 2 Questions & Answers] xjack03:
The same with me. I am more inclined to the theory that 26S flashed camera firmware.

When I try any 7.1 ROM, the camera gets blurry after 1-2s. When I revert to ANY 6.0 ROM, the camera is fine.
[LeEco Le Max 2 Questions & Answers] wirew0lf:
Yeah, exactly the same here, right now trying to find any good android 6 rom, also the patch by [MENTION=1187148]infrag[/MENTION] is not working for me.