yashsingh1/xdaforums huggingface dataset:
[OnePlus 11] doge two:
<Mod Translation>

English:

Hello, I would like to ask about how to add the Chinese version of PHB110 mobile phone to crdroid. I have tried following the tutorial many times, but cannot boot smoothly.

********************

Chinese (Simplified):

你好，我想问一下关于PHB110中国版本的手机应该怎么加入到crdroid 我尝试了很多次按照教程的方法，都无法顺利开机
[OnePlus 11] khusika:
Greetings @doge two,

As a courtesy, I have translated your post above. As a friendly reminder, we ask all members to please post in English or add at least an English translation to your Chinese posts, as part of XDA Rule No 4.

Spoiler content hidden.

Regards,

Khusika - Moderator.
[Redmi Note 10S] notKubi:
Guys, I recently put CrDroid on my Redmi note 10S, but the Google apps (play store) disappeared, someone help me please.

I also wanted to know if there is KernelSU for rn10s
[Redmi Note 10S] notKubi:
I found a GApps But it's giving an error, saying there's no available space
[Redmi Note 10S] Syntaxis_:
Android version?
[Redmi Note 10S] notKubi:
Hey bro, i already solved
[Samsung Galaxy S10+ Questions & Answers] smcw:
Today my Galaxy S10+ just randomly rebooted in my pocket and now will not boot past the 4 spinning dots that usually just appear for a brief moment after the Samsung logo. It is sort of booted to android though as the volume up/down cause the volume menu to appear and I can turn on/off the screen with the power button but all I see forever is those spinning dots. Occasionally if I click repeatedly I can see the cell signal indicator appear for a split second.

I cannot see the phone by USB in recovery or when booted to the spinning dots. It does show up via adb sideload but that's no help to get my data.

I have searched and searched for any solutions to get my data back, but it seems that the stock recovery doesn't really offer any recovery options other than formatting the phone.

I would really like to get my data from the internal storage and if possible my messages, etc. backed up somehow.

Thanks for any advice!!
[Samsung Galaxy S10+ Questions & Answers] blackhawk:
Try getting into safe mode. If you get it to boot into safe mode, grab that data, then factory reset in settings.

It's important to regularly and redundantly backup critical data. Androids rarely crash and burn, but it can happen due to corruption, bad apps, malware, hardware failure or physical damage. You can never have too many backup drives...
[Samsung Galaxy S10+ Questions & Answers] smcw:
I did manage to get into safe mode but it still gets stuck at those spinning dots.

Yeah I know about the backups, luckily all my photos are synced to my home nas, but I don't think all my messages and other things are backed up. Years ago I would backup all the time with a 3rd party recovery, but these days my last couple phones have been so reliable I got complacent I guess.
[Samsung Galaxy S10+ Questions & Answers] blackhawk:
Keep trying. My N10+ starting boot looping from a bad launcher and/or power management app.

After a half dozen times it booted itself into safe mode. I wasn't expecting that.

Well you're always going to lose some data in a crash, just you don't lose a huge chunk or all your critical data!

Using your expandable storage as a data drive can help protect your critical data, use it as an unencrypted data drive. All critical data goes there. Use apps that allow that like Poweramp and ColorNote. Only apps, the download and dcim* folders go on internal memory. Then make sure to copy the dcim folder over to the data drive regularly (don't use dcim in the data drive folder name!), then simply backup the data drive.

In most crashes the SD card is unscathed. As long as you didn't encrypt it you still have your data.

*you can have the cam write directly to the SD card, but it could cause a bottleneck. Internal memory is much faster.

Use a V30 rated card like the Sandisk Extreme.

Personally I prefer keeping two copies on the phone which is why I use the former method.
[Poco F5 Pro / Redmi K60 (China)] devilbatghost:
just wondering what is the real battery capacity of Poco F5 Pro? I checked some website telling that it has 5160mah but i tried different apps like Device info and M Analyzer and it shows 5500mah.
[Poco F5 Pro / Redmi K60 (China)] flakeforever:
<item name="cpu.active">17.47</item>
<item name="cpu.idle">5.86</item>
<item name="cpu.suspend">0</item>
<item name="battery.capacity">5500</item>
<item name="wifi.on">0.83</item>
<item name="wifi.active">174.8525</item>
<item name="wifi.scan">28.44</item>

The config can be found in the stock ROM, and it is set to 5500.
[Poco F5 Pro / Redmi K60 (China)] bayad:
As I know, Poco F5 Pro/Redmi K60 are same device but little difference in battery capacity.

Poco F5 Pro : 5160mah

Redmi K60 : 5500mah
[Poco F5 Pro / Redmi K60 (China)] flakeforever:
That power config I pasted is from the global rom. I haven't verified it for other regions. So, I believe if the device tree and power config describe it as 5500, then it is 5500. It's challenging to get the correct value from the website.:)
[Poco F5 Pro / Redmi K60 (China)] voetbalremco:
Xiaomi themselves define it as 5160mah:

POCO F5 Pro - Xiaomi Nederland | Mi.com

POCO F5 Pro : Ignite your hyperpower. Flagship Snapdragon® 8+ Gen 1 processor, WQHD+ 120 Hz AMOLED DotDisplay, 30 W draadloos snelladen, Drievoudige camera van 64 MP met OIS.

www.mi.com

I think it is correct it differs from the Redmi K60 model.

Still the SoC is very efficient and the battery life is very good.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
This phone seems like a perfect candidate to run LineageOS. Anyone know how to get started? I have never compiled before, but I know how to set up Ubuntu and the corresponding programs.
[Lenovo ThinkPhone (by Motorola)] SigmundDroid:
Not sure if you really wanna go this road, would look similar to this:

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

First time I see this one (thanks to you!) and I am slightly jealous as I just got a Samsung A52s and didn't realize the lack of VoLTE before (Samsung typical).

I could imagine this gem will soon get supported.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
I checked with the LineageOS devs on Discord, and they said no plans, but it could happen officially. Never know.
[Lenovo ThinkPhone (by Motorola)] SigmundDroid:
Fingers crossed :D
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
I considered trying AOSP so I could get rid of G**gle, but I've never rolled my own before and just don't have time.
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Wow. With stock firmware I've disabled all G**gle apps, and rooted, but now vital apps like WireGuard, Aptoid, AdAway, etc are non-functional. I am NOT enabling G**gle apps out of coercion.

This is a serious problem. I have run alt firmware for a decade and half of that G**gle app free.
[Lenovo ThinkPhone (by Motorola)] SigmundDroid:
Yikes, opposite effect of what was intended, eh?

I guess it's waiting then for real LOS...
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
I doubt it will happen unless I attempt to DIY. Never built phone firmware before and I don't have time, but it's that or let this phone collect dust.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
We could pitch in and get a dev a phone if one of them is willing to work on it. Maybe Nolen would, not sure if anyone is available or wants to.
[Lenovo ThinkPhone (by Motorola)] fire3element:
Don't want this to devolve into a spitting match, but I want to state my position.

Knowing how toxic that community is, their elitist attitude and snarky remarks to nearly everyone that is not within their little inner circle... I did reach out anyways in an attempt to gain some ground on getting Lineage moving for this device. (for clarification I was asking questions about how some stuff worked, not begging someone to port Lineage to the device)

The response I received was as expected. Rude, snarky, and belittling.

I have ZERO interest in anything connected to Lineage going forward.

I wish I had time and skill to port something so complex myself, but I don't.

Best I can do is strip down the existing stock rom and limit as much G stuff as possible. (which I have been working on for other a month)

As of now, I have most of what I want working. There's still small bits here and there that need tweaking, however most stuff works (I think).

Have been trying to find the time to write up all I've done to this phone, it's just... a lot. My time is limited, and writing a guide style post explaining all that has been modified would take a few weeks. (I work long hours out in the field, not at a comfy desk job)

Anyways, wanted to give some feedback and say that even if this device does not have Lineage, it's not that big of a miss. We can still do a lot with an unlocked bootloader and root.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
I get what you are saying. From their discord, they have a couple of lead devs in there that are definetely not patient, but at the same time, they are volunteers and I seen the insane questions that some people post on there, on XDA and TG. It's got to get to you at some point and coming from someone who has worked in tech support, it wears you down so much, so sometimes the only strategy to keep going is to become hard like that. But I know there are lots of good people in there, they are just busy with life and maintaining multiple devices.

Maybe you can get some hints from this guy. Seems to know what he's doing and it's also a Motorola device.

[ROM][U][rhode] Unofficial, optimized LineageOS 21 - June 26th

In this thread I'll share with you my personal builds of LineageOS 21 for the Motorola Moto G52 (codename: rhode). These builds are unofficial LineageOS builds, customized with my favorite tweaks and features, and with some interesting...

xdaforums.com

Just reading that first post is awesome.

I've been looking at setting up something like LineageOS for out phone and doing some reading as well but I don't know how to even get started yet.

Also, if we could get 20 people to pitch $20, we can ask one of the devs if they would like to work on the phone.
[Lenovo ThinkPhone (by Motorola)] TheComputerDude:
Hi, just got this phone. I've built a mostly functional TWRP recovery for my moto g stylus 2021 (minsk codename). I would be willing to get started on a version for the bronco)

If that pans out successfully, I could start on lineage. Let me know what y'all think.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
Yes please. That would be awesome.
[Lenovo ThinkPhone (by Motorola)] TheComputerDude:
@fire3element @Meowdib would it be alright if we can start a telegram? I'd love to catch up with y'all on this phone.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
Sure
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
I've got the LOS source, but am hung up at the point of customizing to the TP.

Yes on IRC #lineageos they are snarky, condescending AND non-technical as a bonus. Fsck the kids.

I've asked the dev of LOS for Moto Edge 2023 for guidance. Hopefully he'll have mercy.

I believe a key part of this somehow is asking MotorolaMobilityLLC to release the source for a given device. Our SoC is the SM8475, so I suspicion it would be in the kernel-msm family.

I don't trust Telegram, as an infosec type, but I've joined the three other members there.

Edit: Requested the kernel source:

GPL | Source request for Motorola ThinkPhone XT2309-3 - T3TBS33.2-47-2-4 · Issue #593 · MotorolaMobilityLLC/kernel-msm

Build ID T3TBS33.2-47-2-4 Additional Please release the kernel tree, device tree and all the necessary audio/video/display techpack for Motorola ThinkPhone Model number: XT2309-3 Codename: bronco c...

github.com
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Thankfully I've received a generous and comprehensive response from ThE_MarD on adapting LOS, although I understand only about half of it. Will study the rest.

I don't feel comfortable publishing it as it was in backchannel.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
https://xdaforums.com/t/lenovo-thinkphone-by-motorola-codename-bronco-kernel-sources.4562773/ so this isn't for our phone? Or needs to be up to date?
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
That's an older kernel and modules with not-updated security patches. I've requested current.

Anyway, I still don't understand how LOS, LOS for the sm8475 chipset, kernel, TP-specific modules & configs, and proprietary all go together.

As @ThE_MarD told me:

It is hard to not be discouraged when you don't see a prospect for success. Hope is a mandatory aspect of Life.
[Lenovo ThinkPhone (by Motorola)] ThE_MarD:
Maybe Lenovo ThinkPhone merges ASB and Android Linux Stable, but that's something you could always merge too tbh. The most important part would be to get the open source kernel working on your device and then you can do all kinds of extra merges on top later

Please check the commit history of the repos I mentioned as you would need to add support for bronco to them. For example this was the initial commit to add zeekr

sm8475-common: Support zeekr · LineageOS/android_device_motorola_sm8475-common@9d57bb6

Uevent updated from T1TZ33.3-62-9 Change-Id: I81b7e7c8b9fc55b0f85db10086f5a8fd39d40bf4

github.com

Mostly, you check what your stock ROM has for values and if it's different than what's in these trees? Modify them for bronco

Tbh I don't even know C or CPP or Java, I just learnt git and how to read commits and how to fetch and cherry-pick and I managed to figure out how to make a bunch of devices work on LineageOS, so it doesn't take a genius coder to make this stuff work, it's mostly learn git and the structure of the different repos
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Thanks ThE_MarD, but I only know git to the extent of cloning. Checking commit histories is something I have to study. (I'm a real estate developer by profession, although skilled with Linux)

I've read that somehow there is a way to flash the kernel and associated modules to a device but it's something I have to explore. In the 2000's I always built my own Linux kernels so that shouldn't be a problem, although I've just realized that the zeekr CONFIGs you referenced in backchannel may be kernel config lines.

I've studied builds on other devices, such as this, and there seems to be a script which can pull from my phone's stock the proprietary blobs (./extract-files.sh), although these may be compiled for the particular kernel. Exploring, although am extremely busy trying to keep my business from flying apart.
[Lenovo ThinkPhone (by Motorola)] fire3element:
Hope no one got the wrong impression from my delayed response. Run my own business and have been working some insane hours. Not much time for poking phone.

Completely understand that. There's a line here though that I would argue is a step too far. This community has been known for this behavior for a long time. My single experience did not form my entire opinion on this, it has been a collection of them over time. Also not fair of me to claim ire against all those associated with Lineage due to the bad eggs.

Anyways, this discussion is not constructive to development of this device, so I will leave it there.

Happy to work with like minded individuals who are not jerks.

Some interesting stuff in there. Thank you for posting.

That's awesome! I started to look into how difficult it would be to build TWRP... got scared pretty quickly. lol

I am not on telegram unfortunately. I have an element account and disc order however.

Trying my best to move away from the centralized clients to promote a more secure world.
[Lenovo ThinkPhone (by Motorola)] ThE_MarD:
@Quantumstate the extract files is to extract the proprietary vendor blobs from the stock ROM for use with the custom ROM, so it'll be important for stuff like camera, UDFPS and other hardware to function correctly, but it it's separate from the kernel
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Well I'm getting dead air to my request for kernel source so far, and mine is the only issue outstanding. Think you, MotorolaMobilityLLC. (said like Homey the Clown...)

I've only learned that once I get the kernel source and modules, I must cross-compile to arm64, but G**gle's cross-compiler is just one text file called OWNER with nonsense in it. HowTos are 10 years old and nobody's bothered to write a current one. Anyway, once compiled I have no idea how to graft that into the phone as I can't find coherent documentation. Only chaos.

If only I could get away from Android and have all my apps. Or at least some kind of structure to the madness. Everyone doing this seems to think reflexively and intuitively, not rationally. The mildew... The mildew...

I'd be happy to be able to compile the older source meow refers to, but there is no config file, and amusingly both files have the same name but different contents so corrupt one another. And absolutely no instructions. I guess I'm supposed to swirl my mind up into a giant vortex and fling it out into the nothingness and create from the Great Void something from which there was nothing. Instead I think I'll start drinking. Maybe I should get rid of this fine example of a phone, for the lack of firmware.

I am not having G**gle apps, under any circumstances.
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Alright, I have lost interest.

I'm not putting up with this Gen Z disorganization and stupidity, and I would love to ditch Android altogether. I'll buy a Pixel of some kind and install GrapheneOS.

Regrettably I am forced to sell this phone. A sad goodbye to the ThinkPhone.
[Lenovo ThinkPhone (by Motorola)] fire3element:
I understand your frustration. End up wasting a lot of time trying to find solutions, ultimately to find out what we wanted to do won't work anyways.

Before you get rid of your TP, have you considered trying to debloat the stock rom until an alternative rom or solution is available? I posted my list of disabled apps that removes almost everything G related on the phone over in the apps/mods rec thread.

Also if you have any apps you like to use throw them in the thread too.
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Thanks, but I've decided to go with GrapheneOS. I was forced to buy a Pixel 7 Pro as I'm a real estate developer and don't have time to futz around. Watch out because there are tons of Pixels with just 128GB, and there's no SD card slot.

I run my own DaviCal server at home and the phone connects with my LAN through WireGuard. On the phone Davx5 syncs my many contacts for work and personal as well as my work and personal calendars. (aCalendar+) ProtonMail handles my business and personal domains, ProtonVPN makes it appear that I'm in Switzerland, ProtonDrive securely shares my files, and ProtonPass handles my passwords. ProtonPass also lets me create a fake email address for when I need to set up an account somewhere, and keeps track of it. If I get junk mail to that address I know who sold me out since their domain is part of the address. AFWall+ for firewall, Sophos InterceptX for virus, File Manager for Root, AirTag Tracker, TMobile ScamShield, and so on. I always look first on FDroid for apps, then on Aptoid. Magisk for root of course.
[Lenovo ThinkPhone (by Motorola)] Meowdib:
Seems like you have it figured out. I also want a Pixel but don't know if I can handle the heat of the modem. Nice setup though. Hope for the best for you.
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
I've bought and loved Motorola phones since 1997, but I am

not

going to be trapped into G**gle apps. And GrapheneOS is compelling, however much I hate buying a G**gle phone.

In this credible review there is no mention of heating. Maybe that's a problem with earlier Pixels. I know the Pixel 6 has a problem with black blobs on the screen, and burn-in. Two big things I look for are water-resistance (I often work in the rain - Seattle) and this is IP68; and battery life and this endurance-tested at 83 hours, fine with me.

This is an experiment so I went with a cheaper Pixel ($340, eBat) to see how it works out.
[Lenovo ThinkPhone (by Motorola)] Quantumstate:
Ok on GrapheneOS/Pixel 7 Pro now and all set up. Looks good. I used the CLI method to install, and found that on the crappy CentOS 9 I'm still running on my laptop, fastboot was too old even though the OS is "up to date". Had to download the Android SDK to get newer fastboot. Time to upgrade to MicroOS.

A few things to get used to with GOS:

- After the OS install you *re-lock* the bootloader. This is actually peace of mind.

- They allow G**gle apps but all are strictly sandboxed. I found that you still have to sign in to Play, which is a non-starter for me. Aptoid.

- No more rooting. It's actually a major security problem. So no more Root File Manager, AdAway, InterceptX, etc. But the GOS Files app is fine. Very little else is installed in the OS.

- The Pixel has no provision for an SD card slot. Again SD is a major security problem. Unfortunately this week I threw my phone in the washer (inside my coat) and the washer did what washers do. Luckily the SD card had all of my data. Gotta set up regular backups for the Pixel.

- The chat community (use Matrix) is actually helpful and friendly if you aren't stupid or lame. Documentation is actually rational, informative, and thorough.

- Motorola surprised me in not taking the StinkPhone back, as I am past their niggardly 14 day threshold. So I have to freakin' sell it at a loss.

I am set up and rockin' this rig now. Looks like it's going to be fine. The phone is of comparable quality to the Motorola, maybe better at IP68. My transparent case just arrived.
[Lenovo ThinkPhone (by Motorola)] kevin#34:
it's a pity that Lineage didn't develop the ROM for the thinkphone... here in europe it can be bought new for less than 300$, but since there is no plan for a lineage ROM, its life expectation seems to be quite short... :(
[Lenovo ThinkPhone (by Motorola)] Don Kihoty:
Where???
[Lenovo ThinkPhone (by Motorola)] kevin#34:
Italy, but I do not know how long this offer will last for...
[Lenovo ThinkPhone (by Motorola)] Don Kihoty:
Link please
[Lenovo ThinkPhone (by Motorola)] kevin#34:
here:

https://www.subito.it/telefonia/nuovo-sigillato-thinkphone-motorola-top-gamma-perugia-541661150.htm

is a kind of craigslist for Italy
[Lenovo ThinkPhone (by Motorola)] Don Kihoty:
Yeah, if it were from a shop, i would get it.

Now i ordered the Edge 30 Ultra for 430€ new - same chipset, more RAM,

a bit smaller battery, but it is a great phone for that price.
[Lenovo ThinkPhone (by Motorola)] kevin#34:
yeah, but even from a shop, I guess from Europe to US not convinient anymore (shipping, import duties...)

I hope very much that there will be a Lineage development
[Lenovo ThinkPhone (by Motorola)] Don Kihoty:
Im in Austria, but hey, i dont trust "used marketplace" without buyers protection.
[Lenovo ThinkPhone (by Motorola)] kevin#34:
ah ok, thought you were from US..

however I know the seller personally, I can ask him to sell the phone using the buyer protection plan offered by that site, if you want (if so, semd me a PM)
[Lenovo ThinkPhone (by Motorola)] Don Kihoty:
Its a bit suspicious, because there are two phones with that price, one seller is "R.L" and the other is "L.R":

https://www.subito.it/telefonia/nuovo-sigillato-thinkphone-motorola-top-gamma-perugia-541661150.htm

https://www.subito.it/telefonia/nuovo-sigillato-thinkphone-motorola-top-gamma-perugia-541900103.htm

I would buy it, but only in person. Its smells just wrong.

And i know something - if the offer seems to good to be true, its not true.

And loosing 300€ does not taste good to me.
[Lenovo ThinkPhone (by Motorola)] kevin#34:
I already told you, I know the person, I bought mine form him, you can buy via the website or using paypal if you like.... if you are interested, send me a pm
[Lenovo ThinkPhone (by Motorola)] arpio:
Shrp recovery from eqs works on thinkphone.

[UNOFFICIAL] SHRP recovery for Motorola Edge 30 Ultra (eqs)

...and finally, after A LOT of "underground" work it's the time to release here too my porting of SKYHAWK Recovery Project (SHRP) for Motorola Edge 30 Ultra!!! But first... DISCLAIMER: - to install a custom recovery to your device you need an...

xdaforums.com