yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] SubwayChamp:
If the latter stock ROM was this then it's OK, you can return to it at any time, no matter which custom ROM you've used before.

There are a bunch of better/technical information around but basically is the verification of the integrity of the partitions implemented by Google, some unauthorized changes can avoid that you can boot to system, recovery and in some cases in more modes.

Factory reset is not always needed, it could depend on the GSI that you want to boot to, so if only you can't boot you should do it.

Wipe system, data, caches (not format nor erase internal).

If you have TWRP (or similar) backup persist, EFS and boot. (just in case)

If you don't have it, then you should follow the steps through fastboot:

Erase system, erase userdata (-w), flash the system.img provided and try to boot.

If you can't, flash, the vbmeta provided.

If you can't again, then format data.

It failed again?, flash the boot backed up (or extract it from the custom ROM zip you are on)

As a side note just a very personal opinion, if you are running CR Droid, and it was built specifically for your device probably you won't find these GSIs better than that, and additionally you should expect some bugs/incompatibilities, keep in mind that the GSI can't be as generic to cover all the expectations.
[General Questions and Answers] tek3195:
always MAKE A BACKUP before altering or modding anything.
[General Questions and Answers] tek3195:
I could not agree more. Also, I don't believe you get to claim that as personal, too many of us share it. In fact, you could probably bump it up to a foregone conclusion rather than opinion.

@mstrnemo read this and remember it.
[General Questions and Answers] Gozbot:
Hello guys, I have a problem with my device.

I created a thread for it here, I could really use your help and suggestions

https://xdaforums.com/t/no-sound-du...edifier-x5-earbuds-on-infinix-zero-6.4304459/
[General Questions and Answers] DiamondJohn:
if anyone else is interested, I think I found the answer.

dumpsys package $package_id;

Gives details of the current install and the original package,
[General Questions and Answers] tek3195:
Can't sync new build, read only file system ?

EDIT: HAD TO UNROOT, cant sync build with Magisk installed

I'm stumped, this worked last week but not today. From fresh build I can not use adb sync to push changed files to device. Efforts are as follows:

tek3195@tek3195-desktop:/work/lineage/out/target/product/gts4lvwifi$ adb devices
List of devices attached
R*********Y device

tek3195@tek3195-desktop:/work/lineage/out/target/product/gts4lvwifi$ export ANDROID_PRODUCT_OUT=/work/lineage/out/target/product/gts4lvwifi
tek3195@tek3195-desktop:/work/lineage/out/target/product/gts4lvwifi$ adb root
adbd is already running as root
tek3195@tek3195-desktop:/work/lineage/out/target/product/gts4lvwifi$ adb remount
remount succeeded
tek3195@tek3195-desktop:/work/lineage/out/target/product/gts4lvwifi$ adb sync all
adb: error: failed to copy '/work/lineage/out/target/product/gts4lvwifi/system/bin/e2fsck' to '/system/bin/e2fsck': remote couldn't create file: Read-only file system

This has always been simple and worked on the same device last week. I've also tried different order of commands, in brief 'export, devices, root, remount, sync' and 'devices, root, remount, export, sync' What am I missing here ?
[General Questions and Answers] StaticallyTypedRice:
I want the Busybox binaries to be accessible through the TWRP terminal but don't really have a need to have root access from the main OS. What is the standard or best way to install Busybox through TWRP without needing to install Magisk and root the system?
[General Questions and Answers] tek3195:
TWRP should have toolbox, try typing toolbox instead of busybox and see what output is.

edit: try toybox, toolbox is small and toybox has the goodies.
[General Questions and Answers] DiamondJohn:
Many TWRP install zips include a busybox binary as they need the functionality not supported by ToyBox. Just find one (or a BB binary itself). Its common to copy the binary to the temp (and make it executable) and explicitly call it from that location. for example:

/data/local/tmp/busybox ls /data/data;

Or you could modify the path so it is found automatically.
[General Questions and Answers] lonely_heart:
I'm from Dubai and I bought a second-hand Samsung Galaxy Feel (SC-04J) a few days ago. Everything was normal in English until I decided to restore the setting to factory default which changes the firmware to the Japanese version. Now I've so many unwanted apps and keyboard and display layouts are changed completely to Japanese version which I don't like. Is there any way I can install international Firmware on this phone which can make this phone more user-friendly? I already root it.
[General Questions and Answers] SubwayChamp:
It seems that this device was released only for Japan but if there is some international/global firmware version you should install it through Odin (I doubt it), again, if this is the case the last user was customizing the device to let it in the same state you bought; you also can do the same, debloat all the unnecessary apps, change the keyboard and so on. Consider that factory resetting a device can't change the firmware.
[General Questions and Answers] :
Can I post themes for Google Chrome desktop or Windows 10 in android themes forum or should they go in windows 10 forums ????
[General Questions and Answers] Rocksolid916:
Copy and pasted to next page so question is seen
[General Questions and Answers] lonely_heart:
I'm sure the last user had installed the custom firmware of some Samsun model because all the secret menu codes (e.g. *#0*# to open phone testing menu) were working before. But after doing a factory reset, that code is not working anymore. If you can tell me which model firmware will be fully compatible with this model then I will install that via Odin.
[General Questions and Answers] PickRickle:
Hello everyone,

I have a question about rooting. I am not completely noob and I have tried several things. Here I'm trying to root without using Magisk. (for several reasons including having directly root access without using GUI or installing app) I have discovered this tool ( https://github.com/bkerler/android_universal ) that creates a custom ramdisk changing Selinux policy and init/init.rc to launch scripts that opens a netcat server. I have repaired little things to get the tool work. (see Issue if that's really important for you)

Now, the tool is working, creates a patched and signed boot.img. I flash them (boot_patched.img, vbmeta_patched.img), but at the end of the day, the boot.img seems to have no effect at all. The system is fine, but I cannot see the files that have to be there with ADB. (/init.shell.rc for example) I have tried to use TWRP to search if the change that have been made on init.rc are effective. Result : nothing, I presume the reason is linked to the fact the phone (Fairphone 3, Android 10, A/B device) is booted in a recovery image. Hence, the boot.img is not loaded, nor the ramdisk, so the modifications coming from the ramdisk are not merged with system.img. Result : I cannot verify whether the ramdisk's modifications have taken place.

It seems the kernel from boot.img does not load the ramdisk at all. The whole system seems to be vanilla. Is this possible ? How can I get the thing right ?

Device : Fairphone 3

Android : 10 running version (launched version = 9)

Boot method : C (I presume)

View attachment 5365995
[General Questions and Answers] SubwayChamp:
Latter firmware that the last user did install prior to sold device after a factory reset still remains there, formatting data don't erase it.

It could be that they installed some specific module/mod being from Xposed/Magisk or whatever other source; we can't know.

Again; a stock ROM or a custom ROM can't be erased this way just formatting data/factory resetting device, but it only could erase all that was installed over that ROM either custom or stock (from the OEM).

If you want to check which secret codes are available you can use Phone Info from Play Store that is specifically for Samsung devices, also there are some modules in Magisk to see some secret codes and other that can change the CSC for other multi-CSC for fully compatibility with other regions.

In a quick search, all the firmware available out there are for Japan, as it looks that this device was released only for Japan (Docomo).

Latest Samsung Galaxy Feel firmware

Download the latest Samsung firmware for Galaxy Feel with model code SC-04J. Check out our free download or super fast premium options.

www.sammobile.com

Samsung Galaxy Feel SC-04J Firmware Flash File Download [Stock Rom]

Download Samsung Galaxy Feel SC-04J Firmware Flash File and learn how you can use this firmware file to restore your Samsung Galaxy Feel SC-04J. On this page, you will learn how you can use this Samsung Galaxy Feel SC-04J stock…

firmwarefile.co

Samsung Galaxy Feel Firmware Download SC-04J Free Download

Samsung Galaxy Feel Firmware Download SC-04J Free Download ⭐ Official and fast update ⭐ Max speed and free download ⭐ Best Samsung Galaxy website

samfw.com
[General Questions and Answers] Sylvester123:
Hi guys, I need a quick tile to swich sim data from sim to to sim 2, can someone help me? I am noob, don't know coding
[General Questions and Answers] Rocksolid916:
Hello, I have recently purchased an international phone as it was like 200 cheaper for the us version and has better specs. Turns out that it is not compatible with Verizon. Is there a way for me to connect this phone to the network through other means? I am going from a Moto G6 to a Moto G 5G Plus. Thanks for any support.
[General Questions and Answers] Sentient Being:
(Sorry, posted in wrong place.)
[General Questions and Answers] mstrnemo:
sorry for the late reply

when i flash gsi.img and it goes into a bootloop then i went to try flash vbmeta.

do i flash vbmeta like this ?

fastboot flash vbmeta C:\Users\nnnnn\Desktop\vbmeta.img

i get this simaler error

C:\Users\nnnnn>fastboot flash vbmeta C:\Users\nnnnn\Desktop\vbmeta.img

target reported max download size of 536870912 bytes

sending 'vbmeta' (4 KB)...

OKAY [ 0.016s]

writing 'vbmeta'...

FAILED (remote: Flashing is not allowed for partition

)

finished. total time: 0.031s

also i get this error when trying to erase userdata

C:\Users\nnnnn>fastboot erase userdata(-w)

erasing 'userdata(-w)'...

FAILED (remote: No such partition.)

finished. total time: -0.000s

What am i doing wrong?
[General Questions and Answers] mstrnemo:
Yeah i have read that before however two weeks ago the one maintaing a custom rom for my device stopped and now there is only one suported custom rom left.

i can already see the writing on the wall so before that one stops someday

i wanted to try the gsi so i can rest assured that when the last one stops i can still use a uptodate customrom erh gsi eventhough it is not perfect.
[General Questions and Answers] SubwayChamp:
Check the other command in my last post to flash vbmeta but first be sure that your bootloader still remains unlocked, also some devices need to unlock the rest of partitions with fastboot flashing unlock_critical and also what happened with USB debugging if it is still enabled.

Erase user data is kinda a last resource just in case you can't boot, so if flashing the vbmeta wasn't successful then what for do you do that? When it is the right time to do it you can also format it with fastboot format userdata

Edit: I didn't try it myself, but maybe this tool can ease the task https://xdaforums.com/t/treble-toolkit-a-and-a-b.4040435/
[General Questions and Answers] mstrnemo:
bootloader stil unlocked

usbdebugging stil on

tried this command fastboot flashing unlock_critical device allready open see message below

C:\Users\nnnnn>fastboot flashing unlock_critical

...

FAILED (remote: Device already unlocked)

finished. total time: 0.016s

C:\Users\nnnnn>

also vbmeta flash tried both commands see below

C:\Users\nnnnn>fastboot --disable-verification flash vbmeta C:\Users\nnnnn\Desktop\vbmeta.img

fastboot: unknown option -- disable-verification

C:\Users\nnnnn>fastboot flash vbmeta C:\Users\nnnnn\Desktop\vbmeta.img

target reported max download size of 536870912 bytes

sending 'vbmeta' (4 KB)...

OKAY [ -0.000s]

writing 'vbmeta'...

FAILED (remote: Flashing is not allowed for partition

)

finished. total time: 0.016s

What am i missing?

Edit: that treble toolkit wil try it out when i get the chance

Edit.2: I tried the program it doesnt work left a message in that thread hope the developers responds in the meantime do u have any ideas ?
[General Questions and Answers] SubwayChamp:
Without complete access to fastboot (by any means) the tool won't work.

I still think that there is some issue with one of those:

- Are you sure device is booting fine to fastboot and PC recognized it properly in this mode? Some Sony devices need drivers to be updated any time that they boot to special modes.

- Did you checked again that USB debugging is enabled, no assumption but double-checking cause after a failed attempt the option can be disabled automatically.

- Did you checked again that OEM unlock toggle is enabled, and the bootloader is still unlocked? Try with the command fastboot getvar all and see what it says.
[General Questions and Answers] mstrnemo:
- Adb fastboot works commands adb devices and fastboot devices see my phone.

- yes usb debugging is on when connected with computer i see a screen that says if i want to turn usb debugging off or not and when i go to the menu the toggle for the function is on.

- oem unlock was off ??? weird this is a custom rom shouldnt it be on standard? anyway turned it on and restarted the phone.

I then start cmd command usb devices and then fastboot getvar all

and it stays like this see below what does this mean?

C:\Users\nnnnn>fastboot getvar all

< waiting for device >
[General Questions and Answers] SubwayChamp:
Not all the custom ROMs retain OEM unlock toggle to stay permanently as enabled, so when you try to flash something and even this result failed you have to check it again.

No, fastboot is not seeing your device because of either you need to reinstall/update the drivers to fastboot or reboot properly your device to fastboot mode. You have to complete this step successfully, or you won't advance. Check what listed under PC devices management.
[General Questions and Answers] techlead:
Objective: unlock OEM and achieve root

Parameter	Value
Equipment	Samsung Galaxy S9+
Build	star2qlteue
Model	SM-965U1
Firmware Code	XAA
Active CSC	ATT
Build #	G965U1UEU9FUE4
Build Date	May 28, 2021
Processor	SDM (Snapdragon) 845

Found the following useful sources:

Stock ROMs	sammobile
Odin	xdaforums.com/t/patched-odin-3-13-1.3762572/
TWRP	dl.twrp.me/twrpapp/

Description of problem:

1. Phone firmware updated upon purchase (oops)

2. Phone has been on with SIM for > 7 days, yet OEM unlock not showing in Dev Tools (also tried to advance datetime +30d but made no diff)

3. TWRP APK (star2qltechn) cannot install, even with "install from unknown sources" enabled

My best guess on approach:

I am thinking I need to use the patched ODIN above to flash an old stock ROM from sammobile, probably a non-US version (one which still has ability to unlock OEM). With OEM unlocked, I'd be able to load TWRP.

Back in the day, I could just load TWRP and work with Magisk to get the job done. I am not sure if Samsung devs neutered OEM unlock at a certain date. Would appreciate any guidance on how to proceed or feedback if my approach is on the right track.
[General Questions and Answers] SubwayChamp:
Generally speaking, the trick to let OEM toggle appear is not advancing the date but the other way around, at least 7 days prior, something like this https://ihax.io/fix-missing-oem-unlock-toggle-samsung/ anyway I doubt this work for your device.

May I'm wrong but from what I know the US Snapdragon variant are not unlockable (but the Chinese Snapdragon).

Installing the TWRP app means nothing if it is not provided some image to be flashed onto the device. Anyway, no need to install the app, go straight to the TWRP site and check if there is an image available for your exact model variant https://twrp.me/Devices/Samsung/

You should read this too: https://xdaforums.com/t/root-extreme-syndicate-g965u-u1.4043707/ but read carefully if it still applies for your firmware updated to 05/21 and bootloader v9.
[General Questions and Answers] Dudstis:
Hello,

I have attempted to install the magisk root but when after trying to boot twrp I got an error "FAILED (Status read failed (Too many links))".
[General Questions and Answers] martiniturbide:
Hi

What happened to the XDA Developers Wiki? (https://xdaforums.com/wiki/)

Is there a backup somewhere? any way to access it?
[General Questions and Answers] SubwayChamp:
It seems that you have two different things not linked between both, the status you got is a typical error from fastboot when it missed the right target (device) to be addressed under some command cause is not detecting it properly, it could be that the capacity was overpassed either for a huge number of tasks or a huge number of devices operating at same time (connected to your PC) or even easy; you only need to update your platform binaries.
[General Questions and Answers] Dudstis:
"it could be that the capacity was overpassed either for a huge number of tasks or a huge number of devices operating at same time (connected to your PC)" could you elaborate on this?
[General Questions and Answers] Hjani:
Hello,

I have a problem I am trying a mod game apk which consists of a mod menu and when I allow display over other apps it crashes the game. I tried it on other devices it's working fine but on my onplus7pro android version 11 it's crashing. Sorry if I am posting in the wrong thread/forum.
[General Questions and Answers] DiamondJohn:
Log cat
[General Questions and Answers] SubwayChamp:
When you connect to a PC 2 or more devices, or you try to do simultaneously 2 or more tasks; sometimes fastboot couldn't work properly, Of course if you try to do one or both things properly fastboot can work though, just guessing that this can be one of the reasons from the various possibilities. Your previous post needs more info to accurately target to a specific direction.
[General Questions and Answers] Dudstis:
What information do I need to post?
[General Questions and Answers] SubwayChamp:
Everything that can clarify your own post and what you are trying to do exactly.

For example:

- Which device do you own?

- Which Android version?

- Bootloader is already unlocked?

- How good is your connection through fastboot? Did you update the binaries?

- How did you try to install/flash Magisk, and How ends the attempt to install it?

- Were you able to check it by rebooting to system and checking if Magisk is there?

And just now, the second part:

- Which moment TWRP came into scene here? I mean; Did you install it prior to try Magisk or after?

- Which method did you use to install your TWRP?

- From which screen the message came?
[General Questions and Answers] Dudstis:
- Which device do you own?

- Which Android version? Xiaomi Redmi 9

- Bootloader is already unlocked? Yes

- How good is your connection through fastboot? Did you update the binaries? I updated the binaries I don't know how to measure how good my connection is through fastboot

- How did you try to install/flash Magisk, and How ends the attempt to install it? I start off by flashing twrp as my recovery image then flashing vbmeta once I try to boot recovery by typing "fastboot boot twrp.img" I get the afore mentioned too many links error

- Were you able to check it by rebooting to system and checking if Magisk is there? Don't you need twrp to install magisk

And just now, the second part:

- Which moment TWRP came into scene here? I mean; Did you install it prior to try Magisk or after? When I tried to boot into recovery after flashing twrp.

- Which method did you use to install your TWRP?

- From which screen the message came? The command line.
[General Questions and Answers] SubwayChamp:
In case Lancelot is your variant, this guide and the zip containing TWRP includes the scripts you need to ease your task https://xdaforums.com/t/twrp-recovery-for-miui-12-a11-lancelot.4300657/, from what I understood you didn't really tried to flash Magisk, but you wanted to and no, you also have other ways to get magisk to work like patching the boot image and after that flashing it either through fastboot or through SPFlash tool.

Check if these are the commands you are typing and that those images are there (in the same folder directory where you are opening the fastboot window):

Firstly, rename your recovery image to recovery.img

and then type as follows:

fastboot flash recovery recovery.img

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

fastboot boot recovery.img

If for some reason device refuses to boot to TWRP by command you can do it manually typingfastboot reboot and quickly pressing and keeping pressed the vol. up button
[General Questions and Answers] Dudstis:
Thank you so much without your help I wouldn't of been able to install TWRP and the Magisk root.
[General Questions and Answers] forstar:
Can anybody help me touch calibartion of android x86. Touch is not properly detected.
[General Questions and Answers] Hjani:
What log cat?
[General Questions and Answers] DiamondJohn:
You explicitly say it crashes the game. A logcat of that would be the oblivious starting point.
[General Questions and Answers] Hjani:
I am not rooted to access logcat.
[General Questions and Answers] forstar:
I have tablet with intel atom processor running on android x86 and has one problem the orientation are reversed i.e when the device is in horizontal the display becomes vertical and vice versa. Can anybody help in solving this issue?
[General Questions and Answers] DiamondJohn:
You do not need to be rooted to get a logcat from adb.
[General Questions and Answers] selife:
Gentlemen who own the POCO X3 PRO device and have the crDroid 7.8 firmware, a moment of attention!

Please tell me, did the new version(the problem was on 7.6) fix the excessive sensitivity of gestures? I am specifically interested in the function of quickly switching applications(a gesture from below - to the side). The problem occurred when I completely removed the navigation line from the bottom. When trying to switch the language, another application was constantly opened, which was very annoying when using the keyboard, since I was used to using swipe language switching (swiftkey keyboard)
[General Questions and Answers] mstrnemo:
@

@SubwayChamp

Sorry for late reply, i tried it and made sure everything was on however when flashing vbmetafile i stil get this message

C:\Users\nnnnn>fastboot flash vbmeta C:\Users\nnnnn\Desktop\vbmeta.img

target reported max download size of 536870912 bytes

sending 'vbmeta' (4 KB)...

OKAY [ 0.016s]

writing 'vbmeta'...

FAILED (remote: Flashing is not allowed for partition

)

finished. total time: 0.031s

I then flashed magisk like u mentioned using twrp it said it failed but when i tried to reboot it worked phh aosp gsi rom booted!

Qeustion any idea why i cant flash vbmeta file ? is that a bad sign?

what is the difrence between flashing magisk and vbmeta do they do the same thing? is there no difrence now ? is what i have done oke ? also will flashing magisk to get the gsi to startup work for all gsi?

Personally i would prefer to flash vbmeta i mean why wont it flash???