bag battary on custom - Xiaomi Redmi 5A Questions & Answers

the problem is that in the original firmware everything works, but in the custom one the battery is not displayed and writes 0% and does not charge, in any custom firmware. I tried to flash through edl and just recover. did different wipes and nothing happens

translate with google translator, i'm russian

It happened to me once too. The data format in TWRP helped me.

DusanMacko said:
It happened to me once too. The data format in TWRP helped me.
Click to expand...
Click to collapse
formatting and then flashing or just formatting

just formatting.

DusanMacko said:
just formatting.
Click to expand...
Click to collapse
not work(

Related

[Q] Htc desire boot looping on some 2.3 roms

I am fairly new to custom roms however I I have installed quite a few and they have all worked so far. Today however I tried installing this rom "http://forum.xda-developers.com/showthread.php?t=872464". before the install I wiped all the data, I wiped the cache partition and I wiped the Dalvik cashe. I then installed it and when it rebooted it just kept on repeating the boot animation until I took the battery out after half an hour.
I have tried reflashing but the same always happens. Does anyone know what the problem is and how I can solve it?
maxmw said:
I am fairly new to custom roms however I I have installed quite a few and they have all worked so far. Today however I tried installing this rom "http://forum.xda-developers.com/showthread.php?t=872464". before the install I wiped all the data, I wiped the cache partition and I wiped the Dalvik cashe. I then installed it and when it rebooted it just kept on repeating the boot animation until I took the battery out after half an hour.
I have tried reflashing but the same always happens. Does anyone know what the problem is and how I can solve it?
Click to expand...
Click to collapse
I got the same problem. Everything was fine with version 1.1 .
Keeray said:
I got the same problem. Everything was fine with version 1.1 .
Click to expand...
Click to collapse
The most common cause of bootloops are related to the improper partitioning and format of the SD. A few rules: partition your SD using some linux distribution, the most handy is gparted. Tutorial here: http://forum.xda-developers.com/showthread.php?t=1016084
Fat partition is first, ext partition second.
Both partitions primary.
Respect filesystem (ext3 or ext4) and partition sizes indicated by the dev.
Don't be afraid to wipe everything each time you flash a ROM. Trying to shortcut the installation instructions can result in serious headaches.
Thanks a lot that worked really well all I had to do was partition sd card
maxmw said:
Thanks a lot that worked really well all I had to do was partition sd card
Click to expand...
Click to collapse
with kind regards...Alex

Unable To Properly Install Pure Nexus Nougat & Nandroid Not Working

Hi! I went into the latest TWRP recovery with unlocked bootloader, and I wiped system, cache, dalvik and data. Then I flashed the proper vendor image, the ROM zip, Gapps and then Elemental X kernel. However, when I reboot, it just boots me into TWRP recovery. I have tried wiping dalvik cache and cache. I then tried restoring a nandroid, but it just got stuck on the Google screen. Didn't even get to the colored dots screen. I ended up flashing factory image, but I would like to get my Nandroids working and this ROM. Please help! Thanks
I'm no expert but I think it might be happening because of encryption. Did you disable encryption before doing all this stuff?
Aman301582 said:
I'm no expert but I think it might be happening because of encryption. Did you disable encryption before doing all this stuff?
Click to expand...
Click to collapse
Encryption in stock Android? As far as I know, I can't turn it off. It says that the device is encrypted in settings. I think nougat forces encryption.
Unless maybe there's a patched kernel that can do that?
NateDev473 said:
Encryption in stock Android? As far as I know, I can't turn it off. It says that the device is encrypted in settings. I think nougat forces encryption.
Unless maybe there's a patched kernel that can do that?
Click to expand...
Click to collapse
I dont think is your problem , im encrypted and never have issues with twrp! Never!! What version of twrp you running? Theres an unofficial kicking around that is much better than official! Maybe you got a bad download! I would redownload all, find and download unofficial twrp 3.0.2.3 I believe. Let your phone boot before you flash custom kernel, thats always worked great for me. The latest official twrps 3022 and 3021 both have nandroid restore issues as well efs restore issues that could ruin your day
Format data and system (format, not wipe) and try installing it again. Should work
OK, thanks
neth15 said:
Format data and system (format, not wipe) and try installing it again. Should work
Click to expand...
Click to collapse
Only data and system? Not cache and dalvik like the purenexus install guide says?
NateDev473 said:
Only data and system? Not cache and dalvik like the purenexus install guide says?
Click to expand...
Click to collapse
Ofc wipe all partitions, but these two also format.
neth15 said:
Ofc wipe all partitions, but these two also format.
Click to expand...
Click to collapse
What's the difference between wipe and format? On TWRP there is only WIPE for all partitions, but a format data button.
NateDev473 said:
What's the difference between wipe and format?
Click to expand...
Click to collapse
Wipe just deletes all data on the partition. Format makes the partition again, therefore it removes encryption, repairs potential problems etc. Format data has dedicated button in TWRP, for formatting System go to Advanced Wipe, check system, tap on Partition details, check EXT4 and perform format.
neth15 said:
Wipe just deletes all data on the partition. Format makes the partition again, therefore it removes encryption, repairs potential problems etc. Format data has dedicated button in TWRP, for formatting System go to Advanced Wipe, check system, tap on Partition details, check EXT4 and perform format.
Click to expand...
Click to collapse
There is no Partition details button. Just fix partition or something like that.
NateDev473 said:
There is no Partition details button. Just fix partition or something like that.
Click to expand...
Click to collapse
Repair or Change filesystem? Yeah, it should be that.
neth15 said:
Repair or Change filesystem? Yeah, it should be that.
Click to expand...
Click to collapse
OK, I will do that. Thanks Just to clarify, I format data and system, and wipe cache and dalvik?
A Thought
Dunno if this will help, but whenever I flash a ROM/kernel combo, I always flash the ROM/gapps, boot up with whatever kernel is included in ROM to make sure it boots properly, and then after successful boot flash EX kernel through TWRP.
OK, so I formatted DATA and SYSTEM, and I wiped CACHE and DALVIK. I then flashed the proper vendor image, pushing it to the device with adb push, and then adb sideload for the pure nexus ROM. It's currently installing. Then, I will adb sideload the gapps ZIP file. Then I'll reboot and see if it worked
EDIT: It just said "No OS installed"
EDIT 2: Just flashed the ROM again, and it is showing the boot animation. This time I did not do Gapps. I also wiped and formatted everything again. Hope all goes well.
EDIT 3: The ROM booted fine. Glad all is working now
NateDev473 said:
OK, so I formatted DATA and SYSTEM, and I wiped CACHE and DALVIK. I then flashed the proper vendor image, pushing it to the device with adb push, and then adb sideload for the pure nexus ROM. It's currently installing. Then, I will adb sideload the gapps ZIP file. Then I'll reboot and see if it worked
EDIT: It just said "No OS installed"
EDIT 2: Just flashed the ROM again, and it is showing the boot animation. This time I did not do Gapps. I also wiped and formatted everything again. Hope all goes well.
EDIT 3: The ROM booted fine. Glad all is working now
Click to expand...
Click to collapse
Good job You're welcome
neth15 said:
Good job You're welcome
Click to expand...
Click to collapse
So I had flashed the ROM with no Google Apps or anything, just the ROM. But when I add a Google Account, I can't because it says Google Play Services has stopped. I just noticed that the build number is one of a Nexus 6P, and the vendor image is different, the one I manually flashed.

encryption unsuccessful aufter flashing rom

encryption unsuccessful. I can't boot my phone. tried difrent roms. Got the same issue every time. Some advices?
Thanks!
okay, i helped myself. What happend: I was Instaling a ROM after I updated my recovery. I did a clean install. While booting i faced an old Android bug (I guess).
https://forum.xda-developers.com/showthread.php?t=1447303
Pressing resset got me back in to recovery.
None of my ideas like downgrade the rocovery or flash an other rom helped. So... back to stock with this guid
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914
After first boot I faced this bug again. But now you have to press reset again. The Lenovo recovery will do its things.
Now the bug is gone. I have lost all my data. The Internal sorage was wiped.
roli0201 said:
okay, i helped myself. What happend: I was Instaling a ROM after I updated my recovery. I did a clean install. While booting i faced an old Android bug (I guess).
https://forum.xda-developers.com/showthread.php?t=1447303
Pressing resset got me back in to recovery.
None of my ideas like downgrade the rocovery or flash an other rom helped. So... back to stock with this guid
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914
After first boot I faced this bug again. But now you have to press reset again. The Lenovo recovery will do its things.
Now the bug is gone. I have lost all my data. The Internal sorage was wiped.
Click to expand...
Click to collapse
I could fix it ...by changing data partition to ext4 ...and then again installing the ROM
ASP02 said:
I could fix it ...by changing data partition to ext4 ...and then again installing the ROM
Click to expand...
Click to collapse
also tried that. Didn't work for me
roli0201 said:
also tried that. Didn't work for me
Click to expand...
Click to collapse
Ohh...it did for me...
I changed data partition... To ext4 ...reflashed ROM with gapps and then rebooted ...it worked
roli0201 said:
encryption unsuccessful. I can't boot my phone. tried difrent roms. Got the same issue every time. Some advices?
Thanks!
Click to expand...
Click to collapse
Which ROM did u try to flash?
prahlad36 said:
Which ROM did u try to flash?
Click to expand...
Click to collapse
First I tried the new 8.1. AEX. Came from 8.0 AEX (Firelord)(Clean install). After failiture I tried LOS14.1, AEX 8.1 and AEX 8.0.
roli0201 said:
encryption unsuccessful. I can't boot my phone. tried difrent roms. Got the same issue every time. Some advices?
Thanks!
Click to expand...
Click to collapse
Try to format data to EXT4, and format data with yes. If it fails restart the recovery and try again it should work.
Wonder Wicked Witch said:
Try to format data to EXT4, and format data with yes. If it fails restart the recovery and try again it should work.
Click to expand...
Click to collapse
Successfuly formated date partition to ext4. Bug was still there.
roli0201 said:
Successfuly formated date partition to ext4. Bug was still there.
Click to expand...
Click to collapse
Data decryption? If yes proceed to
Format data > type Yes
If it fails, restart recovery > format data > yes (internal storage will be formatted) This worked for me.
Wonder Wicked Witch said:
Data decryption? If yes proceed to
Format data > type Yes
If it fails, restart recovery > format data > yes (internal storage will be formatted) This worked for me.
Click to expand...
Click to collapse
Recovery said, my partition was succesfuls formated to ext4. I did a restart. No clue what happend.

SafetyNet FaiLed Non rooted Oneplus 3 with locked bootloader

I have reverted to stock. I am on official 5.0.1 OxygenOS. I installed Stock recovery Locked bootloader still safety net is failing.
Any help please ....
Attached screenshot
This problem is on Oneplus3 screenshot is from internet of same app on redmi. But the error is same. first 2 are success rest two fails.
vjendra said:
I have reverted to stock. I am on official 5.0.1 OxygenOS. I installed Stock recovery Locked bootloader still safety net is failing.
Any help please ....
Attached screenshot
This problem is on Oneplus3 screenshot is from internet of same app on redmi. But the error is same. first 2 are success rest two fails.
Click to expand...
Click to collapse
How you reverted to stock matters. Did you wipe the phone completely before flashing stock?
tnsmani said:
How you reverted to stock matters. Did you wipe the phone completely before flashing stock?
Click to expand...
Click to collapse
1st I formatted system, data, cache, dalvik, internal
then I did factory reset from twrp
then I installed 5.0.1
then flashed Oneplus stock recovery
then booted the phone and did factory reset again
then locked the bootloader which did factory reset. Thats it.
vjendra said:
1st I formatted system, data, cache, dalvik, internal
then I did factory reset from twrp
then I installed 5.0.1
then flashed Oneplus stock recovery
then booted the phone and did factory reset again
then locked the bootloader which did factory reset. Thats it.
Click to expand...
Click to collapse
Why did you flash stock recovery? It is built in in the stock ROM.
Too many factory resets. If you wipe all including internal storage, no need for any factory reset. These might have influenced the outcome.
Do the wipes from ADB and flash ROM also through ADB, wipe Dalvik and cache and reboot.
Why does the screenshot say Redmi Note 3?
skymera said:
Why does the screenshot say Redmi Note 3?
Click to expand...
Click to collapse
When reading, read fully. In this instance, read the last two lines above the screenshot.
tnsmani said:
When reading, read fully. In this instance, read the last two lines above the screenshot.
Click to expand...
Click to collapse
When posting logs post the proper logs and screen shots. People will not read everything you type. So if you use a Screenshot from the internet (why would you even do that) instead of using a shot from the device.
zelendel said:
When posting logs post the proper logs and screen shots. People will not read everything you type. So if you use a Screenshot from the internet (why would you even do that) instead of using a shot from the device.
Click to expand...
Click to collapse
Not sure whether you are addressing me or why ..........
vjendra said:
I have reverted to stock. I am on official 5.0.1 OxygenOS. I installed Stock recovery Locked bootloader still safety net is failing.
Any help please ....
Attached screenshot
This problem is on Oneplus3 screenshot is from internet of same app on redmi. But the error is same. first 2 are success rest two fails.
Click to expand...
Click to collapse
Did you fix that . i have same problem :crying::crying::crying:
7afith said:
Did you fix that . i have same problem :crying::crying::crying:
Click to expand...
Click to collapse
Sometimes the su binary can be left behind , I believe there is an app called unsu me which will completely get rid of any binary left behind but you'll have to google it because I've forgot where I saw it...

I accidentally wiped vendor in twrp while flashing RR rom is that a problem?

Hi!! I flashed twrp as soon as I got the device and as a redmi note 3 user I don't know anything about vendor so I wiped it and even flashed 3 OTA updates of RR will I face any problems in future?if yes are there any solution?
Ps- now the device is running fine no probs at all
**Thanks for tuning in this question is answered**
Yep. Now you can't mount data, vendor and probably can't flash any other roms.
Happens to my other devices.
beeduq said:
Yep. Now you can't mount data, vendor and probably can't flash any other roms.
Happens to my other devices.
Click to expand...
Click to collapse
False. Please don't spread misinformation.
RR overwrites the vendor partition anyway, so @sreek995 will have no problems. If you eventually want to flash GSIs just flash this first.
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
JoseRebelo said:
False. Please don't spread misinformation.
RR overwrites the vendor partition anyway, so @sreek995 will have no problems. If you eventually want to flash GSIs just flash this first.
Click to expand...
Click to collapse
thank you sir!!
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
This is actually my first phone with a vendor partition, but that is weird. Bad TWRPs are probably doing something terribly wrong, that shouldn't happen. But you should still be able to flash the vendor partition.
Sorry if my message came out a bit too harsh.
JoseRebelo said:
This is actually my first phone with a vendor partition, but that is weird. Bad TWRPs are probably doing something terribly wrong, that shouldn't happen. But you should still be able to flash the vendor partition.
Sorry if my message came out a bit too harsh.
Click to expand...
Click to collapse
Me and vendors were not in good terms, I guess. ?
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
I think after formating data ,you might mount it again.
Dush4711 said:
I think after formating data ,you might mount it again.
Click to expand...
Click to collapse
Nope, it's gone and never mounted again. Even format, repair or change the storage type cannot re-mount the vendor.
The only way, I can get it to work is by flashing original recovery using computer and let it format it. After that, using computer flash twrp.
But I never unlocked bootloader in this device (note5), so I don't know about it's recovery. Xiaomi's can be very tricky or very easy. My wifes phone (Mi 5X) came with unoriginal rom, and I brick it when trying to install twrp, but by open the device and doing something inside of it, I manage to restore it to original and flash twrp.
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
it happened on my samsung j6 plus (SM_J610F) and i can not even flash it with original rom (in download mode it said sw rev check failed fused 4 binary 1) and t can not do any thing. twrp said /vendor has no data in it (0MB) and vendor img has (477MB). do you have any idea i can resurect my phone from dead.
tumo07 said:
it happened on my samsung j6 plus (SM_J610F) and i can not even flash it with original rom (in download mode it said sw rev check failed fused 4 binary 1) and t can not do any thing. twrp said /vendor has no data in it (0MB) and vendor img has (477MB). do you have any idea i can resurect my phone from dead.
Click to expand...
Click to collapse
Use PIT file for your model (don't use other or you'll brick the phone) in Odin.
Good luck.
Sent from my SM-A300FU using XDA Labs
;-;
you dont wipe vendor partition and reboot. If you wipe vendor, wipe system partition too reinstall the rom and everything runs fine. If you wipe vendor and dont flash rom, sure you'll get into trouble(Not that trouble actually,just cant boot into your rom).
Prathamesh 27 said:
you dont wipe vendor partition and reboot. If you wipe vendor, wipe system partition too reinstall the rom and everything runs fine. If you wipe vendor and dont flash rom, sure you'll get into trouble(Not that trouble actually,just cant boot into your rom).
Click to expand...
Click to collapse
yep, vendor is essential to runs the system

Categories

Resources