yashsingh1/xdaforums huggingface dataset:
[Android General] Luigi Jekan:
Hi, I'm new to development so sorry if my question is very simple. I'm developing an app for D&D. When the user inserts a number in the first edittext i use onTextChanged of edittext so I setText to the second edittex the result.

My problem only occurs if the checkbox is checked. If the checkbox is not checked, it works fine but if the checkbox is checked the app will make a sum (proficiencybonus + mod). It works but only for positive numbers. When the app sets a velue of f.e. -5 the app crashes. The data is all saved in the sharedpreferences.

checkBox_strength.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
[MENTION=439709]override[/MENTION]
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
if(checkBox_strength.isChecked()) {

float result_num;
int num1, num2;
int f= 0;

DecimalFormat df = new DecimalFormat("0.##########");

num1 = Integer.parseInt(proficiencybonus.getText().toString());

if (strength_mod.getText().toString().length() > 0) {
num2 = Integer.parseInt(strength_mod.getText().toString());

} else {
num2=f;

}

result_num = num1 + num2;
strength_save.setText(" = " + df.format(result_num));

editor.putBoolean("checkBox_strength", true);
editor.apply();
}else{
editor.putBoolean("checkBox_strength", false);
editor.apply();
}
}
});

2020-05-03 17:09:24.440 10318-10318/jekanapplication.charactersheet5e E/AndroidRuntime: FATAL EXCEPTION: main
Process: jekanapplication.charactersheet5e, PID: 10318
java.lang.NumberFormatException: For input string: "−1"
at java.lang.Integer.parseInt(Integer.java:608)
at java.lang.Integer.parseInt(Integer.java:643)
at jekanapplication.charactersheet5e.MainActivity$51.onCheckedChanged(MainActivity.java:1394)
at android.widget.CompoundButton.setChecked(CompoundButton.java:172)
at android.widget.CompoundButton.toggle(CompoundButton.java:128)
at android.widget.CompoundButton.performClick(CompoundButton.java:133)
at android.view.View$PerformClick.run(View.java:24931)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
[Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other] AdityaKevin:
CarbonROM is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled ROMs, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best ROM we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.

Please feel free to look, build, and use our code at CarbonROM's GitHub...

What is PAX?

Our release of Android 10, titled CR-8.0, is codenamed PAX after the latin word for peace and Pax, the roman godess for peace.

PAX provides you with the features you need while keeping the focus on delivering an elegant, smooth, and well polished experience. PAX delivers a set of unique features, like a systemwide font engine that also allows for applying fonts on user apps while supporting user fonts through custom APKs generated on fonts.carbonrom.org. We are confident you'll love it, and there's many more things to discover ;)

Disclaimer:

While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash! As always, make sure to do backups.

Support:

We spend an astonishing amount of time developing this software. We can't spend much time on XDA as a result, so if you need support, please try the following:

1) Search. Search, search, search. Yes, you. I don't care how unique or important your question is, it's very likely someone has adressed it already. Especially if you're even close to new at this.

2) Read our FAQ, which can be found on our website. Carbon FAQ

3) Ask a question in your device forum. Someone will no doubt try to help you. Warning: this help may come in the form of telling you it's a dumb question that has been asked before. See step 1 - such are the perils of asking questions when you haven't done the research yourself. Android is about helping yourself.

4) Join our Discord server or Telegram group! There, you can connect with other Carbon users and our developers, and you can get quicker responses to your bug reports. The invite link is right below.

Requirements:

Unlocked Bootloader

Steps:

- Backup all your data (Important)

- Wipe /system, /data /vendor, /dalvik and cache.

- Flash the ROM + GApps (Download link below)

- Reboot

[SIZE=+1]ROM[/SIZE]

[SIZE=+1]WEBSITE[/SIZE]

[SIZE=+1]Kernel Source[/SIZE]

[SIZE=+1]GApps[/SIZE]

[SIZE=+1]Screenshots[/SIZE]

Created 2020-05-04

Last Updated 2020-05-04
[Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other] AdityaKevin:
Hi guys,

This is my new xda account :D

My old account K7jhin isnt active anymore, i was forgot the password

Now, i create new account with my real name for username :p

So here we go

Changelog 04-05-2020

• Initial Build with March security patch

Changelog Following my latest LineageOS build

• Fixed LEDs

• Fixed USB tethering

• Fixed IR ( Check please )

• Fixed Device Freeze while installing or uninstalling an app

• FIxed Power off Alarm

• Fixed DT2W toggle on settings=>display ( it works now )

• Selinux Enforcing

Notes

• If you have 2 sim installed on your device, please flash gapps which has setup wizzard included

• U can contact me on telegram also t.me/Gabrielse
[Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other] sairam60:
Welcome to xda with new account :P Good job
[Xiaomi Mi A1 Questions & Answers] Nargarcyz:
Greetings everyone,

As the title of the thread states, I have in my possession a M1A1 that is stuck on a Bootloop.

First of all, let me explain the situation a bit. This phone was accidentally put inside a washing machine, lasting inside there for what may have been a good 20 minutes until it was noticed there and promptly removed.

Upon removal it was still showing some signs of life, such as the LED lights going off. My first decision was to quickly open the phone and remove the battery in order to avoid further possible damage. I then decided to disassemble the phone while at the same time removing the water and letting the components dry up in a lit location. Once they dried up, I proceeded to wash them with alcohol, fully bathing the motherboard while giving a slight rinse to the other components, and used a soft brush to very gently clean the slight corrosion that formed in some places. I repeated this process up to 4 times, each time letting the components dry before giving it another go. It is worth mentioning that i was not able to remove the electromagnetic shielding due to the lack of tools.

Upon seeing no more corrosion, I decided to reassemble the phone and test if it was still alive. To my surprise, it did actually turn on. However, once it got to loading the OS, the loading bar got frozen and the phone restarted, resulting in a bootloop. I argued that maybe, somehow, the OS may have been corrupted, and I decided to try to flash a new ROM. I don't exactly remember whether I first tried via Fastboot or if I went straight to unlocking the phone in order to use TWRP, but long story short, I ended up unlocking the phone and therefore wiping all the data, however allowing me to freely use TWRP to flash new ROMs.

In retrospective, that may have been an extremely foolish decision, as no matter which ROM I tried, the result was the same as it previously was: The phone shows the Mi logo, it then starts loading the OS, the loading animation freezes up, and then restarts. So not only did I end up wiping all the data, but I am still stuck with the same problem.

This is my main issue. I do not know how to identify what is causing this Bootloop. The phone is at least somewhat working, seeing as how I am able to fully use TWRP. Is there maybe some component that may have been fried that is preventing the booting sequence? I would really appreciate some pointers. Thanks.
[Xiaomi Mi A1 Questions & Answers] lionr2:
Something similar happened to me using the adriane tool , I resolved it by unpluging the phone from the PC and the forcing the phone off and rebooting into fastboot mode, and when I got it to boot the first boot was slow, A couple minutes maybe ?. I don't know if this can be helpful, I wish I could do more bro.
[Xiaomi Mi A1 Questions & Answers] Nargarcyz:
Hmmm, I don't think this approach would work for me. I have tried every possible rebooting combination to no result, but I really appreciate the help man.
[Lenovo A6000/Plus Questions & Answers] Thenessh:
I am having some issues when its in download mode my pc shows alot of drives n asking me to format it n the downloder is not reading my phone n the fastboot is showing the remote error n adb doesnt detect my phone at all......i need helppp*

I tried installing the stock os several times before but my phone boots to the 'lenovo for those who do' part n then reboots....it reboots before even the logo completes......it booted once n there is no sound no readings for sim at all......I NEED SERIOUS HELP

:crying:

:crying:

:crying:
[Lenovo A6000/Plus Questions & Answers] user0u:
Which version os did you have when the phone got bricked? I suppose you have twrp installed. First try to wipe data partition in twrp and reboot.

If that won't work then try installing a custom rom same as the android version you had on your phone (for example, if you had marshmallow os the find a marshmallow custom rom).

You can also try the same with any latest stock firmware. Make sure it is a flashable zip.

Hope this helps.
[Touch Diamond, MDA Compact IV ROM Development] drmdtsap:
i would appreciate if someone could get the official greek rom and upload it here somewhere.this rom is out with the official diamond distribution in greece from 15 july.
[Touch Diamond, MDA Compact IV ROM Development] panosha:
There is no official Greek ROM, only some files under official WWE ROM.
[Touch Diamond, MDA Compact IV ROM Development] drmdtsap:
i know that my friend.i am just wondering if anyone can upload this specific WWE ROM modified to greek language rom by ace-hellas.i guess with the first rom update from the ace site,this can be possible.i ll wait.
[LG Q6 Questions & Answers] FilipaCS:
Hi guys,

I've been having a problem with my Q6. About a month ago it started acting up with apps. They just freeze and close not even 2 minutes after I start using them.

I tried pretty much everything. Last I did was a hard reset, wich let me use the apps for like 2h, just to go back to the way it was.

Anyone else has the same problem? Does it have a fix?
[OnePlus 7 Questions & Answers] mikolaj_2110:
How can I go back from OpenBeta 12 to Stable ROM on OP 7?
[OnePlus 7 Questions & Answers] sekk:
just use msmtools
[OnePlus 7 Questions & Answers] daitalos:
https://xdaforums.com/oneplus-7/how-to/op7-unbrick-tool-to-restore-device-to-t3954325

But ! before you do anything,read here,you might be interested...

https://www.xda-developers.com/onep...3-3-april-2020-patches-camera-dirt-detection/
[OnePlus 7 Questions & Answers] mikolaj_2110:
Thread to close
[OnePlus 7 Questions & Answers] mikolaj_2110:
My friend just sent his phone for warranty repair.
[OnePlus 7 Questions & Answers] Fererio:
just use downgrade package

https://oxygenos.oneplus.net/fulldowngrade_wipe_MSM_18857_190505_1527_user.zip
[General Questions and Answers] gasperoni:
Hello,

my father uses a Samsung J4 (SM-J400G/DS) with a german sim card. A few days ago he received a software update notification and installed it. The Android version is 9.0

But now the wifi connection does not work. It gives us a authentification error and refuses to connect. The wifi works on all other devices connected but not the phone.

I already double checked the password, restarted the phone, did a reset for the network connections, cleared the cache, tried connecting via static ip but nothing worked. I've read, that Samsung often have such issues after a firmware update. The phone is not rooted and I don't know, what to do now
[Huawei P20 Pro Questions & Answers] samir15:
My Phone Is working but icant enter recovery mode it says emuition download failure Any Solution?
[P3600 ROM Development] tnyynt:
Fixes!

005TNYSXY Fixes:

1. PIN Input background fix.

_______________________________________________________________________________________________

006TNYBSN Fixes:

None!

_______________________________________________________________________________________________

007TNYSTD Fixes:

None!

_______________________________________________________________________________________________

Common fixes:

1. Remove annoying sounds (End Key (RED key) sound, Call Key (GREEN key) sound, Call History and Speed Dialing sounds).
[P3600 ROM Development] tnyynt:
Add Ons!

005TNYSXY Add-ons!

None!

_______________________________________________________________________________________________

006TNYBSN Add-ons!

None!

_______________________________________________________________________________________________

007TNYSTD Add-ons!

None!

_______________________________________________________________________________________________

Common Add-ons!

1. To have the percentage battery icons, install this and soft reset! To return to ROM default icons, uninstall and soft reset!
[P3600 ROM Development] tnyynt:
-- Reserved! --

-- Reserved! --
[P3600 ROM Development] siarom:
Good works, very nice!!!
[P3600 ROM Development] Sparticle:
Oh man, can't wait to see the other versions and their apps included :D
[P3600 ROM Development] simonte:
nooo! i just finished the setting after flashing the previous version! :)
[P3600 ROM Development] desolateone:
ERROR[270] Image file is corrupted, when trying to flash to a P3600i, as opposed to the P3600.

Shame really. :(
[P3600 ROM Development] tnyynt:
I believe you are trying to flash to a 3600I.

Rectify so others don't get confused that it might be a general issue.
[P3600 ROM Development] utnicki.h:
tnyynt,when you give us a standard version?
[P3600 ROM Development] Blind Fury:
:mad: Image file is corrupted
[P3600 ROM Development] liamhere:
download

and try again
[P3600 ROM Development] tnyynt:
I see this is your post #1.

Have you upgraded to HardSPL? In case not, read the guides at http://trinityguides.info
[P3600 ROM Development] yuxiaoyun:
worth to try.
[P3600 ROM Development] yuxiaoyun:
good ,mnmnmn
[P3600 ROM Development] karmba_a:
Good work, my friend :D​
[P3600 ROM Development] rl66:
fast and sharp :) lol
[P3600 ROM Development] joyqing:
from diamond ROM?
[P3600 ROM Development] tnyynt:
Thank you my friend! ;)

19588 is Diamond. This one is 20226 Xperia.
[P3600 ROM Development] hashimi:
Waiting for the STD version
[P3600 ROM Development] tnyynt:
My next version? :D

No, really, it's a Build bug, it is fixed in later releases!
[P3600 ROM Development] ausi:
Quote:

Originally Posted by RebelShadow

Try using Sprite Backup. That's what I use and it restores perfectly and has a ROM update/upgrade feature. I have used it to upgrade all of the rom's I have tried so far. I think this will suit your needs.

Hi

I'm also having problems with SPB Backup, each time i do it, it installs a new Directory on the SD " Storage Card X" {X=3 now} and then all the programs that were installed on the SD are non functional till i redirect them to the new/correct Storage Card number.

Does anyone have an explanation for this phenomenom??.......i doubt if it's a ROM problem.

Does Sprite have the same problem??
[P3600 ROM Development] geney:
Anyone encounter problem with camera? it says failed to initialized ...
[P3600 ROM Development] tranquil20:
sprite back-up works well with this rom and i think also to other rom as well..no extra files will be created,files are restored the way they were before..
[P3600 ROM Development] simonte:
does this apply to standard version too?
[P3600 ROM Development] tnyynt:
Yes, it's a bug of the build (OS) not of my ROM.
[P3600 ROM Development] silvscorp:
I assume no one is experiencing any data connection issue? I get really slow data connection and not sure if it's my setting or ROM related. Basically with HSDPA on or off, 3G off, I get only around 60 kbps!! (in NYC with full signal bar using AT&T) With 3g turned on, I get even worse, 25-45 kbps again with full signal bar. When I try to connect to data network it'll say connecting to GPRS, 3G, after established connection, it'll always have a little "g" square on top of the signal regardless if I have 3g or hsdpa turned on or not.

any one?
[P3600 ROM Development] mdalacu:
minor bug

After a while windows start logo disappears...business edition

If you reopen the start menu the icon reappears.
[P3600 ROM Development] tnyynt:
Haven't experienced that!
[P3600 ROM Development] minigirl:
any recomended rom for my HTC P3600i WM 6.1.....& who can help /guide me to flash my P3600i,me prefer English rom...From Malaysia...:D
[P3600 ROM Development] datech:
Voice command

It looks very nice; it works fast; i like it very much; only one suggestion : to include voice comander for a faster dialing .

thanks

the suggestion was for bussines version

i found the voice dialer on xda

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

so ...your rom it will be on my trinity

thank you tnyynt!
[P3600 ROM Development] Andych:
No go for P3600i

Well another great ROM that won't boot up on P3600i.

Re-worked the header to 401 and the ROM flashes Ok but then stalls at the 2nd Splash screen.

Bummer...........must be something to do with the base that is used.

Hopefully someone will find the problem sometime soon. I was really looking forward to using this ROM.

Maybe I will flash it to my wifes D810.....at least then I can have a play with it.
[P3600 ROM Development] tnyynt:
It might be something to do with kernel or XIP. As a hunch, you could compare the nk.exe from those that work with the nk.exe of those who don't.
[P3600 ROM Development] Jeanxito:
and..downloading :D

thank you tnyynt!

I will post my feedback later..
[P3600 ROM Development] MasterSkeetS:
hey tnyynt...as soon as u released it i got it and installed...everything perfect until this moment except for one thing that was not ok in your previous release...

The keypad on the pin input is still not looking at his best....blue buttons but green backgroung...does not look good at all...

but really nice work and keep it up plz

EDIT: forgot to say it's SXY version
[P3600 ROM Development] utnicki.h:
waiting for-003TNYSTD - CE OS 5.2.20226 (Build 20226.1.1.4) WWE :D
[P3600 ROM Development] tnyynt:
I know!

I forgot to fix it but I have fixed it in BSN and STD.

Fix is available at the Fixes post in the beginning of the thread!

Applies only to SXY

!
[P3600 ROM Development] MasterSkeetS:
hi again...and sorry but did you forgot to remove the costumer support and the help (in the organiser folder)?

or just can't remove it?

i was at the vet with my cat and noticed those things that you had on the previous release but said that you were gonna remove...

ty for the quick answer
[P3600 ROM Development] Mattster_spv:
Hi Tynyynt. Just flashed your 005TNYSXY. Working absolutely great, but then you know that as you made it!

Even though it is a naked version, which is perfect for my needs, I thought I'd suggest that the following programs could be worth including on future versions:

1. PDC now has a version (1.1.6) that includes new registry values that allow you to tweak the color of the

individual

display elements on the plug-in. It's purely cosmetic but worth updating for. Downloading the cab (http://project.ionized.googlepages.com/PDC_v1.1.6.CAB) is easy enough, but you may want to cook it into future versions anyway.

2. "Today Agenda" (http://tiews.info/index.php?show=&lang=en) is a great freeware today screen plugin (you may know about it already). I used to use spb diary but not since I found this. Might be worth cooking in.

3. I think most people eventually need "Regedit". The freeware cab I use is from hellonasty's list at http://xdaforums.com/showpost.php?p=1645355&postcount=2

Hope this feedback is useful. Thanks for your work. Great to see you doing your own ROMS now! Your feedback on other ROMS (like FInixNOver's) has been so useful too.

Mattster.
[P3600 ROM Development] Mattster_spv:
I've deactivated HTC task manager (I use spb pocket plus which has one) and I wonder if this is why I'm not getting the % battery icon to appear, even though I've installed the above? Thing is, i can't figure out how to reactivate the HTC task manager! Help please...
[P3600 ROM Development] tnyynt:
Did not want to remove it! Anyway supposed space gained by removing is negligible.

1. Latest PDC will be included in future SXY release.

2. Today Agenda will not be included since the SXY version is a naked one, thus not contianing anything. Maybe I will consider in future BSN edition.

3. PHM Registry Editor is a must have app to every Windows Mobile user. It's a very small app that everyone can install on their own. Including it in the ROM would not result in anything but annoyance from those who prefer other Registry Editors (registry editor is a tool I consider every user should install on itself.)

You can disable HTC Task Manager from within it's applet but I'm almost positive that you have the battery issue because of SPB software.
[P3600 ROM Development] tomme45i:
Excellent rom tnyyn! Thank you :)

Do you know how can I set bigger font in all menus like in Karmba_a roms?

It will be easier when we want call to sbd. first contact will be highlighted like in FInixNOver roms, but how can I set this up?
[P3600 ROM Development] tnyynt:
tomme45i, my friend, I really don't know how icons are in karmba_a roms. If you might be referring to bigger start menu, I suggest installing HTC Large Start Menu. Otherwise PM me with a SS.
[P3600 ROM Development] Hoash:
Voice Speed Dial

Tnyynt,

Is any of these version includes the Voice Speed Dial?

What color on these ROMs?

thanks
[P3600 ROM Development] tnyynt:
Did you even take a look at the first page?
[P3600 ROM Development] Hoash:
Ofcaurse I did and didn't see it other way I won't ask, I sow Smart Dialing 2.5 (Build 27526), which is not the Voice Speed Dial as far as I know. If I missed something I am sorry for asking.
[P3600 ROM Development] tnyynt:
So if you saw the first post, that answers you question about ROM color. There are screenshots there too, but in case you missed those, it's BLUE.

As for Voice speed dial, you are right, it's not in post #1, so it means it's not in the ROM, so, to answer your question, no, ROMs don't contain Voice Speed Dialing of any kind.
[P3600 ROM Development] Hoash:
Thanks, and I am realy sorry if I am bugging you. I just love your ROM and would like to use it. Thanks again.
[P3600 ROM Development] tnyynt:
Thank you! No bugging! Feel free to use it!

It's just that I want to ask everyone to read before posting, if I wasa to answer all questions, I'd go crazy.

Really, ROM color and program contents is in post #1 that's why my replies might have seemed a bit acid. No harm done! Enjoy the ROM!
[P3600 ROM Development] Hoash:
This is what i got on the first page.

SCREENSHOTS:???
[P3600 ROM Development] tomme45i:
:eek: these pictures are screenshots, what you are not understand?
[P3600 ROM Development] tnyynt:
Image hosting site sometimes does that.

Check my other thread http://xdaforums.com/showthread.php?t=405677 for screenshots, the ROM looks the same!
[P3600 ROM Development] Hoash:
Thanks, I now sow that.
[P3600 ROM Development] tomme45i:
tnyynt help me find an answer (thank you one more time :)):

[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt]

"Ht"=1000

[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt]

"Ht"=1000