yashsingh1/xdaforums huggingface dataset:
[Android Studio] MarkS419:
Hello,

I learned that to make a bitmap image clickable, I need to assign it to ImageView. However, I am failing to set the position correctly so that it is dynamic with every screensize. It really is not possible to let ImageView locate the bitmap image on the screen and act upon that? I tried so many things but the best I have now is that ImageView creates another image of my button and when I manually change its position, it does not scale properly with other screen sizes.

For example my AdView (visible in xml) scales correctly with other screens but I could not apply the same principles with my button.

I would prefer if ImageView would just take the location of drawn bitmap button on screen but if this is not possible, could you guys please provide me with some example codes of how to correctly set the button generated by ImageView? So that I can move it to desired location and have it the same across different screen sizes.

I HAVE TRIED:

Changing position manually in SurfaceView - doesnt scale properly

Implement app:layout_widthPercent="50%" etc. - doesnt work for me

Implement app:layout_constraintBottom etc. - doesnt work for me

activity_main.xml:

<com.markS.flappykillercrow.GameManager

android:id="@+id/gameManager"

android:layout_width="match_parent"

android:layout_height="match_parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toTopOf="parent" />

<ImageView

android:id="@+id/image_button_android"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:adjustViewBounds="true"

android:src="@drawable/playbutton"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintLeft_toLeftOf="parent"

app:layout_constraintRight_toRightOf="parent"

/>

<com.google.android.gms.ads.AdView

android:id="@+id/adView"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

app:adSize="BANNER"

app:adUnitId="ca-app-pub-3940256099942544/6300978111"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintLeft_toLeftOf="parent"

app:layout_constraintRight_toRightOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

Thank you very much in advance, this would save my day!
[Xiaomi Redmi 8 Questions & Answers] alceste38:
Hello,

i'm a beginner.

i have a Xiomi Note 8.

is is possible to send command adb (for exemple) to my phone from a linux computer without wired connection but only a wifi connection?

thanks
[Xiaomi Redmi 8 Questions & Answers] sad_U:
No
[Xiaomi Redmi 8 Questions & Answers] GalaxyA325G:
I'm a little late to answer your question at the time you asked it, but if it still helps the OP, non-rooted Android 10 and below allowed wireless adb connections AFTER a USB connection was first

established (adb start-server && adb tcpip 5555 && adb connect [IP]:5555), but that changed (for the better) in non-rooted Android 11 and above with the new new Developer options Wireless debugging random port assignments (adb connect [IP]:[PORT] or adb pair [IP]:[PORT] [PIN]) such that the adb wireless connection never needs USB cable ever again.
[Nexus 6P Q&A, Help & Troubleshooting] Ata Ur Rehman:
Good evening y'all :)

i wanna ask if we can make possible astrophotography in nexus 6p i saw people tall about it , but didn't figure out how!.

thanks. ?
[Nexus 6P Q&A, Help & Troubleshooting] Gabrielle37:
Astrophotography is photography of astronomical objects, celestial events, and areas of the night sky. The first photograph of an astronomical object was taken in 1840, but it was not until the late 19th century that advances in technology allowed for detailed stellar photography.
[Nexus 6P Q&A, Help & Troubleshooting] RaspberryPiBen:
They are speaking about the Google Pixel Astrophotography Mode. It lengthens the exposure to take good pictures of the night sky.

I don't know if anything works on the 6P, but search Google for "GCam Ports Astrophotography" and some should come up. They might not work, but that is the way to do it if it is possible.
[Meizu Pro 5 Guides, News, & Discussion] Xanth0k1d:
The Pro 5 was my dream device, and I eventually realised that it is tough for non-flyme roms to run well on the device, I have tried compiling lineage and the phone cant simply get pass the boot logo.

I believe that such a device is destined to be forgotten, but here is what I have concluded about the device itself.

Pro 5 has 2 types of bootloader files, one of which can be unlocked

I compared the md5 sum of bootloader files from different versions of flyme (both international and the Chinese version) and the famous Flyme OS 5.6.1.19 daily global rom, the bootloader that can be unlocked has a md5 of 49e792016a8a11b4661b4832b40728b6 while all the other bootloaders have md5: 4e6c0082a8aedcc7e2f8204554593bae

Verification of Pro 5's update.zip is a feature that was implemented in certain versions of the recovery.img onwards - to be confirmed.

*Update* the pro5 bootload with that particular md5 is indeed signed by meizu, it's sha1 digest matches the .mf file which in turn matches with the .sf file, and I can use openssl cms to verify the .sf file with the .rsa file, which contains the same public key as any other meizu roms.

Unless Meizu's private key was leaked, the bootloader should be authentic and signed by meizu.

Next up, I will be trying to branch someof the older projects to build twrp for pro5, and will slowly move on to lineageos.
[Meizu Pro 5 Guides, News, & Discussion] Frankyvn:
Hello, can you help me unlock Meizu Pro 5 Chinese version (without the first H when checking imei in fastboot)? I tried many options at XDA and 4pda forums, but all failed, Bootloader automatically locked itself after resetting the device. Thanks!
[Meizu Pro 5 Guides, News, & Discussion] Xanth0k1d:
what do you mean by resetting the device?
[Meizu Pro 5 Guides, News, & Discussion] Frankyvn:
Specifically as follows: I have tried to update to many different versions (including A and G) through TWRP. But when uploading to a higher version, the Bootloader is locked again and cannot be unlocked after uploading to a higher version "5.6.1.19 daily"

Thank you for your interest in my question.
[Meizu Pro 5 Guides, News, & Discussion] Xanth0k1d:
each update.zip contains a "bootloader" file, as I described in the original post, the 5.6.1.19 daily update.zip has a different bootloader file as compared to bootloader files in other zips.

I find it uneasy because there is no way if I can confirm that the 5.6.1.19 daily update.zip is from meizu officially, but I believe that I checked the signature of some sort on the update.zip and concluded that the zip is indeed from meizu and very possibly not modified by a third party.

when you attempt to flash over versions of flyme, the bootloader file inside the zip gets flashed over the unlockable bootloader file, hence your bootloader becomes locked again.

In theory you could replace the bootloader in say an A version with the bootloader from the daily update.zip, and flash it via twrp while disabling signature check of the zip - this is something I believe I did not attempt before.

What would be even better is that someone still holding the meizu pro 5 ubuntu edition to dd the bootloader partition into a bootloader file, and we could compare that bootloader file with the one that is inside the update.zip - in this way we can confirm if the bootloader file that allows the bootloader to be unlocked is indeed from meizu.
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] pwpw:
Hi there

re: HTC Himalaya. how do I change the first bootscreen? Pls can you give links to tools and provide instructions.

Cheers
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Jadel:
I think what you are referring to is the welcome screen? Perhaps do a search for welcome.96 and see what comes up.

I had it in mind you just made an image the size of the welcome screen image and named it welcome.96.png and then just dragged it into the Windows folder (it will overwrite the original).

Having said that, Google it and find out how to do it exactly, don't take my word for it. But you should have enough information frfom what I have said to find out more.
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Ather:
I see its your First post..Welcome to xda-developers..sspecially for choosing Himalaya

To Change the Splash Screen..follow these steps :

Open any Image Editor

or Choose any Image that is 240*320 In Size

Its format Must be .PNG

and rename it to " welcomehead.96.png " (note : png is the extension )

connects your device via Active Sync or copy the splash screen to your Devices and replace place it in the \Windows Folder..it will ask to over right..Select Yes and You are done

Soft-Reset and Enjoy

PS. Search the Forum for ALOT of welcomeheads
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] pwpw:
the screen I want to change is the very first one that is shown when the machine is turned on, i.e. it appears as the device is booting up. Hope this makes sense.
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Jadel:
Oh I suspect then you are not talking about Welcomehead/Splashscreen. Does the screen you are talking about feature the logo or name of a phone company/service provider? IE Telstra, Optus, Sprint, AT&T, Verizon, etc
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] pwpw:
yes, that's the one. On booting up it is replaced by the welcome screen, and then the wallpaper. I'm using Ather's 'Dark Edition'
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] humano:
i would like to change this very first image too. I hope someone know how to do it. :)
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Jadel:
Hrmm, not sure how possible it is. I have both the o2 logo on one phone and Telstra on the other which I wanted to remove. I dare say it is part of the radio rom, not the OS rom. Basically, you can flash the Radio to a different version, just as you can flash the Operating System, though some say it is a bit more difficult.

No matter what rom I flash, those logos are always there, so I suspect they are part of the radio rom. I will investigate.

EDIT: Okay this guy has created a program to do it for the Prophet only, but he may be the person to ask as I would suspect he had the general knowledge of how to do it by hand before he created the program.

http://xdaforums.com/showthread.php?t=333194
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Ather:
Thoses two can be changed by editing the ExtRom file (ms_.nbf) from a 2003 Rom..Search the forum for WM2003 Edit in the Himalaya Wiki...i have also uploaded a Clean extrom..just replace the images init and then place it in the folder where your HimaUpgradeUT_noid.exe is and flash as normal

here is the ExtROM file : http://rapidshare.com/files/82299532/ms_.nbf
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] The_hesham:
I think this way was working in WM5

Install extromunlocker

Soft reset

Start

Program

ExtROMTools

Unhid

Unlock

Folder will appear in the root

Inside this folder is the image need to be change

But I traied this extromunlocker cab file in WM6.1, I could not find the Extrom.
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] pwpw:
Thanks for the method - however, I'm new to this and would appreciate a bit more hand-holding if you don't mind. Can you give a more detailed stepwise method?

TIA
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Ather:
It wont work if u ahve Partitioned your DOC..because that was the Storage where these files were kept
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] Ather:
Well ok..just tell me what u cant understand
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] HonkBB:
See here ..

Hi,

as Ather described, I did it successfully last year this way

(http://xdaforums.com/showthread.php?t=220799&page=12)

So long

HonkBB
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] anggaalfian32:
CYGNUS​

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Read the whole post before asking questions.

CygnusOS is a CAF based ROM built with stability and consistency being the priorities, without missing much on customizations, striving to provide a balance between the two while focusing on improvising a clean, straightforward UI with timely updates.

WEBSITE​

Here you go ​

Here is a list of all the features available in CygnusOS:

[B]
- ART optimizations
-Power menu options
And many more!
MOST FEATURES UPCOMING IN V2.1[/B]

Download ROM, GApps here for your device!

(Don't flash Gapps if you are using gapps variant)

MOD EDIT: DOWNLOAD LINK REMOVED [/URL]

GAPPS

-GApps

Flashing instructions

[b]-Download the ROM, Gapps and optionally Magisk
-Wipe system, data, cache and dalvik
-Flash the ROM
-Flash the Gapps package(DO NOT FLASH GAPPS IF YOUR ARE USING GAPPS VARIANT)
-Flash Magisk (optional)
-Reboot[/b]

Changelog

[b] CygnusOS 2.1.1 Changelog

- Added required apps in Gapps builds
- Fixed Hey/Okay Google detection in Gapps builds
- Permissions for apps now present in source, no need to generate separately
- Added 3 finger screenshot option (Yes, finally)
- Added Force FP authentication after reboot
- Bug fixes and improvements
- Miscellaneous changes

[CODE][b] Device Tree Changelog

- Better Memory Management
- Use Pixel Charger Animation
- Enable USB Debugging
- Increase in-call earpiece volume
- Use coral FP to pass SafetyNet
- Set ZRAM disk size to 50% of RAM size
- wifi: reduce battery drain
- Add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS
- Use memory config optimization
- Update microphone characteristics
- set DPI to 411
- include Gapps

[/b]

Credits

-The Team

-Dhruv Gera

-Ojas Sinha

-Abhishek Singh

-Pranav Trivedi

Credits Thanks

- SunnyRaj for DT

- Fadlyas For kernel

- CSR Team

- All tester RIVA

Group Management : Hyperterminal_Reborn​

Support

MOD EDIT: LINK REMOVED
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] agustkid:
Nice Rom
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] zahar263:
Good :good:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] strongst:
Thread closed

Threads without proper source are not allowed.
[MENTION=10694569]anggaalfian32[/MENTION]: Please pm me when you can provide the necessary.

strongst

Forum Moderator
[General Questions and Answers] yashs7:
Hi,

I want to schedule a periodic DB operation to run in the background once a day, at a fixed time. Even if the phone is switched off when the task was scheduled to run, the task should be executed as soon as the phone is switched on. Now, I'm already using AlarmManager for scheduling notifications, and I'm comfortable with it. However, most of the results of a Google Search on periodic tasks in Android seem to suggest that a WorkManager is the right alternative. I don't think I understand the advantages, if any, that WorkManager has over AlarmManager. It will be great if someone can shed light on the differences between the two and what should be the right alternative for my requirements.
[Samsung Galaxy Core Prime Questions & Answers] mattchusquirtle420:
Every time I try to flash a rom I get : twrp updater process ended with error 6

I've tried 3 different roms...
[Samsung Galaxy Core Prime Questions & Answers] MLPIR:
Have you tried a different TWRP version? This usually happens due to an incompatible TWRP version or a badly coded updater script
[Samsung Galaxy S7 Questions and Answers] NeevoiSR:
I've tried any method to root my device and nothing works , Kingroot , Through CF-root , Tried to instal twrp through "Odin"

and it just went to "Red Mode" and i had to Recover my Phone... after that i knew that there's no other way to Root my device.

if you can create a specail Method for my phone model it'd be awsome
[Samsung Galaxy S7 Questions and Answers] Beanvee7:
Is OEM unlocking enabled?

TWRP and Magisk is the most common method these days.
[Realme X Questions & Answers] Zack2020:
This is what happened exactly

First i unlocked the boot loader and installation twrp successfuly no prblm

Then i installed multiple custom roms play around with theme for Mount's and every thing was good

Until i saw the realme ui 10 and i wanted to try it so what i did is flash the realme cn stock rom zip corect version (chains) from twrp and it installed correctly

But wen it got to setup page (language selection )it crashes after 3 or 4 seconds . every time .i trayed formating multiple times from stock recovery but same and i trayed to flash twrp again but my device dont show up it adb after i inter the fastboot devices comand

Plsssss help i have no way to get it to customers services .tnks
[Realme X Questions & Answers] louarzazi salim:
you have to wipe data and cache and dalvik ....... and go to advanced wipe and wipe data before instalation and the install realme ui when you successfully finish the installation reboot to recovery and again go to advanced wipe and wipe data again and reboot it will boot fine
[Touch Diamond, MDA Compact IV General] badman112:
Is their any codecs for Windows media player since all the media players i been using give me lock up play back after every few seconds.
[Touch Diamond, MDA Compact IV General] badman112:
im guessing their is not any as i cant seem to see anything out their.
[Xiaomi Redmi 4X Questions & Answers] bossda:
Problem:

Many custom ROMs (havoc 2.9, 3.4, 3.5 , crdroid 6.6, corvus ) , screen goes dark and stuck due to unstable network

Reason

: If any Network Signal reconnect or Auto changes From GSM to WCDMA and vise versa.

#Gsm network only have 10 to 12 frequency so its not connected automatically.

The error Triggered following conditions:

1. After Screen Time out

2. Screen lock,

3. Some time some apps crashes

4. settings changes

5. when Dual sim switching

So i unable get back to home screen, during the error charging indicator also not work.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I face the error

after installing Q based ROM

,

1. When I revert back to stock MIUI some times find device storage was corrupted error comes

2. Also some times custom ROMs sensors failed to work.

3. All ROMs have network issue,

@ MIUI based ROMs restart (UI) the entire process only, (system not stuck, not goes black) when weak network changes

@ custom ROMs stuck in black screen when the network error comes

I tried to flash latest Firmware, not use.

Then Restore persist partition not use for this problem.

see this Video (This is my issue)

https://drive.google.com/uc?id=1IVfM5q1Euz6vrVx_uV6JhA52zIMQMiE8&export=download
[Xiaomi Redmi 4X Questions & Answers] metelhammer:
Currently using Havoc OS 2.9 no such issue.

I did not faced any of this bugs in havoc OS 2.9,3.4 and on 3.5. however there was slow charging and heating issue i found in 3.5.

however device slows down,warms up and freezes for some times if i use several apps in background when using Gcam but that's normal since i have 2GB/16GB variant.

Try turning off pocket detection that might fix this issue.

Haven't tried crDroid 6.6 and corvus so cant say anything about it.
[Xiaomi Redmi 4X Questions & Answers] bossda:
The problem not on particular custom ROM(Except Stock/EU MIUI ROM's), i dont know exact root cause.
[Xiaomi Redmi 4X Questions & Answers] metelhammer:
by turning off pocket detection worked for you?

because issues you mentioned i have not faced them.

by the way which Gapps you are using? that maybe causing issue.
[Xiaomi Redmi 4X Questions & Answers] bossda:
Yes i tried off Lockscreen features, like pocket detection and double tap to wake, not fix. Then i am using non Gapps ROMS also its also have same problem.

But i try single sim (Good network); ROM working perfectly without any error and lag!

Also Even Single sim Had a network issue means, same error comes(Whenever Signal reconnect it freeze entire system)
[Xiaomi Redmi 4X Questions & Answers] metelhammer:
Possibly it might be related to sim card and network. also could be possibility that since its giving error when networks downs so there might be possibility that network antenna cable might have gone loose.(well this is my guess)

or

try using different carrier sim to confirm if this is related to network?
[Xiaomi Redmi 4X Questions & Answers] bossda:
Yes sir tried another sim, When it's 2G not work but 3G and 4G means works good.

I don't know why 2G only have this issue. Also due to network issue entire system freeze!

But sir in MIUI Roms don't have the network issue, if network antenna loose means These miui ROM also have the same issue, but not.
[Xiaomi Redmi 4X Questions & Answers] metelhammer:
are you using any custom kernel?

Take log when this error happens and share with developers/maintainer of the ROM, they are the ones who should understand this better and probably they might fix it.
[Xiaomi Redmi 4X Questions & Answers] bossda:
Hello sir I am not using any custom kernel.

Then I have issue in custom ROM , startup screen also stuck. So I take log from EU ROM 10.3.1. https://drive.google.com/uc?id=1QYw96xOs_EhhI4g8MH6HYyYGSSy94Gaj&export=download

This log have more line kindly refer from last

I currently fixit temporarily by switching network 2g only mode it wil stop freeze problems., then

2g network not found ¿ but in feature phone have full network In same sim network!

I don't know why 2g band not receive my device properly.

I like to use gsm/wcdma mode and Wcdma mode these are have weak network , so my device freeze.
[Xiaomi Redmi 4X Questions & Answers] bossda:
Currently I fix it by network signal guru app.

What error means Gsm have nearly 10 frequency range so its not connected automatically(that is freeze the device), then I lock 900mhz extended/primary one. Now I received good signal.its work even uninstalled the app... I found the solution in another XDA forum .
[Xiaomi Redmi 4X Questions & Answers] musa moh:
i am having issue with my phone unable to switch off and also unable to charge the phone to complete recovery processses
[Xiaomi Redmi 4X Questions & Answers] bossda:
unable to switch off > check your power button working? if not work remove back panel and give a try

unable to charge> check different usb cable or charger (also connect to pc whether it detect or not verify that)

What you doing when last time mobile working condition.
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] Nittola:
I was trying to unlock and install a CFW into my Fire 8 HD using this guide

https://xdaforums.com/hd8-hd10/orig-development/unlock-fire-hd-8-2017-douglas-t3962846

I was using the softbrick method, because my tablet was update with the latest software, but then when I ran sudo ./bootrom-step-minimal.sh, there was a blackout at my home. Now my Fire 8 HD opens up, show the Amazon logo for seconds and then reboot. I can't access in recovery by pressing Vol+ and Power. What can I do?
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] AmznUser444 Dev:
After you ran the script and your PC will be shutdown on blackout at your home. You have to use UPS (uninterruptible power supply) to run your PC on blackout.