restore your backupand i can't reflash it back to stock firmware and i can't boot to anything except twrp.
please help!
You can always boot into download mode, so you can reflash anything you want with Odin. If remember correctly there is even an option in TWRP to reboot into Download, it's just in some Advanced menu. Or reboot normally, but before that plug USB in (not charger, but PC) and hold volume up and volume down at the very moment the screen goes totally black (not just blank but totally black, i.e. backlight turns off). If that does not work, you can try to hold the volume buttons in advance but plug the USB cable in when screen goes black; to make it easier just half-insert the cable beforehand and then insert it fully when the time comes.and i can't reflash it back to stock firmware and i can't boot to anything except twrp.
please help!
Thanks for the guide, it seems like the best option for me, tooRepacked super.img back together using the dumped metadata info
Samsung really stuffed it up going from u2 to u3Actually, the main question is: did anybody manage to install any GSI (e.g. Lineage) on A127F/DSN with U3? I really got quite deep into this flashing thing, but literally, nothing seems to work...
If you're on Linux I've made a script which completely automates the repacking process. Yes, you must supply a lot of parameters to lpmake. In your case it looks like this, just replace SYSTEM_SIZE (your new system.img), VENDOR_SIZE, PRODUCT_SIZE and ODM_SIZE with the sizes of the corresponding image files:Thanks for the guide, it seems like the best option for me, too
The only thing I am currently stuck with is the parameters of this huge command. I can see the same sizes in the general info, but the separate partitions use different sizes if I get it right from my logs. How would this command look like for my dump? Thanks in advance for your reply.
Trying to run a command "as is" causes a boot loop.
Slot 0:
Metadata version: 10.0
Metadata size: 592 bytes
Metadata max size: 65536 bytes
Metadata slot count: 2
Header flags: none
Partition table:
------------------------
Name: system
Group: group_basic
Attributes: readonly
Extents:
0 .. 7562495 linear super 2048
------------------------
Name: vendor
Group: group_basic
Attributes: readonly
Extents:
0 .. 862527 linear super 7565312
------------------------
Name: product
Group: group_basic
Attributes: readonly
Extents:
0 .. 1853335 linear super 8429568
------------------------
Name: odm
Group: group_basic
Attributes: readonly
Extents:
0 .. 8495 linear super 10283008
------------------------
Super partition layout:
------------------------
super: 2048 .. 7564544: system (7562496 sectors)
super: 7565312 .. 8427840: vendor (862528 sectors)
super: 8429568 .. 10282904: product (1853336 sectors)
super: 10283008 .. 10291504: odm (8496 sectors)
------------------------
Block device table:
------------------------
Partition name: super
First sector: 2048
Size: 5679087616 bytes
Flags: none
------------------------
Group table:
------------------------
Name: default
Maximum size: 0 bytes
Flags: none
------------------------
Name: group_basic
Maximum size: 5674893312 bytes
Flags: none
------------------------
Reboot to recovery.
install multidisabler twice?Reboot to recovery.
Mount system (Press mount then choose system)
Tap on Wipe, tap on format data, type YES. (Not just wipe data)
install multidisabler
Reboot to recovery (tap on reboot, tap on recovery)
Install multidisabler\Reboot to recovery (tap on reboot, tap on recovery)
Reboot and go completely through the setup process. Wait for downloading to finish. This may take up to an hour. You can see the progress by pulling down from the top.
did everything according to the instructions, got a bootloop(Reboot to recovery.
Mount system (Press mount then choose system)
Tap on Wipe, tap on format data, type YES. (Not just wipe data)
install multidisabler
Reboot to recovery (tap on reboot, tap on recovery)
Install multidisabler\Reboot to recovery (tap on reboot, tap on recovery)
Reboot and go completely through the setup process. Wait for downloading to finish. This may take up to an hour. You can see the progress by pulling down from the top.
Which recovery are you using?did everything according to the instructions, got a bootloop(
I have a127f/dsn maybe it's because of this?
All the recoveries, even those that I posted, still do not work correctly with the U3 baseband. They may seem to run okay but their functionality is greatly limited, I personally could not find any use of them. That's why for installing LineageOS I resorted to repackaging the whole super.img keeping everything else stock, including Recovery.
Все рекавери, даже те, которые я выложил , все равно некорректно работают с U3 baseband. Может показаться, что они работают нормально, но их функциональность сильно ограничена, я лично не смог найти в них никакого применения. Вот почему для установки LineageOS я прибег к переупаковке всего super.img, сохранив все остальное на складе, включая Recovery.
Thank you very muchВсе рекавери, даже те, которые я выложил , все равно некорректно работают с U3 baseband. Может показаться, что они работают нормально, но их функциональность сильно ограничена, я лично не смог найти в них никакого применения. Вот почему для установки LineageOS я прибег к переупаковке всего super.img, сохранив все остальное на складе, включая Recovery.
Agh, finally, I found combination, that works for me.Thanks physwizz! With these new recoveries I finally got TWRP booting! I've formatted data okay, have the sdcard accessible after that and a reboot, but now the next problem: a lot of "Unable to find partition for path '/system_root'" messages. And indeed, there is no "system_root" partition entry in fstab. Also the "Mount system partition read-only" checkbox in the Mount section is unresponsive and remains always checked. Any ideas?
Can you post, how exactly you did it (changed to ext4)Thanks! I finally got the TWRP on my SM-A127F, though I cannot perform the last step: I get errors "Failed to mount '/data' (Invalid argument)" and "Failed to mount '/keyrefuge' (Invalid argument)". Any ideas?
UPD: not sure if it's OK, but I changed /data filesystem to ext4 and it worked well.