this post was submitted on 23 Dec 2023
18 points (84.6% liked)

Android

27947 readers
216 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

I have a Samsung Galaxy J3 2018 (model number SM-J337W) on which I want to install my own custom AOSP ROM (because I don't want Google or Samsung to spy on me, I'm stuck with my current phone, and my phone is not supported by LineageOS, GrapheneOS, or CalyxOS). I have managed to install ADB for Linux and unlock the bootloader, but I can't download any TWRP binaries because my phone is not on the list of officially supported devices. I believe i've found the source code for TWRP on this Github page: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni. However, I'm not really sure how to build it. According to the code lines bellow, I believe it requires some kind of device number or code:

cd <source-dir>; export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch omni_<device>-eng; mka recoveryimage

or if I'm not using a recovery partition:

cd <source-dir>; export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch omni_<device>-eng; mka bootimage

Also, I am not sure whether or not if my device uses a recovery partition or not. How do I find that out on my specific device?

Also, when I open up AIDA64, then go to System -> Device, it says j3topltecs. Should I use that for my device number/code?

Also, please keep in mind that this is my very first attempt at rooting any Android smartphone so sorry if I sound like an idiot noob. I also use Linux and don't have Windows installed.

Also, is there any way I could tell lunch (or whatever tool does the compiling) to use only a specific number of threads because if it starts compiling using all 8 threads then my PC will definitely overheat.

PS. Do I even really need TWRP? Has anyone ever managed to install a custom ROM on this specific device?

you are viewing a single comment's thread
view the rest of the comments
[–] starpanda@lemmy.world 3 points 11 months ago

there's often unofficial builds of TWRP and lineage on the device specific XDA forum