yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 Questions & Answers] mike2518:
I believe TSMC makes the Snapdragon 855. They also make the Huawei Kirin 980 as well as the iPhone chip. All 3 chips are 7nm on TSMC's fab. Samsung has not switched to 7nm process yet, therefore causing the exynos to be stuck on 8nm instead.
[Samsung Galaxy S10 Questions & Answers] Tel864:
No but they do make other chips for them and both companies have announced that Qualcomm's future Snapdragon 5G mobile chipsets will be made using Samsung Electronics' 7-nanometer process.
[Miscellaneous Android Development] Matty1993:
******TWRP 3.1 FOR TCL 5044 all variants******

---------------------------------------------------------------------------

DISCLAIMER : this is an unnoficial build created by myself Tested and confirmed working, i used magisk V18 as test.zip and is now rooted with magisk, there will be bugs comment here any issues you find & i will fix them asap,

UPDATE : 26th Jan 2019 : WORKING

* SD card mount now added

*OTG fixed

* terminal now works within TWRP no more child process exited error,

* sideload is functional

NOT WORKING : MTP

---------------------------------------------------------------------------

CHIP VERSION

---------------------------------------------------------------------------

Compatible chip type: FSTYPE

MEDIATEK : MT6737M EMMC

MEDIATEK : MT6735M EMMC

---------------------------------------------------------------------------

NOTICE : take a firmware backup before flashing

Anything to your device though this recovery is

Confirmed working you should always back your original firmware up, This recovery does NOT come with a Scatter.file included to stop bricking with incompatible device partitions, should you require it please ask in the comments.

--------------------------------------------------------------------------

0. make sure OEM unlock is ON in the developer options before doing anything.

1. Unzip the recovery from the .zip.

2. Open SP Flash tool.

3.set your DA AGENT to all in one MTK DA.

4.load your scatter.file into the Flash tool.

5.wait for your scatter to load your files.

6.unselect all files for flash but recovery.

7.load twrp_3.1 into recovery slot.

7.1 if you have 5044T flash my patched boot.img below also.

8.MAKE SURE DOWNLOAD ONLY is set DO NOT use format all + download.

9. Click start download.

10. Remove battery from phone.

11. Connect to pc with usb cord.

12. wait for flash to complete.

13. Unplug & insert your battery.

14. Hold power & volume up until the first screen appears and release, TWRP will now load.

15. Swipe to allow modifications.

16. Tap wipe.

17. Tap format & type yes then press ok

18. Reboot recovery once complete,

19. You can now root your device or flash what you need to.

20. Hit the thanks button here on XDA i spent hours upon hours building this for everyone once you reboot after formatting the data partition it will take roughly 5 minutes for your 5044 to boot.

---------------------------------------------------------------------------

If you need help please dont be afraid to ask here im here to help, if it does not boot on your device your board is different in which case you will need to attach your boot.img & recovery.img in a post so i can download and create a compatible twrp for your device.

_____________________________________________

LINKS :

TWRP 3.1.0 updated 26th Jan 2019

https://drive.google.com/file/d/1hi19OtPeVqSpe3c6VyRu8XusBcCpmai0/view?usp=drivesdk

PATCHED BOOT.IMG (no dm-verity) 5044T ONLY

https://drive.google.com/file/d/1SR99R4Bo-VoZnd4T9rQebt5tczaHNQxT/view?usp=drivesdk
[Miscellaneous Android Development] Matty1993:
Pics of twrp
[Miscellaneous Android Development] Matty1993:
NEW UPDATED TWRP 3.2.3-0 here for OPTUS X SPIRIT ( 5044T MT6737M - MT6735M ) everything is confirmed working in the latest build including MTP

TWRP 3.2.3-0

https://xdaforums.com/android/development/twrp-t3903337
[Miscellaneous Android Development] Illbeurhuckleberry6666:
Alcatel Versa

First off... Great work and an awesome easy to follow tutorial. Now for the million dollar question... I have an Alcatel 5044c. It's the Cricket version and it's called the Versa. It has Android 7.0. Is this compatible?
[Miscellaneous Android Development] Matty1993:
Hey mate,

No not for this recovery your kernel will be different,

If you 5044C is mediatek you can upload me your recovery.img and i can most certainly make you twrp for your 5044C :)

android version your currently on wont matter TWRP version 3.x.x supports from android 6-9
[Miscellaneous Android Development] Spektrat:
Hi,

Since others are asking:

Does this support the Alcatel 5044Y?

Is this the latest release?

/Martin
[Miscellaneous Android Development] grasshoppa420:
5044c boot.img and recovery.img

Need scatter and flash files please :D

GH
[Samsung Galaxy Note 9 Questions & Answers] austtint:
Any root? Unlocking bootloader available? If not do you think it will come. I like Verizon because of the reception i get but it annoying as hell that the past several phones I've had I can't unlock.
[Samsung Galaxy Note 9 Questions & Answers] mrao:
Very unlikely, as is the case for the USA versions of the S9/S9+. If there were any possibilities of root via engineering boot, something like samfail/sampwn would have been out already.
[Samsung Galaxy Note 9 Questions & Answers] Mr. Orange 645:
This has been discussed ad nauseum on here.

The US and Canada and Note 9s do NOT have an unlockable bootloader. They will NEVER be unlocked. It won't happen. Before you say someone could work on it...they have been. Since the S7/Edge.

They won't be rooted. Not going to happen.

If you COULD root (you can't, you won't) it would PERMANENTLY trip Knox. It's irreversible. That would mean no Samsung Pay, Secure Folder, Samsung Pass, or Samsung Pass.

If you want to block ads, install AdHell 3.1.1. It's the best ad blocker and uses Knox itself to block ads. You can use it to disable any unwanted apps.

You can also uninstall/disable apps with ADB and no root.

There's really no need for custom kernels anymore. 4000 mAh battery last all day with hard use (6-8 hrs SOT), and the SD845 is smoking fast and smooth.

If you don't like TouchWiz, install a third party launcher and a theme from the Samsung store.

Almost anything you can do with root, I can do without.
[Samsung Galaxy Note 9 Questions & Answers] elliwigy:
to add, an eng boot wont even flash on user devices.. i used eng system.img and combo firm which neither will work anymore even if it existed bcuz they now have binary checks.. u cant mix/match binaries anymore.. meaning u can have combo boot on stock rom.. i woukd assume itd be the same for all binaries (userdebug/factory/eng/user)
[Samsung Galaxy Note 9 Questions & Answers] LilSmokie:
Excuse my ignorance to the matter looking to unlock from Verizon so I have a choice of the carrier any help in this matter would be greatly appreciated...
[Samsung Galaxy S7 Edge Questions and Answers] Teracotta:
I want to know if I will get RMM status: prenormal if I update to oreo firmware, which is a pain in the *** to deal with.
[Android Q&A, Help & Troubleshooting] augmentedchikken:
Hello I recently did a factory reset on my tablet and now everytime I shut the screen off I see it turn back on for a couple seconds and then turn back off again then about 20 seconds later it turns on again and then turns off and it keeps doing the same thing over and over again and I have no idea why. I tried restarting the tablet, and the problem is still the same. If someone could please tell me how to fix this issue I would greatly appreciate it. Thanks in advance!
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Since These tools are outdated there has been little movement with the tools since, [MENTION=8241686]rkhat[/MENTION] has made a source available to be built for linux, however im unable to get a compile.

So i decided to gather sources and make some modifications to get them compiling in cygwin and works upto android 8.1

Install cygwin in the default directory with the following packages.

libpcre1, zlib-devel, cmake, make, automake, gcc-core, gcc-g++, libgcc1, libstdc++6, cpio, flex, bison, cygwin32-gcc-core, patch, libintl

Source code

Prebuilt binaries

To build simply download and extract the source, open CMD and

path=%path%C:\cygwin64\bin;

cd to each directory and execture

make

To build e2fsprogs

Open cygwin

cd to the directory

mkdir build
cd build
../configure
make

Original Sources

Sparse utillities based on sources https://github.com/anestisb/android-simg2img

mkbootimg based on sources https://github.com/osm0sis/mkbootimg

mkbootfs based on sources https://github.com/osm0sis/mkbootfs

make_ext4fs based on sources https://github.com/jamflux/make_ext4fs

sefcontext_decompile based on sources https://github.com/wuxianlin/sefcontext_decompile

dtc based on sources https://github.com/dgibson/dtc

e2fsprogs based on sources https://github.com/tytso/e2fsprogs

Generates -

append2simg.exe

cpio.exe

dtc.exe

gzip.exe

img2simg.exe

make_ext4fs.exe

mkbootfs.exe

mkbootimg.exe

sefcontext_decompile.exe

simg2img.exe

simg2simg.exe

unpackbootimg.exe

mke2fs.exe

Contributors

SuperR, anestisb, rkhat2, osm0sis, jamflux, wuxianlin, Xannytech, CarmineRovito
[Android Software/Hacking General [Developers Only]] N'ayam Amarsh'e:
Doing God's work I see.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Repo was on private, fixed it now
[Android Software/Hacking General [Developers Only]] I1V1A1N:
https://github.com/anpaza/make_ext4fs
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Thats a newer build, i may use it, thanks
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Repository has been updated for partial 9.0 support
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
dose it support pie use make_ext4fs?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Unpacking yes but repacking not at the moment, i havent had time to look into mk2efs and the new e2fsdroid source code, the source for these are in the e2fsprogs repository, mk2efs already has a windows port in cygwin and the e2fsdroid sourcw code is in the contrib/android directory, i have built mk2efs correctly but i havent attempted e2fsdroid yet because i have been busy, maybe [MENTION=4544860]osm0sis[/MENTION] may be able to give it a shot
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
i have no idea,i checked a lot of method,mke2fs just can creat a new null img,i still don't know e2fsdroid's effect,i had used ClassyKitchen to repack my pie,it working,but ClassyKitchen just a single exe file,
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
thats quite odd, from looking into classy kitchen it seems that it does use make_ext4fs?

however i dont know how he has got it working, he tries hiding the functionallity of his tools quite abit, im guessing this is because of licensing issues preventing him to sell whats included in the tools and to stop other people from making a free version, the binaries are unpacked to %tmp%/BIN folder when processing a firmware, check it out
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
the free of classy kitchen just can build new img,if i know its working space,i maybe know it in Disk C,but i can't find it and dont't know the binaries unpacked where,i tryed to use make_ext4fs to build my pie img,it is not working,i sure Classy Kithen can,
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
the binaries are in the %tmp%\BIN folder
[Android Software/Hacking General [Developers Only]] DragonFire1024:
Anyway this can be made to support Amazon boot images?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Please upload the boot image and ill see if i can do this, ill also update the sources soon because i made a utillity to split the MTK header from an MTK ramdisk
[Android Software/Hacking General [Developers Only]] DragonFire1024:
Awesome. Thank you. I'll upload one as soon as I get home :D
[Android Software/Hacking General [Developers Only]] zxcv888:
I'm trying to use img2sing.exe and getting "cygz.dll was not found" error. Is that file supposed to be in the zip?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
that will be in your cygwin bin directory, either copy it from there to the same folder as the exe or or add the cygwin bin directory to your path environment variable
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
i didn't find that,
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
you have to run the progran and repack for it to appeart, as soon as its repacked the folder gets deleted
[Android Software/Hacking General [Developers Only]] DragonFire1024:
here is the boot.img from the Amazon Fire HD 10, 2017, firmware version update-kindle-40.6.0.5_user_605485120.bin. Thank you so much. Let me know if you need anything else. Just extract the .img from the zip.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
i can confirm this works with that boot.img, split the boot.img with unpackbootimg then unpack the ramdisk with gzip and cpio
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
i extract all of bin when i unpacking system.img,i find that it has a make_ext4fs and ext4analyse.exe，i use this word'echo ext4analyse.exe folder>**.txt'，and then the txt a little like file_contexts,and i use CMD to use make_ext4fs,use file_contexts built by Classy Kitchen,it working,i think that just need find out ext4analyse how to build a context file,maybe it is a project in github,i see Classy Kitchen thanks for a project in github which called EXT4,cubinator's project
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
im not sure, its abit un-needed though, the contexts are in etc/selinux/*file_contexts, so the point of that is almost useless
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
Classy Kitchen build context above 300kb，in etc just 28kb，i nerver use context in etc,and ext4_analyser.exe can save fs_config,make_ext4fs need that,and it have another file is busybox,maybe he use busybox grep to extract fs_config and context
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
i noticed this, pretty sure imgextractor can do the same thing, however if you do find the source code for his ext4 analyser binary do link me to it
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
u need know that imgextractor can not extract after 8.0,it means so much big file was brake down,u can test it,and fs_config is incomplete,so after 8.0 i first use imgextractor extract system.img and use 7zip extract the big file,i extract all of Classy Kithen binary,https://d rive.go ogle.com/open?id=1oiwVUl d4r7u6rqsdzRvP2O7oHMBLWLBD
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Im currently using on android 9.0(AMLogic based firmware) and it seems to work fine, however i can look into the e2fsdroid on reverse engineering, also that link you sent doesnt work
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
https://drive.google.com/open?id=1oiwVUld4r7u6rqsdzRvP2O7oHMBLWLBD
[Android Software/Hacking General [Developers Only]] appdroiddevelop:
Hello! I ran into the problem that imgextractor fails when trying to extract the SYSTEM.img file (android 9): "Exception EOutOfMemory in module imgextractor.exe at".

I used the tools from your archive. Can you tell me what I'm doing wrong?
[Android Software/Hacking General [Developers Only]] JamFlux:
Hi friend.

i found the .py code:

https://github.com/cubinator/ext4/issues/8#issuecomment-438177556

#!/usr/bin/env python3

import ext4

import argparse

import os

import sys

parser = argparse.ArgumentParser(description='Read <modes, symlinks, contexts and capabilities> from an ext4 image')

parser.add_argument('ext4_image', help='Path to ext4 image to process')

args = parser.parse_args()

exists = os.path.isfile(args.ext4_image)

if not exists:

print("Error: input file " f"[{args.ext4_image}]" " was not found")

sys.exit(1)

file = open(args.ext4_image, "rb")

volume = ext4.Volume(file)

def scan_dir (root_inode, root_path = ""):

for entry_name, entry_inode_idx, entry_type in root_inode.open_dir():

if entry_name == "." or entry_name == "..":

continue

entry_inode = root_inode.volume.get_inode(entry_inode_idx, entry_type)

entry_inode_path = root_path + "/" + entry_name

if entry_inode.is_dir:

scan_dir(entry_inode, entry_inode_path)

if entry_inode_path[-1] == '/':

continue

xattrs_perms = list(entry_inode.xattrs())

found_cap = False

found_con = False

if "security.capability" in f"{xattrs_perms}": found_cap = True

if "security.selinux" in f"{xattrs_perms}": found_con = True

contexts = ""

capability = ""

if found_cap:

if found_con:

if "security.five" in f"{xattrs_perms}":

capability = f"{xattrs_perms[2:3]}"

else:

capability = f"{xattrs_perms[1:2]}"

else:

capability = f"{xattrs_perms[0:1]}"

capability = capability.split(" ")[1][:-3][+2:].encode('utf-8').decode('unicode-escape').encode('ISO-8859-1')

capability = str(hex(int.from_bytes(capability[4:8] + capability[14:18], "little")))

capability = "capabilities="f"{capability}"

capability = " "f"{capability}"

if found_con:

contexts = f"{xattrs_perms[0:1]}"

contexts = f"{contexts.split( )[1].split('x00')[0][:-1][+2:]}"

contexts = " "f"{contexts}"

print(f"{entry_inode.mode_str:s}" " " f"{entry_inode_path}"f"{contexts}"f"{capability}")

scan_dir(volume.root)

file.close()
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
i found this but couldnt get a proper compilation of the code in the form of an executable, ill dig deeper soon, thanks for linking :)
[Android Software/Hacking General [Developers Only]] andy_zhang:
Can you pack it and post it?

通过我的 Redmi Note 5 上的 Tapatalk发言
[Android Software/Hacking General [Developers Only]] I1V1A1N:
Repack android 8 and android 9 .

https://github.com/rkhat2/android-rom-repacker/releases
[Android Software/Hacking General [Developers Only]] futuretricks:
futuretricks

useful
[Android Software/Hacking General [Developers Only]] rendix:
Any progress?
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
thanks，I also found that,I will edit it by myself,it's very good script,
[Android Software/Hacking General [Developers Only]] Nightmare_MYS:
there still have a question,I can't use this scrpit to get linux uid/gid
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
this is for linux, also i made a windows port of all them binaries, check my github
[Android Software/Hacking General [Developers Only]] I1V1A1N:
There is a topic about similar.

https://xdaforums.com/showthread.php?t=2600364
[Android Software/Hacking General [Developers Only]] I1V1A1N:
Here you can find different files for Windows.

https://www.pconlife.com/viewfileinfo/make-ext4fs-exe/
[Android Software/Hacking General [Developers Only]] JamFlux:
This repo is updated with android 9 ROMs. Tested on Mi 8 Lite ROM and works awesome.

Thanks bro.

Here I upload the binary for WIndows:

https://www.androidfilehost.com/?fid=6006931924117932728
[Android Software/Hacking General [Developers Only]] I1V1A1N:
May be needed.

https://en.miui.com/thread-476300-1-1.html

Another program

https://4pda.ru/forum/index.php?showtopic=900084
[Android Software/Hacking General [Developers Only]] JamFlux:
I prepared a tool for unpack and repack supporting android pie and may be q.

https://xdaforums.com/chef-central/android/tool-s-r-v1-0-simple-unpack-repack-t3957631
[Android Software/Hacking General [Developers Only]] I1V1A1N:
Thanks .Here kory-vadim 4pda made the program UnpackerSystemNew for Windows.

https://4pda.ru/forum/index.php?showtopic=715583&st=26200#entry81102837

Here's another Android ROM Tool

https://4pda.ru/forum/index.php?showtopic=941999&st=0#entry82468933
[Android Software/Hacking General [Developers Only]] JamFlux:
Nice, but please, can you upload the tools because I don't have a 4pda account please?

Anyway the tool I prepared can do all the process.
[Android Software/Hacking General [Developers Only]] I1V1A1N:
https://mega.nz/#!roFxmSSb!LXuB5oBjc3JJJyKijQ667GdJeGwP8VvI7ZYLeio4coc
[Android Software/Hacking General [Developers Only]] JamFlux:
Thanks a lot for share.

My tool do the same things but its more minimalist and few steps to follow.

Please, give it a try

https://androidfilehost.com/?fid=6006931924117937310
[Android Software/Hacking General [Developers Only]] I1V1A1N:
​

Like system.img > system.raw.img for this file system-arm64-aonly-gapps-su.img AOSP 9.0 v117 ?

https://github.com/phhusson/treble_experimentations/releases

I just don't get it yet.
[Android Software/Hacking General [Developers Only]] JamFlux:
Yeah, My tool can extract the system on system.img.

Extarct .xz using winrar or 7zip.

Then make a .zip with extracted system.img and also put a boot.img

Then open my tool and start a new project

Tool can extract all system folders and files

I extract this info:

ROM's Info

-Format: system.img -Deodexed: No -Api: 28

-Name: treble_arm64_agS-userdebug 9 PQ3B.190801.002 190806 test-keys -Files: 4107 from 4114

Try and you will see.
[Android Software/Hacking General [Developers Only]] Xannytech:
Anyone has a working linux make_ext4fs for Android 9?
[Android Software/Hacking General [Developers Only]] Xannytech:
I just gave it a try using your 1.3 version, but obviously Vendor size it's vrong and System size it's a bit off, firmware so it's unfunctional.

I tried manually using your make_ext4fs.exe and the right partitions sizes and commands, but firmware is unbootable...

But very good work, if need help i'm here.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
I have a functional make_ext4fs for windows that works fine with the correct contexts and fs_config, do email me and i can help you Xanny :)
[Android Software/Hacking General [Developers Only]] chageaska1:
Hello Ricky I need your help too, could you please send me the link of your make_ext4fs as well? Thanks!
[Android Software/Hacking General [Developers Only]] Soldiaz:
I have a question which is realted to repacking too.

I use ImgExtractor to unpack PIE vendor and system images.

How can I repack, fix file permissions and file contexts? Could anyone kindly lightup lil bit
[Android Software/Hacking General [Developers Only]] Xannytech:
With make_ext4fs. it's not easy and very long to explain if you don't know the basics, so probably none will reply here because it's OFF TOPIC.
[Android Software/Hacking General [Developers Only]] chageaska1:
Dear Xannytech, have you repacked the android 9 image successfully? Could you please give me any help?
[Android Software/Hacking General [Developers Only]] Xannytech:
yes i did it, but it's just a matter of Make_ext4fs, then i hope you know the parameters. i got none really working in windows, i'm actually working on linux.
[Android Software/Hacking General [Developers Only]] chageaska1:
Yes I'm working on linux as well but there's no make_ext4fs work properly to repack the pie image (the firmware I made causes system hang up during boot progress). Could you please tell me how to make it working? Appreciate for your help.
[Android Software/Hacking General [Developers Only]] Xannytech:
are you sure there isn't? there is not a magic wand.

Anyway i'm pretty sure Superkitchen works, i think it's easier for you and for me ;)
[Android Software/Hacking General [Developers Only]] chageaska1:
I'll give a try. Thank you so much Xannytech!:D
[Android Software/Hacking General [Developers Only]] lukanz:
i know this is a old threat but could please provide a link to the latest Android ROM Tool 2.0.3 thank you very much
[Android Software/Hacking General [Developers Only]] I1V1A1N:
Update file.Program Unpacker kitchen for android working wia android.Install wia twrp.

https://mega.nz/file/2gF2gSAa#wWpZZXcEE8bz6DU1sYt_k2W8-MctII6GHW4mDJotX_g