Originally Posted by murad12s
WoW!!! its simple and works!!!
but another problem occurs, battery not working, charging....
The only thing I can think of is that your phone is a Defy (MB525, with a SoC camera module) and you flashed a Defy+ (MB526, with a Bayer camera module) ROM on your phone.
When that happens, your camera will only work if you flash any of the JB Roms with 2nd boot (basically any new latest ROM), as far as I know, since it's impossible to downgrade back to stock Android 2.1/2.2.
Regarding your battery, it is charging, but the system doesn't know it is, because, kind of like stated above, the Defy+ comes with a 1700 mah battery, and the Defy comes with a 1500 mah battery, therefore the system doesn't know which one it is.
Search for certain battery fixes here on XDA, and flash the one that corresponds to the battery you have.
If you haven't (which is most likely true), you should have probably read this
MB525 - Bayer Camera - Slim-mb526-4.4.2.beta.2.4-UNOFFICIAL-20140120-1830
Sony Xperia TX LT29i - Stock 4.3 LT29i_9.2.A.1.199_USA@UXT / Stock Kernel with CWM (Rooted)