yashsingh1/xdaforums huggingface dataset:
[IDEs, Libraries, & Programming Tools] Tom Lin:
Akatsuki

You can skip the intro and just look at the examples below and check out the GitHub page(down below) if you already know what I'm talking about through the title.​

Motivation/Intro

Coming from standard desktop app development, configuration changes such as screen rotation is new. The way Android handles these configuration changes is by restarting your app(the current Activity, to be precise). You lose all your fields so you have to retain them some how, here's a typical case:

public class MainActivity extends Activity {

private static final String MY_STRING = "myString";
private static final String MY_INT = "myInt";
private static final String ACCOUNT = "account";

String myString;
int myInt;
Account account;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
myString = savedInstanceState.getString(MY_STRING);
myInt = savedInstanceState.getInt(MY_INT);
account = savedInstanceState.getParcelable(ACCOUNT);
}

@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putString(MY_STRING, myString);
outState.putInt(MY_INT, myInt);
outState.putParcelable(ACCOUNT, account);
}
}

As you can see, you need extra constants and lots of boilerplates just to retain the values of some fields. Java is already kinda verbose, Android is making things worse by requiring you retain the fields manually.

Akatsuki eliminates all those boilerplate, here's what the example from above looks like with Akatsuki:

public class MainActivity extends Activity {

@Retained String myString;
@Retained int myInt;
@Retained Account account; // Account implements Parcelable

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Akatsuki.restore(this, savedInstanceState);
//everything restored!
}

@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
Akatsuki.save(this, outState);
}
}

And that's it, the fields are retained.

Performance Impact

Next to 0, the whole processing is done at compile time.

Magic?

No black magic used, all this is possible because of JSR269 (Annotation Processing Tool). There are similar libraries out there such as Butterknife

Notable Features

Supports most commonly used types (beyond what Bundle supports!)

Pluggable type conveter for your custom types

Near zero runtime performance impact

Integration tests included

Generic type support

View state support

Can be used as an Object to Bundle serialization solution as well

License

Apache 2.0

GitHub page with download links (gradle dependencies) and a more detailed README:

https://github.com/tom91136/Akatsuki

(Sorry, can't have links because I got less than 10 posts for now)
[One (M7) Q&A, Help & Troubleshooting] killphillxr:
Hi, I am giving this phone to mother and wonder which rom / kernel / setting would be best for long battery life.

She doesn't need any special functions, push up notifications from messenger/mail etc, so internet connection can be turned off while screen is off - what is best way to achive this?

Thanks for advices!

PS

I am rooted, s-off
[One (M7) Q&A, Help & Troubleshooting] fab300:
I think the Google Play Edition will be good for your battery.

If you enable Power saving mode, I think the data connection will be turned off when the screen is off.
[Sprint Samsung Galaxy Note 3] R1000:
SD card not showing clockwork mod backups only in recovery mode
[Sprint Samsung Galaxy Note 3] R1000:
Help guys
[Sprint Samsung Galaxy Note 3] R1000:
Running Josh beach s rom kit kat killer rocks took me week to find link all links dead lately
[Sprint Samsung Galaxy Note 3] mon0theist:
I found this solution for the mobile data issue:

xdaforums.com/note-3-sprint/development/baseband-modem-nh7-odin-flashable-t2882926
[Sprint Samsung Galaxy Note 3] R1000:
You have link
[Sprint Samsung Galaxy Note 3] R1000:
I have that modem won't work
[Sprint Samsung Galaxy Note 3] R1000:
No help nice
[Android Q&A, Help & Troubleshooting] Raj717:
Hello Every 1. :)

I've a file with .jpg.pl extension which was locked with a photo locker a long time ago and I don't remember which it was. :confused:

Now All I have is a .jpg.pl extension file which I'm unable to open...

Any 1 with a solution for this issue?

Thanks In Advance :cowboy:
[Android Q&A, Help & Troubleshooting] Raj717:
How to access/open a file with .jpg.pl extension?

Hello Every 1. :)

I've a file with .jpg.pl extension which was locked with a photo locker a long time ago and I don't remember which it was. :confused:

Now All I have is a .jpg.pl extension file which I'm unable to open...

Any 1 with a solution for this issue?

Thanks In Advance :cowboy:[/QUOTE]
[Advantage X7500, MDA Ameo General] cayotte:
Solved the problem. Sorry.
[Android Apps and Games] JadeByfield89:
Relish​

So exciting, we're getting ready to launch our new app! Introducing Relish, the app for finding amazing places to eat and invite your friends to join you.

If you're like us, you realize just how difficult it can be to get everyone together when it comes to eating out. You have to text/email everyone involved, or worse, call everyone up multiple times just to confirm details. Whether it's for business meetings, company lunches, or a casual grub with friends, this process is usually very annoying.

Where do we want to go? How's the food? Is it expensive? These are just some of the questions that come up when inviting people out to eat.

Relish solves these problems in a clean, simple, and intuitive way. Featuring a beautiful UI that's guaranteed to make your mouth water(so will the food). Please check us out at www.relishwith.us and sign up for the beta!

www.relishwith.us
[Android Apps and Games] JadeByfield89:
If there are any features that you guys think would be interesting in an app like this, please feel free to contribute!
[Android Apps and Games] JadeByfield89:
Any know why my image isn't showing?
[Android Apps and Games] JadeByfield89:
Got some feedback on the landing page from some awesome users over on Reddit, made a few changes! :)

https://www.reddit.com/r/Entreprene...king_for_some_honest_feedback_on_our_landing/

http://relishwith.us/
[Galaxy S6 Q&A, Help & Troubleshooting] mshanat:
My Samsung Galaxy s6 randomly pause YouTube videos

Both YouTube application and chrome browser

Any one have a solution for this problem?
[Galaxy S6 Q&A, Help & Troubleshooting] roydok:
You can:

1. Clear app cache using App Cache Cleaner from Playstore.

2. Go to recovery mode and wipe cache.

3. Close all running apps before running youtube.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] QA Bot:
Q&A for [Rom][Gt-P3100][JB 4.1.2][27/01/2013]Elite Rom - The Dark Knight Series

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Rom][Gt-P3100][JB 4.1.2][27/01/2013]Elite Rom - The Dark Knight Series. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Galaxy Tab 2 Q&A, Help & Troubleshooting] ashkineeeeee:
hi.....link doesn't work please upload on mediafire..thank you so much:victory:
[Galaxy Tab 2 Q&A, Help & Troubleshooting] ashkineeeeee:
LINK.....

Link doesnt workkkkkkkkkkkkkkkkkkkkkkkkkkkk...please uploade on mediafire....thank
[Moto G Q&A, Help & Troubleshooting] david.anez3:
So I'm having questions and issues with my Moto G. (XT1032)

1. Is there any way to root the Moto G without unlocking the bootloader? I'm having issues unlocking it (next issue).

2. I can't seem to unlock the bootloader on the Moto G. I'm trying to install CyanogenMod but when I go to unlock it on the Motorola website and put the unlock code from adb/fastboot, it says My phone's bootloader can't be unlocked!

So if you have any idea how to help me, please reply.

EDIT: Don't recommend me to flash a recovery like TWRP or ClockWork Mod Recovery. I need to unlock the bootloader. (I think)
[Moto G Q&A, Help & Troubleshooting] eemgee:
Make 100% sure are putting the code in to the website with NO spaces.

I'm not aware of a way to root without unlocking.
[Moto G Q&A, Help & Troubleshooting] david.anez3:
Thanks so much!
[Moto G Q&A, Help & Troubleshooting] steve.loveday:
Yeah depends what version of moto g you have as Motorola won't unlock certain ones... And seems like yours is one that can't be
[Moto G Q&A, Help & Troubleshooting] david.anez3:
Actually, it was a weird thing with the unlock code from fast boot having random spaces when I paste it into the checker, but now my Moto G is running CM12.1 with Root! :D Thanks a lot everyone!
[Moto G Q&A, Help & Troubleshooting] ingcolchado:
I'm glad you solved it, but, actually, some people have a problem unlocking their bootloader, i had that problem with a mexican xt1032, in case someone needs this; search for:

Bootloader Unlock Problems?

in the forum at the motorola web site
[Onetouch Idol 3 Q&A, Help & Troubleshooting] howpathetic:
Hello,

I would like to ask you couple of questions.

1. Does this phone has the 16GB chip?

2. Can the root be reversed? (for assistence)

3. The phone is having 8GB internal memory (/mnt/sdcard0), but my stock system has in settings only 4,74GB... and when I connect the phone to the PC, the PC i reporting that it has 2 GB (also reported by du, which i ran on the phone via terminal emulator) free but in the Stock system is free only 464MB.

4. Moving apps to SD card is not almost working, do you have problems with it?

5. When playing media files (in Google Music app) the songs are stuttering for like 200 milisecond and then again playing normally every 2 min, is it only main problem?

6. Does it have unlocked bootloader?

7. JBL turning on and off not working?

Thank you for answers :)
[Onetouch Idol 3 Q&A, Help & Troubleshooting] petrov.0:
1. Probably yes if the device is 6039y.

2. Yes.

3. This is because /data and /sdcard are on one partition

4. No. My device is re-partitioned and I have almost 12GB Internal space, so I doesn't need to move anything ... at least for now.

5. Cannot give you a direct answer as I don't use this app. But in general no problems with media files
[Onetouch Idol 3 Q&A, Help & Troubleshooting] howpathetic:
Thank you :)

Yea 6039Y =))

what app you are using for playing music then?

and what about the bootloader? it is true that it is unlocked?
[Onetouch Idol 3 Q&A, Help & Troubleshooting] petrov.0:
The sound from Jet Audio is not bad (with or without headphones). The best sound on the speakers is with the stock player I think. Regarding the bootloader, it is locked by default ... but can be unlocked without much efforts. Oh and the JBL switch works, try with the headphones and feel the difference.
[AT&T Samsung Galaxy S6] mobile.j.klindt:
via their Twitter feed:

"#SRSRoot: samsung SAMSUNG-SM-G920A (Build: LRX22G.G920AUCU2AOF3) #Android 5.0.2 Now Supported for #Root at

12:31 PM - 15 Aug 2015"

Can anyone confirm, deny?

Edit:

Also, if this is turns out to be true would someone in the know mention what is being exploited for their new hack to gain # please?

Sorry for the edit, I didn't feel this question justified a further post

Thanks
[AT&T Samsung Galaxy S6] taj786:
I'm very curious to know this as well, I'm on S6 Edge however (SM-G925A..OF3). Will rooting through #srsroot trip knox counter? Any help will be greatly appreciated. Thanks.
[AT&T Samsung Galaxy S6] c_brown93:
I wonder if this works on OF3 and OF4. I would love to hear this works.
[AT&T Samsung Galaxy S6] daniel4653:
Someone try it already :P

Sent from my SAMSUNG-SM-G920AZ
[AT&T Samsung Galaxy S6] jondroid2:
Anyone???
[AT&T Samsung Galaxy S6] chris5h:
Tested with my S6 Active G890 running OF4 and it didnt work. (figured it was worth a shot).
[AT&T Samsung Galaxy S6] mobile.j.klindt:
Bummer.

Was just checking their feed, and their latest post, 20 min ago states:

"SRS Root ‏@srsroot 20m20 minutes ago

#SRSRoot: samsung SAMSUNG-SM-G890A (Build: LRX22G.G890AUCU2AOF4) #Android 5.0.2 Now Supported for #Root at

6:05 PM - 16 Aug 2015 · Details"

Well then... another day.

a quick look at SRSRoots website, under "Last Actions by our users"

2015-08-17 03:18:42	LGE	LGL15G	KOT49I.LGL15G10f	4.4.2	msm8610	Permanent Root

2015-08-17 03:15:21	unknown	X708S	X708S_Android-4.0.4_TecSync_20121025	4.0.4	exDroid	ADBTOOL: GMailLock

2015-08-17 03:15:03	unknown	X708S	X708S_Android-4.0.4_TecSync_20121025	4.0.4	exDroid	ADBTOOL: WipeAll

2015-08-17 03:05:48	samsung	SAMSUNG-SM-G890A	LRX22G.G890AUCU2AOF4	5.0.2	exynos5	Permanent Root

2015-08-17 03:05:44	samsung	SM-G360T1	LMY47X.G360T1UVU1AOF9	5.1.1	msm8916	Permanent Root

2015-08-17 02:38:40	unknown	S-709	GT733FB21Cb-TPa2-V1.5.6.8-20140326release	4.2.1	exDroid	ADBTOOL: GMailLock

2015-08-17 02:32:02	samsung	SM-G530T	LMY47X.G530TUVU1AOF7	5.1.1	msm8916	Permanent Root

2015-08-17 02:30:48	samsung	SAMSUNG-SM-G890A	LRX22G.G890AUCU2AOF4	5.0.2	exynos5	Permanent Root

2015-08-17 02:17:56	samsung	SAMSUNG-SM-G850A	KTU84P.G850AUCU1ANH8	4.4.4	msm8974	Permanent Root

2015-08-17 02:16:21	samsung	SAMSUNG-SM-G850A	KTU84P.G850AUCU1ANH8	4.4.4	msm8974	Permanent Root
[AT&T Samsung Galaxy S6] c0ldburn3r:
Oh I do hope this is not a troll, getting my active in this week. Just need adaway and TiBu.
[AT&T Samsung Galaxy S6] jsanta11:
Just tried and it said completed , no errors but no superuser installed and no binary installed.

---= SRS One-Click-Root v5.1 =---

1:34:26 PM - Starting ADB Server..

1:34:32 PM - Manufacturer: samsung

1:34:32 PM - Model: SAMSUNG-SM-G890A

1:34:32 PM - Android Version: 5.0.2

1:34:32 PM - Build ID: LRX22G.G890AUCU2AOF4

1:34:32 PM - Board ID: universal7420

1:34:32 PM - Chipset Platform: exynos5

1:34:32 PM - Getting OffSets.. : 0x8003 0x8005 (False)

1:34:33 PM - Query Server for Best Method.. Found Rootkit: 8

----= Start Rooting Process.. Please Wait =----

1:34:33 PM [+] Testing exploit: root8 (please wait..)

1:34:35 PM [+] Remounting /system Filesystem as R/W..

1:34:35 PM [+] Installing SU Binary...

1:34:35 PM [+] Installing SuperUser APK...

1:34:35 PM [+] Remounting /system Filesystem as R/O..

1:34:41 PM [+] Rooting Complete !

and the phone rebooted at the end .. am lost ???
[AT&T Samsung Galaxy S6] chris5h:
Exactly what happened to me before and when I tried it again just now
[AT&T Samsung Galaxy S6] c0ldburn3r:
Haven't used that software before but maybe it just needs an update for the recent phones? Maybe try loading an SU app from the play store and see what says?
[AT&T Samsung Galaxy S6] jsanta11:
Tells no binary is installed or found.
[AT&T Samsung Galaxy S6] chris5h:
Diddo for installing supersu manually
[AT&T Samsung Galaxy S6] mobile.j.klindt:
I do not troll..

Figuring maybe the devs of this ware may be here, I thought I would ask. You are as free as I am to look on their Twitter feed, web site to verify what I posted. I'm just someone who wants # on an at&t a0f3 and thought to ask a community I thought was is the "game", first.

I'm as disappointed as you if this does not work.... sorry...... but, seeing as new posters are trolls without wit, I say good-day. rmuser -v mobile.*

Thanks. Nice welcome
[AT&T Samsung Galaxy S6] Muncherino:
I tried today, no luck. I'm guessing they may have accidentally identified it as a working method.
[AT&T Samsung Galaxy S6] anneoneamouse:
Are this group known / trustworthy?

You might want to drop their exe into a good virus checker on your pc, and see if it finds anything malicious, beyond the expected exploit to achieve root.

AoN
[AT&T Samsung Galaxy S6] c0ldburn3r:
Weird, they keep posting the active as having root on OF3. Wth?
[AT&T Samsung Galaxy S6] chadderbox:
I think when you run the utility it states that it worked and gave permanent root even though it didn't. Since this is a server based tool I'd guess that the utility reports back to there site/feed that it successfully rooted the OF3 build even though it didn't. The more people see this, the more people try, and the more it keeps reporting that it works. Unfortunately, it doesn't.
[AT&T Samsung Galaxy S6] FiniteDGk:
I believe he was refering to the "developers" that released the scam-ware. :)
[AT&T Samsung Galaxy S6] footballguyxx:
its bullcrap. some how when you use srs root, it logs on their website. and auto posts on twitter. it is crap.
[AT&T Samsung Galaxy S6] EdgarAdrianMJ:
Ya lo probé en mi SS6 active, y aunque al parecer funciona la última versión, no e encontrado ningún enlace que descargue el programa completo, a lo que me refiero es que la descarga es completa pero al instalar a medida que lo hace da dos errores de escritura y no deja que el programa corra libremente, a pesar de instalarlo con esos errores, al probarlo da la autorización root, sin embargo no lo ingresa al dispositivo quedando sin enraizamiento, posiblemente la causa sea este error de escritura que comento, si alguien logra tener éxito en que corra el programa como es debido, seguramente tendrá el root de su dispositivo, seguiré buscando enlaces....
[Android Q&A, Help & Troubleshooting] augmentedchikken:
hello im tyring to mount my new sd card i got in the mail but for some reason my phone which is a kyocera c6725 running android 4.4.2, and for some reason when i mount my sd card i get a notificiation saying "blank sd card, sd card is blank or has unsupported filesystems" even though on windows i can access it ust fine through the sd reader that it came with, however im not able to access the sd card's contents on android for some reason
[Android Q&A, Help & Troubleshooting] augmentedchikken:
would someone pls be able to help me out with this problem? im trying to mount this new sd card but it doesnt seem to work properly. how do i fix this?
[Android Q&A, Help & Troubleshooting] augmentedchikken:
can someone answer?
[Android Q&A, Help & Troubleshooting] augmentedchikken:
wow this forum is not helpful whatsoever xda really sucks
[Galaxy S6 Edge Q&A, Help & Troubleshooting] costas1926:
hi i need pit file for galaxy s6 edge

or as i read i need to delete the hidden from firmware but i dont know how to create it again any help ?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Okay, so ive had my I9195 LTE for some months now, just a few bugs here and there, but nothing major.. till about a few days ago..

Suddenly i cannot make OR recieve calls, it just instant hangs up, and says "Conditinal Forwarding active"

Now some info below here..

Ive tried..

Reinstalling ROM

Installing new Baseband/modem

Going back to stock

Formatted and done all of the above

took the battery out overnight to see if it worked, then did the same as above.

took the battery out overnight AND the SIM card and did the same.

None of these fixed the issue.

Oh and i tried the SIM card in my old S3 mini, worked flawlessly.

Edit here; I forgot to mention that i DO have mobile Data and SMS/MMS working, just calls that instant hangs up, and cant be called.

..Any takers?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Anyone have any ideas? ..

*leaves a pack of curry*
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
still not working.. -.-
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Charlie:
I had that problem, the calls were instantly ended. But it was fixed with a reboot and it never bothered me again. Tried any custom rom?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Yes, tried stock, cm12.1 and carbon both from Arco and f4k

Going to install logcat or something, doubt it'll show anything though
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Sorry in advance for the huge ass catlog copy paste thats about to follow - It was set to verbose so it would catch anything, i tried to minimize the amount of information in it by clearing logs then opening phone and calling someone, let it fail that because it wont call or recieve calls. then immidiatly open catlog pause it and save that.

Would really appreciate if someone took a look.

Catlog part one, next in next post (6xx lines in total..)
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Starting where the other part of the same catlog left off.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
And the last part... (dear god im sorry for this if anyone reads it.)
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Just to rule this out, can someone upload a flashable via odin MODEM cnk1 version?

The one Arco uses, i cant find it anywhere :\
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] anarchyuk:
this may seem like an obvious one but have you checked with your operator in case its been blacklisted by mistake? does happen more than you think
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
I have not, but as i said i tried the sim card in my old S3 mini, and it works flawlessly

Also tried my dads simcard in it, same effect - instant hangs up with his in too
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] RuffBuster:
http://forum.frandroid.com/topic/208029-modem-i9195/
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Welp, in cnk1 now - Did not make a difference at all but was worth a shot.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
Still broken it seems, maybe posting on general help would do me more good - seems the forum is either inactive or never heard of this issue.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] RuffBuster:
What stock versions have you tried? What Odin have you been using? Was the phone a factory unlocked version or were you locked to a provider? Your imei and base band are still showing correctly? Unfortunately the S4 Mini forum isn't as large as the flagship phone forums. So less users with similar problems and less technically minded wizards. Something I miss myself when owning the S1 and S2.

If I was in your shoes I would try flashing the latest country coded stock ROM but I would try flashing 3 times over just to be sure everything flashed correctly, as modems don't always flash the first time. "I" would wipe every mount point from custom recovery and also thru stock recovery data/cache between the first 2 flashes.

Might not work, but nothing to lose I guess.

Also might help to disable antivirus when flashing. But I doubt that's stopped things working your end.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] Axaion:
First off, sorry for taking to long to reply, i was considering throwing it into a brick wall.

I have used both odin 3.09 and 3.10.7 and 3.10.6

I used TWRP and CWM, and Stock recovery to wipe whatever i could (i removed the external SD card, so that is not a factor)

By mount points i assume you mean under advanced wiping, and selecting system, cache, internal SD and so on, i ticked them all.

I reinstalled it 3 times as you suggested afterwards.

I have a working IEMI, and modem showing in settings -> about phone

I HAVE working mobile DATA net, AND SMS/MMS as before, or rather, i still have it as it never left.

Regardless whenever i call someone it instant cancels/hangs up, and no one can call me.

Oh, i also tried another sim card from a different provider too, same deal

I live in denmark, so i used these firmwares below:

I9195XXUCOD3_I9195NEECOD1_NEE

And this one.

I9195XXUCNK1_I9195NEECNI1_NEE

Im out of ideas here really, i tried pretty much everything except opening the phone up and taking a look at it there. :mad: