yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Preet_:
I'm getting this error while compiling a CM12 based ROM.

frameworks/native/libs/ui/GraphicBufferMapper.cpp:52:43: error: definition of implicitly-declared 'android::GraphicBufferMapper::~GraphicBufferMapper()'
GraphicBufferMapper::~GraphicBufferMapper();

There is a "^" under the "()" symbol.

The code is as follows (note: It is a shortened code as the whole code is huge).

ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferMapper )

GraphicBufferMapper::GraphicBufferMapper()
: mAllocMod(0)
{
hw_module_t const* module;
int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
if (err == 0) {
mAllocMod = (gralloc_module_t const *)module;
}
}

#ifdef MTK_MT6589
GraphicBufferMapper::~GraphicBufferMapper() //ERROR IN THIS LINE
{
gralloc_extra_close(mExtraDev);
}
#endif
[Galaxy Y GT-S5360 Android Development] mms047:
Its so nice to have more cm11 based roms for our little Y... :) Nice one, Thumbs up. Gonna test soon... :)
[Galaxy Y GT-S5360 Android Development] Trickster22:
More than 60 downloads in one night but no feedback. Guys I need feedback to make rom more stable
[Galaxy Y GT-S5360 Android Development] AYA88:
screenshotS?
[Galaxy Y GT-S5360 Android Development] Trickster22:
Dude I don't have this device. crDroid is common for all devices. Search them on google even.
[Galaxy Y GT-S5360 Android Development] Indrajeet Singh:
Can't boot in System its get back to recovery again agian and again
[Galaxy Y GT-S5360 Android Development] mms047:
I was thinking to install. u cant boot up? thats so sad...
[Galaxy Y GT-S5360 Android Development] naresh babu:
for me it booted in galaxy mini[ported but not published] after replacing fonts because of less internal memory.. But network is not working.. how can i fix this?
[Galaxy Y GT-S5360 Android Development] Trickster22:
It booted up for my device. Do one thing copy zip to your pc and then delete systemui.so from system/lib, then try to flash rom
[Galaxy Y GT-S5360 Android Development] thedeadfish59:
Various bugs , just experienced 5mins and noticed several things like

1) USB Mass Storage not working

2) Unusual FC z in Settings(When you hit advanced, when you hit contributors)

3) Dont allow to access Tethering option

4) Too damn laggy boot animation, needs to resized

A lot things u need to fix up bro , best of luck for that, and yeah, a request to eliminate call delay, and if ya can develop kernel , do it , cause its on stock cm11 kernel(jenkins piri)

I ll let ya know bout other bugs later

Anyways, its a nice ROM indeed, but need development, laggy as hell
[Galaxy Y GT-S5360 Android Development] mms047:
Call delay is a bug in cm11, No way it can be fixed ass it is cm11 based. It booted up in SGY?
[Galaxy Y GT-S5360 Android Development] thedeadfish59:
yep, booted! after clean flashing stock via odin
[Galaxy Y GT-S5360 Android Development] gemnett:
how can I install Seeder-non-CWM sir?
[Galaxy Y GT-S5360 Android Development] thedeadfish59:
use the broadcom script given above , thats cool and includes seeder script as well :)

Sent from my GT-S5360
[Galaxy Y GT-S5360 Android Development] robertputt:
On the welcome screen the NEXT button (looks like right arrow/play) is rendered BEHIND the "emergency call" button making it unselectable.

The only way to make the button selectable/pressable is to rotate the screen 90 degrees.

This is a current bug in CM11 roms for S5360.

If this bug is not fixed, other UIs may not render correctly.
[Galaxy Y GT-S5360 Android Development] DaarkieDoo:
When i flash the Gapps, i get the droid with a warning sign, am i doing anything wrong? Followed everything point to point.
[Galaxy Y GT-S5360 Android Development] Assabtigle:
HEY I WANT YOUR ROM VERY BADLY!
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Doit2it:
So I just bought a Verizon G900V S5 with OC4 installed.

I used this tar (photo) to Odin 3.09 back to NCG. Upon reboot I immediately got the Custom screen, and Custom Device Status in the phone info.

Is everyone getting this, or did I use the wrong tar to downgrade? I'm not too concerned, unless It means I can't update to lolipop using one of the Flashfire threads .

I went ahead and rooted with Toweroot, installed BusyBox, Safestrap, and SU 2.46. Everything went fine, except the custom status.

So should I worry about it?

Can I get rid of the custom status?

Can I still update back to OC5 or higher with Flashfire with the custom status?

Thanks in advance, Eddie
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] landshark68:
Custom icon means nothing. Don't worry about it at all.
[Xposed General] XEROling:
I downloaded the latest version of genymotion and vbox then downloaded Google nexus 4 5.1.0 api22 VM

I downloaded xposed installer and installed in the VM, then flashed xposed api22 arm zip by romrancer

after restarting I get App not installed for any app i try to install manually, I get error -503 if from play store, and I get error when dragging an apk file to the VM

caused by INSUFFICIENT STORAGE AVAILABLE

I have 3.93GB free for apps but after flashing xposed zip i start getting this message and cant install apps anymore
[Xposed General] Wakamatsu:
http://xdaforums.com/xposed/official-xposed-lollipop-t3030118
[Xposed General] XEROling:
isn't this for 5.0 official?
[Xposed General] rovo89:
I'm wondering why you would flash the ARM binaries - Genymotion is an x86 emulator.

Anyway, make sure that there's enough space in /data, as the Dalvik cache will need more space with Xposed installed.
[Xposed General] robertpenz:
I've the same problem with Genymotion and Android 5.0 and 5.1 after flashing xposed. And yes I did use the x86 version. Can you point me what specific in the link helps with my problem? I can't find a way to wipe dalvik in Genymotion.
[Upgrading, Modifying and Unlocking] Arilexed:
Heroes!

When I open a message (sms, pushmail, windows live, etc) it opens almost at the top of the message, but not entirely. So I have to scroll to the top of the message to view the To-list, the Cc-list, the time the message was received etc.

Does anybody know how to set messages to start at the top?

Thnx in advance.

Arend
[Upgrading, Modifying and Unlocking] ExEr101:
I have the same problem im running the new black os i think its black majic.
[Upgrading, Modifying and Unlocking] rohanmaini:
Well for me it has always been like this... even with the original shipped ROM
[Upgrading, Modifying and Unlocking] Arilexed:
To be clear, it isn't an flaud/problem, it is as designed. Still, my question remains.
[Upgrading, Modifying and Unlocking] Arilexed:
Dudes, come on! :D

10 OPEN "MAIL";

20 GOTO TOP

RUN
[Upgrading, Modifying and Unlocking] dacoon:
Hi ... at WM6 you can change this ... :D

... you must only modding some files ...

\windows\read_sms.409.htm

\windows\read_note.409.htm

...

<a id="Inbox:top" />

you must only put this to the top by the files ... and save :D

... sorry for my bad english :D
[Upgrading, Modifying and Unlocking] Arilexed:
Great, thnx 4 your post.

But I'm not sure what you mean. Could you post the files you have modified?

Thnx.
[Upgrading, Modifying and Unlocking] cavyman:
I'm not sure I understand where that line is supposed to be placed either. Is it placed within the <head></head> or <body></body> or what?
[Upgrading, Modifying and Unlocking] dacoon:
No ...

this tag (<a id="Inbox:top" />) is an link like in a html document ... and if you are open an sms/email etc. WM6 go to the place where it's stand.

Standard

<html XMLNS:Inbox>

<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\read_style.0409.css" type="text/css" />
</head>

<body>
<div class="header">

<Inbox:To>
<table class="header">
<tr>
<td class="header">To:</td>
<td class="content"><Inbox:content id="TO" /></td>
</tr>
</table>
</Inbox:To>

<Inbox:Sent>
<table class="header">
<tr>
<td class="header">Sent:</td>
<td class="content"><Inbox:content id="SENT" /></td>
</tr>
</table>
</Inbox:Sent>

<a id="Inbox:top" />

<Inbox:InfoBar>
<div>
<Inbox:content id="INFOBAR" />
</div>
</Inbox:InfoBar>

<table class="header3">
<tr>
<td>
<Inbox:SenderPic>
<Inbox:content id="SENDERPIC"/>
</Inbox:SenderPic>
<Inbox:From>
<Inbox:content id="FROM" advancefocusedlink />
</Inbox:From>
<Inbox:Callback>
<table class="callback" cellspacing="0" cellpadding="0" >
<tr>
<td class="callback">Callback:</td>
<td class="content"><Inbox:content id="CALLBACK" /></td>
</tr>
</table>
</Inbox:Callback>
</td>
</tr>
</table>

<hr class="divider" size="1" />

</div>

<Inbox:Subject class="SMS">
<Inbox:content id="SUBJECT" links />
</Inbox:Subject>

<Inbox:DiscreteLink>
<Inbox:content id="DISCRETELINK" />
</Inbox:DiscreteLink>

<Inbox:Padding>
<Inbox:content id="PADDING" />
</Inbox:Padding>

</body>

</html>

... on the top

<html XMLNS:Inbox>

<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\read_style.0409.css" type="text/css" />
</head>

<body>
<div class="header">
<a id="Inbox:top" /> //now her
<Inbox:To>
<table class="header">
<tr>
<td class="header">To:</td>
<td class="content"><Inbox:content id="TO" /></td>
</tr>
</table>
</Inbox:To>

<Inbox:Sent>
<table class="header">
<tr>
<td class="header">Sent:</td>
<td class="content"><Inbox:content id="SENT" /></td>
</tr>
</table>
</Inbox:Sent>

//from her

<Inbox:InfoBar>
<div>
<Inbox:content id="INFOBAR" />
</div>
</Inbox:InfoBar>

<table class="header3">
<tr>
<td>
<Inbox:SenderPic>
<Inbox:content id="SENDERPIC"/>
</Inbox:SenderPic>
<Inbox:From>
<Inbox:content id="FROM" advancefocusedlink />
</Inbox:From>
<Inbox:Callback>
<table class="callback" cellspacing="0" cellpadding="0" >
<tr>
<td class="callback">Callback:</td>
<td class="content"><Inbox:content id="CALLBACK" /></td>
</tr>
</table>
</Inbox:Callback>
</td>
</tr>
</table>

<hr class="divider" size="1" />

</div>

<Inbox:Subject class="SMS">
<Inbox:content id="SUBJECT" links />
</Inbox:Subject>

<Inbox:DiscreteLink>
<Inbox:content id="DISCRETELINK" />
</Inbox:DiscreteLink>

<Inbox:Padding>
<Inbox:content id="PADDING" />
</Inbox:Padding>

</body>

</html>

can you now understanding me ;)

... and the mod file for you :D
[Upgrading, Modifying and Unlocking] Arilexed:
Thnx. It works... but at the top of my outlook a message appeared that I cannot open and remove. It says "no sender" and "no subject". Any ideas how to remove it?
[Mi 3 General] destructiontrace:
has anyone tried the latest official cm12.1 build for mi3w? I'm facing battery drain problem,almost 2% every 2-3mins. The battery stats show the battery being used by Android OS. need ur reviews about the rom.
[Mi 3 General] Hadi al-Haiqal:
Nope.. Never get that.. Clean flash at full charge..
[Mi 3 General] patelumangv:
You are right bro... really battery killer rom.
[Mi 3 General] herlock67:
Not. 3-4h as usual
[Mi 3 General] machintosh369:
yes 50 percent at 1 am and at 8 am 17 percent without use
[Mi 3 General] Hadi al-Haiqal:
I really don't know what is wrong with all of you.. Because i tend to get the stable rom here.. Using cm12.1 28 august build..
[Mi 3 General] sztofel:
I was using XenonHD earlier and it was more battery-friendly rom. In CM i have drop around 7%/hour with light use.

You can try to disable bettery per app profiles - some say it might help.
[Galaxy S II Q&A, Help & Troubleshooting] CleanZombie:
Has anyone had any luck building Kali Nethunter for the Galaxy 2?

I have searched on here but I am noob so I may have missed it if there is a thread already, if so I apologise and could someone show me where it is.

If not does anyone know how to go about porting it to the S2 and what tools, apps, OS and info I will need to do this?

Thanks in advance,

CleanZombie
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jrv331:
Im coming from a rooted Verizon Galaxy S5 with safestrap, Im no stranger to root methods and installing custom roms. With that being said Im getting the Verizon Note 4 and have been reading and have information overload as some of the information seems old. Im just looking to root to install Titanium Back up and possibly install a stock debloated rom. I'm still on KK 4.4.

What is currently the best root method and are there any stock roms for the retail version.

Thanks for any help
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] mithusingh32:
None right now.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jrv331:
There are no good root Methods for the Note 4 on KK or no roms?
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] patt2k:
no root since the device came out sorry :D
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jrv331:
Unless Im reading it wrong the Kingroot 4.5 and supersu me method will give temp root and that should be all need to do what I need to. Doesnt say its for dev edition only so we'll see.

Thanks
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] patt2k:
Titanium Backup won't work properly with temp root you can freeze apps as well using debloater it will give you the same result.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jrv331:
From what Im reading the Debloater by Gatesjunior is the popular method, but as long as I can disable most of the crap Im fine.

Thanks
[BetterBatteryStats] DavisNT:
Starting with Android 4.4 (KitKat) Better Battery Stats (BBS) require installation as system app to be able to collect the stats.

BBS must re re-installed as system app after each ROM upgrade (upgrade that does not preserve third party system apps).

I have found an alternative to this - the required permissions can be granted to BBS when it is installed as a regular user app by running these commands in Android Terminal (or ADB shell session):

su
pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS
pm grant com.asksven.betterbatterystats android.permission.DUMP

After using these commands it might be required to restart BBS process (e.g. reboot the device). Permissions granted this way will be preserved across ROM upgrades (even across those completely overwriting /system partition).

This has been tested on CyanogenMod 12.1 nightlies (Android 5.1.1).

Update! This post on BBS thread describes a related method for granting (at least part of) the permissions without root.
[BetterBatteryStats] BretAB:
Hi DavisNT,

I'm confirming that your adb code appears to be a successful workaround for the normal version of BBS downloaded from the Play Store when the phone is running Lollipop. I'm running the paid version of BBS, on the current CM12.1 Nightly (jfltetmo for my T-Mobilr SGH-M919 Galaxy S4).

Procedure:

1. Install BBS from the Play Store.

2. Use ADB (easy to cut and paste from here) or another terminal program (you'll be typing) to install the code.

3. Reboot the phone.

You'll notice that when you launch BBS, CM's "Privacy Guard" will see that BBS is trying to gain root access, and will prompt you to allow this. I selected "Always Allow" until I'm done my battery testing. You'll notice that you now see "#" up on the phone's status bar. That indicates an app is running with root access. You could probably quiescence this by choosing "Ignore" via Privacy Guard.

Could the developer please approve that this relatively easy workaround is kosher?

Thanks . . .
[BetterBatteryStats] chamonix:
Moved to main thread to avoid orphan
[BetterBatteryStats] toxicated2:
For apk downloaded from xda change the code to

pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS

pm grant com.asksven.betterbatterystats_xdaedition android.permission.DUMP
[BetterBatteryStats] andycjw:
I tried this method, but failed on the BATTERY_STATS permission, the error said this 'permission type is not changeable'

is this method still valid?
[BetterBatteryStats] DavisNT:
On what version of Android did this fail? And was 'su' used before 'pm grant'?
[BetterBatteryStats] bobcote:
Same problem. I'm on CM, Android version 4.4.4. Used 'su' before.
[BetterBatteryStats] DavisNT:
Most likely this method works only on Lollipop and Marshmallow.

Looks like on KitKat BATTERY_STATS permission does not have development in its protectionLevel, but on Lollipop and Marshmallow it has.

I assume (please correct me if I am wrong, preferably with link to some authoritative documentation) that development in protectionLevel allows a permission to be granted by pm grant command.
[BetterBatteryStats] blasterrr:
Thanks
[BetterBatteryStats] Digital_Trucker:
I can confirm that this method works flawlessly for the Sprint version of the Galaxy Note 3 5.0. Many thanks. :D
[BetterBatteryStats] Zrbtfm:
Guys where is the main thread? Pls ?
[BetterBatteryStats] RoxAbout:
Does this method work on marshmallow?

Thank you
[BetterBatteryStats] DavisNT:
Most likely yes. Feel free to test. [emoji2]
[BetterBatteryStats] arun2105:
Can anyone post BBS apk please!! TQIA
[BetterBatteryStats] xarmx:
Thanks dude. The command for xdaedition worked flawlessly on my RR rom. Android 6.0.1 Galaxy S3
[BetterBatteryStats] Mitch.sc:
Worked! Thanks.
[BetterBatteryStats] nuthing03:
Does this works on a non-rooted phone? if it works, is uninstalling as simple as accessing app under setting to uninstall?

Thanks.
[BetterBatteryStats] DavisNT:
AFAIK This method should NOT work on non-rooted phones (but you can still try it :fingers-crossed: ). If it will work, uninstalling the app (via Settings - Applications) would also revoke the granted permissions.
[BetterBatteryStats] killerm:
Original Thread here: http://bit.ly/1ov1NNy

Can confirm that the workaround is OK on Samsung S6 with Android 6.0.1 (stock DTM/rooted).

Best regards
[BetterBatteryStats] thodibhen:
Glad I found this, thought BBS was bugged when it kept wanting the BATTERY_STAT permission despite having the XPosed module :\

Executing those 2 lines fixed the problem.... wonder why it's not like that by default. I even checked AppOpsXposed and didn't see anything about DUMP/BATTERY_STAT

Installing BBS into /system would break OTA, no? I've read somewhere the claim that it doesn't--maybe even in the app itself
[BetterBatteryStats] dimm0k:
this looks like a great alternative! after getting TWRP and root on my device, I had already gone with flashing the zip to install as a system app. flashing the REMOVE zip looks to have removed the system app, but it looks like BBS still is granted the proper permissions without using this method? is this normal?
[BetterBatteryStats] Sea-Wolf:
I'm having trouble doing this on my LG G4 running 6.0. I can get into the adb shell but when I try to run su I get:

shell@p1:/ $ su
/system/bin/sh: su: not found

Any suggestions?
[BetterBatteryStats] DavisNT:
This is possible. The system app lets Android to grant the permissions to this BBS. Permissions are just system wide settings, whether they are preserved after system app uninstall I am not sure, but this could be the case.

This method requires root. And looks like your device is not rooted.
[BetterBatteryStats] HARRINGT0N:
works again.

This worked for me thanks so much!!

Running a rooted Nexus 6 with stock o/s (July security patch) and ElementalX kernel
[BetterBatteryStats] aidy.lucas:
Also confirmed working on Xperia xa stock unrooted 6.0 mm. Bbs working great so far
[BetterBatteryStats] DavisNT:
Has the method mentioned in the Original Post worked on a non-rooted device?

Did the su command display an error and both following commands succeed?
[BetterBatteryStats] aidy.lucas:
Didn't see any errors I just entered the two adb commands and bbs works flawlessly only cores stats are missing.
[BetterBatteryStats] iamatechnoob:
This doesn't seem to work for me, anyone able to help? I get the error: "Could not access the Package Manager. Is the system running?" whether BBS is running in the background or not. One thing to note is that when I load BBS for the first time after installing, it is asking me to install as a system app and I have yet to do that (wanted to try this instead).
[BetterBatteryStats] DavisNT:
Before entering the mentioned commands, enter command:

su
[BetterBatteryStats] iamatechnoob:
Yes I have already done that and it shows that I am in Root before typing those commands... Somehow just not working for me, is there anything else that might be affecting it?
[BetterBatteryStats] pure.by:
The XDA beta-RC3 version does not require to be installed as system app. I think it's the best alternative if you have trouble with this method because you get MM support, latest features and no system-app requirement.

Or am I overlooking something?
[BetterBatteryStats] iamatechnoob:
I am on the XDA beta-RC3 version (double checked it in App Info).. but when I run the app it says that battery_stats and dump is not granted. I also have an option to install it as system app.

Just adding that I am on a systemless root custom ROM, with enforced SELinux.
[BetterBatteryStats] pure.by:
Ohh sorry don't know in this case :-/

I am using Marshmallow, systemless root and enforced SELinux as well and for me it works.
[BetterBatteryStats] iamatechnoob:
So you install it and grant it root in SU, and it works magically without any issues?
[BetterBatteryStats] pure.by:
Yup, just like any other root app. That's how it's supposed to work. If it does not work that way, I suggest you ask help in the official thread.

I must note that I still have PlayStore BBS installed as system app because I didn't want to go through the trouble of uninstalling a system app, but I have disabled it and using RC3 without any major issues (once in a while stats can't properly be loaded properly, but otherwise it's very reliable and stable 9/10 times).
[BetterBatteryStats] iamatechnoob:
Well that makes sense then, by installing playstore BBS as system app you granted the permissions. It stays even after updates/wipes which is perhaps why your xdaedition works right out of the box.
[BetterBatteryStats] pure.by:
I don't think you are correct. Even though permissions are granted, both versions are seen as 2 completely different apps by Android. The only way I can imagine they might interact in some way, is if they both shared the same filesystem partition or something like that, but this is very unlikely and beyond my expertise to be completely honest :)

The fact remains that XDA version is supposed to work "out of the box" for everyone, it does not require to be a system app any more nor does it require PlayStore version to be installed at all. So if it does not work with just root, you can better report it in the official thread.
[BetterBatteryStats] iamatechnoob:
Thats beyond my expertise too. I've posted on the original thread, lets hope I can get this solved soon. Thanks anyway.
[BetterBatteryStats] gorandroid:
I tried this and have got this message: "error: device not found"
[BetterBatteryStats] Andr0med:
Tip for those with unrooted phone, ADB and betterbatterystats : adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS

Took me a while to find this command, but it works! (credit to alexus' blog). You get full kernel and partial wakelock info
[BetterBatteryStats] jark99:
Thank you very much for this! :)
[BetterBatteryStats] Benderis:
Did not work on S7.
[BetterBatteryStats] leeswagger:
Nexus 6P 7.1.1

I get the error: "pm" is not recognized as an internal or external command?

This also happens if I put "su" in front of it?
[BetterBatteryStats] DavisNT:
Sorry for the late response! Looks like you have tried to run the commands on your PC instead of the phone. You can use Android Terminal for running the commands.
[BetterBatteryStats] Antaroo:
If anyone wonders if this method works on not rooted devices running Android M im confirming it does!

– XDA

adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS

– Google Play

adb -d shell pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS

I've tested commands pasted in previous pages which didnt work, while this ones has!