yashsingh1/xdaforums huggingface dataset:
[Windows 10, 8, 7, XP etc.] jenneh:
How to backup your machine:

proot-distro backup --output ubuntu-backup.tar.gz ubuntu

You can change the distro name "ubuntu" to whichever one you are trying to backup. This is just an example

How to pull the backup from your phone:

termux-setup-storage
cp ubuntu-backup.tar.gz storage/downloads
adb pull sdcard/Download/ubuntu-backup.tar.gz

View attachment 5875381

View attachment 5875383

The ubuntu premade is 800mb zipped.
[Windows 10, 8, 7, XP etc.] jenneh:
Here is where the restore commands are explained and the first "premade" or "backup" is shared. https://xdaforums.com/t/guide-no-ro...x-distros-on-your-phone-using-termux.4570275/ going to be doing updates over there
[Windows 10, 8, 7, XP etc.] johannes12345:
oh boy it was slow install through vnc server graphical debian normal iso.

But i tried nographic option works fine too, it is very slow boot and slow reaction with 8 core phone but works
[Windows 10, 8, 7, XP etc.] BookCase:
While I enjoyed your Modded-Ubuntu, I constantly ran into problems with termux crashing and not being able to run apps well. I did some digging around and found some great tutorials for running windows and linux on android with quemu, termux-x11 & accelerated graphics. One tutorial is HERE but, my favorite thus far is THIS tutorial that installs everything for you with one line command in termux.

EDIT: Any chance you can give me instructions on how to run the modded-ubuntu in Termux-x11? Jenneh
[Windows 10, 8, 7, XP etc.] BookCase:
Hangover 9.0 released: Run Windows apps in 64-bit Linux arm.
[Windows 10, 8, 7, XP etc.] 白い熊:
How do you install it in Termux - I don't see a hangover package in the tur repo. Did you build it from git?
[Windows 10, 8, 7, XP etc.] BookCase:
I have no idea. I did not try it yet.
[Windows 10, 8, 7, XP etc.] jenneh:
@BookCase

I cannot begin to tell you thank you enough!! This is taking a lot longer than I expected, so I wanted to reach out with a progress update.. I hope when the other thread is finished, I can thank you more!!!

View attachment 6074086

It plays doom! It has audio too, but I don't have magisk modules for my screen recorder right now.

I built a minimalist version of what was shown in the github repository you shared. This version is able to install from a fresh Termux install, Ubuntu, in proot-distro, and automatically open it in the x11 app for the user.

An alias was built called 'ubuntu' that in theory should load the environment in the x11 app, but it fails to do so after a relaunching of the app, because currently I do not know how to close the termux-x11 display:0 server. Maybe someone knows how? Otherwise, I will look into it over the weekend.

If anyone is bored enough to try and would like to help, you need to have termux's apk installed and the x11 app-arm64 apk installed. This is only for arm64 devices right now or you could try to dl the other apks off of the x11 github repo. Please note this is the alpha build and not anywhere near fully ready.

curl -sL https://raw.githubusercontent.com/01101010110/proot-distro-scripts/main/ubuntu-x11-app.sh -o ubuntu-x11-app.sh && chmod +x ubuntu-x11-app.sh && ./ubuntu-x11-app.sh

Paste the code above into Termux, after you have installed both apks, and it should run if you are using an arm64 device. Otherwise dl the appropriate x11 apk from their repo.

GitHub - 01101010110/proot-distro-scripts: A series of scripts to help users install Linux Distros on their phone, like Ubuntu and Debian. Installs inside of Termux by pasting one line of code. See the XDA thread below for more nuanced details.

A series of scripts to help users install Linux Distros on their phone, like Ubuntu and Debian. Installs inside of Termux by pasting one line of code. See the XDA thread below for more nuanced deta...

github.com

I'll do the rest of the updates on the other thread but wanted to call for help over here if anyone knows how do any of this stuff.

---edit, got the alias fixed and hardware acceleration working

Whenever this project is done, we can see if we can re-root a phone with termux (as asked before), by flashing a rooted boot image to a phone from a stock phone with no root. Finally have the devices to do so, but need to focus on one thing at a time.. :)
[Windows 10, 8, 7, XP etc.] anysenseinit:
I'm sorry for the question but I'm still a beginner at this.

I'm already running Kali Nethunter (because I'm trying to learn a little of it in the laptop/desktop) and I'm curious: what are the possibilities/benefits of using an ARM Linux distribution and ARM Windows besides of "just" be able to run it on the Android phone?

There are any benefits for developers (Android's devs, since I believe there only a small percentage of Android users that use to run Linux/Windows on their phones)?
[Windows 10, 8, 7, XP etc.] BookCase:
Awesome! I can't wait to see the final product. Happy Hacking! :cool:

;)
[Windows 10, 8, 7, XP etc.] jenneh:
I can only speak for myself, a student aspiring to be a developer, as to what I learned from messing with these images and what i did not. What I did learn about was package management in linux, the difference in not just the distros but the different releases within each distro like for Ubuntu the last three major releases were jammy, lobster, and minotaur. A project I recently worked on required me to run some basic packages in a linux distro inside WSL, like python. The problem with WSL is the uploaders of the distros like Ubuntu specifically, can sometimes fall behind or just outright not update their product. So currently the version of Ubuntu available for wsl is rolling on Jammy, which only has access to a max of 3.10 versioning for python3, which can be fatal for certain projects if one isn't able to manually add their packages, which I would have never known about nor been able to articulate without building some skills using termux and various environments.

As far as actual development purposes, I think this should only be used in the rare case one has no other option. A cross compiler on your main rig is far superior to the performance on the phone and the trouble is half the tools don't work as expected due to the snapd binary being missing. I know I wrote something in the OP about this "being for developers" or I was writing the guide for them, but I was just misaligned with my brain at that time. I think this guide is just for people to enjoy a novel way of experiencing linux / windows environments and who want to learn the command line better in said chosen environment.
[Windows 10, 8, 7, XP etc.] jenneh:
Hey I am sorry it took so long, but actually it appears we can do all this with just Termux, was able to re-root my Pixel 8 Pro using my old Nokia G20. I'll add a little guide here for anyone curious, this will assume you already have your boot image patched by magisk, and bootloader unlocked. Put your modded boot image onto the sdcard of the phone you are using to flash with and connect both phones with a usb cable.

Require's Termux API Apk: Direct Download Link

Go into settings on the phone you want to flash to and enable developer settings, then enable wireless debugging settings, and select pair device with pairing code. On your phone you are using to flash, open termux and run this code to install adb:

termux-change-repo && pkg install x11-repo && yes | pkg update && termux-setup-storage && pkg install android-tools -y && cd storage/downloads

Then to connect to the other phone type adb pair and then the ip address and port shown to you, like for the picture below we would type:

adb pair 192.169.0.5:39343

Then it should prompt for the pairing code (01347) and it should pair you successfully. Now we need to actually connect the phone to the adb server, so type adb connect with your ip address and port, for example, like the picture below:

adb connect 192.168.0.5:34391

View attachment 6095317View attachment 6095318

After connecting, we can reboot the phone to be flashed to into the bootloader with this code:

adb reboot bootloader

Since the android-tools's fastboot does not work with Termux, we need to run this code to download termux-fastboot by @nohajc https://github.com/nohajc/termux-adb

curl -s https://raw.githubusercontent.com/nohajc/termux-adb/master/install.sh | bash

Then to send fastboot commands, append termux- to them, so for me to flash root on the pixel 8 pro, instead of flashing to boot, i have to flash to init_boot, so my command to root was:

termux-fastboot flash init_boot bootmod.img

Here's a very crudely shot and probably edited too quickly video to kinda show the steps to show it works:
[Google Pixel 6 Pro] iFreeMan:
Greetings.

Could you please advise how to check whether I can just insert any of my sim cards or if the device is locked?

I know about this URL https://store.google.com/us/repair

I've tried to post there the IMEI of the phone I wanted to buy, but it looked me the following result:

View attachment 5689295

I was concerned about "AT&T" string so I haven't bought this device (just don't want to play with soft unlock).

Does it really show the reality of lock status?

Thank you.
[Google Pixel 6 Pro] roirraW "edor" ehT:
Hi. That's only telling you it's the AT&T "variant" of the Pixel 6 Pro - not that the phone is locked. You might have to call AT&T and give them the IMEI, and see if they can tell you if the device has since been carrier unlocked because I *think* they only unlock the carrier after the original person has paid the phone off.

It has definitely happened before where someone bought a phone recently and only then found they couldn't use it with their carrier because it was locked to a different carrier, so it does happen.

If through your efforts, you can't determine 100% that the phone is now carrier unlocked, I wouldn't take the chance. Buy an already unlocked phone straight from Google, or anyone retailer that sells the factory unlocked model.
[ZTE nubia Red Magic Questions & Answers] dthevonb:
Hi All

Just bought my red magic 7 a day before the 7s …. Grim.

Hoping someone knows this issue and how to fix it. When i go into Spotify and find the equaliser i press it and a message comes up about the sound which yeah ill just press ok.

However i then get a message that says disconnect the external devices. Unable to set sound effect.

so i have turned literally everything off that i can think of to get this to work but no it doesn't

Even if i go into sound settings there is no equaliser there either as you have to have a headset plugged in. even then Spotify doesn't want you to use their equaliser. which makes all music really bland.

Hoping someone has come across this before
[ZTE nubia Red Magic Questions & Answers] latios381:
Hi, I have a 7S Pro and while I've never used spotify, the only EQ is the one they put in the game mode for each individual game afaik

You can try to use Wavelet, its no V4A but its something at least
[E 2015 Q&A, Help & Troubleshooting] harry1102007:
The custom rom is anicp I have tried many other custom roms still the same.this is not the only one snap keeps crashing When clicking on settings can't record videos says media server died ps snap works when I change the date and time.pls help me
[Shift General] joker197cinque:
Good job guys ;)

We are deploying an application for HTC Shift that uses only touchscreen features.

I have to disable keyboard to not permit to close the application via (alt+f4, ctr+alt+canc ...).

Which is the best way to do (and of course to recover) it ?

Regards.

F.
[Shift General] cnbabbage:
close it ...

Why not just close it so the keyboard is not visible or touchable ... and maybe put a little tape across the gap just in case you have a curious user? -- Mel
[Realme 7 Pro Questions & Answers] Paro89:
I tried to flash recovery TWRP, but i failed. Now if i start the phone it enter only in fastboot mode. It have not recovery mode and OS. It is possible to solved? Thanks a lot.
[Realme 7 Pro Questions & Answers] deserted:
What does "failed" mean? Have you tried a different recovery?
[Samsung Galaxy S7 Edge Questions and Answers] ttb1:
Hello, HELP!

Device: SM-G935P (Galaxy S7 Edge: U.S. Sprint model) Official / Unmold.

My son’s phone was in-process of trade-in phone clean up and he was trying to do a Factory reset, and it failed with the error of the “Recovery” file missing. Another screen popped up and gave him an option to “delete DATA” and reboot. After rebooting, it hung on the Sprint logo.

What I have done:

Flash via multiple versions of Odins with STOCK ROM Sprint android versions 6 & 7 and both failed. I'm stuck...

Please assist, thank you!

Tom
[Samsung Galaxy Z Fold 4] BigMosley:
Curious if the Fold3's pen is exactly the same as the Fold4?
[Samsung Galaxy Z Fold 4] Conan179:
The s pen fold edition, is working on the Fold4

I have buy spen pro ant working with fold4.
[Samsung Galaxy Z Fold 4] MrBlueEyes88:
Yes, I bought the standing case with S Pen. So far I know it's the same as for the Fold3.
[Samsung Galaxy Z Fold 4] herpi:
Happy with your case? I am s-pen addicted....
[Samsung Galaxy Z Fold 4] SurferNerd6987:
I can confirm as its in my possession now, yes. Same exact pen, includes extra tips as well. I'm holding back my SPen from the 3 as its not required on the trade-in, so I've got a spare now.
[Realme 8] de_42:
What could it mean?
[Touch Cruise General] IT Crowd:
Hi Thanks for reading and helping!

I'm thinking of buying this phone but are they the same phone?

Does the HTC have different software?

Does the XDA have lots of 02 software?

I am on orange will setting up mms and internet be hard?

Can i flash a 02 to a HTC? or can i flash a HTC to a 02? Did i say im new?!

I have seen the unlock software does this work on both?

I want to use wifi and gps tomtom/copilot like txt more than call are they both easy to use?

Does the wheel thing fall off alot? can you get new one? does it only happen to the 02 one?

For the money are there better phones out there?

last one sorry :( Does the HTC one have tomtom full uk maps or just one town?

Thanks and sorry its alot to ask. Dont want to get the wrong one :(

Dan
[OnePlus 8 Questions & Answers] zander21510:
So OnePlus is a little excessive when it comes to saving battery...I have to un-optimize and allow auto launch on many apps to keep them functioning properly. Fine, a little tedius but at least I can get around it.

Until today, I tried to allow an app to auto-launch, and apparently there's a 20 app limit. No way to override, it just doesn't allow it and gives the attached message. I can't find anything about this online, has anyone seen this before? How do I override this, or hell turn this stupid "feature" off entirely? All it ends up doing is blocking my smartwatch and other apps from showing notifications after reboot.

This is the function under Settings > Apps > Auto launch. It also pops up if I go into the app properties and try to toggle the "Allow auto launch" switch. Running latest Android 12 OTA.

View attachment 5689305
[Samsung Galaxy Z Flip 3] TheWinner2810:
As the title says, what are some tips that you use to max out SOC (therefore, making it as energy efficient as possible)?

Bixby Routines? Galaxy Max Hz app? Full-time energy saving mode?
[Samsung Galaxy Z Flip 3] meduza:
I use routines to put the phone to energy save mode when it is closed.

m.
[Samsung Galaxy Z Flip 3] wpscully:
I do this:

Settings --> Battery and device care

Tap on Battery

The next screen shows your projected battery life. Tap on Background usage limits.

On the Background Usage limits screen, toggle on Put unused apps to sleep

Next, I tap on Deep sleeping apps.

On the Deep sleeping apps screen, at the upper right-hand side is a plus sign. Tap it.

A list of all applications you can force to deep sleep are listed. I have selected all the apps.

Next, I navigate back twice, to the Background usage limits screen.

I next tap on Never sleeping apps.

On the Never sleeping apps screen, again, tap the plus sign at the upper right hand side.

Carefully pick the apps you never want to sleep. For example, I allow Clock, Find my device, GMail, my favorite launcher, music player and VPN software so they never get put to sleep.

Back out of settings. Probably reboot.

When you're done almost everything will be limited from running in the background. If something isn't working as you expect, take it out of the deep-sleep list and see if things get better. If find the prediction for battery life, using the 85% battery limit, is somewhere around 20-22 hours.

This is an aggressive but easy approach to using the built-in Samsung software to throttle background use. And you can control it all with ease.

Hope this helps.
[Samsung Galaxy S9  Questions & Answers] mrwiseguy159:
i have tried to root my samsuns s9 device SM-G960F/DS with TWRP and magisk but after i completed the steps it keeps rebooting every 3 minutes and the imei number is lost ?

What should i do ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
View attachment 5702129

LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions:

Follow the instructions here

Downloads:

Builds: https://lineage.linux4.de

GApps: MindTheGapps

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

DO NOT Report bugs if you're using TWRP

DO NOT Report bugs while having Magisk installed (especially with Zygisk enabled)

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Support

Telegram group

Contributors

Linux4

Source Code: https://github.com/LineageOS

Kernel source: https://github.com/Linux4/android_kernel_samsung_exynos9820/tree/lineage-20.0
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Pre-Install Instructions

Warning: The following instructions will unlock the bootloader and wipe all userdata on the device.

Connect the device to a Wi-Fi network.

Enable Developer Options by pressing the “Build Number” option in the “Settings” app within the “About” menu

From within the Developer options menu, enable OEM unlock.

Power off the device, and boot it into download mode:

With the device powered off, hold Volume Down + Bixby and connect USB cable to PC.

Now, click the button that the onscren instructions coorelate to “Continue” and/or “Unlock Bootloader”.

Your device will reboot, you may now unplug the USB cable from your device.

The device will demand you format userdata, please follow the onscreen instructions to do so.

Run through Android Setup skipping everything you can, then connect the device to a Wi-Fi network.

Re-enable Development settings by clicking the “Build Number” option 10 times, in the “Settings” app within the “About” menu, and verify that “OEM Unlock” is still enabled in the “Developer options” menu.

Installing LineageOS for the first time

Flash lineage recovery

Only the provided lineage recovery will be supported,

using TWRP might result in a possible data loss!!

If using Odin rename the lineage recovery image for your model to recovery.img and add it to a .tar archive using e.g 7zip.

If using Heimdall use: heimdall flash --RECOVERY recovery.img --no-reboot

Boot lineage recovery

IMPORTANT: Do not boot into system again before booting recovery, or system will restore stock recovery!

If using Odin untick auto-reboot before flashing.

After flashing reboot by pressing Volume Down and Power for approximately 7 seconds,

immediately hold Volume Up, Bixby and Power to boot recovery

IMPORTANT: As of OneUI 3 your device needs to be connected to a PC via USB cable in order to be able to

boot recovery via Volume Up, Bixby and Power.

Factory reset using Factory reset -> Format data/factory reset

Warning: Unlike TWRP this will also erase internal storage!

Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB

Then run adb sideload <path to your lineage.zip> on your PC

Optional:

Sideload GApps and Lygisk by repeating above step

with their zip/apk

Magisk

As this ROM has a working ramdisk sideloading the magisk apk is enough, just as it is

on every other device, no bootimage with magisk included or installing to recovery is needed!

I also strongly recommend to use Lygisk instead,

which is a fork of Magisk that aims to improve support for devices with FBE that can't (and shouldn't anyways!) decrypt userdata in recovery,

this will also fix OTAs getting stuck while having installed Magisk.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Linux4:
Features

SELinux enforcing

AES-256-XTS FBE encryption

All cameras are working

Ramdisk is working

Known issues

VoLTE/VoWiFi

You tell me

Likely more
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Deleted member 4398224:
My English is not very good, so I don't understand some things. My phone is Samsung Galaxy S10 (SM-G973F), Android 12, (HVG4). The bootloader is unlocked. I am confused by these instructions, and I would like to try this.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Dragonflysendr@X1:
maybe to write what you don't understand
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Deleted member 4398224:
I don't understand:

Any Q, R or S based firmware installed on your device.

Flash lineage recovery (Get from here)

If using Odin rename the lineage recovery image for your model to recovery.img and add it to a .tar archive using e.g 7zip.

Sideload LineageOS by enabling sideload via Apply Update -> Apply from ADB

Then run adb sideload <path to your lineage.zip> on your PC

I also strongly recommend to use Lygisk instead,

which is a fork of Magisk that aims to improve support for devices with FBE that can't (and shouldn't anyways!) decrypt userdata in recovery,
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] kolyan2282:
where i can find gapps 13 android?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DOGASP:
Redirecting…
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Andrescarepez:
Thanks so much for working on our device, so exited to see this new version on Android on the s10, I will wait though for it to get more mature.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ^^rac:
Thanks... Should I try the one for Lineage 19? Ie (12L)?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Deleted member 4398224:
Can few screenshots of the interface of this android?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ThePS4Gamer:
It looks mostly the same as AOSP Android 12-based ROMs.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Deleted member 4398224:
I never had AOSP installed, and I couldn't get to the images.