Partition (Parted) changes do not stick - Android Q&A, Help & Troubleshooting

I have an old Mediatek tablet (Lenovo A3500FL) with TWRP and I must have messed something up, because whenm trying to flash a rom TWRP yells /system can't be mounted. When I looked at the partitions using parted, it's messed up, so I tried removing and recreating the partitions (thru adb shell and parted that I pushed thru adb), but the changes do not stick. As soon as I quit parted and start it back up and print the partitions, the changes are lost.
What am I doing wrong?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I was looking for parted binary for android so ı came across with this link: http://www.droidforums.net/threads/internal-storage-partitions-screwed-up.78650/
Seems issue in that link related with yours. Hope you'll find helpful clues at least

Related

How can I make a partition table of my phone?

Hello,
I'm trying to manually install a custom recovery to my phone, my model is a LG L5 II, it was released early this year and its like a modified version of the L5..
I guess the blocks this phone uses for boot, recovery, system are different, so Im trying to make a partition table of the blocks.
Over ADB I used the "ls -l /dev/blocks/" command and I can see the blocks of the device, but for some reason no one has a specific name for it, I mean all the blocks say the same "root", any ideas why?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

D325 L70 DBI Err - NO Fastboot or ADB - But I have access to all partitions

Hi friends
Trying to recover from DBi Err, nothing works, LG Flash tool, Mobile Support Tool, Flash from KDZ, from IMG +DLL, etc.
Curious I can access and mount the phone partitions and and have RW access to major partitions.
Can I do something to enable ADB or Fastboot, or use a linux distro to DD the recovery partition?
Already tried settings.db replaced the file, while editing I just found adb_enable register, dev mode and abd port not.
Tks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

A390t bricked telephone

Hi I need help with mobiles the same type A390t, all are bricked maybe somebody before be flash bad preloader so i can get only to safe mode and the connect with adb but when i do flash in fastboot it send that image ok but then on "writing" freeze.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Recovery mode not working. And vcom preloader port not appeared I try everythink, also gold points (but there is missing kcon point or how its called). Also try to get recovery image manually into /system/bin but always says that it is readonly system and when i want remount the specific in system there is write that its /dev/block/mmcblk0p12 -ext ro

Unable to remove userdata partition in android parted

So, I'm on my Moto g2 (2014 edition) and I'm trying to increase the size of my system partition to be able to install a few things on there . But I'm not able to remove the userdata partition to be able to reduce space from it and hand it over to the system partition.
When I run the rm command, it just doesn't work, I can delete any other partition fine. But the userdata can't be removed with the rm command and also, there is no /data partition.
I don't know if this is useful but I have completely wiped my device before doing this so there is no operating system or anything on there, only TWRP recovery
Here's a screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Question Partitions screwed up

Hello,
I messed up and flashed a lineageOS GSI.img to my system partition. It didn't work and now I can't revert to stock Rom.
I am getting errors as I go into into TWRP:
Failed to mount '/system_root' (Block device required
I think it has something to do with the partitions being messed up. Can someone help, please?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Crazy, but I managed to fix it myself.
Turned out I broke my Super/system partition.
What I did is I downloaded the .zip file from this post:
https://forum.xda-developers.com/t/...otloader-package.4485073/page-3#post-88112887
From that I extracted the "super.img" and flashed it in fastboot "fastboot flash super super.img"
Afterwards I formated data, just to be sure and now everything is back to normal.
I hope this will help someone in the future. If you read this - good luck!

Categories

Resources