In need of RETEU 7.0 OTA File(s) - Moto Z Questions & Answers

Hi,
can anyone point me to any 7.0 OTA Location I can download it from? Especially for the RETEU branch, because I messed up some flashing and need the Modem, BT, etc. firmware files to reflash them.
The files in urgent need are:
NON-HLOS.bin
fsg.mbn
BTFM.bin
adspso.bin
boot.img
oem.img
NVM. Fixed the issue by myself!

I need them too!

Issue fixed

where did you get them?

You can get them yourself with a php script [1] or curl command.
(You may also want to look at this thread by @erfanoabdi: [TOOL] Motorola OTA Link Generator Tool)
For cenvenience, he hosted this as a web page:
http://motorola.erfanabdi.ir/
Enter the details of your device and current os exactly as reported by "fastboot getprop all", device=XT1650 (not XT1650-03).
e.g.
Model: XT1650
Software Version: Blur_Version.24.21.46.griffin.retail.en.US
Carrier: reteu
==> These entries then produce this link:
http://motorola.erfanabdi.ir/?model=XT1650&sv=Blur_Version.24.21.46.griffin.retail.en.US&carrier=reteu
You will get OTA updates from there on that you have to install sequentially. (Download, then scroll down and get the next OTA..)
If you found this useful, go to @erfanoabdi's thread [2] an press on 'thanks' ...
[1] @erfanoabdi's source code on Github: Motorola-OTA-Link-Generator-Tool
[2] @erfanoabdi's xda thread: [TOOL] Motorola OTA Link Generator Tool

nevermind

Related

[MOTO E][IMEI 0] "fastboot erase all" -- Never to be used

Hi All,
"fastboot erase all" command has erased the following partitions which are related to IMEI information :crying:
hob, dhob, fsc.
In 4.4.4 Kitkat kernel the above partitions were reflected at locations :
hob -- dev/block/platform/msm_sdcc.1/by-name/hob
dhob -- dev/block/platform/msm_sdcc.1/by-name/dhob
fsc -- dev/block/platform/msm_sdcc.1/by-name/fsc
In AOSP 5.1 Lollipop, i have found the below location where my motorola getvar variables reside .
imei -- proc/config/imei ----------------> which contains 3 files each of 0.0kb
If we found a way to change kernel to read "fastboot getvar imei" and write into path "/proc/config/imei" in 5.1 lollipop or "dev/block/platform/msm_sdcc.1/by-name/hob" in 4.4.4 Kitkat,
Our biggest problem will be solved ..
After comparing folder structure of another working MOTO E
srikanth979 said:
Hi All,
"fastboot erase all" command has erased the following partitions which are related to IMEI information :crying:
hob, dhob, fsc.
In 4.4.4 Kitkat kernel the above partitions were reflected at locations :
hob -- dev/block/platform/msm_sdcc.1/by-name/hob
dhob -- dev/block/platform/msm_sdcc.1/by-name/dhob
fsc -- dev/block/platform/msm_sdcc.1/by-name/fsc
In AOSP 5.1 Lollipop, i have found the below location where my motorola getvar variables reside .
imei -- proc/config/imei ----------------> which contains 3 files each of 0.0kb
If we found a way to change kernel to read "fastboot getvar imei" and write into path "/proc/config/imei" in 5.1 lollipop or "dev/block/platform/msm_sdcc.1/by-name/hob" in 4.4.4 Kitkat,
Our biggest problem will be solved ..
Click to expand...
Click to collapse
The below mentioned paths:
dev/block/platform/msm_sdcc.1/by-name/hob --- which will be unavailable from lollipop has nothing to do with IMEI as they have same files when we flash stock 4.4.4 firmware
proc/config/imei -- contains 3 files (ascii, *** , raw) each with 0.0 kb ---- which is of no use for us
proc/config/ -- have all the folders and files identical to unbricked and bricked phone --- again no use for us
I have found some files related to radio missing in "fastboot erase all" mobiles
{not sure whether these below files are missing after flashing Stock firmware but doesn't exist in PA custom rom}
init.mmi.rc
init.mmi.radio.sh
/pds

Signing release for "fastboot update"?

Device in question, although likely not relevant to the issue I am having: Pixel 2 XL (Taimen). Let me know if there's any info I may have missed sharing that could help solve this.
My overarching goals here are:
1. Build vanilla AOSP "user" variant without root or any other additions
2. Sign the build with my own release keys
3. Be able to git-checkout release tags at a later time, build again, and produce OTA updates for this vanilla AOSP build
So far, I have been able to successfully build the latest release and flash it to my device using:
Code:
fastboot flashall
The device boots and runs as you would expect.
However, that is all using the test-key. I have followed the official documentation for generating release keys:
hxxps://source.android[.]com/devices/tech/ota/sign_builds#release-keys
The same documentation page provides the following listing for generating the release image:
Code:
make dist
./build/make/tools/releasetools/sign_target_files_apks \
-o \ # explained in the next section
--default_key_mappings ~/.android-certs out/dist/*-target_files-*.zip \
signed-target_files.zip
Apparently SignApk.jar doesn't work with password-encrypted keys (it throws an exception then swallows it which causes the whole thing to fail at a later point), and signing the APKs in the target files ZIP fails. Fine, I'm willing to use an unencrypted key for testing this project.
So I successfully get a signed-target_files.zip.
Lastly, the documentation provides the following for producing the release image:
Code:
./build/make/tools/releasetools/img_from_target_files signed-target-files.zip signed-img.zip
This also works successfully (minus the typo with the filename, switching the '_' character for '-'), so I use this to install:
Code:
fastboot update -w signed-img.zip
Then I get symptoms of the problem:
1. Warning that the bootloader is unlocked (fine)
2. White screen with "Google" logo
3. Reboot to bootloader
I never see the "android" splash screen after 2. like when I
Code:
fastboot flashall
to install the test-key version which does work.
So something else that I decided to try was to create an "unsigned-img.zip." I basically used img_from_target_files on the original, unsigned target_files.zip. and did a
Code:
fastboot update -w unsigned-img.zip
. This also booted successfully.
=====================
To recap:
1. Building is successful
2. "fastboot flashall" is successful
3. "fastboot update unsigned-img.zip" is successful
4. "fastboot update signed-img.zip" is NOT successful and always reboots back to the bootloader
Is there something I'm missing with regards to the image signing? If I'm doing this and having this issue on an unmodified AOSP branch, shouldn't everyone else be having these signing issues, as well?
Any help is appreciated.
It worked for me without -w argument:
Code:
fastboot update signed-img.zip

[GSI][ROM][Pixel Experience Plus][11]One Fusion[XT2073][ROOT][RECOVERY]

Platform-Tools
Windows - Mac OS - Linux
Drivers
Windows 64 Bit - 32 Bit - Mac OS
Zip
Stock Firmware (Android 11) - Bootloader Unlock
GSI ROM (PixelExperience_Plus_arm64-ab-11.0-20211011-UNOFFICIAL.img.xz)
product_gsi.img
Root Magisk (rename the .apk file extension to .zip) installing using recovery OrangeFoxR11.1 - twrp_3.6.1-11-0
****COMMAND****
flash stock - flash gsi
adb reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot erase carrier
fastboot erase userdata
fastboot erase metadata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
exit
adb reboot fastboot
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot flash product product_gsi.img
fastboot flash boot boot2.img
fastboot flash system pixel.img
fastboot flash recovery recovery2.img
fastboot -w
fastboot reboot
exit
Click to expand...
Click to collapse
Spoiler
- boot boot2.img and recovery recovery2.img <---- optional
- fastboot flash system pixel.img <---- rom-name
Procedure to install the GSI custom ROM
- Extract Platform Tools + Stock Firmware + GSI ROM + gsi product (in the same folder) and launch commands, easy
List + GSI
II'm test before, thanks
Si alguien lo prueba para hacerle saber cómo le está yendo
I've already tried it and it can't install the rom, I don't know if I'm executing the command wrong or what, but it didn't work for me.
Kira565 said:
I've already tried it and it can't install the rom, I don't know if I'm executing the command wrong or what, but it didn't work for me.
Click to expand...
Click to collapse
1. https://mirrors.lolinet.com/firmware/moto/astro/official/
2. Ctrl + F download rom "RPL31" (RPLS31, not)
3. After you install the Stock ROM and the device starts correctly, activate usb debugging and execute these commands:
adb reboot fastboot
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot flash product product_gsi.img
fastboot flash system ROM.img
fastboot -w
fastboot reboot
exit
Por favor de um jeito pelo Orange Fox sem PC
Alexsjvr1 said:
Melhor da um jeito pelo Orange Fox sem utilização de PC por favor
Click to expand...
Click to collapse
Alexsjvr1 said:
1. https://mirrors.lolinet.com/firmware/moto/astro/official/
2. Ctrl + F download rom "RPL31" (RPLS31, not)
3. After you install the Stock ROM and the device starts correctly, activate usb debugging and execute these commands:
adb reboot fastboot
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot flash product product_gsi.img
fastboot flash system ROM.img
fastboot -w
fastboot reboot
exit
Click to expand...
Click to collapse
thanks bro I already tried several I am currently on corvus gsi
Alexsjvr1 said:
Hello! How are you? This is my first post on this page, and I wanted to share the method to install GSI ROM on this One Fusion, I do it at the request of a friend
It is a simple process that does not take more than 15 minutes, come on! !
SDK tools platform 7-Zip
Windows - Mac OS - Linux
Windows Drivers 64 Bit 32 Bit - Mac OS
Stock Firmware (Android 11) - Bootloader Unlock
GSI ROM (PixelExperience_Plus_arm64-ab-vndklite-11) - product_gsi.img
Magisk (rename the .apk file extension to .zip) installing using custom recovery
or you can try this already patched image magisk_patched
COMMAND
Spoiler
- boot boot2.img and recovery recovery2.img <---- optional
- fastboot flash system pixel.img <---- rom-name
Procedure to install the GSI custom ROM
- Extract Platform Tools + Stock Firmware + GSI ROM + gsi product (in the same folder) and launch commands, easy
Here is a link that I find interesting to share for those who have not yet decided which rom to install 15 best custom ROMs
Click to expand...
Click to collapse
its faster and stable, but the multimedia audio via Bluetooth does not work.
In Logcat... Bluetooth is crazy and has battery drain... the rom needs a FIX.
I RECOMMEND CrDroid GSI ctrl+f (-arm64-bgZ-lite.img.xz)
crDroid.net - increase performance and reliability over stock Android for your device
official crDroid ROM blog
crdroid.net
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
reddermanu said:
its faster and stable, but the multimedia audio via Bluetooth does not work.
In Logcat... Bluetooth is crazy and has battery drain... the rom needs a FIX.
Click to expand...
Click to collapse
You can fix the bluetooth media audio disabling the A2DP offload in PHH settings, I have also experienced the battery drain issue on most GSIs, try to stick to AOSP as I haven't met any battery drain there.
reddermanu said:
its faster and stable, but the multimedia audio via Bluetooth does not work.
In Logcat... Bluetooth is crazy and has battery drain... the rom needs a FIX.
Click to expand...
Click to collapse
Solution to Bluetooth connection problem
To fix the Bluetooth connection problem, simply go to Settings/PHH Treble Settings/Misc Features and check the Force-disable A2DP offload option. Then, restart the phone.
KUATIKO said:
I RECOMMEND CrDroid GSI ctrl+f (-arm64-bgZ-lite.img.xz)
crDroid.net - increase performance and reliability over stock Android for your device
official crDroid ROM blog
crdroid.net
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
Click to expand...
Click to collapse
crDroid exelent option
I got the following error when I executed the command fastboot flash system image:
target reported max download size of 536870912 bytes
Invalid sparse file format at header magic
sending sparse 'system_a' 1/6 (524212 KB)...
OKAY [ 13.213s]
writing 'system_a' 1/6...
OKAY [ 2.874s]
sending sparse 'system_a' 2/6 (518272 KB)...
OKAY [ 13.113s]
writing 'system_a' 2/6...
FAILED (remote: Operation not permitted)
finished. total time: 31.563s
Click to expand...
Click to collapse
The bootloader is unlocked and I flashed the stock rom as described on tutorial.
lteixeiramnc said:
I got the following error when I executed the command fastboot flash system image:
The bootloader is unlocked and I flashed the stock rom as described on tutorial.
Click to expand...
Click to collapse
@lteixeiramnc you must use the latest version of fastboot https://developer.android.com/studio/releases/platform-tools.
crdroid is the best https://sourceforge.net/projects/tr...om-v316-220330-arm64-bgZ-lite.img.xz/download
disable the A2DP offload in PHH settings!
Alexsjvr1 said:
Hello! How are you? This is my first post on this page, and I wanted to share the method to install GSI ROM on this One Fusion, I do it at the request of a friend
It is a simple process that does not take more than 15 minutes, come on! !
SDK tools platform - 7-Zip
Windows - Mac OS - Linux
Windows Drivers 64 Bit 32 Bit - Mac OS
Stock Firmware (Android 11) - Bootloader Unlock
GSI ROM (PixelExperience_Plus_arm64-ab-vndklite-11) - product_gsi.img
Magisk (rename the .apk file extension to .zip) installing using custom recovery
or you can try this already patched image magisk_patched
COMMAND
Spoiler
- boot boot2.img and recovery recovery2.img <---- optional
- fastboot flash system pixel.img <---- rom-name
Procedure to install the GSI custom ROM
- Extract Platform Tools + Stock Firmware + GSI ROM + gsi product (in the same folder) and launch commands, easy
Here is a link that I find interesting to share for those who have not yet decided which rom to install 15 best custom ROMs
Click to expand...
Click to collapse
@dpkg-i-foo-deb @Alexsjvr1 masters!
can i install a android12 gsi??
latest pixelexperience for example?
reddermanu said:
@dpkg-i-foo-deb @Alexsjvr1 masters!
can i install a android12 gsi??
latest pixelexperience for example?
Click to expand...
Click to collapse
Yes+info: https://teletype.in/@syoker/XT2073-FlashGSIROM_EN
Alexsjvr1 said:
Yes+info: https://teletype.in/@syoker/XT2073-FlashGSIROM_EN
Click to expand...
Click to collapse
@Alexsjvr1 best android 12 gsi rom for astro? help with link... I don't know which one to download
reddermanu said:
@Alexsjvr1 best android 12 gsi rom for astro? help with link... I don't know which one to download
Click to expand...
Click to collapse
These are the most used:
Pixel Experience Plus
Release Pixel Experience Plus 12.1 v412 · ponces/treble_build_pe
Initial PE+ build Sync with April sources of PE+ Sync with AOSP 12.1 v412 (thanks @phhusson) Clean flash is not required if coming from normal version!
github.com
SuperiorOS
xiaomemeindex.com
CorvusOS
Tipz Team Builds - Browse /GSIs/CorvusROM/Beta/20220423 at SourceForge.net
sourceforge.net
crDroid
Gsi_projects - Browse /v412/crDroid-8.4 at SourceForge.net
sourceforge.net
Alexsjvr1 said:
These are the most used:
Pixel Experience Plus
Release Pixel Experience Plus 12.1 v412 · ponces/treble_build_pe
Initial PE+ build Sync with April sources of PE+ Sync with AOSP 12.1 v412 (thanks @phhusson) Clean flash is not required if coming from normal version!
github.com
SuperiorOS
xiaomemeindex.com
CorvusOS
Tipz Team Builds - Browse /GSIs/CorvusROM/Beta/20220423 at SourceForge.net
sourceforge.net
crDroid
Gsi_projects - Browse /v412/crDroid-8.4 at SourceForge.net
sourceforge.net
Click to expand...
Click to collapse
thank for the direct linksssssss

How To Guide [GUIDE] [T220/T225] Flash a GSI on the A7 Lite (without TWRP)

Hi everyone, this is a short guide on how to flash a GSI on the A7 Lite (without TWRP).
Its a nice little tablet for the price but it doesn't have a very powerful SOC and for me the One UI is barely usable on this device. The launcher and the whole system UI feel extremely laggy, but apps generally run fine.
I tried phhusson's custom Android 12 GSI and the device was almost resurrected. Much much less UI lag and the battery life is the same as stock ROM. The only thing i found not working is MTP but i don't need it.
Since i saw a couple users here asking about GSIs i decided to make a very simple guide.
As always do this at your own risk. You may brick your device. You will void your warranty.
Follow the guide only if you know what your are doing. Read each step carefully and avoid copy pasting stuff randomly.
I won't go deep into details as i believe you should have some basic knowledge if you decide to do this.
The procedure sould work for both T220 and T225 (i tested it on a T220).
I did this on Windows using WSL for some of the steps.
Sources​
Thanks to @kkoo and @Brepro1 for the useful info
- https://forum.xda-developers.com/t/...sing-odin-without-twrp-phh-lineageos.4114435/
- https://forum.xda-developers.com/t/...r-img-and-flashing-our-modifications.4196625/
Requirements​
- Unlocked bootloader
If you haven't done this already follow the steps in parts 1-2 from:
[TUTORIAL] How To Unlock & Root Tab A7 Lite T220/T225, & Install LSPosed, Magisk, Mods
While some of these instructions are copied from other sources, I combined all the different things I learned, because no one guide was sufficient, and all needed additional info, so I expanded it all to one place. Part I is partly from...
forum.xda-developers.com
- Latest official ROM
I used T220XXU1AVE1 for EUX region
Samsung Galaxy Tab A7 Lite Firmware Download SM-T220 Free Download
Samsung Galaxy Tab A7 Lite Firmware Download SM-T220 Free Download ⭐ Official and fast update ⭐ Max speed and free download ⭐ Best Samsung Galaxy website
samfw.com
- Download your preferred GSI
I used AOSP 12.1 v414 with gapps from phhusson
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
- Clean vbmeta.img from Google
https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
Tools​
- lz4
Releases · lz4/lz4
Extremely Fast Compression algorithm. Contribute to lz4/lz4 development by creating an account on GitHub.
github.com
- simg2img
[DEV][Tools] simg2img for Windows
Hello, although I'm working in Linux (VM too) I rewrote the SIMG2IMG so far for Windows (PE32, x86) Usage: simg2img.exe -i -o Optional: -d for debugging messages, listing all chunks of the image...
forum.xda-developers.com
- lpunpack and lpmake
[GUIDE] OTA Tools LPUnpack
Please see this URL https://android.googlesource.com/platform/build.git/+/eec4a7cba4face3370acb6293ab357879920b467 and this for more information. Hi everyone. I'm surprised I havent seen a thread about ota tools yet and lpunpack. This zip file...
forum.xda-developers.com
- tar-md5-script-tool
Use the attached tar-md5-script-tool.zip
Steps​
1. Extract official ROM files (BL, AP, CP, CSC)
2. Extract AP .tar.md5
3. Decompress the extracted super.img.lz4
Code:
lz4 -d super.img.lz4 super.img
4. Convert the sparse super.img
Code:
simg2img super.img super.ext4.img
5. Unpack super.ext4.img
Code:
lpunpack super.ext4.img
I got 4 partitions in my image (should be the same for all T220/T225 ROMs):
- odm.img
- product.img
- system.img
- vendor.img
6. Replace system.img with your GSI (rename it to system.img)
7. Get the size of all partitions and the size of the original super.ext4.img (not the sparse super.img)
Code:
stat -c '%n %s' IMG_FILE.img
8. Repack super.img
Code:
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
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.
Read lpmake docs for a more detailed expalation of the args used above:
partition_tools - platform/system/extras - Git at Google
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
Code:
lz4 -B6 --content-size vbmeta.img vbmeta.img.lz4
11. Extract tar-md5-script-tool.zip
12. Put all the *.img.lz4 files extracted from AP .tar.gz in tar-md5-script-tool dir
13. 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) and the clean compressed vbmeta.img.lz4
14. Run batch.bat in tar-md5-script-tool dir
You will find the new AP .tar.md5 in the temp-folder subdir
15. Flash your custom AP .tar.md5 with Odin along with BL, CP, CSC from original ROM
16. Reboot into recovery and do a factory reset
17. Done
Can you share screenshot as I think treble projects are only stable on SD chipset.
Abish4i said:
Can you share screenshot as I think treble projects are only stable on SD chipset.
Click to expand...
Click to collapse
System lang is italian but should be easy to understand.
I found only a couple bugs so far in phhusson's GSI:
- in the launcher dragging apps from drawer to homescreen doesn't always work (just use another launcher)
- crashed once while searching in settings app
I use the tablet only for media consumption and some retrogaming, so there are probably other bugs i haven't noticed.
This is a generic guide, it won't include a "known issues" section since it largely depends on what GSI you choose.
I haven't tested this on the LTE version so i can't say for sure if mobile network works or not.
Unfortunately i don't have the time to make a custom ROM, test it and keep it updated here on the forum but maybe if there is enough interest someone will do it.
I hope other users will try to flash a GSI and share their experience here so we can gather some info on working/broken stuff, especially on the LTE model since i can't test that.
Hello,
I'm sorry but what am I missing here?
I'm a little fustrated cause after hours and hours of headaches I got to the second to last step which involves tar-md5-script-tool
I simply put all the .img.lz4 files from AP and replace super & vbmeta files which the ones that I converted and try to run the batch.bat as instructed.
However nothing happens and this is what the program spits out.
On the tar tool xda forum it says that it convers .img files, not .img.lz4 . Are we supposed to extract all the .img files from inside the .lz4 files?
I appreciate the guide but there are a lot of missing details I had to fill in and figure out myself, like the fact that from step 4 to step 8 you need to use WSL or a Linux distro (using simg2img for Windows messes things up so please use the one from otatools inside a linux bash)
Also for people that are not familiar with linux you need to type "./" in front of directed commands ( in this case ./simg2img ./lpunpack ./lpmake)
I'm not a developer or a programmer, maybe you wrote this guide for people more inclined to that, but for me this was pretty hard.
Noob here, but I'm running the "simg2img super.img super.ext4.img" and nothing happens for 5 min and when I'm aborting I'm getting a "Error reading sparse file header".
Any suggestions?
DanneSwe said:
Noob here, but I'm running the "simg2img super.img super.ext4.img" and nothing happens for 5 min and when I'm aborting I'm getting a "Error reading sparse file header".
Any suggestions?
Click to expand...
Click to collapse
Are you using the Windows version of simg2img? If yes, use the one from otatools inside Windows Subsystem for Linux
ReubenMCSM said:
Are you using the Windows version of simg2img? If yes, use the one from otatools inside Windows Subsystem for Linux
Click to expand...
Click to collapse
I can confirm simg2img doesn't seem to work on Windows, i used WSL.
@ReubenMCSM i will update the guide with more details in the future but i don't have much time right now.
For you specific issue, try to use the attached tar-md5-script-tool.
Great thanks!
What's the process with tar-md5-script-tool? Just moving the super.img to the folder and running the batch.bat didn't work the output file in the temp folder is 11 kb. Tried to change super.img to super.tar but no change.
Thanks for the tool, but unfortunately the output is the same, like the problem @DanneSwe has
It looks like the batch.bat script from the tar md5 tool linked in the guide is a bit different from the one i used. I will update the guide.
Try again with the version i attached in the post above.
- Extract the AP tar md5 from official rom
- Copy all .img.lz4 files in the tar-md5-script-tool folder
- Replace super.img.lz4 and vbmeta.img.lz4 (step 13)
- Launch batch.bat, output should look like this
- You will find AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5 in temp-folder
It finally worked! I redid everything and also moved my folder to drive C instead of drive D, maybe this made the difference
ReubenMCSM said:
It finally worked! I redid everything and also moved my folder to drive C instead of drive D, maybe this made the difference
Click to expand...
Click to collapse
What GSI did you pick and could you upload the files you flashed?
I got simg2img to work by using
.\simg2img -i super.img -o super.ext4.img
packed img filename: super.img
output img filename: super.ext4.img
Wrote "super.ext4.img"
The lpunpack and lpmake step isnt working for me ive been at this for days, no luck.
Can someone please help me out by uploading custom AP .tar.md5(file with GSI, the modded one) along with BL, CP, CSC from original ROM to google drive?
thanks!
ramz.pa said:
The lpunpack and lpmake step isnt working for me ive been at this for days, no luck.
Can someone please help me out by uploading custom AP .tar.md5(file with GSI, the modded one) along with BL, CP, CSC from original ROM to google drive?
thanks!
Click to expand...
Click to collapse
I had the same issue. :/
Can someone help me with the T225 LTE model by compiling the AP please? Because for some reason the tar-md5-script tool isnt working for me
Thanks.
Successfully flashed GSI with magisk on my T220 following the OP's procedure. MTP is not working as the OP said. However, I can use my flash drive so I don't really miss MTP.
I chose "system-squeak-arm64-ab-vndklite-gapps-secure.img.xz" for GSI. "Treble Info" app can tell you what image would be compatible with your device.
If you want to use a different launcher like Nova instead of the default one, change the "Smallest width" setting from 600 to 598 in Developer options to hide the annoying taskbar.
AOSP-Mods and "Project Themer - Android 12+" work fine for me.
Here is my build for my device SM-T220 (SM-T220_EUX_T220XXU1AVE1):
GSI: system-squeak-arm64-ab-vndklite-gapps-secure.img.xz
Custom AP: https://www.filehosting.org/file/details/7045394/AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5
Custom AP with Magisk patch: https://www.filehosting.org/file/details/7045714/magisk_patched-25101_cauJQ.tar
You can extract BL and Home_CSC from SM-T220_EUX_T220XXU1AVE1.
Notes: My device is actually SM-T220 XAR, but I have been updating it with SM-T220 EUX firmware versions without any issue.
Pleasance said:
Can someone help me with the T225 LTE model by compiling the AP please? Because for some reason the tar-md5-script tool isnt working for me
Thanks.
Click to expand...
Click to collapse
Here is the custom AP based on the following. Since I don't have SM-T225 device, can't verify it. However, I compiled the AP the same way I did for my SM-T220.
- SM-T225_EUX_T225XXU1AUJ1
- GSI: system-squeak-arm64-ab-vndklite-gapps-secure.img.xz
https://www.filehosting.org/file/details/7046296/AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5
xpdragon said:
Here is the custom AP based on the following. Since I don't have SM-T225 device, can't verify it. However, I compiled the AP the same way I did for my SM-T220.
- SM-T225_EUX_T225XXU1AUJ1
- GSI: system-squeak-arm64-ab-vndklite-gapps-secure.img.xz
https://www.filehosting.org/file/details/7046296/AP_TAR_MD5_CUSTOM_FILE_ODIN.tar.md5
Click to expand...
Click to collapse
Thank you so much for compiling the AP for me bro but when i try to flash it with odin i get this error
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> preloader.img.lz4
<ID:0/004> FAIL!
For your information the current OS build on my tablet is INS with the baseband version of T225XXU1AVB2 and security patch of 1 Feb 2022 hope this helps you.
DanneSwe said:
What GSI did you pick and could you upload the files you flashed?
I got simg2img to work by using
.\simg2img -i super.img -o super.ext4.img
packed img filename: super.img
output img filename: super.ext4.img
Wrote "super.ext4.img"
Click to expand...
Click to collapse
GSI-12_SM-T220_EUX_T220XXU1AVE1_fac.zip
drive.google.com
Use this ONLY on SM-T220 (without SIM card) and on EUX version.
Pleasance said:
Thank you so much for compiling the AP for me bro but when i try to flash it with odin i get this error
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> preloader.img.lz4
<ID:0/004> FAIL!
For your information the current OS build on my tablet is INS with the baseband version of T225XXU1AVB2 and security patch of 1 Feb 2022 hope this helps you.
Click to expand...
Click to collapse
Here is GSI build for SM-T225_INS_T225XXU1AVB2
https://www.filehosting.org/file/details/7129248/GSI-12_SM-T225_INS_T225XXU1AVB2.zip

Difficulty flashing an End of Life Android-based Wall Panel (Kramer KT-1010SC)

So I have a few of these Kramer Panels which aren't supported anymore (The official webpage doesn't have them anymore but the same product here) and I want to wipe out the Kronomeet Software they got going on and install some other flavor of Android (I'm thinking Lineage OS).
To start I got adb and fastboot up and running with Aptitude.
Code:
$ adb --version
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
$ fastboot --version
fastboot version 28.0.2-debian
Connecting fine with adb, and using lsusb we see
Bus 001 Device 037: ID 2207:0011 Fuzhou Rockchip Electronics Company SmartTab
Googling around that name led me to the Rockchip Wiki, which had an article on Fastboot and a bunch of open source repos
https://opensource.rock-chips.com/wiki_Fastboot
Which states: "Rockchip uses 0x2207 as its USB vendor ID. This VID is not in Google's original fastboot code. So every fastboot command has to use "-i" parameter to specify vid to fastboot."
However, running -i on fastboot gives me an invalid option error:
Code:
$ sudo fastboot -i 0x2207 devices
fastboot: invalid option -- 'i'
I also tried downloading the most recent version of the android platform tools with fastboot version 33.0.3-8952118, which gave the same results.
Doing any other fastboot command without the -i just has < waiting for any device >
So essentially, I'm trying to figure out how to load a custom rom onto it, and what my next steps try are.
Other Misc Info I've tried:
In the Developer Settings on the tablet, there's no option to enable "OEM Unlocking"
Tablet doesn't have a power button, just a switch, so no pressing power and volume at the same time.
Rockchip seems to have a TWRP image available to build, which I would like to be able to fastboot flash (https://github.com/rockchip-software/TWRP/tree/android-9.0)
There's also a development tool (https://opensource.rock-chips.com/wiki_Rkdeveloptool) that also lets you load firmware.
Using adb reboot bootloader reboots the tablet to a black empty screen, which I can then communicate with the rkdeveloptool.
In this mode, lsusb returns a new name:
Code:
$ lsusb
Bus 001 Device 038: ID 2207:320a Fuzhou Rockchip Electronics Company RK3288 in Mask ROM mode
$ ./rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x320a,LocationID=106 Loader
$ ./rkdeveloptool ppt
**********Partition Info(parameter)**********
NO LBA Name
00 00002000 uboot
01 00004000 misc
02 00006000 resource
03 0000E000 kernel
04 00016000 boot
05 00026000 recovery
06 00036000 backup
07 00050000 cache
08 00090000 kpanic
09 00092000 system
10 00392000 metadata
11 0039A000 radical_update
12 003BA000 userdata
Found some more useful thread, and am trying to use rkflashkit. But still struggling to find out what .img to use.
Firmware Upgrade Guide For RK3188 RK3288 RK3368 Devices
UPD: Rreflashing guide for linux Host PC added. BEFORE START What you need: 1. Image file 2. Host PC (Windows) 3. USB OTG Cable Supported host OS: 1. Windows XP (32/64bit) 2. Windows 7 (32/64bit) 3. Windows 8 (32/64bit) All manipulations I...
forum.xda-developers.com
[Q] has anyone had success flashing a RK3126 based tablet?
Hello, I've got an irulu X30 (expro 30 plus) running stock firmware, nougat 7.1.2 I've been trying to use rkflashtool in linux and androidtool in windows. Both programs can report some device info and read partitions, the img files created...
forum.xda-developers.com

Categories

Resources