yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] meangreenie:
Got my wife an unlocked international d802 model for a song brand new.. don't know why anyone would buy a branded one.

It's running KitKat, and rooting and installing twrp was probably the easiest phone I've ever done.. including my nexus 5
[Nexus 5 General] Raistlin1:
Yes I know how the updates work on other phones and I wasn't implying to get the different phone because how long it took for Google to give us an update to maybe fix some issues but cause some more. I understand the Nexus line gets the fastest updates, but we have waited a while for a basic update to fix a few issues and its still up in the air how successful the update was.

The OnePlus One and the G3 are brand new phones with some great specs and features, the OnePlus will get pretty fast updates but the G3 probably will not. The OP was saying that he is on the fence so I gave him what I believe are some nice options. I am a little upset with Google about this last update, which I am sure many on here are as well, which is why I ranted a bit about the update. I was on Sprint before so this last update was fairly important to me for a while but I left for AT&T so it became less so.
[Nexus 5 General] kingston73:
I don't understand why you were upset with the update? What am I missing?
[Nexus 5 General] :
The N5 gets updates before anyone....I don't get it either? Lol
[Nexus 5 General] brunobliss:
Nexus line uses what is said to be "pure android experience " hence my preference over everything else

Aw and the price is so appealing ...
[Nexus 5 General] meangreenie:
Only trouble with Google's nexus updates is that they release broken shut, and never fix it until the next point release.

for just one example, 4.4.2 had a massive os level bug where many services would not restart and get stuck in a 0bytes state in running services. this made apps like bbm miss notifications after a while. oddly apps running through Google servers were ok.

every other manufacturers phone I have tried on 4.4.2 didn't have this bug, they actually bothered to fix it before releasing.. with Google we had to wait 6+ months for 4.4.3 to fix it. so in essence, since 4.4.3 is just a bugfix, we actually got it last.. well really we're still waiting on many major bugs.
[Nexus 5 General] :
I have no noticeable bugs on 4.4.2 or 4.4.3.

If a handful have an issue, that isn't going to get Googles attention. Keeping in mind, a handful on XDA, or even all of XDA is not even near a percentage of their customers. ?
[Nexus 5 General] yguns76:
If you don't need to update now, wait.

If you simply can't wait, the nexus 5 is an excellent phone that can be rooted once official updates stop.
[Xperia Z2 General] snipeerz:
hello i want to know how to download mp3 extension file to my z2 ?

i mean in some websites there is mp3 music files i want to download it to my phone cause when i press download button in the site the phone open 2 choises mp3 music listening and walkman so only to open and hear the music not download !!

so there is way for that
[Xperia Z2 General] dft601:
Playstore: download all files or advanced download manager

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 General] Mr.R™:
Or just press and hold the download and save link :)
[Galaxy S 5 Q&A, Help & Troubleshooting] burakg:
What is a good music app i can get to download music from since i can't download from my laptop cause it is at repairs
[Galaxy S 5 Q&A, Help & Troubleshooting] mediumsteak:
For paid music? Or illegal pirating? It's against the rules to discuss illicit topics like that on this forum. Go back to Kazaa or Bearshare.
[Galaxy S 5 Q&A, Help & Troubleshooting] burakg:
I don't want a free music download app i want a paid music app on my sgs5 i won't use shazam

I try bearshare wen i get my laptop back
[Sony Xperia Miro, Tipo (Dual), J, E] D.Sirakov:
Who is the best tweaks for optimization adreno 200 and does it - http://rk00064.blogspot.in/2012/04/new-libs-for-adreno-200-to-increase-3d.html - working on Xperia E with Xboost Rom
[LG Optimus 4X HD] suba_ri:
Hi, I'm using Cyanogenmod 10.1.2 stable version with the kernel that comes with this release.

I noticed a strange problem, every time I'm saving something to internal memory, phone slows down.

Example: I take a picture and I want to share it via WhatsApp, everything slows down, even gets unresponsive for 20 seconds. The same thing happens when I take a screenshot, or when I download / update any app.

Apart from that, the phone doesn't seem to have any other problems.
[LG Optimus 4X HD] MidnightDevil:
The phone isn't the fastest thing in the world but the behavior your describing isn't quite "normal".

For a start, in my opinion the CM native kernel is a little slow, I'm gonna ask you to try Iodak kernel (for now) to see if helps.

Flash 9.5 from this thread: http://xdaforums.com/showthread.php?t=2270308

I'd eventually try an app to measure the IO performance in the internal memory for comparing, but I can't think of an app now (no access to play store atm), so let us know if anything changes after flashing Iodak kernel.
[LG Optimus 4X HD] suba_ri:
Sorry, I forgot to mention that this kind of behavior happened on stock ROM as well as on CM with Iodak and Werewolf kernel. My friend was using stock CM10 kernel on her phone and everything seemed fast enough so I tried it also but the problem remains.

EDIT:

I ran this benchmark: https://play.google.com/store/apps/details?id=com.passmark.pt_mobile

My results for internal storage write were 11,9 MBytes/Sec and for reading: 31,7 MBytes/Sec
[LG Optimus 4X HD] MidnightDevil:
Do you notice that behavior only with WhatsApp? Can you give us more examples?

Also, you can use AndroBench (https://play.google.com/store/apps/details?id=com.andromeda.androbench2) and post the results?

I'm thinking that something else is causing the lag, WhatsApp sometimes just hangs on me for a while (also uses sdcard to store logs).
[LG Optimus 4X HD] suba_ri:
WhatsApp works fine when I'm sending a picture that was previously saved.

This kind of behavior happens also with Kik, Facebook messenger, and in general;

When I update any application, the phone becomes almost unresponsive for 10-20 seconds, every single time.

Here is the screenshot from androbench: https://db.tt/KAoi3zoX

I created this screenshot and it took 10 seconds for the phone to start reacting normally again..
[LG Optimus 4X HD] MidnightDevil:
I experienced lots of different behaviors, sometimes even with the same configuration. Becoming unresponsive for a while when updating apps isn't uncommon. I experience that, I'm sure lot's of users around here do. You could try changing the sdcard readahead to 2048 and see if makes a difference (or to 1024, etc..) and see what configuration your friend's phone is using. You can also use Kernel Tuner, Performance Control or any tweaking app which allows you to change governors / cpu frequencies / sdcard readahead to changes these things.

Also, OOM values can also influence the user experience (these can be checked / changes using Kernel Tuner for example).

Will run Androbench soon as I can and i will post and compare.

Update:

Alright here's mine - Although there are differences (specially on the sequential write), I don't think it's exactly that, that is causing your issue.

Can more users do the test with Androbench and post their results ?
[LG Optimus 4X HD] suba_ri:
Here is the result from the friends phone:

https://db.tt/t5E9iZDY

From looking at this my phone should even be faster :eek:
[LG Optimus 4X HD] MidnightDevil:
Looking at the three images, it makes me thing its kinda random almost lol.

Try fstrim from the market... run it.. maybe will help... I'm a little lost here. Need more info.. you saying this happened to every rom you tried?
[LG Optimus 4X HD] suba_ri:
It happened on stock ROM and on CM 10.1.2 stable (with iodak kernel and with cm kernel).

I didn't try any other ROMs.

I just ordered Nexus 5 and I will give this phone to my brother, so while I'm wiping all the data I can try another ROM if you think that could help..
[LG Optimus 4X HD] MidnightDevil:
In my opinion, I'd use CM 10.1.2 stable (android 4.2.2), runs fantastic and everything works. If your brother wants to give a go at KitKat, go ahead, but stability? CM10.1.2. For sure.

There's also a couple Stock roms around here and the web, there's one called "JBS (just better stock), google it ;) it's light and fast.
[Windows Mobile Development and Hacking General] jambaj0e:
Ok, take a look at this screenshot below

If you look at the second line, it reads 6:24 P 9. I don't know how, but this replacement phone that I received when I lost my phone last month has a P9 instead of Pm. When I highlight the 9 and try to change the value via the arrows to the left of it, it goes from 1-9. How can I change it back to Pm? It's messing up with Blades SMS Threader and crashes because it's trying to time stamp with that P9 and can't convert the value as a correct Pm.

Luckily, alarms, appointments, and tasks do go off in the correct time they are supposed to, whether it's AM or PM.

Any suggestions on how to fix this?
[Windows Mobile Development and Hacking General] xplode:
Try to change your clock settings to 24 hour instead of 12 hour setting, so it wil no display am and pm
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] rachedi1388:
I have sprint s4 that is international unlocked and runs on android 4.2.2 .If i upgrade it to KITKAT 4.4.2 will i lose the unloking if so please tell me how to do any thing to get unlocked kitkat

thank you in advance

software version : l720VPUAMDC

baseband version : l720VPUAMDC

build number : jdq39.l720VPUAMF9
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] daniel4653:
You can update then unlock.the phone with the same method found in the general thread (if you don't know where it is at, search for it yourself).
[Windows Phone 8 Q&A, Help & Troubleshooting] ravefolk:
Is there no Lumia 1520 section on XDA? :rolleyes:
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
How - To

0. Complete How-To

1. Getting Started (General)

2. Config & Deploy

3. Individual Call (ADB/Fastboot/Signer)

4. Start/Stop (ADB/Fastboot)

5. Reboot (ADB/Fastboot)

6. DeviceConnectionMonitor

7. Device state check

8. Send KeyEvents (ADB)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Problems & Solutions

1. Windows 8.x | 10.x

NOTE

If u use any callback functions, u have to invoke any UI-/ variable-interaction from an dispatcher like the following example:

public void Monitor(Added|Changed|Removed)EventHandler(object sender, Monitor(Added|Changed|Removed)EventArgs e)
{
App.Current.Dispatcher.Invoke((Action)delegate
{
// IDeviceInfo[] e.Devices
// Here u can interact with an UI-Element or an variable in ur program code
});
}

if u do it without dispatcher, u'll get an "Thread Exception".

More examples coming soon...

(If u need a specific example, just let me know, i'll try my best to provide one.)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Showcase

ADB-Overlay made by me

The XDA-Thread and Download can be found here

P10 Lite Toolkit made by me

The XDA-Thread and Download can be found here

P9 Lite Toolkit made by me

The XDA-Thread and Download can be found here

HTC One Toolkit from our Member @squabbi

The XDA-Thread and Download can be found here

--

U use this dll in ur project?

Send me a PM with:

Project Name

Small image

Short description

Download link

then i'll link it here.
[Android Software/Hacking General [Developers Only]] OmarBizreh:
An interesting library, time to change Droid Manager code base to use this one ^__^

Thanks for your hard work :highfive:
[Android Software/Hacking General [Developers Only]] squabbi:
Could you put an example of how to use the adb and fastboot commands?

such as adb reboot

and fastboot reboot
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Yup i'll do it right now :)

#EDIT:

Added:

Start/Stop ADB/Fastboot

Check if ADB/Fastboot is running

Device Reboot ADB/Fastboot

Sending KeyEvents ADB
[Android Software/Hacking General [Developers Only]] squabbi:
Hey another question. How would I use for example:

Fastboot.Instance().OEM.ReadCid();

I would presume there would need to be a 'string' for it to save to.

private string _cid

??

EDIT: So i deciced to try this:

MessageBox.Show("cid: " + Fastboot.Instance().OEM.ReadCid());

When I press the button it shows:

Thanks! ;)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there ;)

Methods/functions like "ReadCid()" returns a "List<string>" so u can do like:

string cid = string.Join(" ", Fastboot.Instance().OEM.ReadCid().ToArray());

// or

// The return are 3 lines, so we need to get the 2cnd
string cid = Fastboot.Instance().OEM.ReadCid()[1];

NOTE

I return there a "List<string> (the raw output)" coz i dun know if the output will be the same on each device.

In this case u have filter the right line ur self :)

Hope this helps ;)
[Android Software/Hacking General [Developers Only]] squabbi:
Thanks again! :)

It worked perfectly! Another question. I'm now using a textbox to show the output like this:

MainWindow mainWin = (MainWindow)App.Current.MainWindow;
mainWin.tBOutput.AppendText(String.Join("", "\n", Fastboot.Instance().OEM.ReadCid()[1]));
mainWin.tBOutput.ScrollToEnd();

How can I do this but in a seperate window? Like one that is seperate from the MainWindow.

Thanks! :good:
[Android Software/Hacking General [Developers Only]] squabbi:
Thanks for clarifying! What if i want to get the identifier code? it has multiple strings? how can i choose to show all of them?

EDIT: (More questions! ;) )

Is it possible to use:

foreach (DataModelDevicesItem device in adbDevices)
{
App.Current.Dispatcher.Invoke((Action)delegate
{
// here goes the add command ;)
deviceselector.Items.Add(device);
});
}
foreach (DataModelDevicesItem device in fastbootDevices)
{
App.Current.Dispatcher.Invoke((Action)delegate
{
deviceselector.Items.Add(device);
});
}

to check if the device is in fastboot or adb? e.g

I press a button to flash recovery. i can have my phone in adb or fastboot and it will check to see which it is in. Then it wil lcarry out a specific command?
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there :)

If u mean the HTC-Bootloader unlock code, u can use the described 2 or 3. :)

(Both window examples have an "foreach loop" to print out each line from the List<string> into the RichTextBox)

If u want also replace the "(bootloader) " tag u can use this line:

TokenOutput.Document.Blocks.Add(new Paragraph(new Run(tmp.Replace("(bootloader) ", ""))));

just replace it in the CS code with the one in the "foreach loop".

Yes, so i do it in my projects also.

For this scenario, u need a function which checks which state have the current device serial. After u have the state ADB or Fastboot, u can call 2 different methods from my dll:

ADB

// This requires Root in any case!
ADB.Instance().Device.FlashImage(IDDevicePartition partition, string localPath, bool tmpToSD = true, int timeOut = -1);

Fastboot

Fastboot.Instance().Flash(IDDevicePartition partition, string file, int timeOut = -1);

NOTE

I will build a function which will do the work in the future, next release will include it. ;)

#EDIT:

Release it out :D

AndroidCtrl.Tools.General.CheckDeviceState(string deviceID);
// return is a IDDeviceState

Hope this helps ;)
[Android Software/Hacking General [Developers Only]] squabbi:
Hey there! :D

Im using this for the output:

IDDeviceState state = General.CheckDeviceState(ADB.Instance().DeviceID);
if (state == IDDeviceState.DEVICE)
{
ADB.Instance().Reboot(IDBoot.BOOTLOADER);
CidDialog ciddiag = CidDialog.Instance;
ciddiag.Add(Fastboot.Instance().OEM.GetIdentifierToken());
ciddiag.Show();
}
else if (state == IDDeviceState.FASTBOOT)
{
CidDialog ciddiag = CidDialog.Instance;
ciddiag.Add(Fastboot.Instance().OEM.GetIdentifierToken());
ciddiag.Show();
}

When I first press the button the output window shows. When I close it and press the button again it gives me this error - even if I wait a couple of seconds.

Thanks for your help! :fingers-crossed::good:
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there ;)

oh yes, that is my fault :(

U have to add this to ur Window constructor "CidDialog(){}"

this.Closing += WindowClosing;

And this is the "WindowClosing method"

#region WindowClosing

///<summary>
/// Clean exit
///</summary>
private void WindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
{
_instance = null;
}
#endregion

Explain

"CidDialog.Instance" create a new instance of the window. But on close the instance will not be set to null. So u can't open it again, coz the system think it's still open.

Hope this helps ;)

#EDIT:

I updated the examples 2 and 3 also.
[Android Software/Hacking General [Developers Only]] squabbi:
Thanks a lot man! Time to put everything in full motion! ?
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Np dude ;)

Good Luck! ;)
[Android Software/Hacking General [Developers Only]] squabbi:
Hey there! I may be over looking, but where can I use the 'fastboot boot image.img' command?

Thanks!
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey bro,

I dun implemented it sry... Next build will include it. :)

Upload starts tonight ;)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there, i try to upload the New build tomorrow coz, my mobile Internet plays hangman after 37% upload...

Hope Vodafone will activate my New account ASAP... *damn Vodafone*

EDIT:

Seems the upload goes fine :) - so new build is online ;)
[Android Software/Hacking General [Developers Only]] squabbi:
Hey there! Is it possible that the dll doesn't have to extract the adb files? Can we have an option? :)

Thanks!
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there :),

yes u can! :P

Just use

ADB.PATH_DIRECTORY_ADB = "C:\\adb\\";

AAPT.PATH_DIRECTORY_AAPT = "C:\\adb\\";

FASTBOOT.PATH_DIRECTORY_FASTBOOT = "C:\\adb\\";

U can change the path to what u want, but, remember u can only change the directory path not the filename.

Hope this helps ;)
[Android Software/Hacking General [Developers Only]] squabbi:
Nice! Featured on xda portal!! :)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Just saw it, i'm amazed! :D
[Android Software/Hacking General [Developers Only]] linuxxxx:
Is it possibile to use this with bash scripts?
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there,

if u mean the good old windows "batch", nope, coz we have here no (.exe) its a pure library.

But, u can write a console application which u can handle via a "batch" script.

Else if u mean the linux bash, yes u can send 1 liner to it via...

ADB.Instance().Device.Su.ShellCmd(string cmd, bool shell = false, int timeOut = 0);

// here u have to set shell to false then su will use bash instead of shell.
ADB.Instance().Device.Su.ShellCmd("ur command", false);

Hope this helps :)
[Android Software/Hacking General [Developers Only]] linuxxxx:
Thanks, I was interest in both win and Linux shell. :) good work
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Np :)

But, so far i know in linux u only have the ability to include dlls via mono and the dll must be compiled with mono! In my case i only work with Visual Studio... So the dll can't run in an linux environment, if i'm right.

But u can send, via an windows (.exe) which includes this dll, an bash command to every Android device. U still have to use the command i posted in my last post.

U can also use...

ADB.Instance().ShellCmd(string cmd, int timeOut = 0);

ADB.Instance().ShellCmdStack(List<string> cmdStack, int timeOut = 0);

ADB.Instance().Device.BusyBox.ShellCmd(string cmd, bool su = false, int timeOut = 0);

ADB.Instance().Device.Su.ShellCmdStack(List<string> cmdStack, int timeOut = 0);

but these methods sends the commands to the "shell".

Hope this helps ;)
[Android Software/Hacking General [Developers Only]] Rapscallion16:
How does this project compare to AndroidLib? I currently use AndroidLib in my toolkits, but I'd be open to switching to this if it offers more capabilities.
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there,

i dun know much about AndroidLib... But so far i can see (on it's GitHub source), it has not so many features.

My DLL for example includes a lot of parser for, for example the Android filesystem (i wrote it close to .NET File/-Info / Directory/-Info), a few ADB dumpsys calls (battery, meminfo, etc.), the aapt dumps (badging, configurations, permissions, etc.).

Also u have the ability to start real-time-processes or send single/stack commands to the device.

But about the differences between AndroidLib and my DLL i can't say much, coz i never used AndroidLib .

I think best is, u have a look at my DLL and it's example app source, so u can decide if it's better/easier for u to use.

Hope i could help u with this info. :)
[Android Software/Hacking General [Developers Only]] squabbi:
I've also noticed that the documentation and support for this is better for those who need a kick start. :)
[Android Software/Hacking General [Developers Only]] Krystanos:
Hello guys,

Thanks for this lib! I want to develop a sync tool for my devices. Seeing how the MTP lib is built, I understand why I can't find a damn soft working correctly. It made me not wanting to work on my soft anymore...

But I can find in this lib everything I need. So I'll give it a try, and a feedback for sure :)

Thanks again! :victory:
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there,

THX for giving this dll a try! :)

But, u found an MTP lib outside there?

Can u pls provide a link or send me a pm? Coz i searched also for this, so i can eventually write an MTP .NET wrapper part in my dll. :)

Also, if need some help or some examples let me know, i'll do my best to help u!

Regards,

Sebastian
[Android Software/Hacking General [Developers Only]] Krystanos:
Nope. Only lib you can use is the MTP lib in the Windows API. Good old COM, and version not updated since Vista has been released. Also, this lib has bugs (which could explain why so many MTP sync tools fails very hard).

That would be awesome! I wanted to do this MTP .NET wrapper, but for the reasons I gave before, I didn't want anymore. Having to patch the DLL and so... Having to use COM. I'm not the low layer dev I used to be, I like pretty much working on arch matters instead of inter-technology communication :)

But if you want some help, somewhere on the path, I can give a hand...

Here are a few links I saved for further study when I would work on MTP:

http://blogs.msdn.com/b/dimeby8/archive/2006/12/05/enumerating-wpd-devices-in-c.aspx

http://channel9.msdn.com/coding4fun/blog/Using-the-Windows-Portable-Devices-WDP-API-for-fun-and-fun

http://msdn.microsoft.com/en-us/library/windows/hardware/Dn613951(v=vs.85).aspx

http://www.andrewt.com/blog/post/2013/06/15/Fun-with-MTP-in-C.aspx

Some important articles are linked in these articles, like the one explaining the bug in the MTP API, and how to patch it.

Good job and good spirit. Nice to meet you :)
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there,

yup, i also read about that issue... Damn MS^^

Thought u had found a dll which is based on the Windows-Management API :)

(I experimented a bit with it, but, i hate statements similar to SQL, coz... i hate SQL :p - But, i'll try it again, so no guarantee that i get it work but i'll try.)

THX a LOT! :D

I'll read it for sure! But on first view most articles describe how to reassemble the dll... I think that's not a really clean way... So i'll try it 1st via Windows-Management API.

THX dude, i try my best to help where i can!

Nice to meet u too! ;)

Regards,

Sebastian