Urgent help needed for samsung a30 sm-a305f - Android Q&A, Help & Troubleshooting

I have a samsung a30 with an unlocked bootloader and twrp installed, but no OS/ROM at the moment. I'm not able to install any rom either cus the phone used to have android 10 when i unlocked the bootloader and now the system partition is mounted as read-only and i'm not able to uncheck that box in twrp. so b asically, I have a phone without any OS, unrooted, with twrp and an unlocked bootloader. i just want to mount system partition as read/write. Or I'd like to restore my phone to factory condition but i'm not able to flash any roms at all. any help please??

@idli_ninja
If no OS/ROM is present, then logically enough also no /system partition is present

jwoegerbauer said:
@idli_ninja
If no OS/ROM is present, then logically enough also no /system partition is present
Click to expand...
Click to collapse
yeah, i guess so. the logs show "Unable to find partition for path '/system' in red, in twrp. any idea how i can fix this?

idli_ninja said:
yeah, i guess so. the logs show "Unable to find partition for path '/system' in red, in twrp. any idea how i can fix this?
Click to expand...
Click to collapse
Flash a ROM via TWRP.

jwoegerbauer said:
Flash a ROM via TWRP.
Click to expand...
Click to collapse
Flashing is useless. in the mount tab in twrp, system is set to be read only. flashing any rom and rebooting makes my phone get stuck in a bootloop. and for flashing stock rom with odin, it fails and the phone showssw rev check fail (bootloader) device:5 binary:2. so basically i'm stuck without an OS

idli_ninja said:
Flashing is useless. in the mount tab in twrp system is set to be read only. flashing any rom and rebooting makes my phone get stuck in a bootloop. and for flashing stock rom with odin, it fails and the phone showssw rev check fail (bootloader) device:5 binary:2. so basically i'm stuck without an OS
Click to expand...
Click to collapse
Your Samsung has a microSD slot, hence you should be able to flash a Custom ROM.

jwoegerbauer said:
Your Samsung has a microSD slot, hence you should be able to flash a Custom ROM.
Click to expand...
Click to collapse
I've tried, flashing another rom doesn't change anything cus the system partition is set to be read-only. apparently, it's s feature of android 10 to set the system partition to read only when the bootloader is unlocked and i've heard the problem can be solved using magisk and adb and stuff but i'm not sure how.

0

Try using Odin to flash the stock firmware while in download mode

Related

Partition "Firmware" failed to restore

As everyone already knew, MIUI 8 is not only available for China Developer ROM, it's not yet available for Global. I was on Global MIUI 7 Developer, I was very curious about MIUI 8. So, I tried to flash it through TWRP. Before I flash, I backed up all partitions on TWRP.
Fast forward 20 minutes, MIUI 8 flashed properly, but I want to go back to my original Global Developer MIUI 7. So, I tried to restore every partition through TWRP with the backup I did. Every partition restored successfully, except "Firmware". It gives error "extractTarFork() process ended with ERROR: 255"
In recovery log, it shows that "tar_extract_file(): failed to restore SELinux context ubject_r:vfat:s0 to file" for a lot of files.
It booted up normally, but it failed to detect my SIM card. Wifi working, just no SIM. Baseband version unknown, can't enter Phone Status, SIM cards & mobile networks greyed out. Phone tells that Can't get valid Device ID (Invalid Device ID: null)
Anyone did experienced this? Any solution?
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Thanks for the advise. I've restored everything except firmware, and I'm now downloading the fastboot file to be flashed
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Unfortunately it didnt help. Still the same after flashing with MiFlashTool
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
@ImjuzCY
i flash the cm rom, but finger print can not work properly .
so i restored all the partitions by twrp. also got that error. and i restored all the partitions except “Firmware”.
but my phone working properly include sim and usb.
lordrak said:
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
Click to expand...
Click to collapse
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
what type of bugs does alka have???is cofface twrp better??
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
I use alka twrp too, but while twrp should we use?
The official twrp can backup all the partitions.
Sent from my Nexus 7 using Tapatalk
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Pranbellam said:
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Click to expand...
Click to collapse
can i flash the miui rom by twrp?
paranoia_gu said:
can i flash the miui rom by twrp?
Click to expand...
Click to collapse
Y not..! U can ,the recovery rom zip file BTW
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
What's this bug you mentioned? Pls tell more
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
yogesh1970 said:
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
Click to expand...
Click to collapse
which twrp u recommend then??
Pranbellam said:
Y not..! U can ,the recovery rom zip file BTW
Click to expand...
Click to collapse
Sorry, i don't understand. Original recovery is zip file. So How I can use twrp to recover original FW?

Moto Z no OS and stuck on TWRP boot loop

Hi guys
Can't install any OS (tried via ADB commands and flashing custom roms via TWRP).
Whatever I try, it just boots to TWRP.
ADB commands do work because I managed to install TWRP 3.0 and 3.1 for the Moto Z Griffin
Bootloader is unlocked
This device was working fine on Stock Noughat (installed via ADB) and AOKP (installed via TWRP).
Problems began when the camera "failed to start" and in my frustration, I wiped everything via TWRP including system, so now I have no OS.
Not sure why I can't get anything to install.
Follow this guide: https://forum.xda-developers.com/showthread.php?t=3506342
Sent from my XT1650 using XDA-Developers Legacy app
grneyez said:
Follow this guide: https://forum.xda-developers.com/showthread.php?t=3506342
Sent from my XT1650 using XDA-Developers Legacy app
Click to expand...
Click to collapse
followed that guide
Had this working for months and needed to wipe so I did a factory reset and all my phone does is boot to twrp
I tried this process again and all goes good or so it seems but just boots to twrp
I tried a restore from my backup from twrp and get all the way done and it fails on "unable to wipe Fsg."
Above there is a bunch of red failed:
Could not mount /data and unable to find crypto foooter
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Failed to mount'/cache' (invalid argument)
failed to mount'/system'(invalid argument)
Failed to mount storage
failed to mount'/data'(invalid argument)
failed to mount'/cache'(invalid argument)
failed to mount'/data/media/twrp'(invalid argument)
unable to wipe fsg.
any ideas? right now just a brick here. i have tried flashing roms from twrp and still just boot to twrp
I'm assuming you tried to flash the stock ROM via fastboot?
If so, I'm a little at a loss here. Although since you have TWRP, try flashing the stock ROM along with its recovery following the guide linked below;
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342
And grab the firmware for your device here;
https://firmware.center/firmware/Motorola/Moto Z/Stock/XT1650-03/
Make sure it's the correct firmware for your device. If you updated to Nougat via an OTA, you have to flash a Nougat ROM. You may also use the one linked in the XDA article, although I can't guarantee its stability.
D13H4RD2L1V3 said:
I'm assuming you tried to flash the stock ROM via fastboot?
If so, I'm a little at a loss here. Although since you have TWRP, try flashing the stock ROM along with its recovery following the guide linked below;
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342
And grab the firmware for your device here;
https://firmware.center/firmware/Motorola/Moto Z/Stock/XT1650-03/
Make sure it's the correct firmware for your device. If you updated to Nougat via an OTA, you have to flash a Nougat ROM. You may also use the one linked in the XDA article, although I can't guarantee its stability.
Click to expand...
Click to collapse
Maybe it's because I haven't had my coffee yet, but is there a US 7.0 file on that site? I can only find the 6.0 version. I'm on Rodgers nougat rom I flashed a couple weeks ago and I'd like to get on the US version since I've been having apn issues
royalflush5 said:
Maybe it's because I haven't had my coffee yet, but is there a US 7.0 file on that site? I can only find the 6.0 version. I'm on Rodgers nougat rom I flashed a couple weeks ago and I'd like to get on the US version since I've been having apn issues
Click to expand...
Click to collapse
Sadly, no.
As of right now, there's only a Marshmallow-based RETUS firmware. It'll take a while for someone to post firmware that's Nougat-based for RETUS.
D13H4RD2L1V3 said:
Sadly, no.
As of right now, there's only a Marshmallow-based RETUS firmware. It'll take a while for someone to post firmware that's Nougat-based for RETUS.
Click to expand...
Click to collapse
Ah, thanks for confirming. Do you happen to know of a twrp flashable zip for retus 7.0 then?
royalflush5 said:
Ah, thanks for confirming. Do you happen to know of a twrp flashable zip for retus 7.0 then?
Click to expand...
Click to collapse
Again, there's sadly no TWRP-flashable firmware for 7.0 RETUS.
There's only one for TELUS. While it works on other XT1650-03s with unlocked BLs, can't guarantee that it's all stable.
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-unlocked-versions-t3552210
I know this thread is old but maybe this will help someone out. I had the exact same problem after a Factory Reset my phone went on a TWRP bootloop. To resolve it, just reboot into Bootloader and then select Factory Mode. My phone just started as new.
lovetatfitties said:
I know this thread is old but maybe this will help someone out. I had the exact same problem after a Factory Reset my phone went on a TWRP bootloop. To resolve it, just reboot into Bootloader and then select Factory Mode. My phone just started as new.
Click to expand...
Click to collapse
Thank you for this!!!!!!! It solved my boot loop problem too after installing stock via fastboot. Only thing that worked.
raymccoy said:
Thank you for this!!!!!!! It solved my boot loop problem too after installing stock via fastboot. Only thing that worked.
Click to expand...
Click to collapse
thanks for the Rescue same trick work for me though as i was been stuck on TWRP after flashing stock firmware via fastboot , so i manage to flash irfan v4 stock rom and booted to factory image to get it resolved , But now i want to move to complete stock without twrp as i think Oreo update is near by but i get the same issue again, Just wanna ask can u help me out with the process to go back to stock Rom
lovetatfitties said:
I know this thread is old but maybe this will help someone out. I had the exact same problem after a Factory Reset my phone went on a TWRP bootloop. To resolve it, just reboot into Bootloader and then select Factory Mode. My phone just started as new.
Click to expand...
Click to collapse
that worked for me also, but it's not a fix, its a workaround. is there an actual fix for this? I've tried the Verity_FE_patcher but that didn't work also.

Huawei mate 10 pro wont boot at all. Please help.!!

Hello,
I was wondering if some could help me please. I wanted to flash RR Rom 6.0 on my BLA-L09(I think that what's it is) phone.
I was able to unlock my boot loader, and flash TWRP my device but my dumb s*** flashed TWRP to my file system use FLASH SYSTEM instead of FLASH RECOVERY. Now, I can't fix it ?. I know I can use sideload so I'm not panicking just yet however I know I messed up the file system.
Could someone tell me what file system system I should be using (fat, exfat, ext4, etc...) and what to do to get this think to boot backup.?
I've tried and side loading "update_full_BLA-L29_hw_la.zip" stock ROM but no luck... I keep getting this error message:
"check_write_data_to_partition,write data error
Update_huawei_pkg_from_ota_zip: update package from zip failed
Updated process ended with error: 9"
HELP.!!!
me too..... following searching for a solution
Shandroid_94 said:
me too..... following searching for a solution
Click to expand...
Click to collapse
If you find anything, let me know.!
Just boot to fastboot, flash RR to system and TWRP to recovery_ramdisk?

Is there a custom rom for the HUAWEI P30 lite?

Hey guys,
I want to buy a new phone for around 200€, while searching for a good one my eyes fell on the HUAWEI P30 lite.
But I would like to use the phone for a longer time, so here's my question:
"Does anybody know if theres a working custom rom for the HUAWEI P30 lite?"
I've allready looked up on the webpages of DitryUnicorny, LineageOS, Pixel expirience,... also here I couldn't find a rom, or even a unofficial version,
so if anybody knows more about it, or knows a phone about 200 with "rom compatibility" let me know about it .
Thx
did yu find any custom rom for P30 Lite ?
only EMUI9.0 support custom roms
Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.
blzbh said:
Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.
Click to expand...
Click to collapse
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome
NacoRaco said:
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome
Click to expand...
Click to collapse
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option
tnx for the replay. so the problem is that i found a post that that version of twrp should work and its supposed to be https://www.androidweblog.com/huawei-p30-lite-root-install-twrp-recovery/ but their linked twrp doesn't work and it just redirects you to illegal copy of JNews and you cant download it. If you have an url to the twrp than that would be awesome. but i did get twrp but i think it was for Huawei Y9 and everything was encrypted and it couldn't mount a bunch of stuff so it couldn't install magisk but i did successfully install lineage os but all files were encrypted so it wasn't usable. Tnx again for all the help and your time.
blzbh said:
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option
Click to expand...
Click to collapse
thank you for your time above i wrote my problem
That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..
blzbh said:
That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..
Click to expand...
Click to collapse
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100
NacoRaco said:
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100
Click to expand...
Click to collapse
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...
blzbh said:
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...
Click to expand...
Click to collapse
unfortunately it did not work. I filmed it again and posted on YouTube and it might help you find a problem. P.S before i filmed the video i cleared delvik and cache after installing magisk and it still didn't work. If you still have that twrp that worked for you could you send it over and i can try with that file?

Question Anyone has stock recovery.img for nord 2 DN2101 for OS version DN2101_11_A.11?

I am stuck with unlocked bootloader and not able to lock it back. When I do, I see the "destroyed boot/recovery image" error screen.
Though I have stock boot.img, I don't have the stock recovery.img. Or both should help, just to be sure!
If anyone has it saved, please share, I would like to try locking it again.
sako21 said:
I am stuck with unlocked bootloader and not able to lock it back. When I do, I see the "destroyed boot/recovery image" error screen.
Though I have stock boot.img, I don't have the stock recovery.img. Or both should help, just to be sure!
If anyone has it saved, please share, I would like to try locking it again.
Click to expand...
Click to collapse
Flash latest A13 update u will get stock recovery
pankspoo said:
Flash latest A13 update u will get stock recovery
Click to expand...
Click to collapse
Thanks for replying!
I did that today. It wasn't happening, it was failing with error - boot partition has expected contents.
Did a lot of erase and restores of partitions from rom backup with TWRP. Finally got through it somehow and it got installed with System Updates feature.
Now that it is flashed, can I simply try fastboot flashing lock and it will go through?
Not willing to spend too much time with trying it as it might wipe data (not sure of it though), hence asking here.
Or will it result into "destroyed boot/recovery image"?
sako21 said:
Thanks for replying!
I did that today. It wasn't happening, it was failing with error - boot partition has expected contents.
Did a lot of erase and restores of partitions from rom backup with TWRP. Finally got through it somehow and it got installed with System Updates feature.
Now that it is flashed, can I simply try fastboot flashing lock and it will go through?
Not willing to spend too much time with trying it as it might wipe data (not sure of it though), hence asking here.
Or will it result into "destroyed boot/recovery image"?
Click to expand...
Click to collapse
Just try keep unrooted boot. Img backup of your current rom.
Then go ahead though it's got currpted (one person faced that at insta but he used that commnads when he has twrp it must work with stock recovery) but after restoring boot imgae all was fine.
But try at u r own risk later don't tag [email protected] pankspoo - guide
Thanks. Will try that out.
And yes, wont tag you!
sako21 said:
Thanks. Will try that out.
And yes, wont tag you!
Click to expand...
Click to collapse
Wait u want to relock bootloader?
You need a otg adapter. Put Stock boot.img and the last ota update file to the usb storage.
flash stock boot.img via FKM
go to developer settings and lock oem
uninstall magisk with restore all (not image)
start phone in bootloader
fastboot flash relock
fastboot reboot recovery
select update from storage
use otg adapter with ota file
install
restart
done
For any assistance contact @sakarya1980
sako21 said:
Thanks. Will try that out.
And yes, wont tag you!
Click to expand...
Click to collapse
did you get the relock bootloader?
If you're still searching for the stock recovery, I've attached the .img file (unzip it first)

Categories

Resources