yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] neoobs:
HTC is already telling people how to cook your own rom. I want to know how they go about deciding who gets the updates and when... are the build hosts all the same? or do they differ? is our ID sequential? does it mean something? At this point I don't think there is any useless info... we don't know enough about the entire process.

I will see what I can sniff in wireshark but I am not sure. I would really like to get my hands on a prerelease version and find out it's info.
[G1 Android Development] damien667:
HTC takes the Android SDK with kernel and rootfs, compiles it with the ARM toolchain, adds the proprietary t-mobile stuff, and makes an image to flash onto the phone. All of this information AND sourcecode is available from Google's GIT repository in the android SDK sourcecode. You can find it all here:

http://git.source.android.com/?p=platform/vendor/htc/dream.git;a=tree;h=refs/heads/master;hb=master

Since this phone goes through t-mobile, they are the ones who decide the updating process and order. According to their forums it's random.

http://forums.t-mobile.com/tmbl/board/message?board.id=87&thread.id=8855&view=by_date_ascending&page=1

The point is to get a back door into the root shell account so we can run whatever code we want on the phone as the root user... this will give us the ability to put a home-cooked android compilation on the phone if we so pleased.

Another way to do this is to figure out how the bootloader works on the phone and somehow tell it to boot up from a kernel in the sd card instead of the one in the ROM.
[G1 Android Development] neoobs:
... I read that google was responsible for deploying the updates and that is why it is random. I think it is because they use your android ID not your IMEI or any other number. And I bet all our android ID's have similarities.

BTW... I ran the debug client and the FOTA is cancelled by the server. It then crashes. So I am guessing what we are doing isn't working. There must be something else.
[G1 Android Development] staulkor:
I have my G1 connected over wifi to my network. Using Cain to arp poison and wireshark to sniff.

Sorry to say, but I saw this one coming...the "call home" is encrypted via TLS/SSL.

Mine was contacting Google at 74.125.19.102. I captured the ssl cert. You can get a copy of it here: http://rapidshare.com/files/158237323/74.125.19.102.crt.html

More info to come :)
[G1 Android Development] neoobs:
I figured it would call google.... but google sends an abort to my device. I know what classes it uses to call home... maybe we can figure it out in there.
[G1 Android Development] staulkor:
Caught something interesting. Apparently when it calls home, its gives google quite a bit of information. I have censored some of it, such as IMEI, serial number, etc

POST /checkin HTTP/1.1

Content-type: org/x-json

Content-Length: 271

Host: android.clients.google.com

Connection: Keep-Alive

User-Agent: Android-Checkin/1.0

{"imei":"***************","checkin":{"build":{"bootloader":"0.95.0000","serialno":"************","carrier":"tmobile","radio":"62.33.20.08H_1.22.12.28","revision":"128","id":"tmobile/kila/dream/trout:1.0/TC4-RC19/109652:user/ota-rel-keys,release-keys","product":"trout"}}}HTTP/1.1 200 OK

Date: Tue, 28 Oct 2008 05:01:58 GMT

X-Content-Type-Options: nosniff

Expires: Tue, 28 Oct 2008 05:01:58 GMT

Cache-Control: private, max-age=0

Content-Length: 102

Content-Type: text/html

Server: GFE/1.3

{"stats_ok":true,"time_msec":1225170118172,"intent":[{"action":"android.server.checkin.FOTA_CANCEL"}]}
[G1 Android Development] staulkor:
I dont think this feature is going to help us. It just looks like a way for the phone to call home. Now if somebody can get a full capture of the update when its transferred, then we might have something useable.
[G1 Android Development] neoobs:
I don't think we even need to sniff it... I just think we need to dump it from the device. My device has a file in its firmware folder... hmmm
[G1 Android Development] staulkor:
How did you find that out?
[G1 Android Development] neoobs:
used ADB to browse my files
[G1 Android Development] syrusfrost:
The checkin mentions keepalive, might this just be a keepalive for push services?

I don't like how it's sending all of the phone's info w/ just ssl. You could conceivably swipe someones IMEI and serial no. and send a keepalive, I wonder what you would start getting if you did that...

I would prefer a session key hashed w/ time w/ a public key from Google. That would do, right?

Whatever... This kind of bothers me.
[G1 Android Development] neoobs:
I have the certs from my phone that I pulled. Wonder if that will help.
[G1 Android Development] staulkor:
The data I got was not encrypted! There was some other information that was encrypted that I havent tried to crack.

Unless wireshark decrypted the data on the fly (which I dont think it did), the data I retrieved was NOT encrypted.
[G1 Android Development] jrgong420:
I am no linux guru......but why not write a backdoor into the kernel if we have the source?? I dont think i know C , nor linux system programing enough to do this...but it seems relatively easy.

or we could always wait for an exploit for the 2.6.25 kernel and then compile it for the android.

I would personally love to be able to use the nice andriod ui, but have the ability to pop a root shell and run all of the linux code i have come to love.
[Samsung Galaxy A02s] Siegemus:
Hello! Even though this tutorial is for a specific device (I think, please correct me if i"m wrong), will this work for basically any device? And will this work for devices running Android 11 and 12?
[Samsung Galaxy A02s] Zonestc@:
SM-A032F / DS
[Samsung Galaxy A02s] mahdhatre:
Hey. So I almost got this to work on a S6 Edge+ G928V, zenltevzw. It gets to 99% of compile then fails with this error:

mkbootimg: error: ambiguous option: --dt could match --dtb, --dtb_offset

The only step I deviated from was delete $(call inherit-product, vendor/omni/config/gsm.mk)

It didn't exist, it is common.mk

It was the only other instance of omni aside from the one near the bottom, I tried keeping it and removing it

Have verified it is not a seamless device

Some suggestions I found where to use mkboot instead of mkbootimg but I don't really understand the whole -dt/--dtb thing.

Side note to others trying this, I first tried this under Debian Bookworm but it threw hurdle after hurdle at me. Then tried on Ubuntu LTS and everything went much smoother (aside from 99% compile fail)

Did this on Win11 WSL2. After first fail, bumped up ram and page to 15.5gb

I plan to run this again on bare metal

Best guide I've found for my device and appreciate your work.

Any suggestions on how to fix this?
[Samsung Galaxy A02s] elimoviebuff:
I have a Cubot P50 (mediatek) Im wanting to install a custom recovery on my phone but Im not skilled enough to even do a ported twrp. Im looking for a skilled developer who is willing to do this for me.
[Samsung Galaxy S7 Edge Questions and Answers] Vahidpro:
Guys I tried to update Magisk app to 24.1 version and after that Magisk didn't work correctly, My device is Galaxy S7 Edge with FloydQ custom rom android 10, here is the status and how do I can install it properly?

View attachment 5526345
[Samsung Galaxy S7 Edge Questions and Answers] xabu:
Start here .... it's a link from earlier today.
[Samsung Galaxy Z Fold3] frogdr1ver:
Tried uninstalling and installing the hp print app, no matter what any time I try to print from any app it crashes? Any ideas? Running the lastest BVA9 Android 12
[Samsung Galaxy Z Fold3] ButterflyFlutterflyMyOhMy:
Can you print from the native Print function? Might be the HP app doesn't work on 12. I have Epson, so can't test it for you.
[Samsung Galaxy Z Fold3] frogdr1ver:
I'm pretty sure I've tried that with the same result, I've been through so many combinations! I'll remove the hp app and try again just using the android one.
[Samsung Galaxy Z Fold3] ButterflyFlutterflyMyOhMy:
Did it work for you?
[Samsung Galaxy Z Fold3] frogdr1ver:
No it didn't, removed the Samsung print app and the hp print app so only the android stock one left, cleared cache, tried to print and got the same crash
[Samsung Galaxy Z Fold3] ButterflyFlutterflyMyOhMy:
That's frustrating! I assume you will trying to print different documents and not just the same one? Sometimes, files get corrupted. I had to help a family member recently who received a PDF from work that somehow always stopped printing at the same page and told the printer the paper was jammed (it was not), no matter how many times it was printed and what device it was printed from. I'd never seen anything like it! I told them to request a brand new scan of the document.
[Samsung Galaxy Z Fold3] frogdr1ver:
Yep it's a pain in the ass alright, I don't even get as far as printing, whenever I ask it to print anything using any app it has a think then crashes.
[Samsung Galaxy Z Fold3] ButterflyFlutterflyMyOhMy:
That sucks. You haven't disabled any services that would affect printing? Have you tried clearing cache and data for the print service? Were you ever able to print with this phone, or did it happen after the update or installing an app or?
[Samsung Galaxy Z Fold3] frogdr1ver:
I've not had the phone long tbh, I think this is the first time I've tried to print. Don't think I've disabled anything, and not sure what to look for there. Cleared cache on the apps, and on the phone.
[Samsung Galaxy Z Fold3] ButterflyFlutterflyMyOhMy:
Okay. Have you Googled the problem to see if anyone else had a solution? I did that the other day when my Always-On calendar suddenly was on the wrong date (happened after keeping the phone in battery-saving mode during a two-day power outage), and found the solution from years ago where going into the Samsung calendar app (which I don't use) and telling it to lock the time zone worked.
[Samsung Galaxy Z Fold3] frogdr1ver:
Yeah that was the first port of call, tried a few things and nothing made a difference. I'll keep fiddling away
[Realme GT Master Edition] salva74:
Mod edit - translated by https://www.deepl.com/translator:

Good morning everyone.

Who can tell me how to switch from Ios to Android ( realme gt master edition) the contents of Whatsapp, calls , sms, documents.

Thanks -

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

Buongiorno a tutti.

Chi mi puo dire come passare da Ios a Android ( realme gt master edition) i contenuti di Whatsapp, chiamate , sms, documenti.

Grazie ·
[Realme GT Master Edition] Oswald Boelcke:
@salva74 Welcome to XDA. I hope you'll always find the support you require.

This is just a friendly reminder that English is the mandatory language and as courtesy, I've translated your above post. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Italian posts.

Spoiler content hidden.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Samsung Galaxy Tab E  Questions & Answers] Epicskunk:
As the title says. I do have SOME information on how to root devices, and I know that one-tap rooters like Kingoroot and such are usually too good to be true.

I have looked around the internet and XDA website, but haven't found anything that would help me fully. I did find some info from XDA that requires you to use Magisk to know some information about your device before rooting it, but trying to install the current Magisk version to the tablet causes "There was a problem parsing this package.", which the tablet does when the version of the app cannot be run on the current version of my tablet (I assume, since same apk works fine with my phone, which has higher Android version)

Any help regarding this? By the way, the tablet's android version is the dreaded 4.4.4, and there are no Android or system updates through Settings.
[8525, TyTN, MDA Vario II, JasJam General] gerald20000:
My Hermes vibrating function stopped. How do i get it back? I have flashed into a different rom and it is still not functioning. Which part is the vibrate in the device? I can open it to check..
[8525, TyTN, MDA Vario II, JasJam General] ultramag69:
Do a search for the Hermes HTC Service Manual. It tells you how to take your Hermes apart piece by piece. It will show you what you need. It pretty much needs the back taken off and thats about it.

Cheers...:D
[8525, TyTN, MDA Vario II, JasJam General] MikeChannon:
As usual ultramag69 is absolutely correct.

Remember to search , there have been a few threads on this. Here is one post with a pic:

http://xdaforums.com/showpost.php?p=1138806&postcount=6

Taken from this thread

http://xdaforums.com/showthread.php?t=294307

Mike
[Xiaomi Redmi 4X Guides, News, & Discussion] Thoiareg:
View attachment 5526371

Hello,

Just for shared this ROM, OctaviOS Official Android 12.

I'm not the developper or the maintener.

So, enjoy !

(•) Permissive Build

(•) Required to flash firmware version 048

(•) Flash magisk hide modules to hide magisk

Download :

See on telegram group for santoni update

• Device : Redmi 4X (Santoni)

• OctaviOS Version : 3.3 | Vanilla

• Maintainer : Krxyzn_

• Build Date : 24/01/22

• Size : 708.42 MB
[Xiaomi Redmi 4X Guides, News, & Discussion] aohanhongzhi:
no found redmi 4x
[Samsung Galaxy S21 Ultra] louisadele:
Hi,

How long does s21 ultra battery last?
[Samsung Galaxy S21 Ultra] youssef lakokine:
Depends on the inch of it, for example Galaxy S21 Ultra with 6.8 inch last nearly 11 hours
[Samsung Galaxy S21 Ultra] louisadele:
Thank you for your kind reply.
[Motorola Edge Questions & Answers] CyprienZee:
Hello there people!

I'm currently trying to flash my stock (with Android 11) Motorola Edge (XT2063-4) with HavocOS Custom ROM.

However, I am already trying to do this fourth time, without any luck. I flash multiple Motorola phones in the past, but I can't beat this.

Maybe there is something I am doing wrong, or in the wrong order. Here are the steps I am following, please check and let me know:

I already unlocked my bootloader, activated ADB, and USB debugging! I am using an external SD Card for keeping ROM and ZIP files.

So let's go:

1. I have disabled the screen lock, fingerprint, etc. Deleted my Google Account.

2. I started ADB and I enabled the phone credentials (as always)

3. I reboot to FASTBOOT (phone is visible in devices list)

4. I Install the latest TWRP by means of FASTBOOT and boot the phone into this recovery (on both slots A and B).

5. In TWRP Recovery (being on slot A) I install sequentially:

- Copy Partitions ZIPfile (no errors, done successfully)

- Custom ROM Image (TWRP says flashing to inactive slot B, done successfully)

- Again TWRP Installer (no errors, done successfully)

7. Go to the REBOOT section, choose "RECOVERY". The phone will reboot back to TWRP.

Here comes the problem, that I TWRP logo keeps flashing after restart (boot loop probably); I am flashing TWRP from FASTBOOT on both slots again.

Android (System) is not loading, it keeps getting back to BOOTLOADER.

6. After flashing TWRP on slots A and B, it launches OK. Now I am following the further instructions I found here:

https://xdaforums.com/t/rom-11-0-racer-havoc-os-4-x-03-06-21-unofficial.4301673/

7. Now if I go to "REBOOT" I see that the device is in Slot B, I am reverting back to Slot A.

8. Install the GAPPS ZIPfile, error code 70; no sufficient space on device - FAILED; I tried NANO version, no luck. The system still not booting.

9. Going to "WIPE" and do "FORMAT DATA" (on Slot A - not booting, on Slot B - not booting).

Even after rebooting and formatting Slot B - still nothing, moreover I get the "E: Unable to decrypt device" error message on TWRP.

And that's it.. can go past that point.

I'll try with LineagOS, maybe this will do.

Any ideas, what is wrong?
[Motorola Edge Questions & Answers] xabu:
An answer might be: https://twrp.me/faq/encryptionsupport.html

Anyway TWRP and encryption don't go (always) hand in hand.
[Motorola Edge Questions & Answers] SasoriPL:
Hello CyprienZee!

I bought Motorola XT2063-4 and i have issues to install LineageOS or havocOS, did you managed to install custom rom on yours phone sucessfully?

I think the problem is model... XT2063-4.

I get bootloop every time.
[Motorola Edge Questions & Answers] CyprienZee:
Hi Sasori!

I also have the XT2063-4 variant, but I think it has not so much to do with it, but you never know.

I gave up.. too much of a hassle. I tried every way and every option possible. I plan to get back to this topic in February, but right now I don't have the time and effort to fight with boot loops.

I keep my fingers crossed for you!

If you anyhow manage to run custom ROM on your Moto, let me know!
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] xocean:
The blurb says "with 6/8GB of RAM". But my phone has 12 GB of RAM.Whether my phone belongs to this forum?View attachment 5526415
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] kniffo80:
Yes. I think it's because of "Virtual Memory". You can enable/disable this in Settings -> Additional Settings -> Memory Extension (i have a german phone). I have disabled this. Makes no sense if you have 8 GB of RAM :)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] xocean:
My “Memory extension” is disabled。o_O

“Memory extension” just add 3GB 。8+3=11 not 12
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] kniffo80:
That would be true, yes. You have a custom ROM installed? I see stable ... Is it china ROM?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] 3zozHashim:
would you mind telling us your phone model? it should be in "All Spec" and it is something like M2012K11AG
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] SamantaSync:
I think this is the china version of poco f3 which is the redmi k40, because only k40 that has 12 gb ram version (poco f3 doesnt have it), and memory extension mode wouldnt change the amount of ram shown in the about phone
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] 3zozHashim:
According to gsmarena, the phone does come with a 256 12, so yeah but we need to look at the model to be sure
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] febry_valdy:
It doesn't matter, you can install any poco f3 custom ROM.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] SamantaSync:
yes, because even if its the redmi k40, it has the same codename Alioth, so that phone still belong to this forum.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] xocean:
Thx guys。
[HTC Startrek] bnuzhouwei:
My cellphone is qtek 8500! After a call ,the battery had been low power,but i didn't charge it,so it shutdowned automatically.

But afer my charge it ,i can't not be start up,i don't know why.And then i put the battery out ,and installed it,but it can't start up because of a white screen.But I find that if i put the battery in for a longtime(may be 5 hours) it can start up normally.But not long after it start up ,i will be a white screen.then if i put battery out and in.wait a few hous ,it can start up ,but still will be system halted before long.

I don't konw why? Was the problem because of the CPU or other accessory?Thanks.
[HTC Startrek] gimteoh:
have no idea what you trying to say ???
[HTC Startrek] uniface:
If you are Chinese, maybe you can raise your problem to this forum:

http://www.ioicn.com.cn/forum/forum-62-1.html

Good luck!!!
[Android Head-Units] RayOuellette1:
I saw a you tube video where someone inserted a usb stick and then started the programming mode - is that a special usb stick i need to purchase ?
[Android Q&A, Help & Troubleshooting] okok1:
Hey there!

I wanted to install chroot on my rooted phone [24gb available space + sdcard with 26gb available space]. It didn't work using the "Download latest" button so I downloaded the kalifs-full.tar.gz and put it in internal storage myself, which was working fine. When I got to select the metapackages I selected all of them because I wanted to install everything. After that, it just listed all the metapackages I selected in the Status menu, then it just kinda stops. I rebooted my phone but it says that chroot isn't installed. I also tried waiting for half an hour but nothing really changed. I have tried re-doing it cuppa times but again, nothing changed. The picture below shows the state where it has left off at. I installed the Kali NetHunter module using magisk v24.1

-Greetings
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
@okok1

Prior to your next posting please read the guidances that are stuck on top of every forum like

Note: Questions go in Q&A Forum

If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...

xdaforums.com

I've moved the thread to Android Q&A. Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[Android Q&A, Help & Troubleshooting] okok1:
I just found out myself.

1. Installing everything is about 55-60gb which my phone has not enough space for

2. The download I used didn't work, the official one from github worked
[Realme GT] MrVeverything:
View attachment 5526439

LINEAGE OS 9.0 for Realme GT 5G - How to Install GSI using DSU SideLoader
[Realme GT] Gordan47:
Nicely done! I've been waiting for lineage os for soo long... Is the fingerprint scanner working?
[P3600 General] rohithathie:
Hello,

my brother bought this phone today, i already flashed it to Blue angel's rom. i am not a newbie. but this phone is new for me!

i wanted to ask how does the GPS works in this phone?

i used to have a Artemis and it also got a build in gps and worked quit different. now i have a Kaiser and i only have to select GPS program port on the first tab set to Com4 and it works.

what to do with the Trinity ??

thnQ very much!

other tips and useful software is very appreciated!
[P3600 General] ajram:
Use COM9 for the trinity. Regards,
[Android Head-Units] Bentacayse:
Hello friends, I bought an android radio but I have several problems. I have searched a lot on this forum and 4pda but no luck in my search.

I think my radio is very basic, it does not have a fader or a DSP. I had to download equalizer pro to be able to control the sound frequencies a bit but I still don't have a bit of a fader on the rear speakers.

The other problem that I have and I have not been able to solve is that when I installed the radio it always stayed on. My car is a fiat punto from 2007 and it comes with canbus controls. But unfortunately I bought the radio but not the canbus control unit. In case that can be of information to help me. What happens to me is that the radio always stayed on even when I turned off the car and took out the key. I press the off button and the radio turns off the screen, Bluetooth and WiFi but after a day when I go to start the car, it is without battery.

So what I did was leave the yellow cable of the radio connected to the iso which is connected to a constant 12v but the red cable I connected to a fuse of the cigarette lighter that only turns on with the contact to start the car. Now the battery problem is solved but I have another problem and that is that if I stop for 5 minutes to refuel my radio it has to do a cold start and I can't find the solution.

I'm attaching some photos and sorry for such a long post, I don't know English and I have to use Google translate. A million thanks in advance and greetings from the Canary Islands
[Android Head-Units] Bentacayse:
Problem solved, can be deleted.
[Android Head-Units] TNSMANI:
MOD ACTION:

Thread closed as duplicate/triplicate posted in different threads by @Bentacayse .