openandroidinstaller-dev / openandroidinstaller

Makes installing alternative Android distributions nice and easy.
https://openandroidinstaller.org
GNU General Public License v3.0
441 stars 34 forks source link

a3y17lte: you need repartition for use TWRP and Custom ROMs #67

Open batuhantrkgl opened 1 year ago

batuhantrkgl commented 1 year ago

you need to flash an repartition script on OrangeFox recovery or TWRP-3.7.0 otherwise it will gave /system cant be mounted, /vendor cant be mounted, /cache cant be mounted etc.

i have some links about these:

TWRP-3.7.0: https://t.me/batuhan_s_builds/84 OrangeFox R11.1: https://t.me/Exynos7870Updates/1626 RePartition Script: https://t.me/Exynos7870Updates/866

for reach to me: https:t.me/batuhantrkgl

tsterbak commented 1 year ago

Hey, thanks for pointing that out! :+1:

That's mostly relevant for flashing android 13+ based ROMs, right? Do you think it would be an issue to repartition also for older ROMs? I would like to keep the tool as general as possible.

Also, how is your repartition script licensed? Then it might be included here.

batuhantrkgl commented 1 year ago

Hey, thanks for pointing that out! 👍

That's mostly relevant for flashing android 13+ based ROMs, right? Do you think it would be an issue to repartition also for older ROMs? I would like to keep the tool as general as possible.

Also, how is your repartition script licensed? Then it might be included here.

its on all general. You even need that when you on stock rom, if you just flash twrp and boot it you will see the errors and cant flash anything due /system and /vendor partitions cant be mounted. We don't have Android 12/13 ROMs right now. (as stable and public) Our repartition script licensed by Astrako. it only works on Exynos7870 devices and the Repository Here

tsterbak commented 1 year ago

its on all general. You even need that when you on stock rom, if you just flash twrp and boot it you will see the errors and cant flash anything due /system and /vendor partitions cant be mounted.

I can flash LineageOS 16 and Stock android 9 without any issues. But for any more recent version a repartitioning might be necessary. :thinking:

We don't have Android 12/13 ROMs right now. (as stable and public) Our repartition script licensed by Astrako. it only works on Exynos7870 devices and the Repository Here

The script seems to be under Apache 2 license, so I should be able to package and redistribute it.

I will investigate and see how this can be included. :slightly_smiling_face:

batuhantrkgl commented 1 year ago

Android 10+ needs it i guess, image as you can see here, if you flash something it just gives that.... (photo taken from J7 Prime)

The script seems to be under Apache 2 license, so I should be able to package and redistribute it.

I will investigate and see how this can be included. 🙂

if you have any problem on that, Look At to this telegram group it was Astrako's offical group before he deleted his telegram, admins will help i guess

tsterbak commented 1 year ago

As I'm thinking about integrating this, how is the script executed? Can I sideload it as a zip, or do I have to execute it in a shell?

tsterbak commented 1 year ago

@batuhantrkgl Can you point me to where I can get a custom ROM based on Android 10/11 for this device? Then I can test the resizing and it might be included in one of the next releases.

batuhantrkgl commented 1 year ago

@batuhantrkgl Can you point me to where I can get a custom ROM based on Android 10/11 for this device? Then I can test the resizing and it might be included in one of the next releases.

You can use my Builds

i don't have Android 11 builds right now.

tsterbak commented 1 year ago

Thanks @batuhantrkgl ! I added the repartitioning script in a PR now: #76. Flashing seems to work without issues now, but on my a3y17lte neither your ASOiP nor the PixelExperience based on Android 10 for this device boot. Do you know what could be the issue? Give it a try if you want :)

tsterbak commented 1 year ago

@batuhantrkgl Did you have time to give it a try? :)

batuhantrkgl commented 1 year ago

Oh sorry I didn't see your reply lol, that's weird really, if you can get logcat share it please ( adb logcat > logcat_PixelExperince_Date_Hour_Minutes_a3y17lte.txt will work i guess) After flashing, try to mount all partitions manually ( twrp > mount) if it gives an error you need to do wipe > advanced wipe > change partition file type(i forgot the correct one) do ext2 first and ext4 all partitions and try to flash rom again

SirRGB commented 1 year ago

https://github.com/samsungexynos7870/android_device_samsung_universal7870-common/blob/lineage-19.1-oss_bsp-vndk/BoardConfigCommon.mk#L97

Weird, the build system doesnt seem to expect these partition sizes. Did it boot before repartitioning?