yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Hi everyone i want to share a gsi vendor image that boots most Q and P roms for the samsung galaxy j4 core.

How to install:

reboot to twrp go to format data type yes *this will format all your data*

go back to wipe and select system,vendor,cache,data and dalvik then swipe to wipe

go to install click on install image select the gsi image file then swipe to flash

now select install zip and click on the vendor image you have downloaded and swipe to flash

finally you can flash gapps if your gsi doesn't include them *note: if you dont have enough space to install gapps to to wipe select system and select repair or change file system click on resize system then swipe to reisze*

and if you are into rooting flash magisk zip file

note try to not install gsi roms that aren't over 1.2gb lineageos 17.1 and dotos are prefered

BUGS:

none

What works:

-boots

-offline charging

-sound

-wifi

-gps

-bluetooth

-mtp

-RIL

if you want to report a bug be sure to include logcat

After this thread started to gain downloads, i decided pushed another update with improved peformance!

Download:

V2 Google drive: https://drive.google.com/file/d/1z-OrGTjv9HD9SL2j30EYyUA__xjmhIaR/view?usp=sharing

V1 Google drive: https://drive.google.com/file/d/14-XNmD_19Mt-dFSReBZk8luoeY2ZoD9r/view?usp=sharing

Credits:

@leohiper10 for the sources and allowing me to use his vendor image from his lineageos 16 build (doesnt use his vendor build anymore with V2).

myself for taking my time to test and fix the bugs

XDA: DevDB Information

Fggevhy Vendor for galaxy j4 core

ROM OS Version: 10 Q

ROM Kernel: Linux 3.x

ROM Firmware Required: latest bootloader and dtbo

Based On: Project Treble

Version Information

Status: Stable

Current Stable Version: V2.0

Current Beta Version: V2.0

Stable Release Date: 2021-11-08

Created 2021-09-20

Last Updated 2021-11-08
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
happy flashing!
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
Forgot to mention that the gsi image must be arm Aonly i will add that later
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
Changelog: 08/11/2021

-.img format instead of flashable zip

-Set screen density to 411

-Fixed pretty much all bugs in the older release

-Fixed Unknown baseband bug and unkown imei with old version on j410f

-Better peformance!

Changelog: 22/10/2021

-baked custom kernel onto it

-fixed call audio

-fixed crashing issue of qcrilmsg (responsable for ril)

-fixed wifi issue on j410F

-fixed dual sim on J410F/DS
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Unmesh 9830:
How u fixed call audio ?
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] NsovoXD:
I tried flashing lineage and aosp. With both after going through the process, when I reboot system in twrp, it always reboots to download mode.

Device model: sm-j410f
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
try with orangefox

also if you have issues flash the first release of the vendor then update to v2
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] LegoLivesMatter:
Has anyone tried this /vendor with a Lineage 18.1 GSI? Asking for a friend.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Deleted member 10707375:
should work!
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] phamhung:
I tried to flash this rom with twrp and also orangefox but both boot into bootloader

device: sj410f
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Oshigami Tsukizume:
This is a vendor image, not system image.

Can you tell me how do you install this?
[Lenovo Yoga Tab 2 ROMs, Kernels, Recoveries, & Oth] RasenlatschR:
Is there any Lineage-version for the "Yoga Tablet 2 Pro-1380L"-version? I also didn't find a twrp version for this tablet.

I've got only little experience with installing lineage and I don't dare to use a version for "Yoga Tablet 2" only.

Other Custom Roms better than Android 5.1 would also help.

edit: Sorry, I found it. https://xdaforums.com/t/custom-rom-for-yoga-tab-2-1380f.4271139/
[Android Q&A, Help & Troubleshooting] mau75:
Hi

I try to modding the official ROM of Armon 11T and modify the super.img partition.

I use this guide:

https://xdaforums.com/t/editing-system-img-inside-super-img-and-flashing-our-modifications.4196625/

I unpack super.img and the the super.ext4.img contaings 6 partitions:

- system_a.img

- system_b.img

- vendor_a.img

- vendor_b.img (0 byte)

- product_a.img

- product_b.img (0 byte)

If i resize a single image, for example system_a.img :

- fallocate -l 2G system_a.img

- resize2fs system_a.img 2G

Only doing

- resize2fs system_a.img 2G

The original size of system_a.img change.

Then i repack the super.img using lpmake command.

If i reflash the ROM on device this starting but during boot i have the error "device is corrupt".

Where i wrong?

Can you help me please?
[Xiaomi Redmi 6 Questions & Answers] lanac:
Hi everyone !

I'm trying to install Magisk on the cereus... but I fail miserably !

I have reset the phone.

I unlocked the device, installed TWRP, I can mount the data and system folder.

Then I got to Install > Select the Magisk apk I downloaded from Github without error and when I reboot the phone... No magisk icon, and Root Check still tells me I'm not root...

What did I miss ?

Thanks a lot for your help !
[Samsung Galaxy Watch 4] brunes:
As a lead-in - I am aware of AutoWear. Unfortunately it does not have this functionality, it only lets you turn on and off Wifi and Bluetooth.

I am looking for a way to automate the turning on and off of Mobile Networks and NFC on the watch when some conditions are met.

I would be happy to do this on the watch, but would be satisfied if I could do it on my phone via sending command to the watch (for example an ADB based solution)

Anyway have any clue how I could go about this? If I wrote my own app for the watch is it even possible?
[Android Software/Hacking General [Developers Only]] Martisabolt:
I have a LG Nexus 5 HammerHead and tried to flash the newest Kali NetHunter using TWRP 3.5.2. After I flashed the ROM successfully, I have notice that the phone itself says no wifi networks found when swipe down to look at the wifi connections. I go to the wifi settings it says "Searching for wifi networks" with a spinning wheel of death(the loading icon). I've tried configuring it to use 2.4 Mhrz and didn't work, set it up to where it would only find good connections and still didn't work, I even did a factory reset and actually made it worse. I even reflashed it and see if that fixed it, nope. I connected it to the internet using a Ethernet adapter that is made for phones using a micro USB connection, updated the apps, updated and upgraded Kali NetHunter itself in the terminal and wifi connections is still not finding any connections at all. Could It be that Kali NetHunter doesn't support the internal wifi card that is built into my phone, could it be that twrp is having some errors on their end, or is it a bug that Offensive Security is not aware about? Please Help?
[Blade General] leejasonsmith:
hi, yesterday i foolishly reset my old zte blade q mini. it went into bootloop. it will not go into recovery. it will not connect to pc. i can remove battery. i have no idea whether usb debugging enabled. it had a custom rom and i would guess clockwork mod. old phone but makes an excellent sat nav.

anyone any ideas how i can get it back?
[Google Pixel 3a XL Questions & Answers] h8Aramex:
So this phone is used by my close relative and I usually update their phone for them. It worked great, no complaints.

Just today I wanted to do something in Magisk, but I didn't have the bottom options like I didn't have root.

Interesting. I thought something broke it, so I decided to update to latest OS and then try again.

Since the phone was running a few months old update, I thought I'd update + root to make sure everything works.

I used flash-all.bat to update, it flashed fine, the phone loaded fine, it shows September security update.

so I went ahead and tried to root like I always did.

got the latest image, updated via flash-all.bat (without -w switch), then copied over the boot.IMG, patched it on phone, copied back to my PC from /sdcard/Downloads, then used "fastboot boot magisk...img" to boot the patched img.

now, this is how I rooted my 9R and this 3a XL a dozen times. but not now.

I open Magisk once it boots up and it just shows me the same Install option.

It same as nothing happened.

like root just doesn't exist. wtf?

did Google mess remotely with Pixels? or what's going on?

ps.: I even tried to "flash" the img into the active slot, both slots, nothing.

like the .img itself is not getting patched.

using Magisk stable, 23.0.

update 1: Interestingly enough, Root Checker says I have root. But Magisk only has Patch File option, no Direct Install. Tried Canary too, nothing. Reinstalled Magisk app, nothing. So weird... like Magisk lost root access? But why? How do I fix that? So weird...
[Google Pixel 3a XL Questions & Answers] 41rw4lk:
You can open a terminal app and type 'su' to see if it prompts you for root access. If not you can try uninstalling magisk, then rename the magisk.apk to .zip and sideload from recovery.
[Google Pixel 3a XL Questions & Answers] h8Aramex:
SOLVED!

Sorry for not updating my thread, it was pretty late when I cracked this.

Here is how I fixed it. (I'll format it a bit later.)

I went Termux, root with su.

went into /data/adb/ and there is a magisk.db file.

I copied that to /sdcard/ and then to PC (you can do this on phone too using SQLite editor apps but whatever. On PC it's easier, more screen estate, etc.)

I used SQLite Browser (free) to open the file, then Browse Data and Policies

here I saw all the apps that had root granted...

So I added a new line.

I used adb shell on PC to find out the data I needed.

first, pm list packages | grep magisk to find magisk's name (it's "com.topjohnwu.magisk")

then, dumpsys package com.topjohnwu.magisk | grep userId to find out the user ID (uid) for it.

I added these into the database, it looked like this in the end:

uid package_name policy until logging notification

10386 com.topjohnwu.magisk 2 0 1 1

(^ your userId will NOT be the same!

and the first line is the column names)

saved the file, copied it back to my phone in Windows, then used Termux to copy the file from /sdcard/magisk.db to /data/adb/magisk.db

then I shut down the phone, used "fastboot boot magisk_.. patched.img" so I'd have a rooted boot image loaded up.

and boom, Magisk app works again.....

how to tell if Magisk app loses root?

well, for me the screen went dark briefly for like 2 times when I opened the app on clean boot.

and of course, Direct Install was missing.

to verify root in this case - you can only use apps that are present in the .db file.

ie.: apps that you granted beforehand.

so I'd really recommend opening Termux then doing a "su" at least after a root.

Why does it happen?!?!

I THINK this happens when you repackage Magisk. So I'd recommend changing it back before doing a system update. Because after the system update, you most often need to reinstall the .APK and then its under the original package + app name. Thus, it's not in the Policy file -> ie.: the Magisk app will not have root.
[Fire General] Soniciso1:
So I'm in a pickle. Just unlocked my bootloader and flashed lineage to my fire 7 9th gen 2 days ago and since the battery died I couldn't get it to charge or come on. Now knowing what I know the only way I had on hand to externally charge the battery for testing purposes was my vape battery charger. I used body tape to cover the neg and pos on the battery. Stripped two wires on both ends then wrapped one end of each wire to safety pins and taped the other ends on the the concealed battery. Put the battery in place and put the POS pin on red and neg pin on black and she started charging pic included for reference. Btw I've done this on a PS4 controller before too.
[Nexus 5 Android Development] Martisabolt:
(I posted this on the Android Mods Thread on accedent)I have a LG Nexus 5 HammerHead and tried to flash the newest Kali NetHunter using TWRP 3.5.2. After I flashed the ROM successfully, I have notice that the phone itself says no wifi networks found when swipe down to look at the wifi connections. I go to the wifi settings it says "Searching for wifi networks" with a spinning wheel of death(the loading icon). I've tried configuring it to use 2.4 Mhrz and didn't work, set it up to where it would only find good connections and still didn't work, I even did a factory reset and actually made it worse. I even reflashed it and see if that fixed it, nope. I connected it to the internet using a Ethernet adapter that is made for phones using a micro USB connection, updated the apps, updated and upgraded Kali NetHunter itself in the terminal and wifi connections is still not finding any connections at all. Could It be that Kali NetHunter doesn't support the internal wifi card that is built into my phone, could it be that twrp is having some errors on their end, or is it a bug that Offensive Security is not aware about? Please Help?
[Nexus 5 Android Development] z3DD3r:
This may happen cos of wi-fi firmware. These files are called fw_bcmdhd.bin and fw_bcmdhd_apsta.bin. There are two versions of firmware:

1. https://github.com/LineageOS/androi...c531cd30abd21d93c5a04/bcmdhd/firmware/bcm4339

2. https://github.com/LineageOS/androi...5f8949fe77780d922c973/bcmdhd/firmware/bcm4339

You need to find where these files are stored in your rom, replace them with files from version 1 or version 2, restore permissions for these files if necessary and reboot your phone.
[Nexus 5 Android Development] Martisabolt:
Honestly, I have been trying to find these files and can't seem to find them. I even put the file name on the search bar of my windows 10 and it can't find them either. I think its just missing firmware on Offensive Security's end in this situation. I've had a troublesome experience with their kali linux products such as kali linux itself on having missing firmware after installation. Thank you for helping me out and hopefully these files should do the trick after I re-flash NetHunter with the firmware you have provided. As a matter of fact would the files belong in the firmware folder?
[Nexus 5 Android Development] z3DD3r:
You will not find them in the search bar of your windows)

And no, firmware is not missed. Without wi-fi firmware you will be unable to enable Wi-Fi at all. In your case Wi-Fi can be enabled but you didn't see any networks.

Also /firmware - is incorrect place. It is a mount point of the /modem partition.

Wi-Fi firmware can be located at /system/firmware or /system/vendor/firmware/. Try to find them in TWRP. Boot into TWRP, mount System partition, open File Manager and review all the paths i've listed here. But i can't be sure cos i've never used Kali NetHunter.
[Nexus 5 Android Development] Martisabolt:
Ok, I've been to those locations and in the system's folder, no firmware folder. However, in the sys folder, there is and does not show any firmware files in TWRP.
[Nexus 5 Android Development] z3DD3r:
Give me the links to ROM files u flashed
[Nexus 5 Android Development] Martisabolt:
This came directly from kali.org.
[Nexus 5 Android Development] z3DD3r:
What was your base ROM before installing Kali? Stock Android 6.0.1?
[Nexus 5 Android Development] Martisabolt:
yes
[Nexus 5 Android Development] z3DD3r:
Well, Wi-Fi firmware in stock android 6.0.1 is located at /system/vendor/firmware/ folder. I've looked in the kali installer script and didn't find any scripts which can modify or delete this firmware. So we can try to install different firmwares into stock folders. I've attached 2 flashable zips for you. Try the -DHD version first. Flash it in TWRP and reboot your phone. If it doesn't help, then try -STOCK version.

It this will not help then i'm out of options :(
[Nexus 5 Android Development] Martisabolt:
Ok, I have tried both. Sadly I guess I'm out of luck and this is now nothing but a bricked phone in my hand. None of these files worked and actually made my phone crash when I tried to load the first file. I tried the second file as well and now I can't turn wifi on. I might as well have to build my own rom or junk this phone 😢
[Nexus 5 Android Development] z3DD3r:
Don't hurry to kill your phone) Try to revert to complete stock 6.0.1 and re-lock bootloader by this instruction:

https://xdaforums.com/t/tutorial-ho...rn-to-stock-unroot-save-your-nexus-5.2513701/

And if your wi-fi will not work then yes, something bad happened with hardware :(
[Nexus 5 Android Development] r.mutt:
I tried both packages and thery didn't break my ROM. Unhappily they did not help.

I use the Re4son Kernel and can set wlan0 to monitor mode. But airodump is blind then.
[Nexus 5 Android Development] UsPdSr:
@r.mutt @Martisabolt

Hammerhead kernel source (Marshmallow)

These are the complete Nexmon files seperately arranged.

Either you use a proper file manager with root permission, or just use the TWRP fiile manager and insert/copy them into the according sections.Maybe set the correct permission, while you're there and of course know your stuff. :>
[Nexus 5 Android Development] misterzeus112:
Hi Mate, Sorry for the delayed reply. Now i can afford nexus 5. Faced same issue as you. Thanks @z3DD3r for the hint.

Follow below instruction If you want wifi.

*Boot to Twrp

*locate /advanced/filemanager/vendor/firmware

You are there

(Note: 100% you can't see the files as discussed in above thread. But those are hidden(while installing nexmon from nethunter store i have seen those already exists in same folder))

*At bottom you see permisson blue box

*Click the same-select chmod 755-swipe to confirm

Now reboot to system. Here you go.
[Networking] droople:
Hi

I'm using WM6.1 on my Dopod D600(HTC P3400), when I connect to my laptop, the IE can visit internet through my laptop, but opera and google map will try to connect by GPRS instead of active sync.

Could anyone tell me how to force program visit internet though my laptop?

Cheers
[Networking] droople:
Anyone have any idea?

Cheers
[Networking] Rudegar:
settings->connection->connection->advanced->select network
[Networking] droople:
Thank you for your reply, but I can't see any option relate to USB connection:mad:
[Networking] Rudegar:
the dropdownbox's should have items like

my isp or whatever your gprs connection is called on your device

my network or something like that as this too varies

is activesync network as in usb connection or bluetooth connection

and the likes

of cause it can only be used while the device is connected to activesync
[Networking] droople:
Sorry for late response.

There are four settings:

ChinaMobile WAP Settings

ChinaMobile Internet Settings

My Work Network

MY ISP

which one should I choose?

Cheers
[Networking] Daisy0312:
On the computer, go to Activesync 4.5->File->Connections Settings->UNCHECK "Allow wireless connections on device when connected to the desktop"
[Networking] droople:
I checked the settings, and found it's always unchecked.
[OnePlus 6 Questions & Answers] kaotik123:
Hello,

So my phone was in a recovery boot loop and had to rebuild the boot partition in twrp. So I'm back in my phone now and everything is the same but have lost root. Still have access to twrp. It's been a while since I rooted it and don't have any of the files anymore. What do I need to flash to get root back? Do I need to back up all my data or will it be safe?

I am still running android 9 and oos 9.0.7 and I assume bootloader is still unlocked. Orignally rooted with magisk.

thanks
[OnePlus 6 Questions & Answers] kaotik123:
Damn it, so I booted into twrp and then flashed latest magisk v23 zip but when it finished it said failed to mount partition in red and now the phone just boots to fastboot mode.. I can get back into twrp.. and all my files are still there in file manager.. but it won't boot into my phone.. only fastboot mode. Any advice?
[OnePlus 6 Questions & Answers] Koeties:
First, boot into TWRP and delete all Magisk Module files and folders:

How to Uninstall Magisk Modules Using TWRP Recovery - DroidViews

Magisk has been a great addition to the third-party Android development scene. It not only provides a pretty universal rooting solution but also a systemless framework for other mods to use. This allows users to install mods without breaking the SafetyNet checks. Installing and uninstalling...

www.droidviews.com

I had the same and it seems a module was causing fastboot mode. If that doesn't work try downloading and flashing the stock boot image for your OOS version in TWRP (remember to flash TWRP again before reboot). At least then you will have your phone back.
[General Questions and Answers] kame12345:
Hi!

Is there anyway to get rid of work profile on my xcover 5? It has knox if that changes anything
[General Questions and Answers] TNSMANI:
MOD ACTION:

@kame12345

Thread closed as duplicate of https://xdaforums.com/t/remove-work-profile-android.4334203/
[Android Q&A, Help & Troubleshooting] anoldman57:
My Moto G5 cedric was working with Lineage 18.1 (Android 11) and I note some bugs, when I try to downgrade to Android orio 8.1 I get a flashing screen and windows 10 recognized my phone as "Linux File-Stor Gadget USB Device" at this point I tried to go back to Lineage and when flashing this recovery (lineage-18.1-20210909-recovery-cedric.img) i get this message: "Writing 'recovery' (bootloader) Image not signed or corrupt". Black screen and nothing to do. Any ideas please...

Greetings from Argentine
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
What you see is Android's BSoD ( read: Black Screen Of Death ).

Try to reboot phone into recovery mode and if successful wipe cache partition.
[Android Q&A, Help & Troubleshooting] anoldman57:
Thanks for the quick response. Any other way to make it ? When I try to go into recovery still Black Screen...
[Android Q&A, Help & Troubleshooting] anoldman57:
I tried:

fastboot devices

fastboot erase cache

fastboot continue

fastboot reboot

System boot but flashing screen almost impossible to deal with it....
[Nintendo Switch Questions & Answers] LeyendaV:
Is there any way to fake a camera on Android for Switch? I don't need to take actual picutes, can be plain black. I just need the apps can "access" the "device camera", which doesn't exisit since, of course, the Switch doesn't have one.

More like faking the pictures only, would be faking the whole camera, both hardware and software.

My devide is rooted, in case that's needed.
[Android Q&A, Help & Troubleshooting] iabdullaahh:
Hi Everyone:

I Have a Mediatek G80 Device which is Android 11 Based.

The Reason of this thread is that my Camera2Api is at Level 'Full' but for GCam to Work it Should have Raw Suppprt which is at Level '3' and my is at Level' Full' in my mobile is not supportedView attachment 5414641

Now my Issue is that can i enable it by Rooting my phone by official Service centre as my phone is in warranty or if i root my phone and after that i get to know that camera2api features is hidden in stock rom and there was no use of rooting it and i just cant enable it.

I'd Do appreciate an answer...Thankyou Device Name : Tecno Spark 7 Pro and is there any other version of GCam that i can try without Raw Support