How To Guide Update:-Install GSI with TWRP Fastboot , Custom AP(install GSI without TWRP) , Overlay making

Search This thread

zenitsu man

Senior Member
Jul 29, 2022
101
1
so i will be having martial arts classes soon they end in night so any method will be tested tomorrow im sorry i dont reply and appreciate for helping me
 

tom.android

Senior Member
Jul 12, 2016
690
226
Samsung Galaxy Tab A7 Lite
NEW Android 12 TODAY
Screenshot_20220810-113713_Vivaldi Browser.jpg



Screenshot_20220810-114117_Vivaldi Browser.jpg


Howto install https://forum.xda-developers.com/t/...elock-bootloader.4473159/page-2#post-87259487

FOR someone who loves easy install GSI , now no TWRP for A12. And vendor.img A12 not suitable for GSI 12/L . Then A11 is your friend.




warranty.jpg


!!!! if you are boring charging with Warranty Bit effect ( Charging with the device powered off ) then New A12 is your best choices.

I had only installed clean A12 , clear cache one time and performance is good for now. ( increase virtual RAM ) . Display color for media is my favorite.

Battery: normal consumption. Not good or bad

Screenshot_20220810-121626_Device care.jpg


My 2 favorit are always " WAVELET" + "PowerAmp Equalizer"

Screenshot_20220810-123440_Wavelet.jpg

Screenshot_20220810-123532_Poweramp Equalizer.jpg


Try to make 3 apps working together simultaneously.(mx player + wavelet + poweramp Equalizer)
Screenshot_20220810-124820_Poweramp Equalizer.jpg


Screenshot_20220810-125631_Vivaldi Browser.jpg

US/Canada devices has no oem unlock toggle!

How to get OEM Unlock option back for Non US/Canada device?
1. Open the Settings app. Tap on General Management → Date and time.
2. Use the toggle button to disable Automatic date and time.
3. Set date option will be enabled now. Tap on it, and set the date to about 10-20 days earlier.
4. Enable developer options.
4.a Go to your device Settings.
4.b Select ‘About phone’ » tap seven times on ‘Build number’.
└ This will enable Developer options under Settings.
4.c Go back to Settings » scroll down to the bottom and you’ll see Developer options menu.
5. Open developer options (in the Settings app itself), and find the option called ‘Auto update system‘. Use the toggle button to disable it.
6. Now, go back to the main screen of Setting, and then tap on Software update.
7. Disable the option ‘Download updates automatically‘.
8. Tap on ‘Download updates manually‘ option, but it will give you an error because of the wrong date, so it’s fine.
9. Restart the device.
10. Go to Settings > Developer options. The OEM unlock option should be enabled now.
 
Last edited:

zenitsu man

Senior Member
Jul 29, 2022
101
1
i talked with dev zillion he said that it stuck in mediatek preloader if we flash the bootloader agian it will be fixed but i cant figure out how to enter brom mode
 

tom.android

Senior Member
Jul 12, 2016
690
226
Samsung Galaxy Tab A7 Lite
i talked with dev zillion he said that it stuck in mediatek preloader if we flash the bootloader agian it will be fixed but i cant figure out how to enter brom mode
Brom mode must have enable Debugging in developer option.

 

tom.android

Senior Member
Jul 12, 2016
690
226
Samsung Galaxy Tab A7 Lite
Brom mode must have enable Debugging in developer option.

You must use this method. https://www.droidwin.com/unlock-bootloader-without-using-fastboot-mode-mediatek/

Unlock bootloader without fastboot
But the first thing you must do is. STEP 1: Enable USB Debugging and OEM Unlock

If you have fastboot ( from TWRP mode ) may be possible , but you didn't install TWRP.
 
Last edited:

zenitsu man

Senior Member
Jul 29, 2022
101
1
bro i think i can escape from this problem i made the scatter file using a tool it works its valid and when trying to flash with sp flash tool it begins but i said you about the connecting and disconnecting thats the issue it will stop in between because it disconnects
 

Attachments

  • 1660124261377.png
    1660124261377.png
    193.9 KB · Views: 15

zenitsu man

Senior Member
Jul 29, 2022
101
1
i fixed connecting disconnecting but sp flash tool give random errors because maybe samsung devie use secure boot i am so frustrated uhhhhhhbbhhuhuhhhuh
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    PROJECT AWAKEN - UNOFFICIAL GSI

    CHANGELOG

    | Sync with August Source
    | PHH v415
    | Add Accessibility Suite
    | Meizu 18 Vibration from Andy Yan
    | Etc, etc...
    Download here
    Screenshot_20220828-095338_Vivaldi Browser.jpg

    NOT SUPPORT: eXFAT sd-card
    >>>>Stop here
    1
    I want to try but it's too complicated
    Sort of. I can handle both ways of flashing a GSI: through TWRP's Fastboot or compiling it in Windows to flash it through Odin and I find the latter easier and more straightforward cuz I don't have to deal with so much button holding (which can wear the buttons), OTG mouse, dealing with two different recoveries and whatnot. If only our TWRP would get touch support things would be easier with that method.
    1
    I want to try but it's too complicated
    Corvus OS in action.
    1
    Yes but same problem as google A13
    IMG_20220829_205221.jpg
  • 1

    Reserved2:​

    original post here:https://forum.xda-developers.com/t/guide-t220-t225-flash-a-gsi-on-the-a7-lite-without-twrp.4456821/

    Custom AP with Win10 (from abg95a)

    ✓ Installation

    Ubuntu Subsystem 20.04.5 LTS


    OPEN microsoft store , Select Ubuntu version and click install.
    ubuntu.PNG


    After
    Find Where to Stored installation Files.
    here: (open windows show hidden file)
    \Users\username\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04LTS_

    make a shotcut to desktop (for easy copy and paste , sharing files between WIN and LINUX)

    Step

    Win10

    Download lz4 for win and extract into C:\AnyName
    from https://github.com/lz4/lz4/releases

    1) extract "super.img.lz4" from AP Firmware file with 7zip, into lz4 folder.<AnyName>

    Screenshot_20220917_233408_Gallery.jpg


    2) go into folder lz4_win64_v1_9_4 and run CMD

    Screenshot_20220917_233741_Gallery.jpg
    Code:
    lz4 -d  super.img.lz4  super.img

    copy output " super.img" to uses with Ubuntu at /home/username/


    >>>>>>>>>>>>≥>>>>>

    Begin For Linux here:​

    After extracted "SUPER.IMG.LZ4" FROM AP STOCK FRAMEWORK INTO ./home/username/
    ( Can uses zip utility from wins )


    launch Ubuntu terminal

    2.1) Option We can uses LZ4 from linux, process same as (Step 1-2 for wins)

    Ubuntu
    you can install LZ4 from Ubuntu with

    Code:
    sudo apt-get -y install lz4

    note
    lz4 [option] input output
    lz4 -d (d= decompress)
    lz4 -dc ( c=concatenate )

    2.2) Option Extract "super.img.lz4" from Stock AP framework file.
    and paste it to /home/username/

    2.3)
    Code:
    sudo lz4 -d super.img.lz4  super.img

    Screenshot_20220917_234111_Gallery.jpg
    2.4)
    COMPARE using "lz4" between Ubuntu and Windows
    Screenshot_20220917_235214_Gallery.jpg

    You can get "super.img" from 2 ways , from windows or Linux.

    ***We will begin with 'super.img'

    3.)
    Ubuntu

    **First of all the super.img file might be in sparse format so we need to make it raw image. By Using "SIMG2IMG"


    Code:
    sudo apt-get update
    sudo apt-get install simg2img

    Code:
    sudo  apt-get install img2simg

    After install execute this command.

    Code:
    sudo  simg2img super.img  super.raw

    Screenshot_20220917_235842_Gallery.jpg

    4) Tool for extract partition

    Download & extract "imjtool" to /home/username/
    http://newandroidbook.com/tools/imjtool.tgz


    Code:
    chmod +x imjtool


    5) Extract sub partition within our "SUPER.RAW"


    By execute this command
    Code:
    ./imjtool super.raw extract

    It will extract 4 img files in the folder /home/user/extracted
    - system.img
    - vendor.img
    - product.img ( not used by GSI)
    - odm.img


    Screenshot_20220918_002304_Gallery.jpg

    6) Choose your favorite GSI. ( Recommend PHH Treble- GSI )
    Download from :-
    https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list

    6.1) Extract & Replace "system.img" with your GSI img
    (rename it to system.img over-written the old file.)

    Screenshot_20220918_002502_Gallery.jpg

    6.2 )
    Move all img files (6.1)
    from /home/username/extracted folder into /home/username/


    7.) Get each partitions file size.

    we can do it by:

    Code:
    stat -c '%n %s' IMG_FILE.img

    :- do it for all partitions files.

    7.1
    Code:
    stat -c '%n %s' system.img
    out---system.img 308 951 4496

    7.2
    Code:
    stat -c '%n %s' vendor.img
    out----vendor.img 718 503 936

    7.3
    Code:
    stat -c '%n %s' product.img
    out----product.img 118 811 8528

    7.4
    Code:
    stat -c '%n %s' odm.img
    out----odm.img 434 9952


    7.5 ***size of the "original super.raw"
    Code:
    stat -c '%n %s' super.raw
    out----super.raw 609 432 3712

    Screenshot_20220918_002752_Gallery.jpg

    8) Repacked new super.img.

    8.1 fill in "img partition size" formular to your prepared command below
    Screenshot_20220918_074316_Gallery.jpg
    Prepared command "LPMAKE"
    sudo ./otatools/bin/lpmake --metadata-size 65536 \
    --super-name super \
    --metadata-slots 2 \
    --device super:ORIGINAL_SUPER_IMG_SIZE \
    --group main:SUM_OF_ALL_PARTITIONS_SIZES \
    --partition odm:readonly:ODM_PARTITION_SIZE:main \
    --image odm=./odm.img \
    --partition product:readonly:pRODUCT_PARTITION_SIZE:main \
    --image product=./product.img \
    --partition system:readonly:SYSTEM_PARTITION_SIZE:main \
    --image system=./system.img \
    --partition vendor:readonly:VENDOR_PARTITION_SIZE:main \
    --image vendor=./vendor.img \
    --sparse \
    --output ./super_new.img

    Note:
    Replace
    ORIGINAL_SUPER_IMG_SIZE,
    SUM_OF_ALL_PARTITIONS_SIZES
    ODM_PARTITION_SIZE,
    PRODUCT_PARTITION_SIZE,
    SYSTEM_PARTITION_SIZE,
    VENDOR_PARTITION_SIZE
    with the values you obtained in step 7.
    ====================

    8.2
    Download & extract : OTATOOLS to /home/username/
    here: **We only want to use "lpmake" from its.

    home-fortuner6898.PNG
    8.3) execute prepared formular (8.1) with this command

    Note:
    1. Fix partition size ( odm + product + vendor )
    434 9952 + 118 811 8528 + 718 503 936 = 1,910,972,416 + (new system.img )= Sum of all 4 partition.

    2. Fix All partition ( super.raw) = 609 432 3712

    Code:
     sudo ./otatools/bin/lpmake --metadata-size 65536 \
     --super-name super \
     --metadata-slots 2 \
     --device super:6094323712 \
     --group main:5000486912\
     --partition odm:readonly:4349952:main \
     --image odm=./odm.img \
     --partition product:readonly:1188118528:main \
     --image product=./product.img \
     --partition system:readonly:3864137728:main \
     --image system=./system.img \
     --partition vendor:readonly:718503936:main \
     --image vendor=./vendor.img \
     --sparse \
     --output ./super_new.img

    OUTPUT SHOW:-
    lpmake I 09-11 03:32:54 36 36 builder.cpp:1012] [liblp]Partition odm will resize from 0 bytes to 4349952 bytes
    lpmake I 09-11 03:32:54 36 36 builder.cpp:1012] [liblp]Partition product will resize from 0 bytes to 1188118528 bytes
    lpmake I 09-11 03:32:54 36 36 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 3864137728 bytes
    lpmake I 09-11 03:32:54 36 36 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 718503936 bytes
    Invalid sparse file format at header magic
    Invalid sparse file format at header magic
    Invalid sparse file format at header magic
    Invalid sparse file format at header magic

    **lpmake expand partition success. Resize from 0 bytes to 9999999 bytes
    **ignored Invalid sparse file format at header magic


    9) Compress the repacked super_new.img

    Code:
    lz4 -B6 --content-size super_new.img super_new.img.lz4

    10). Compress the clean vmbeta.img
    Clean vbmeta.img from Google
    https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img

    Code:
    lz4 -B6 --content-size vbmeta.img vbmeta.img.lz4

    Win10

    11). Down&Extract tar-md5-script-tool.zip to C;\

    11.1 extract all *.img.lz4 files (from AP Stock) to. C:/ tar-md5-script-tool folder


    12)
    Replace
    super.img.lz4 and
    vbmeta.img.lz4

    in tar-md5-script-tool dir

    with your repacked and compressed
    super_new.img.lz4 (rename it to super.img.lz4)--->output from step 9

    and the clean compressed
    vbmeta.img.lz4. ------> output from step 10
    Screenshot_20220918_073427_Gallery.jpg
    13)
    Run batch.bat in tar-md5-script-tool folder
    [You will find the " AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5"
    in the temp-folder subdir]

    ***Don't Rename


    11.PNG


    14) Final Flashing with ODin
    ...14.1) Device must installed Stock Firmware. (No root)
    * No bad critical conditions happened when you are on STOCK ROM.

    ... 14.2) OEM Unlock [Developer options] must gray out but
    . enable on position.

    ... 14.3) KG State Must be "Checking state" status.
    ( if kg state = Broken ) = you must have goto flash Pure stock firmware
    again and this time uses ONLY "CSC" factory reset
    . *NO used Home_CSC
    After finished odin fashing must connected internet, check "kg status"
    again )

    ...14.4) Flashing all files at once, don't ignored any slot.( AP+BL+CP+CSC)
    except USERDATA

    ...14.5) After Device reboot its try to factory reset but not success, you must
    select its factory reset menu manually.

    ...14.6) Click Magisk icon app to update
    " Upgrade to full Magisk to finish the setup. Download and install"
    OK
    - Magisk app will not reboot but update itself. But if you open app
    again it will asked to reboot for addition upgrade.

    odin-all-sametime.PNG

    AP SLOT : AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5
    BL Slot : BL Stock.md5
    CP SLOT: CP Stock.md5
    CSC Slot: CSC Stock.md5
    USERDATA Slot: magisk_boot_vbmeta_patch.tar

    15. Next set up CherishOS in action. Here https://forum.xda-developers.com/t/...ite-without-twrp.4456821/page-9#post-87418505

    Resources:-
    1. https://forum.xda-developers.com/t/...r-img-and-flashing-our-modifications.4196625/
    1
    You misunderstood my post. I am talking about the headphone jack, not Bluetooth but wired headphones.
    I never used Bluetooth with Sony. Used only wired.
    Try to setup GSI here
    -Samsung features
    Enable stereo audio mode
    Enable extra sensor
    s

    -Misc features
    Use alternate way to detect headsets
    Disable audio effects

    and reboot
    1
    So yours doesn't output sound along with the speakers? Anything specific I need to setup at the phh settings? I only know how to fully fix Bluetooth but never managed to do the same for wired audio.
    Try it ..will work . I only uses Bluetooth with Samsung buds 2 only. Sony with wired.
    1

    <<<< Note PE v.415 BUG NOT BOOT FROM MEDIATEK>>>>​

    Easy & Quick RESTORE FROM (Any GSI) BACK TO (STOCK with TWRP)

    !!! If you are already on the A11 (Pure Stock)
    !!! Bootloader unlocked.
    !!! IF CAME FROM "SOFT BRICKED"

    (Forced Restart to Download mode.)--from system failure

    Press key combo ( Power + vol up + vol down ) until blank screen then release power button but still press and hold ( Vol up + Vol down ) + connect USB cable to Computer. ( Download mode)

    0. Download the actual FW A11 with Frija or samfirm or Bifrost, and extract
    it and you will get 5 files (AP, BL, CP, CSC and HOME_CSC). All files are in tar format and can be opened by 7-Zip, WinRAR or other software.

    1. Flash the FW A11
    - BL + AP + CP + CSC ( clean data)
    - put (TWRP + vbmeta_disabler)dot tar in USERDATA slot.
    and click "Start"

    NOTE.
    • Default Odin Auto reboot to system.

    But Your device will reboot but it will not boot into system as "vbmeta signature" has changed.

    2. When Auto Boot into TWRP mode from step 1. TAB screen may be black , you must activates it by press power then volumn.

    Insert USB OTG attach mouse. wait for mouse detecting.

    In your TWRP Recovery menu.

    • Go to Advanced > Terminal, type: multidisabler. Click Enter.

    • Go back to Main menu , Wipe > Format Data > type yes.

    Option<<<Install the Magisk.apk with TWRP >>>

    3. Boot---->System
    Done

    >>>>>>>>>>>>>>>>>>
    From your Computer

    1. INSTALL "Android Bootloader interface" Driver. (Download from First page OP)
    Note: Android Bootloader Interface Drivers are needed for your PC to identify the device connected in Fastboot Mode and hence execute the desired Fastboot Commands.

    2. Copy & paste "Platform tools" to C:/ and copy &paste GSI.img into this folder. ( "vbmeta.img" IF NOT FOUNDED , PLEASE EXTRACTED FROM YOUR AP FILE)

    3. Run Cmd or Open cmd.bat from inside folder platform tools ,

    adb reboot fastboot
    >>>tab will auto reboot to "TWRP fastoot mode" (ignored black screen)

    fastboot devices
    .>>>Output screen will show your tab S/n

    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    fastboot erase system

    fastboot flash system yourGSI.img
    >>> ignored invalid spare 'system'...at header magic
    >>> divided PE system image file into parts suitable for write to dynamic tab
    > system partition.

    fastboot -w
    >>>This will also erase your internal storage.

    fastboot reboot recovery
    >>>>>>Booting to TWRP

    from TWRP menu
    wipe --->format data --->yes
    reboot System

    Now meet PE.

    ain1.PNG

    Detail: download OP: !!! Want more detail , please download Ain1.jpg https://forum.xda-developers.com/attachments/ain1-jpg.5691897/
    Update
    Pixel Experience 12.1 v415.1 ( not boot on mediatek )


    >>>>>>>Tools Resources.<<<<<

    Download: (TWRP225 + vbmeta_disabler).tar https://mega.nz/file/QTIWmTJb#jIneu-vSC-tOSzN-mFhOurCtShGuZTkyoRrQ791R24s

    PE+ PixelExperience_Plus_arm64-ab-vndklite-12.1-20220613-UNOFFICIAL.img.xz

    PE PixelExperience_arm64-ab-vndklite-12.1-20220612-UNOFFICIAL.img.xz

    A Magisk module to:
    • Hide tablet taskbar pill (Long press to hide, for Android 12.1+)
    • Fix tablet taskbar height (for PixelExperience 12.1)

    SamsungAppsPatcher:

    >>>>>>>>>>>>>>>>
    can you upload the vbmeta file that you used?
    I am doing all the steps, but it stays stuck on the TWRP (it is booting again and again to TWRP).

    Is there any other step to do?

    I am trying to install GSI PE for sm-t225n, which pixel experience version should I use?

    thx!
    1

    SUPERIOR OS - UNOFFICIAL GSI (12L)

    Screenshot_20220827-094202_Telegram.jpg


    Support: exFAT sd-card

    NO WARRANTY BIT EFFECT DURING OFFLINE CHARGING.

    No Treble GSIs Overlay for Tab A7 Lite
    - Missing battery usage stats


    CHANGELOG
    | Sync with July Source (Changelog)
    | Sync with PHH v415


    Screenshot_20220826-112228_Vivaldi Browser.jpg

    Screenshot_20220902-093312_Browser.jpg

    Screenshot_20220826-113115_Vivaldi Browser.jpg

    1.PNG

    2.PNG

    3.PNG

    Screenshot_20220828-131353_SuperiorOS Launcher.png

    Screenshot_20220902-094408_Settings.png


    No Treble Overlay GSI
    Screenshot_20220902-113603_Settings.png