yashsingh1/xdaforums huggingface dataset:
[RAZR HD Q&A, Help & Troubleshooting] Digital DJ:
Hey guys my Father in Law gave me his Razr HD. He never rooted it. But one day after he sent what ended up being this device's final text, the device acted weird and all apps started closing. Then the phone shut down and never started again. So I have it and I used to root, and I thought I would give it a shot. All I can do is get to the recovery where you can factory reset etc.. Even after a factory reset, the phone gets stuck on the stock Moto logo boot screen. Is there something I can do to revive this device? It's only like 2 years old and I thought this would be a great spare device incase I EFF up my Droid Turbo 2. Anyway any help or a good point in the right direction would be appreciated.

What I've done so far

1. held the power and vol down button to get to the android/triangle then held power and vol up to get to recovery and try factory reset.

2. called verizon tech support to see if I could get the OG firmware

3. researched the net for a guy that I once sent a bricked devie to like in Texas or something and he unbricked it... I think he or it was called j-dax or something along that line.

4. posted this thread

5. continuing research on how I can fix it myself or find that guy!

Yes I posted this in the Motorola forum as well, but that thread seems to not be used that much and was hoping I could double up and get some help from you all =)
[Verizon LG G4] hschreibz7:
Alright so normally I don't mess things up this bad... But I did something stupid by replacing LG system ui with the one from the port hybrid theme for our US carrier phones. Needless to say its not made for 13B update that just came out. Tried it anyway to see if it would work...nope. Phone won't boot up all the way. Just gets stuck say "LG system ui stopped responding". I stupidly erased my rooted system img off my phone as well. I tried to factory reset and clear cache. Nada. Anyway I can push the img to my phone via abd? Verizon assistant doesn't have the lastest 13B to reset to. I'm out of ideas. Any suggestions would be greatly appreciated.
[AT&T Samsung Galaxy S 5] i7vSa7vi7y:
This phone won't boot into recovery only in download mode. I need a stock ROM so I can flash in Odin but with all of my searching everywhere all I find is .zip files which I cannot use. Please someone help ASAP
[AT&T Samsung Galaxy S 5] berniesteven:
Try this. It's the update to 5.11.

http://xdaforums.com/showthread.php?p=63797486

SM-G870A Peace
[AT&T Samsung Galaxy S 5] i7vSa7vi7y:
Thats a cfg file. I odin that on AP?
[AT&T Samsung Galaxy S 5] berniesteven:
Rename update.zip and flash in recovery.

SM-G870A Peace
[AT&T Samsung Galaxy S 5] Chosenbc:
Just trying to point out that if people READ what is written they would see He stated in his first message he cannot get into recovery, he can only access the download Custom OS screen.
[AT&T Samsung Galaxy S 5] berniesteven:
Oops, lost track of that.

SM-G870A Peace
[MX Player] drhex:
In MX Player pro, running on Android 5.x, I tried to delete a movie (longpress and click trashcan icon).

The movie was stored on an external SD card. I am aware that google thinks there will be chaos if all apps were allowed to write willy-nilly to an external sd card, and so there is a special API which on the first write attempt has the user select a directory under which a program will have write access.

I selected the directory in which I keep movies, but MX player was then unable to delete the movie as requested.

Only if I select the root of the external card will the delete work. To be fair, MX player did ask me to select the root of the external SD card, but I think this defeats the purpose of google's api. Would it not make sense if MX Player could be given write access only to the directory tree under which it has a reason to write?
[G3 Q&A, Help & Troubleshooting] TheMadScientist:
I know this issue sounds like a bad battery try that ive seen a few do this and it was a battery
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Hustladave:
...hi i have a new problem with my Xda Exec after the ROM upgrade i did last month i have now WMP 10 (i had the WMP 9 version before...and no proble about it):

i have my videos stored in the SD of my Exec...any time i try to open a video i can see just some seconds of it, then i get this error message on the screen and it automatically stops: "Not enough storage is available to complete this operation"!!! If i soft reset my Xda it works and i can see the videos for a while...then the problem comes out again...!!!

When the device gives me the problem i have more than 30 MB of Storage memory and more than 25 MB of Program memory available.....

Can somebody help me out solving it???

Thanks in advance....
[G2 Q&A, Help & Troubleshooting] Demi1786:
Hello, I'm not really sure that I'm on the right place for my question but any help would be great. Lately, I've been using LG G2 and last few weeks I have a problem with (possibly) some kind of virus. After I start to do something, a few of windows pop up. It offers me update on site "global.mstrck06a". When I check software, it is latest version.

Anybody had the same problem...?
[Nexus 9 General] seanashmore:
First off I'd like to apologize if this is in the wrong place or if it is perceived as advertising, I simply want to contribute to the dev community and this site, and in particular the Nexus 9 forum that has been the centre of my learning as I took up the hobby of AOSP.

I have been back and forth with AOSP, I've contributed a little bit here and there on the Android development forums but would like to properly document how to build AOSP and more importantly (because it is even less well documented) how to add features, change existing features and generally customize the operating system to your liking. I am by no means an expert but I feel I have enough knowledge that I can share it with others who may be in the position I was a number of months ago. I always found it very difficult to find a centralized location for the information I needed.

To this end I have started a site to do just that. I am using a Nexus 9 for my AOSP development but most (if not all) of the tutorials and information should be applicable to basically any AOSP/Nexus device. I have started things off by creating a tutorial on how to build AOSP from 'scratch' so to speak and a tutorial on how to add items to the power menu such as 'reboot', 'airplane mode' etc.

If anybody would like certain topics covered or just have any feedback or comments please reply here or leave them on the articles themselves. I'll do my best to accommodate / respond.

The link is: http://littlelostandroid.wordpress.com

From tomorrow the following (nicer) link should also work: www.alittlelostandroid.com

I should also add that the blog will be ongoing about all things android device but this initial series will be about also and implementing features.
[Nexus 9 General] Logix:
wow this is a real good guide/blog u put together please do continue
[Nexus 9 General] seanashmore:
Thanks! The next post should be up in a day or two, its been a busy week.
[Nexus 9 General] seanashmore:
New post up about flashing the build to a device!

www.alittlelostandroid.com
[Nexus 9 General] whowatchlist:
This is a great website. Lol i'm gonna have to learn to use ubuntu(was gonna do it anyway on my old computer but motherboard died and i got lazy). Can you make this in chronological order? or better add each section to a sitemap? Just a suggestion:cyclops:
[Nexus 9 General] seanashmore:
So I changed the theme so that you can see the most recent posts on the side and work from that. I'm still getting to grips with WordPress to be honest but hopefully that's better now.
[Nexus 9 General] seanashmore:
Another post about setting up and storing your code on GIT repos:

https://littlelostandroid.wordpress...-open-source-project-part-4-git-repositories/
[Nexus 9 General] scoobydu:
Thanks for this :)

Do you have any insight to share on your site about building the LTE variants at all?
[Nexus 9 General] Topse:
THX for your work !

There are plans to continue this great guide? :)
[Nexus 9 General] seanashmore:
Sadly I won't be able to do any work around the LTE version as I don't have the hardware to test it on. I don't want to release advice I haven't tested and potentially end up inadvertently damaging someones tablet for example

Sorry for the late reply, I don't get any emails when someone posts on this thread, I need to subscribe to it. I do plan on doing more, in fact I think I may have some written already, just a matter of getting time to do it. I'll get to work on the next section of the tutorials and post here when it's up. Is there anything in particular you would like covered?
[Nexus 9 General] Topse:
I m actually try to make my own little aosp rom.

I have some probs with gapps flashing.

Wrong api level error.

I tried different commits.

With pure nexus gapps it works .I need to flash it twice.

I do "make otapackage", this is different to your guide.

When I flash a custom kernel I don't have this gapps problems.?

Next thing I will integrate is that reboot option.

But with reboot recovery.

Once after flashing I was surprised with stock recovery.:mad:.

How can I disable that?

At the moment I build only for my bullhead.

But if that recovery and gapps problem is solved.

I will try for my flounder and shamu too.

Actually I use n7 r 15 as source. But will will switch to 7.1*

When it is evaluable.;)
[Nexus 9 General] seanashmore:
I'm not 100% sure about the GAPPS issue, maybe try http://opengapps.org/, it lets you choose your android version, architecture etc.

In terms of the recovery; You'll see in my tutorials that I am using the stock Google factory images as a base. In that image is a recovery.img file; You should be able to replace this file with TWRP or any other custom recovery and flash it as part of your ROM.

Hope this helps.
[Nexus 9 General] Topse:
I tried opengapps. But i run in an error. Opengapps say my ROM has the wrong api level.

I tried this commit (and other like that)

https://github.com/Cardinal-AOSP/frameworks_base/commit/6c8322f3ad221ea2092e82b99ece537b85ec996f

And with pure nexus dynamic gapps . it works when I flash the gapps two times. First I get the error and the second try works.

Change recovery to twrp sounds good. But with more devices its a dangers thing. Cause ever device needs special twrp.

I think there is a way to disable this flashing recovery.

But till now I didn't find it.
[Nexus 9 General] seanashmore:
If it's just the case of not flashing the recovery img then just remove that line/command from the script. However you will have to assume that the device already has a recovery img (which to be honest is a fairly safe assumption).
[Nexus 9 General] Topse:
[/STRIKE]

I try this for recovery https://github.com/peteralfonso/platform_build/commit/9b3a020058b84fb1f9cfba600f4a958572a805c3

edit: i think this is to old...:mad:
[Nexus 9 General] Topse:
I use this way to build:

cd ~/aosp/kernel/lge/bullhead

make clean

export ARCH=arm64

export CROSS_COMPILE=~/aosp/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-

export USE_CCACHE=1

make bullhead_defconfig

make -j6

cd ~/aosp

mkdir ~/aosp/device/lge/bullhead-kernel

rm ~/aosp/device/lge/bullhead-kernel/Image.gz-dtb

cp ~/aosp/kernel/lge/bullhead/arch/arm64/boot/Image.gz-dtb ~/aosp/device/lge/bullhead-kernel

source build/envsetup.sh

make clobber

lunch aosp_bullhead-userdebug

export USE_CCACHE=1

make -j6 otapackage
[Nexus 9 General] seanashmore:
Ah ok, see the way I build gives me separate .img files, and I write a script similar to the flash-all script you get with the factory images. This allows me to pretty easily change what i want to do and what i want to flash or not.
[Nexus 9 General] Topse:
Year , but zip is easier to use/share. :)
[Nexus 9 General] seanashmore:
Definitely, though you can always put your script and .img files inside a zip just like the factory images. so users would download your zip, unzip it and run your script. Its all down to personal taste i guess, there are many ways to skin a cat.
[Nexus 9 General] Topse:
:good:

I like it to try different ways.Good for learning and deeper understanding.

For my personal use is this way no problem.

But for sharing with other people is a flashable zip file the most used way.
[Nexus 9 General] b8842dc0:
Very easy to modify the source code so that stock recovery is not flashed:

1. Edit <android source code root>/system/core/rootdir/init.rc

2. Find the section: "service flash_recovery /system/bin/install-recovery.sh"

3. add "disabled" after the line "oneshot".

When you install your ROM, your recovery won't get touched.
[Nexus 9 General] Topse:
[MENTION=7070761]b8842dc0[/MENTION]

thank you for your answer i try this :)
[MENTION=4822772]seanashmore[/MENTION]

I tried your way for the reboot menu.

Obviously I did something wrong.

The whole thing exceeds my programming skills.

I get this error when trying to compile.

You have an idea where the error could be?

...ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:90: The type GlobalActions must implement the inherited abstract method DialogInterface.OnDismissListener.onDismiss(DialogInterface)

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:90: The type GlobalActions must implement the inherited abstract method DialogInterface.OnClickListener.onClick(DialogInterface, int)....
[Nexus 9 General] seanashmore:
The GlobalActions class has to implement the onDismiss and onClick methods inherited from the DialogInterface.onDismissListener and DialogInterface.OnClickListener interfaces. However it seems that your version of GlobalActions does not do that. Is it possible you have accidentally deleted these methods?

They should be around line 629 and look like this:

/** {@inheritDoc} */
public void onDismiss(DialogInterface dialog) {
if (mShowSilentToggle) {
try {
mContext.unregisterReceiver(mRingerModeReceiver);
} catch (IllegalArgumentException ie) {
// ignore this
Log.w(TAG, ie);
}
}
}
/** {@inheritDoc} */
public void onClick(DialogInterface dialog, int which) {
if (!(mAdapter.getItem(which) instanceof SilentModeTriStateAction)) {
dialog.dismiss();
}
mAdapter.getItem(which).onPress();
}

When did you pull your code and from what branch? Have a look at the online repo for what the class should look like:

https://android.googlesource.com/pl.../com/android/server/policy/GlobalActions.java

Hope this helps
[Nexus 9 General] Topse:
That lines at 629 are ok.

I repo sync NRD91N	android-7.0.0_r15.

Maybe you can look what i did, i checked my code but don't see what is wrong.

http://pastebin.com/gx428vUH

Thank you for your help ! :)
[Nexus 9 General] seanashmore:
Can you run the following command and paste the results here please:

git status /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java

This should show any changes you have made to the file and hopefully will help us figure out the issue! Thanks!
[Nexus 9 General] Topse:
topse@topse-dg:~/aosp$ git status /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java

fatal: Not a git repository (or any of the parent directories): .git

Until now I have my work not yet pushed to git....
[Nexus 9 General] seanashmore:
ok one issue you have is that your else if (for the GLOBAL_ACTION_KEY_REBOOT ) has one too many closing curly braces. Delete the extra one and try building again.
[Nexus 9 General] Topse:
I did that.

Then i run in this :

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:390: Syntax error on tokens, delete these tokens

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:390: Syntax error on token(s), misplaced construct(s)

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:390: Syntax error on tokens, ( expected instead

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:390: Syntax error, insert "AssignmentOperator Expression" to complete Expression

ERROR: /home/topse/aosp/frameworks/base/services/core/java/com/android/server/policy/GlobalActions.java:404: This method requires a body instead of a semicolon

[ 67% 33321/49380] Building with Jack: out/target/common/obj/JAVA_LIBRARIES/settings_intermediates/with-local/classes.dex

ninja: build stopped: subcommand failed.

I tried something but i think it was wrong, i run into a lot more errors ;)
[Nexus 6P Q&A, Help & Troubleshooting] taar1:
I noticed that whenever I connect my Nexus 6P to the computer with USB that the wi-fi gets lost after a while. When I disconnect the phone from the computer it takes a while and the phone is back online.

Also when I keep the phone connected to the computer occasionally the wi-fi comes back but gets lost again after a few minutes.

I dont't have any problems with my Nexus 5 (2013) nor with the Samsung Galaxy S3 mini.

Any ideas what might cause that? It's pretty annoying.
[Sony Xperia T, TL, TX, V] Ritwyk:
Checked the Flashtool logs for the existing firmware number, then downloaded the corresponding FTF and flashed it successfully. Phone's booting again.

Still not sure why the Central Europe firmware wasn't taking, as it's supposed to work on carrier-unbranded phones.
[General Questions and Answers] Mysticodex:
My android Google Fit app and my Android Wear app are both properly calculating Google Fit steps/exercise etc, but when I visit http://fit.google.com no data is showing up.

Has anyone had this issue?

Thanks.
[General Questions and Answers] bweN diorD:
curious, i have never been to that site.

i use wear and fit apps and it shows nothing ever, and i have been using them for many months.

it doesnt bother me that its not showing properly there, i would never use it, but it is odd, it shows fine on the app and not the site.
[General Questions and Answers] Mysticodex:
Maybe the site is not completed?
[General Questions and Answers] bweN diorD:
yea, maybe, i have no idea really.
[Nexus 5 Q&A, Help & Troubleshooting] mattrb:
Hi,

I was doing USB Tether on my cataclysm ROM and I got a call, I removed the cable when I got the call and now my phone does not connect MTP or Tether to any of my already driver setup PC's. I could not set MTP in Settings->Storage->3 dots nor does a notification occur with charge mode/MTP/Tether options.

"Windows has stopped this device because it has reported problems. (Code 43)

A request for the USB device descriptor failed."

I am at a loss. I think the Motherboard Konked. Fastboot stopped working and I cant get MTP activated in TWRP.

Please help.
[Fairphone 2] :
https://www.ifixit.com/Teardown/Fairphone+2+Teardown/52523
[Nexus 5 Q&A, Help & Troubleshooting] dpaine88:
So I have been using stock ROM or very close to for the past 6months or so and constantly have this issue despite clean wiping multiple times while moving from Lolipop to M preview to M.

At first I thought it was my specific car but now is happening with the rental I have.

I am new to Bluetooth so maybe normal but I don't think so.

When I connect to my cars Bluetooth then make a call, after the call I get a constant "bluesleep" wake lock until I turn Bluetooth off.

If I make a call during the day while driving then get out of the car when I get home, it keeps my phone awake all night unless I remember to turn blue tooth off.

Ive noticed it only happens once I make a call or use the Bluetooth for something. If I just simply connect to my car, I don't get a wake lock.

Is this how Bluetooth is supposed to work? I can't imagine so but the fact I'm basically stock and have wiped many times and different android versions makes me think maybe it's just an android thing.
[Nexus 5 Q&A, Help & Troubleshooting] .dan:
it could be app related. gasbuddy has been documented to be a culprit. i can't provide link, but there is a thread on google bug tracker "Issue 87778:	Bluetooth wakelock caused by Bluedroid timer keeping device awake"
[Nexus 5 Q&A, Help & Troubleshooting] dpaine88:
Wow that worked! Thanks so much
[Android General] kfeksa:
This method http://xdaforums.com/android/general/lenovo-z90-7-vibe-shot-international-t3148018 doesn't work for my Z90-7 (Chinese fw). I tried everything, multiple times, multiple computers etc...

Device info (VIBEUI_2.5_ST):

i63.tinypic.com/205ul1.jpg

I'm still getting the error as shown below:

oi68.tinypic.com/29v3ow.jpg

Tried on W7 x64, USB3/USB2, multiple cables, like a hundred times with different timing.

When holding the VOL+ button and connecting the cable, the screen blinks for a tiny moment with lenovo logo

Couldn't get help in the original thread so I made a new one.

Any help appreciated! ;)
[Android General] Zahid Islam:
keep the firmware folder on C drive/ on Desktop , not in D drive . hope this will work :cool:
[Wing, P4350 General] Badboysd:
Hi there all i look all post and i didint found eny soft to cid unlock HTC4350 is there eny soft free to unlock these phones? plz tell something thanks all PEACE ;)
[Wing, P4350 General] FNTQ:
me 2 i need to unlock my phone
[Wing, P4350 General] The Dutchman:
if you really would have read all the threads you would have known lol:p but your device can be CID-unlocked at imei-check.co.uk , but why would you want to do that?

edit: I see you have vodafone ROM right?

I believe vodafone also released a ROM... check the threads again..
[Wing, P4350 General] TryOG:
Dude, don't be 'bijdehand' ;)

I've read almost all threads in here and have only found out how to CID unlock without IMEI-CHECK... But no sim-unlock

If you do know how to sim-unlock without imei-check, please tell us...
[Wing, P4350 General] sdamion:
How do you CID unlock. Im need to no this for a vriend
[Wing, P4350 General] Badboysd:
I read evry single days this site and i know there is a imei check,but im not stupid to put my card number on internet just to by a imei check unlock code nop not me dude but thanks, to your question (( wy world i whant to do that?? ))) just tell me 1 thing what are you doing here?? just cheking others post or working?? i just whant to unlock it and thats it you have to know if you know how just say you know a free soft if you dont whant to say thats fine i respect that to but dont joke with ppl who works all day on this:( ,and more iff you had read good my question you see that i ask FREE SOFTWARE FREE FREE FREE do you know what that means???? :confused: Oh and no its not a vodafone rom but thanks .
[Wing, P4350 General] hkbladelawhk:
:-D What about those of us with USA phones and services? I just looked through the last few forum pages and didnt see anything on unlocking...
[Wing, P4350 General] scorp22:
Unlock

My Herald came with Vodafone dutch WM5 and I tried to install the official HTC WM6 Dutch Rom but it wouldn't work.

Now I have unlocked my Herald with imei-check.co.uk

I admit, I wasn't sure at first but I decided to take the risk.

You pay with Paypal so that's pretty safe.

imei-check.co.uk has a policy where they want id proof for first time buyers, so I sent a scan of my dutch driving license. I got my unlock code a few hours later and it worked great. Very easy and quick.

CID and SIM unlock.

I have installed the dutch WM6 rom from HTC with another SIM card and all works great.
[Nexus 5 Q&A, Help & Troubleshooting] basedthirst:
I'm considering buying a nexus 5, but I heard the battery life is meh. So I was thinking about buying a battery case for it.(Mophie sorta thing)

However all of the battery cases I've seen have had not so positive reviews.

So I was wondering, what battery cases would you guys recommend? I don't mind a bit of bulk, I just want something that won't stop working and is reliable. Please post the links to the cases.

Thanks :)
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Check the existing threads in the Nexus 5 Accessories forum.