yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] aljazzair:
Update on LOS20 and strange observation

Today was a day off, so I used the tablet at home.

Tried to launch all the apps I normally use during a busy day to adjust ZRAM, settled on 2G/lz4.

I was using the tablet, hooked to my pc via USB, with htop running from the computer screen via adb shell, to keep an eye on memory usage patterns.

Whilst doing this I rebooted several times and I noticed something I do not understand during my last boot, visible on this screenshot:

View attachment 6091196

The tablet had been sluggish: I looked at my PC terminal and I noticed 4 cores were *offline*.

When I made that capture the battery was around 41% and charging slowly.

After a reboot, battery at 40%, the engine was firing on 8 cylinders again:

View attachment 6091201

I hope this is not too dumb of a question, but what would cause 4 cores to shut off?

I checked my battery settings, battery saver is not engaged if that matters.
[Galaxy Tab S2 Android Development] retiredtab:
That 50% was set by Anan in this commit

https://github.com/retiredtab/andro...mmit/c0358535b47f007af53a557f2d6f6c2eb2ed6cdc

back on July 25, 2021 and he gave a reason for why 50%. I haven't seen a need to modify it myself.

The zram code is at kernel/drivers/block/zram

https://github.com/retiredtab/andro...versal5433-r22/tree/20-r22/drivers/block/zram

As you can see in the naming convention, there's only lz4.* and lzo.* In addition, if you look at the Kconfig at

https://github.com/retiredtab/andro...33-r22/blob/20-r22/drivers/block/zram/Kconfig

there's only an option for LZO or LZ4.

Furthermore, these 2 lines in the kernel defconfig

https://github.com/retiredtab/andro...figs/lineage_gts210wifi_defconfig#L1250-L1251

enables zram and lz4 algorithm.

So our kernel has no option for zstd.
[Galaxy Tab S2 Android Development] retiredtab:
With your PC specs, it should take less than 3 hours for the initial compile and subsequent compiles should be less than 1 hour if you use ccache.

The build dependencies, packages, recommended spec, etc are listed at

https://wiki.lineageos.org/devices/raven/build/

As long as you can find the equivalent packages in Arch, it should compile in Arch. I tried Arch a few years ago and couldn't deal with it's every 5th update breaking the boot process.

SSD vs spinning in our tests, surprisingly, doesn't make that much of difference. Having more CPU cores/threads makes a big difference. The more cores, the faster the compile. I suggest you building on spinning disks and set aside at least 250GB.

If it's Ubuntu 22.04, then the documented steps in the wiki above make it highly more likely that it will compile problem free. I use Lubuntu 22.04 for all my LineageOS 20 builds and have NO problems. I know lpedia uses debian and I've heard others compile fine on Fedora.

You can use a VM to spin up Ubuntu. Just give it as many cores + DRAM + zram-config + swap as possible.
[Galaxy Tab S2 Android Development] retiredtab:
The power saving/battery management stuff is something that I have not really investigated. The last change to the code was Feb 13, 2023

https://github.com/retiredtab/andro...mmit/8ba40f8669aad1fb9dfa1c9484314a6166568875

So, currently, the devices are using "stock" AOSP power settings, drivers and code.
[Galaxy Tab S2 Android Development] Alex7779:
Hi,

just flashed Alpha 20 on T815. looks good so far.

Thank you!
[Galaxy Tab S2 Android Development] eduyl:
HI @MrBrause , @retiredtab I was building los-21 and los-20 for my gts210ltexx while i notice this issue come again and again and its not letting me go further with the build. Am I missing some dependencies or what because this error is unexpected for me.
[Galaxy Tab S2 Android Development] MrBrause:
Hi, I am working on bluetooth-calling within the last month and I am currently on research about Bluetooth HAL v2, A2DP and so on. I've read about a dependency on disabling VNDK. Although I've never had your error above, I've received your error exactly the way you did a few minutes ago. This happened to me as soon as I add in the BoardConfig.mk

BOARD_VNDK_VERSION := current

[ 98% 393/398] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: device/samsung/gts2-common/shims/libsensor/Android.bp:1:1: dependency "libsensor" of "libshim_gpsd" missing variant:
os:android,image:vendor.33,arch:arm_armv8-a_cortex-a53,sdk:,link:shared
available variants:
os:android,image:,arch:arm_armv8-a_cortex-a53 (alias to os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:)
os:android,image:,arch:arm_armv8-a_cortex-a53,sdk: (alias to os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:)
os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared (alias to os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:)
os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:
os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:latest (alias to os:android,image:,arch:arm_armv8-a_cortex-a53,sdk:,link:shared,version:)
11:37:47 soong bootstrap failed with: exit status 1
[Galaxy Tab S2 Android Development] metterschling:
Ran into the same during my los20 May build. Fortunately @retiredtab has pointed me to a fix at https://xdaforums.com/t/lineageos-1...nd-sm-p585-gtanotexllte.4432957/post-89525959.

For los20 the patches that are intended for 18.1 and 21.0 will create merge conflicts, so I created a git patch myself - see attached.

Unzip and apply with

croot
cd build/make
git apply <path to the patch>/los20-build-make-tools.patch

For los21 the change got merged, so a repo sync should do the trick.
[Galaxy Tab S2 Android Development] eduyl:
I was trying to build los21 for my T815 but as soon as I build it I got the error above but I nuked it from the libshims folder for the los21 to build but It got stuck on LineageOS/android_hardware_samsung_slsi_openmax and other hardware/samsung files that it cannot build. Currently stuck on los20 build ending with error noone knows about.
[Galaxy Tab S2 Android Development] eduyl:
Hey brause, I was building for my T815 again and succesfully build LOS20 with the kernel version 3.10.108 here ( https://github.com/metterschlg/android_kernel_samsung_universal5433/tree/lineage-20-r22-kernelupd ) but couldn't get it to boot. Is there any chance you tried and it booted? also any info about this error?

[ 0% 10/51769] target thumb C++: android.hardware.wifi@1.0-legacy_service-lib < - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Galaxy Tab S2 Android Development] MrBrause:
I remember that I also ran into this issue. Are you syncing to linegeos repo or lineageos-ul repo?

https://github.com/lineageos-ul
[Galaxy Tab S2 Android Development] eduyl:
I am syncing regular LOS repo why?
[Galaxy Tab S2 Android Development] MrBrause:
I don't know exactly what the reason it, but the ultra-legacy is more suitable to older legacy devices. Using the regular repo was THE main reason, why my build did not boot in the past. I used the regular repo for my LOS18.1 build, but not for LOS20 anymore. If you are interested, I put my alpha-release of LOS20 for T815 in the download-folder mentioned in the beginning of this thread. In the meantime I get rid of some error-messages and I am currently working on bluetooth, but had no success with the fingerprint reader. Some of the seniors in this thread already mentioned that problem, but I wanted to give it a try.
[Galaxy Tab S2 Android Development] eduyl:
I am using your los20 build for a month because my google drive got deleted and my Sd card got corrupted which had my build. Anyways thanks for the info I will try this repo tmrw. One more question is if I am building other roms like crdroid or any aosp rom they also get stuck here at this error so can i nuke the hardware/lineage/interfaces in my manifest and use LOS-UL one as a workaround?
[Galaxy Tab S2 Android Development] MrBrause:
If I understand this right, you want to exclude/remove some projects from being used/downloaded.

So you can lookup in the default.xml used by the repo-command

.repo/manifests/default.xml

for the project you do not want, perhaps

<project path="frameworks/opt/car/services" name="platform/frameworks/opt/car/services" groups="pdk-fs" remote="aosp" />

What you can do now is put "remove" in the beginning of the statement

<remove-project path="frameworks ... remote="aosp" />

and put it in you own manifest

.repo/local_manifests/gts210ltexx.xml

and force-sync again. Depending on the groups and remote statement you can also do this for other repos. But be carefull, as some of the projects may depend on the removed one. This is what I've learned.

Of course, give LOS-UL a try :)
[Galaxy Tab S2 Android Development] eduyl:
Thats what I meant

thanks for your time.
[Galaxy Tab S2 Android Development] eduyl:
Hey Brause, I finished building los20 for my T815 on my local machine and cloud vm but no matter what I did It's not booting. I have also tried the kernel 3.10.9 which used to work perfectly before as I build using it but It is not booting. Now I've got to a conclusion that the OS I am using is the problem( Ubuntu 22.04 with kernel 6.5). I wanted to know which Os and kernel are you suing to building.

regards
[Galaxy Tab S2 Android Development] MrBrause:
Hi, I am building on Ubuntu 22.04.4 LTS with kernel 6.5.0-35-generic.
[G1 General] Tmandness:
So my buddie got some grape drank in his brand new g1.

Cleaned out all residue and sticky stuff. Powered up and i all i get is the SPL Screen? (the Tricolor Screen).

Tried all kinds of flashes and rom upgrades.

Any Ideas?

I think she's toast but I'd like to resurrect this beezy phone
[G1 General] jashsu:
Probably the camera button is stuck, or the microswitch under it is short circuited. Check to see if that button is stuck against the chassis. If it's not, grab the service manual, disassemble the phone and use iso alcohol to clean the microswitch.
[G1 General] Tmandness:
I Checked the camera button. i even took out the dome that makes the connection and still goes to SPL Tricolor Screen.

I think something has gone bad because of the liquid damage but could it be just a software thing?
[G1 General] uries62:
Did you ever fix this

What was the outcome? Because I have the same problem, and never got my phone wet. After an OTA update to donut, it just got stuck at SPL
[G1 General] kubek1334:
just do goldcard update :)
[G1 General] uries62:
what is a goldcard update?
[Google TV General] MJ73:
Whenever I turn on the USB debug option, my USB hub connected to the USB port is disabled. Anyone one have a workaround?
[Google TV General] Renate:
Well, of course ADB (which is peripheral mode) can't coexist with a hub (which is host mode).

What is the connector for USB on this box?

If it's a Type A socket (big rectangle), there is no ID or CC pin so it can't detect if you want to use it as OTG.
[Google TV General] Functioner:
It's possible to use "usb debugging" on the mdz-28-aa simultaneously with being able to connect peripherals (such as flash drives, keyboards, hubs, etc.) to the mdz-28-aa. The only catch is that adb must connect over wi-fi instead of usb, and the settings must be implemented in a certain order to make both work at the same time and persist through reboots.
[Google TV General] MJ73:
It is a Type A socket.

Mi Box S 1st Gen also uses Type A socket and my USB hub works fine with USB debug on.
[Google TV General] MJ73:
Could you please give me some instructions?
[Google TV General] Functioner:
Yes. I'll need first to refresh my memory by undoing the process and then setting it up again, so that I can be sure that I give the correct series of steps to enable it. Essentially it involves enabling usb debugging, and then afterwards changing the otg device flag (yes, even though this device has no hardware otg support) from 1 to 0.

But if you ever touch the usb debugging toggle again, even a quick flip, the settings will be lost.
[Moto E7 Questions & Answers] manduduban:
Hello, I wanted to know if anyone had a custom rom for the moto e7, mine is a 64GB/4GB model, lately it has been very slow, so I wanted a rom to make it faster. Well, that was it. See you later🖐
[Redmi Note 10 Pro] rdmi10v:
Hello Guys,

How you doing ?

My Smartphone :

Redmi Note 10 Pro 4G

MIUI Global 13.0.16 Stable

ANDROID : 12 SKQ1

I want to run my smartphone on LineageOS 20 using this topic right on the forum.

One of the requirements is to have the OS with this "update" : Redmi Note 10 Pro Global - V14.0.3.0.TKFEUXM.

I unblocked the bootloader using the xiaomi tool, I waited 7 days and I successfully unlocked the bootloader.

I enabled the debug option after the unlocking, and I ran the "fastboot commands" with the V14.0.3.0.TKFEUXM update.

The smartphone reboot after the "fastboot reboot" command.

My smartphone is still at the mentionned above system, it didn't update, no error doing the fastboot commands except for "fastboot flash imagefvbak imagefv.elf".

How can I update to V14 please ?

Thank you very much.
[Redmi Note 10 Pro] HiQual:
Try using Miflash.

Here is a guide ...

MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL

FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED MIUI https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html HYPEROS GLOBAL https://xdaforums.com/t/how-to-unlock-bootloader-on-xiaomi-hyperos.4654009/...

xdaforums.com

Good luck.
[Redmi Note 10 Pro] rdmi10v:
Thanks for your quickreply, it doesn't work, errors while refreshing, look like system issue, tried on another computer, same thing

Is there any other way ?

Tried to update using the built-in update app, didn't work, error veryfing, found some topics about this matter on the forum, didn't find a suitable solution.

EDIT : Updated using TWRP : OK. Will try to install lineageOS, if succesfully, I'll close the topic.

EDIT 2 : installed lineageOS 20.
[Android Head-Units] Tentman2:
Hi Guys,

I am hoping someone can help with my problem. My Pumpkin unit Model AA0552B-B02 was playing up in general with lots of lock ups requiring reseting daily, contacted Pumpkin and explained the problem, they said it needs updating and sent me a file to put on a USB. I did as they suggested, it installed the update and then rebooted. At this point it hung on the start up logo and that is where it stayed. I contacted them again and they told me I should download another file which I did and then carry out a sequence with the reset and the power button to get into recovery mode and this is where the problem lies. The head unit only has soft touch buttons with dont operate until the OS is loaded but as it hangs before that there instructions dont work, I have tried to exolain this to them but they dont seem to grasp it. I realise that Pumpkin dont actually make anything and are just resellers and I dont think they are explaining the problem to whoever supplied the unit as there must be a way to launch recovery mode from boot up.

I do not know anything more than the Pumpkin model number but i am hoping somebody may recognise the head unit and be able to advise me. Not totally sure but I think it might be a PX30.

Update: Pumpkin confirmed the head unit is "PX30 CPU processor. It comes with an Android 10.0 system, 2GB RAM, and 32 GB ROM". However at this time cannot give me the procedure to get into recovery from a hung machine.

Pumpkin Model number AA0552B-B02

Purchased April 2021

Screen size 10.1" Rotates

OS Adroid 10

Thanks in advance for any help
[LG G8 Questions & Answers] Senko7699:
I've dissasembled it cause i needed to use edl pins, didn't find any physical damage either, but for some reason only one slot works ever since i've bought it.

Maybe this is the truth?

https://www.reddit.com/r/lgg8/comments/lwz88t
[Google Pixel 7 Pro] AthenaLod:
Hey guys,

Haven't written here long ago. But I have a problem with sideloading Telegram using the APK from their website. But it doesn't install. Any thoughts? Is it an APK problem or a Pixel problem?

Thanks in advance!
[Google Pixel 7 Pro] sawdoctor:
Probably installing a 32 bit version and you need to install 64 bit. Try getting telegram from fdroid if you don't want to use playstore
[Google Pixel 7 Pro] AthenaLod:
Thankss. Still didn't work
[Google Pixel 7 Pro] simplepinoi177:
Do you have to "sideload" it? What's the matter with using the OS's Package Installer? Is there a particular consideration/condition that should be aware of to properly assess and give tailored advice to...?
[Google Pixel 7 Pro] schmeggy929:
Also what is wrong with installing from the Play Store?
[Google Pixel 7 Pro] Sysop_PNW:
Shorten the name of the APK.

Example

testg.apk
[Google Pixel 7 Pro] AthenaLod:
The version on the store puts some limits on channels and their contents that the site's APK doesn't
[Google Pixel 7 Pro] sawdoctor:
Try a 3rd party fork then i love nagram

GitHub - NextAlone/Nagram: The third-party Telegram android app.

The third-party Telegram android app. Contribute to NextAlone/Nagram development by creating an account on GitHub.

github.com

But nulgam forkgram and others have loads of extra features
[Google Pixel 7 Pro] AthenaLod:
Hey guys,

I have a 360 camera (LG CAM 360) that I've used on my phone before the Pixel 7 Pro with an older version of Android. The manufacturer stopped supporting the camera but I still want to use it. Anyway to do that?

This is the link to the APK: https://m.apkpure.com/lg-360-cam-manager-will-closed/com.lge.sc

Thanks and appreciate thinking about this with me
[Google Pixel 7 Pro] synesthete:
I looked inside the APK and it looks like it only supports armeabi-v7a architecture. Pixel 7 Pro is 8.
[Google Pixel 7 Pro] AthenaLod:
Is there anything you or anybody else can suggest to make the app compatible or a similar app that replaces it and connects with the camera?
[Google Pixel 7 Pro] synesthete:
I'm not sure. I'm not really an expert on that. All I did was look in the lib folder in the APK. Pixel 7 only supports 64 bit apps, so that might be an issue if the app was only built for 32bit (in not sure if it was. I didn't know how old the app in). There is a mod here on XDA that allows you to run 32 bit apps. That wouldn't necessarily fix it if doesn't suppose ARM 8 architecture. Does LG maybe have a newer camera app that is similar?
[Google Pixel 7 Pro] AthenaLod:
No, LG stopped creating these cameras and stupidly stopped supporting the app. Can you please point me to the 32-bit mod app to give it a shot?
[Google Pixel 7 Pro] otonieru:
You need to mod your pixel to support 32 bit. There's thread avout that here
[Google Pixel 7 Pro] synesthete:
Here is the 32bit mod https://xdaforums.com/t/magisk-magisk-zygote64_32-enabling-32-bit-support-for-apps.4521029/
[Samsung Galaxy S23 Ultra] jayjang:
I got US U1 XAA version.

I want to get some of the pre-installed apk file of other CSC version, TGY/BRI etc...

The firmware could NOT be flashed on my phone. I could NOT copy the apk file via adb command.

So, I am thinking maybe I could download the firmware from samfw.com and extract it, then get the apk file.

I tried 7-Zip, it could extract the big .md5 firmware file into some .img files. But these .img file could not be extracted any more.

I kept trying simg2img. It could extract .img files to another encoded .img files. But I still could not open those new .img files.

Does any one know any other tools or magics?
[Samsung Galaxy S23 Ultra] kin201303:
Your phone must be rooted to install the system apk

pre-installed apk or system apk download link

Download Samsung Electronics Co., Ltd. apps for Android - APKMirror

Download Samsung Electronics Co., Ltd. apps for Android - APKMirror Free and safe Android APK downloads

www.apkmirror.com
[Samsung Galaxy S23 Ultra] jayjang:
Oh...that's very sad...I do not want to root my phone...
[Samsung Galaxy S23 Ultra] AsusZenFone3Deluxe:
Use CRB Custom Rom Builder
[OnePlus 8 Pro  Guides, News, & Discussion] Mohammed saliq:
I have made video check it to unlock 90 fps on any OnePlus with oos 13.1, 13,12,11 on any OnePlus series

Check this Video

Join my Telegram for support
[OnePlus 8 Pro  Guides, News, & Discussion] ZG_DEV:
Thanks but can you type the guide here ?

I cannot access the link, I don't know how but I cannot access it
[OnePlus 8 Pro  Guides, News, & Discussion] Mohammed saliq:
Ok I will try to write the post
[OnePlus 8 Pro  Guides, News, & Discussion] ZG_DEV:
Thank you!
[Redmi Note 9 Questions & Answers] lastbutnotleast:
Hi there,

through whole my carreer i experienced few hard bricks but i always managed to fix it by using few guides.

Now i experience hard brick but i'm not able to find any guide or fix it by myself.

First of all, i managed to install ArrowOS (unlocked device, installed custom recovery for ArrowOS and custom ROM).

It worked just fine but phone randomly rebooted and user of this phone was not happy at all because of that.

I tried to go back to MIUI but somehow bricked OS.

So now phone just reboots ad infinitum.

I can't enter BL, Fastboot, Recovery.

Pressing Power + Vol UP, Power + Vol Up + Vol Down, every other possible way, does nothing. Phone just reboots on and on.

Reboot, logo, around 20 seconds at logo and reboot again.

After reboot there is maybe 1 second window when i can see Mediatek Device under Device Management (under COM 9 or so) but it disappears almost immediatelly.

I found guide about flashing when you can't enter Fastboot. It was on androidwin and it was called: How To Unbrick A Hard Bricked Redmi Note 9 [No Fastboot Mode]

It didn't help either. To be able to use it i have to have at least bootloader availability but i don't.

Can anyone help me with this hopeless issue? Phone is worth maybe $50 and later iterations of MIUI destroyed it but custom OS gave me a hope to make it a usable device again.

Thanks
[Redmi Note 9 Questions & Answers] ZG_DEV:
To control the bootloop ( shutdown the device), easily press all buttons until the phone shuts down ( press for 10-13 seconds).

Reflash stock rom/ lineage os rom using BROM mode (vol.up + vol.down + release when connected to pc)
[Redmi Note 9 Questions & Answers] lastbutnotleast:
Phone simply can't be shutdown by using any keys combinations. It can be done only by discharging battery and after connecting to PC or using charger phone just bootloops again.

BROM can't be used either. Pressing vol up and down plus release them when connected to PC does only 1 thing: under COM/LPT it shows Mediatek Device under COM9 for 1 seconds, i hear single sound telling me that device has been connected to PC and it dissconnects no matter if i press buttons or not. Also bootloops. Mi logo, power off, power on, mi logo, power off etc.
[Redmi Note 9 Questions & Answers] mvikrant97:
Flash it in BROM mode and it will be fixed.
[Redmi Note 9 Questions & Answers] mvikrant97:
Install these drivers from here and configure the MTK USB PORT using the lib usb.

DriverInstaller_signed

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com
[Redmi Note 9 Questions & Answers] ZG_DEV:
Holding all keys ( power button and both volume keys) works !

Just keep pressing them for 10-13 seconds

+ I guess you don't have the correct mtk drivers, what drivers did you install ??