Question Twrp for Tab A8 SM-X205

Search This thread

Dkpost3

Senior Member
Dec 17, 2018
57
44
Moscow
OnePlus Nord
rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

delete vendorsetup.sh

Make a copy of recovery.fstab and rename to twrp.flags
Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
(create these folders)

open twrp_gta8.mk and :

1. delete the 3 lines below # Inherit from those products, Most specific first.
replace those 3 lines with this
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
3. change omni to twrp (2 places)
open AndroidProducts.mk
change omni to twrp (4 spots)

4. Optional: add extra items to BoardConfig.mk


cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh


• Make a directory called ~/a12s-twrp
cd ~/twrp

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


Building
========
. build/envsetup.sh
lunch twrp_gta8-eng
mka recoveryimage –j1

Recovery.img at out/Samsung/gta8/...img
 
  • Like
Reactions: Ur!el

Ur!el

New member
Jun 29, 2022
3
0
rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

delete vendorsetup.sh

Make a copy of recovery.fstab and rename to twrp.flags
Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
(create these folders)

open twrp_gta8.mk and :

1. delete the 3 lines below # Inherit from those products, Most specific first.
replace those 3 lines with this
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
3. change omni to twrp (2 places)
open AndroidProducts.mk
change omni to twrp (4 spots)

4. Optional: add extra items to BoardConfig.mk


cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh


• Make a directory called ~/a12s-twrp
cd ~/twrp

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


Building
========
. build/envsetup.sh
lunch twrp_gta8-eng
mka recoveryimage –j1

Recovery.img at out/Samsung/gta8/...img
Hey bro thank but I have to rename omni to twrp of these ligne : PRODUCT_NAME := omni_gta8 $(call inherit-product, vendor/omni/config/common.mk) ?
 

Ur!el

New member
Jun 29, 2022
3
0
rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

delete vendorsetup.sh

Make a copy of recovery.fstab and rename to twrp.flags
Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
(create these folders)

open twrp_gta8.mk and :

1. delete the 3 lines below # Inherit from those products, Most specific first.
replace those 3 lines with this
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
3. change omni to twrp (2 places)
open AndroidProducts.mk
change omni to twrp (4 spots)

4. Optional: add extra items to BoardConfig.mk


cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh


• Make a directory called ~/a12s-twrp
cd ~/twrp

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


Building
========
. build/envsetup.sh
lunch twrp_gta8-eng
mka recoveryimage –j1

Recovery.img at out/Samsung/gta8/...img
Can you do it for me i got some error please : build/make/core/dex_preopt_libart.mk:18: error:
 

elswerky

Senior Member
Dec 11, 2015
248
111
Realme 2 pro
rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

delete vendorsetup.sh

Make a copy of recovery.fstab and rename to twrp.flags
Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
(create these folders)

open twrp_gta8.mk and :

1. delete the 3 lines below # Inherit from those products, Most specific first.
replace those 3 lines with this
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
3. change omni to twrp (2 places)
open AndroidProducts.mk
change omni to twrp (4 spots)

4. Optional: add extra items to BoardConfig.mk


cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh


• Make a directory called ~/a12s-twrp
cd ~/twrp

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


Building
========
. build/envsetup.sh
lunch twrp_gta8-eng
mka recoveryimage –j1

Recovery.img at out/Samsung/gta8/...img
Why not to create twrp file instead of this for every normal user like me to flash it and use
 

elswerky

Senior Member
Dec 11, 2015
248
111
Realme 2 pro
Did this worked with anyone
rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

delete vendorsetup.sh

Make a copy of recovery.fstab and rename to twrp.flags
Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
(create these folders)

open twrp_gta8.mk and :

1. delete the 3 lines below # Inherit from those products, Most specific first.
replace those 3 lines with this
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
3. change omni to twrp (2 places)
open AndroidProducts.mk
change omni to twrp (4 spots)

4. Optional: add extra items to BoardConfig.mk


cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh


• Make a directory called ~/a12s-twrp
cd ~/twrp

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


Building
========
. build/envsetup.sh
lunch twrp_gta8-eng
mka recoveryimage –j1

Recovery.img at out/Samsung/gta8/...img
??

And if worked ,why no one published ithe file ??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    rename ~/TWRP/twrpdtgen/output/samsung/gta8/omni_gta8.mk to twrp_gta8.mk

    delete vendorsetup.sh

    Make a copy of recovery.fstab and rename to twrp.flags
    Move both files recovery.fstab and twrp.flags to recovery/root/system/etc
    (create these folders)

    open twrp_gta8.mk and :

    1. delete the 3 lines below # Inherit from those products, Most specific first.
    replace those 3 lines with this
    $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)

    2. delete $(call inherit-product, vendor/omni/config/gsm.mk)
    3. change omni to twrp (2 places)
    open AndroidProducts.mk
    change omni to twrp (4 spots)

    4. Optional: add extra items to BoardConfig.mk


    cd ~
    sudo apt install git aria2 -y
    git clone https://gitlab.com/OrangeFox/misc/scripts
    cd scripts
    sudo bash setup/android_build_env.sh
    sudo bash setup/install_android_sdk.sh


    • Make a directory called ~/a12s-twrp
    cd ~/twrp

    repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11


    repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j1

    copy ~/TWRP/twrpdtgen/output/samsung to /twrp/device


    Building
    ========
    . build/envsetup.sh
    lunch twrp_gta8-eng
    mka recoveryimage –j1

    Recovery.img at out/Samsung/gta8/...img