Good afternoon
How to format a system_b partition to use as storage? I tried the "fastboot erase system_b" command, but it is denied access. Thank you :fingers-crossed:
I don't think this partition can be used.
As far as i know Its one shared system partition... A and B are images of each other! So you can't use them!
Related
I am kinda stuck here at this part ........
Type the following commands to wipe your Rogers system image (and userdata, and cache) and replace it with the HTC image:
fastboot erase system -w
fastboot flash system system.img
The system will flash and you will see a green progress bar on the fastboot screen while the image is transferring and a red progress bar while it's installing.
Click to expand...
Click to collapse
got past erasing part no problem......
then when type in fastboot flash system system.img i get error: cannot load 'system.img'
please help am in limbo at this part...and am noob....lol......
Here is tutorial i am going by
http://wiki.cyanogenmod.com/index.ph...to_CyanogenMod
is the system.img file in your sdk/tools directory?
either tell fastboot the path of the system.img
fastboot flash system /file/ishere/system.img
or move the system.img to the location that you are in in your command prompt.
Hi, need some help here. I have read a lot of post and did some research without any solutions.
My XT1063 got without battery, when I charged it and started I got several FCs on System (Lexodus 2.7 ROM, Stock 5.0.2), so I decide to reflash another ROM like usual but get this error:
E: Unable to open /cache/recovery/.version
E: Error executing updater binary in zip '/sdcardd1/LexodusRom.zip
So failed the installation.
I have tried (and other users on internet with the same problem):
* Wipes all partitions (Successful but no changes, there are all the files)
* Fastboot format system, cache, userdata (Formatting is not supporting for filesystem with files "raw")
* ADB shell name_rom.zip (same error like flashing over the recovery like usual)
* Did all Fastboot command for flashing stock rom and nothing errors but no changes:
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
* Fastboot recovery recovery.img (to changes recovery version and it stuck on the same, no changes)
So after tried all I have got on XDA, I think the problems is the RAW system, it is suposed to be Ext4 right? so there are a way to format all the partition on the phone with the right file types (Ext4)?
I hope you can help me (and together help others users like me).
Sorry my bad english, I am Venezuelan.
Hello
When i try this command: fastboot format system
I receive this error:
formatting 'system' partition...
Formatting is not supported for filesystem with type 'raw'.
FAILED ()
finished. total time: 0.005s
So how to fix this?
[Q] Error on format SYSTEM
try fastboot and administrative privileges
But I think it's a hardware/nand failure
Flashing partiton gpt.bin should format to ext4
Hi all,
I have a Nexus 6 phone with disk encryption enabled. I am trying to recover my userdata, could someone help me with this?
Following is what I did.
Backed up encrypted user data:
HTML:
$sudo adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata myencrypted_userdata
while flashing the new firmware images I accidentally flashed the userdata image that came with factory images too.
I remember the the password I used to encrypt the disk. So I thought I can flash the myencrypted_userdata back, in order to recover the my old data.
I used following command to do that:
HTML:
$ sudo fastboot flash userdata+userdata1 myencrypted_userdata
Unfortunately, that didn't work so how do I flash my backed up "myencrypted_userdata" to my device? and recover it using the the password I know?
Thank you so much for your time
Post note:
Following is the error I am getting:
HTML:
$ sudo fastboot flash userdata+userdata1 myencrypted_userdata
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.
and size of backed up "myencrypted_userdata" is huge :
HTML:
$ ls -alh myencrypted_userdata
-rw-rw-r-- 1 kar kar 56G mrt 3 13:03
karthik9;71266527
while flashing the new firmware images I accidentally flashed the userdata image that came with factory images.......[/QUOTE said:
It looks like dirty flashing.
New firmware and data from previous version.
That doesn't work in many cases.
Click to expand...
Click to collapse
NLBeev said:
It looks like dirty flashing.
New firmware and data from previous version.
That doesn't work in many cases.
Click to expand...
Click to collapse
Okay, I tried to use the same firmware image version I had, just to recover the data. That is also not working.
I followed the same steps I mentioned earlier:
HTML:
$sudo fastboot flash userdata+userdata1 myencrypted_userdata
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.
Is there there any other way to recover the data? (I remember the password though)
karthik9 said:
...
Is there there any other way to recover the data? (I remember the password though)
Click to expand...
Click to collapse
Are you sure the data partition is wiped/formatted before restoring your data?
(Assumed, but did not see that in the steps you wrote.)
NLBeev said:
Are you sure the data partition is wiped/formatted before restoring your data?
(Assumed, but did not see that in the steps you wrote.)
Click to expand...
Click to collapse
Thank you for you response.
So I did wipe out the old userdata with new firmware image (userdata.img) using following command .
HTML:
$sudo fastboot flash userdata userdata.img
Then now I am trying to restore my old userdata partition using following command:
HTML:
$sudo fastboot flash userdata+userdata1 myencrypted_userdata
No I didn't do anything else in between. Am I missing something in between? if so, how do I format the data partition? Also, the encrypted image size is huge "56G". Is that a problem?
karthik9 said:
No I didn't do anything else in between. Am I missing something in between? if so, how do I format the data partition? Also, the encrypted image size is huge "56G". Is that a problem?
Click to expand...
Click to collapse
Don't know about the size, try it. But you have to fastboot erase the data partition first.
Try fastboot erase userdata and fastboot erase cache before restoring.
EDIT the format command is
Fastboot format <partition>
NLBeev said:
Don't know about the size, try it. But you have to fastboot erase the data partition first.
Try fastboot erase userdata and fastboot erase cache before restoring.
EDIT the format command is
Fastboot format <partition>
Click to expand...
Click to collapse
Still getting same error:
HTML:
[email protected]:~ $ sudo fastboot erase userdata [134]
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 1.649s]
finished. total time: 1.649s
[email protected]:~ $ sudo fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.024s]
finished. total time: 0.024s
[email protected]:~ $ sudo fastboot flash userdata+userdata1 myencrypted_userdata
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.
Last idea:
Fastboot erase userdata
Fastboot format userdata
<Restore>
I have done fastboot format of system, cache and userdata and erased recovery partition and then flashing again twrp but i m getting error as partion table does not exist what should i do ?
any help is appreciated.
Please help me with your knowledge for a little while. I really need help because my android is bootlooping and this is the only phone I have. I really need your help here.
-I followed this guide with little differences https://forum.xda-developers.com/moto-e5/how-to/guide-root-twrp-moto-e5-play-explained-t3856182
-I took precautions and I downloaded the respective twrp for my phone (moto e5 nora).
-I couldn't make a backup because I'm lower-class college student and I can't afford a micro sd bigger than 4gb (I should have given up here).
-I installed Magisk and i thought it went well because no errors showed (at least that's what I think)
-Bootloop showing some numbers (80012a99-867fda48-...)
-I tried to uninstall using the uninstaller.zip so I could install an older version of Magisk but twrp says "cannot access /data please uninstall with magisk manager" but I just can't do it because android it's bootlooping.
Other data (it may be useful):
-After installing the last version of Magisk, abd won't recognize the phone ("adb devices") but "fastboot devices" will.
-I cannot repair /data but I can format it to ext4,ext2, etc (but it didn't work).
-I'm downloading stock image but I don't know how safe will it be to reinstall the whole Android. I'm afraid I can permanently damage my phone after what I have done here.
This is the first time I post here. I don't usually ask for help, I don't like to bother people. Thanks in advance and forgive me for my English!
FIXED
If someone has the same problem, this is what I did:
1-Download the LAST (this is very important) version ROM. I recommend lolinet (dot) com for our Moto E5.
2-Download adb and decompress the ROM into the adb folder.
3-Open command promt and go to adb's directory.
4-Check that your phone is being recognized by your pc:
Code:
fastboot devices
5- Copy and paste:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash dsp adspso.bin
fastboot flash bootloader bootloader.img
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot erase DDR
fastboot erase cache
fastboot erase userdata
fastboot flash oem oem.img
fastboot flash vendor vendor.img
fastboot oem fb_mode_clear
Then fastboot reboot and there you go!
I'm very glad and I hope you, future readers, find this useful enough to get your phone running as it used to run when we were real happy.