yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] anbonn:
Hi,

I have ordered S660 .The phone is fine, beautiful, technical parameters correspond to the description. :good: Extensions (Case, charger, cable) all trash. :(
[Android Q&A, Help & Troubleshooting] Baihano:
I've ordered the same, good smartphone but it's a 4.7" screen and not 5.0" as announced.
[Android Q&A, Help & Troubleshooting] Landsil:
Please confirm, that you have "S660a", and not "S660_" version with lower spec and 4,7".

I'm still waiting for mine :(
[Android Q&A, Help & Troubleshooting] abdshraa:
Fake

the phone is good but the truth when u conected it to computer u will have just 2GB

and the ram is Virtual memory 4GB but in real its less then 512

the phone is china High

Price is around 100USD less or more with gifts or without :)

and screen is not IPS 4.7"

dont buy it if u think its super

hope info will help u
[Android Q&A, Help & Troubleshooting] tifberkane49:
i need a backup

I need a backup of lenovo S660A if someone can send me , thanks. IT'S VERY IMPORTANT PLEASE..
[Android Q&A, Help & Troubleshooting] mutineer:
Guys, do you have a ROM to this model?
[Xposed General] binhexcraft:
Hi,

First off, I just entered the android programming world so my knowledge is very limited. Please bear with me. :o

I'm creating an XPosed module that simply takes a screenshot when I press the volume up or down buttons.

I've managed to hook the buttons globally, but since I don't have control of the topmost view, I don't know how I would be able to take a screenshot.

Originally, one would do it this way :

public Bitmap screenShot(View view) {
Bitmap bitmap = Bitmap.createBitmap(view.getWidth(),
view.getHeight(), Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
view.draw(canvas);
return bitmap;
}

screenShot((ViewGroup) view.getParent());

However, I would need the view of the current activity in the foreground, and I'm kind of lost on how to retrieve it from within the XPosed module.

I looked through XPosedHelper.class and found a bunch if "find" functions that can get methods, resources, and classes but there are no helper functions for views except this comment on the very end.

// TODO helpers for view traversing

My current code looks like this :

public class Main {

static void init() {
try {

Class<?> classPhoneWindowManager = findClass("com.android.internal.policy.impl.PhoneWindowManager", null);

findAndHookMethod(classPhoneWindowManager, "interceptKeyBeforeQueueing",
KeyEvent.class, int.class, boolean.class, handleInterceptKeyBeforeQueueing);
} catch (Exception e) { XposedBridge.log(e); }
}

private static XC_MethodHook handleInterceptKeyBeforeQueueing = new XC_MethodHook(XCallback.PRIORITY_HIGHEST) {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
final boolean isScreenOn = (Boolean) param.args[2];
if (isScreenOn) {
final KeyEvent event = (KeyEvent) param.args[0];
final int keyCode = event.getKeyCode();
if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || keyCode == KeyEvent.KEYCODE_VOLUME_UP) {
if (event.getAction() == KeyEvent.ACTION_DOWN) {
doSomething(param.thisObject, keyCode);
param.setResult(0);
return;
}
}
}
}
};

private static void doSomething(Object phoneWindowManager, int keycode) {
View content = findViewById(R.id.layoutroot);
content.setDrawingCacheEnabled(true);
}
}

I have to put some code in the "doSomething" function, but I'm kind of lost apprently. :crying:

How could I go about getting the screenshot of the current screen?

I've tried accessing the framebuffer, but realized that the framebuffer has been removed and only an empty fb0 exist on recent devices.

I also tried to use "/system/bin/screencap, screenshot, screenrecord" but for some reason, the application I'm targeting doesn't seem to work with those binaries.

Do you have any other suggestions? Any help would be appreciated. :)

Thanks.
[Xposed General] 仰天坏笑:
You can use the APP called aiogestures，,Then you can change holding the menu button to screenshot button，or you can use the gravitybox to change the button………………

My English Is not very good……………

wish you can solve it???
[Xposed General] binhexcraft:
Okay, I'll try those. :) Thanks!

However, it would be nice if I could implement my own code to directly get screenshots, instead of using an existing device's screenshot functionality. The reason being is, the application I'm targeting prohibits the user to take a screenshot, and therefore blocks all sorts of canonical methods to take a screenshot. I would like to have some more versatility and implement custom code to test different things, so I could bypass the screenshot restriction.

My android programming skills are quite poor... so any kind of help would be appreciated. :)

Thanks!
[Xposed General] tonyp:
The great thing about open source is that you can use the work of others as a reference, so everyone benefits from everyone.

Luckily quite some Xposed developers do publish their sources.

A safe bet is to use GravityBox by the great [MENTION=5008415]C3C076[/MENTION] as it implements a screenshot function..

Going to GravityBox at Github and searching (press T at github) for screenshot e.g. brings up the ScrreenshotTile.java

Here is a reference to the ModHwKeys.java - and there you'll find a takeScreenshot() function.

Cheers :fingers-crossed:
[Xposed General] binhexcraft:
Thanks!

However, it uses a service provided in "com.android.systemui.screenshot.TakeScreenshotService", which is blocked by the application. I'm trying to use various codes of taking screenshots, but all most of them require the current foreground view that is on the screen. I'm trying to figure out how I can get the foreground view class reference from within the XPosed module.

Any other suggestions? :confused:
[Xposed General] C3C076:
android.view.SurfaceControl has some static methods for capturing screenshots silently. You can even control which layers should be excluded. E.g. you can do screenshot without system decors (navbar / status bar). Refer to https://android.googlesource.com/pl...r1/core/java/android/view/SurfaceControl.java (link is for lollipop but the same class exists in lower versions, too)

Here's an example how I use it on KitKat

https://github.com/GravityBox/Gravi...m/ceco/kitkat/gravitybox/ModDisplay.java#L446
[Xposed General] AA1973:
Out of curiosity. Which app are you targeting?
[Xposed General] binhexcraft:
Just tried it out and it works perfectly!!!

..............when the app is not running. When the app is running, then it gets blocked at :

final Bitmap bmp = (Bitmap) XposedHelpers.callStaticMethod(
XposedHelpers.findClass("android.view.SurfaceControl", null), "screenshot",
naturalW, naturalH, 0, 22000);

and when I look at the debug log, it says

"FB is protected: PERMISSION_DENIED"

This happens to be because the app is configured to use a "secure window".

Do you know if there is any workaround for this restriction? :confused:

My current thinking is to hook "captureScreenImplLocked" from here :

https://android.googlesource.com/pl...74/services/surfaceflinger/SurfaceFlinger.cpp

and make it bypass this part of the code.

if (hw->getSecureLayerVisible()) {
ALOGW("FB is protected: PERMISSION_DENIED");
return PERMISSION_DENIED;
}

or maybe just hook "getSecureLayerVisible" to always return false...

Would this be the right way to go?

...but before that, is it even possible? Cause I saw a post from someone saying that hooking SurfaceFlinger is not feasible or very disruptive...

http://xdaforums.com/showpost.php?p=46388379&postcount=186

Or is there maybe a better, simpler way? :confused:

Thanks!

Sent you PM. :)
[Xposed General] binhexcraft:
Answer to my own question.

I found a really simple workaround.

http://repo.xposed.info/module/fi.veetipaananen.android.disableflagsecure

Thanks for all the advice guys!! ;)

I have finally fulfilled my objective. :)
[Advantage X7500, MDA Ameo General] kevwright:
Hi, anyone go the code yet, as I just got mine, a 9 digit code which does not work. The Ameo appears to only want 8 digits, so I tried the last 8 as the first digit appears a little different to the others, none work.

The number TM give in the letter for problems is out of order, and a patronising women on 150 is about as much use as tits on a frog.

Any one able to post (or PM) me the code you got so I can compare and see if any combo of mine will work.

Also, anyone know how many attempts are allowed, I am up to 3 so far and the TM letter says you should only make 3....
[Advantage X7500, MDA Ameo General] funkyfrog:
As far as I'm aware, unlock codes for any phone are linkd to your IMEI so will be no generic code that will unlock your phone.

Persevere through 150, speak to supervisors, team leaders, managers scream, shout etc.

Try and get them now whle they can still help, you can get your arse they're not gonna help if you lock out the phone by using more attempts than they tell you to.
[Advantage X7500, MDA Ameo General] kevwright:
Sure, I understand that they are specific, just want to know if other people got 8 digit or 9 digit.

Am doing the other stuff, am am awaiting a call back from the directors office now.

Kev
[Advantage X7500, MDA Ameo General] Buch070:
I got a code with 8 digits.
[Advantage X7500, MDA Ameo General] conbrio:
Still waiting...

Hi,

I'm still waiting for my code. Can anyone tell me how long they waited for their T-Mobile UK unlock code?

When it comes I'll let you know how it works......

Cheers,

Steve
[Advantage X7500, MDA Ameo General] kevwright:
Thanks for the comments, I phoned the head office number given on www.saynoto0870.com and was put through to the Directors office.

A nice lady said "oh, the unlock team sit right next to me" let me call you back.

She did so a few mins later and we discovered that the code I was given had an extra digit in the middle and once we knew this I waited for the device to come back and ask for the code, and all was well.

So we at least know you can have 4 attempts without a problem.

Oh, the code came by post in a T-Mobile envelope and took about 3 weeks.

Kev
[Moto G Q&A, Help & Troubleshooting] PeterImmel:
Heyhey.

I'm running a custom lollipop rom (crdroid 5.0.2) and twrp (2.8.5.0) on kitkat bootloader.

Now I also want to have lollipop boatloader.

Is it possible, just to flash this without loosing my data?

I heard that I have to flash motoboot.img from any stock Lollipop Rom.

I downloaded "XT1032_Retail_Brazil_502_Stock_Untouched", but I can't find a motoboot.img. Where do I get it from?

And I'm running "TWRP 2.8.5.0 _STOCK_KK is for STOCK device with f2fs userdata (NOT converted to GPE) and KitKat Bootloader" from

here.

I think it will be the wrong recovery after updating bootloader. Should I change recovery before/after updating bootloader?

A lot of questions, I know. Some answers would be great.

Greets
[Moto G Q&A, Help & Troubleshooting] PeterImmel:
didn't someone update (only) her/his bootloader?
[Galaxy Note 3 Q&A, Help & Troubleshooting] QA Bot:
Q&A for [ROM] [22.02.15] [5.0] [Stock] [N9005XXUGBOA5] QS-N9005-LP

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] [22.02.15] [5.0] [Stock] [N9005XXUGBOA5] QS-N9005-LP. 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 Note 3 Q&A, Help & Troubleshooting] XargonWan:
I've got a Note 3 N9005 with S5 KK ROM port.

How to install it? Just clean everything and install or something else to know/do?
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
Check your modem before...you must have nf2 minimum...that s all...
[Galaxy Note 3 Q&A, Help & Troubleshooting] XargonWan:
How to check it, and in case, how to update?

Thanks in advance.

EDIT: is maybe NC2? Is it good?
[Galaxy Note 3 Q&A, Help & Troubleshooting] bigfnfil:
My camera works takes pictures but when i try and record video i get a message saying recording failed and the phone reboots any suggestions thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] XargonWan:
Issues that I found:

- Bluetooth not always automatically connect to already paired devices, they must be selected manually sometimes.

- Video recording with stock camera app doesn't work: it freezes the phone and then it restarts.

- Ringtones on SD are recognized but a random notification sound is played insted of the chosen notification sound (tried mp3 format)

- Sometime appswticher is laggy

- Video playback is crappy: the videos continuously stopping

- Sometimes it disconnects and reconnects from wifi

- ...I miss silent mode T.T and 4 ways reboot options.
[Galaxy Note 3 Q&A, Help & Troubleshooting] hforex:
Installation instructions

Hi,

can someone please post installation instructions,

thx.
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
As usual....
[Galaxy Note 3 Q&A, Help & Troubleshooting] Hoang Edison:
how to install ROM ?? TWRP or Philz Touch .... ????
[Galaxy Note 3 Q&A, Help & Troubleshooting] hforex:
what a waste

i already did it and you are too late to reply & you don't know how to do it Mr. genius

So Save it!!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] hforex:
Installation instructions

Yes both will work, if you need any help or more details let me know.
[Galaxy Note 3 Q&A, Help & Troubleshooting] skkozz:
How do you install this rom? Use Odin or custom recovery?
[Galaxy Note 3 Q&A, Help & Troubleshooting] pantel71:
можно ли поставить камеру от note 4? спасибо за прошивку
[Galaxy Note 3 Q&A, Help & Troubleshooting] DiegoPham:
Can you send me a fix to delete NFC service that no FC? [MENTION=4242732]qaraqumus[/MENTION]
[Galaxy Note 3 Q&A, Help & Troubleshooting] DiegoPham:
Delete NFC

I don't want use NFC service. Can you do a patch to delete NFC?

Thanks you very much!
[Galaxy Note 3 Q&A, Help & Troubleshooting] DiegoPham:
Delete NFC

Can you do a patch to delete NFC?
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
Delete the tag.apk....
[Galaxy Note 3 Q&A, Help & Troubleshooting] DiegoPham:
Only do this and do not any thing?

Thanks you.
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
Remove the tag.odex too and that s all....
[Galaxy Note 3 Q&A, Help & Troubleshooting] bakuri:
4G? Not for me! :/

i'm using xeo csc and i can't connect to 4g, actually it gets 4g signal but no data. 3g is fine
[Galaxy Note 3 Q&A, Help & Troubleshooting] JD$:
Is the video recorder fully functional?

I have tried many roms but video recording always fails.
[Galaxy Note 3 Q&A, Help & Troubleshooting] bakuri:
No Waze, no way.

Sir I loved your ROM, amazing job, but my waze app always crash, is there any fix? If it's a no I'll have to move out :/
[Galaxy Note 3 Q&A, Help & Troubleshooting] Hameed81:
issue

hello guys and thanks for this amazing Rom

guys, sometimes when I want to run a music player , a message box appears with "you can't listen to music while you are in call" . is there any solution for this problem.

thanks in advance
[Galaxy Note 3 Q&A, Help & Troubleshooting] bykim5:
Is it possible to get/install 5x5 tw launcher? This rom is so buttery smooth. Only thing i had to do was to install tmo wifi bt fix v2 from flinch728 (? I think )
[Galaxy Note 3 Q&A, Help & Troubleshooting] GALAAD_1:
Hi....Can anyone answer please? Just explain in detail how to install this rom ....Thank you....
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
Its the basics a zip is through recovery a tar is through odin .

This is a customized rom installed via recovery as a zip .
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
you have plenty of tutos how to...........

wipe factry+cache+dalvik

and install, that's it...
[Galaxy Note 3 Q&A, Help & Troubleshooting] GALAAD_1:
Thank you.....:o

---------- Post added at 15:06 ---------- Previous post was at 15:06 ----------

Thank you for your answer !! :)
[Galaxy Note 3 Q&A, Help & Troubleshooting] ILLIDAN31:
Вопрос

Когда ждать обнову? Помнится Вы обещали при крутить переключение треков клавишами громкости. Очень жду этого! Наверное это единственное что ограничивает переход на 5.0
[Galaxy Note 3 Q&A, Help & Troubleshooting] djaffic:
queston

Hi all!

Can someone tell how to install this rom step by step plz, cause i can't find any information through all pages.

Thanks a lot for answers
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
Standard method .

Download zip copy to ext sd card .

Boot to clockwork recovery .

Factory reset wiping all data .

Install zip .

Choose your options in Aroma .

Reboot and wait when finished .

But you would be better not flashing the rom and reading the faqs and guides first if your knowledge does not include the basics .
[Galaxy Note 3 Q&A, Help & Troubleshooting] djaffic:
there can i take it?
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
Your choice if you think you understand don't until you do actually understand or don't mind a bricked phone ,.
[Galaxy Note 3 Q&A, Help & Troubleshooting] uno mas:
mods

This is a good ROM but is there a mod to remove sfider?

Could you please add a couple of text line to describe mod sectheme?

Thank you in advance.
[Galaxy Note 3 Q&A, Help & Troubleshooting] mamon4444:
I use samsung galaxy J then what kind of arter97-kernel-n9005-5.3.2 should I download? I see s4 note 3, s5, a lot so I got confuse.....

Can someone recommend me a rom cook lolipop 5.0 with the most stable performance? :laugh:

thank you
[Galaxy Note 3 Q&A, Help & Troubleshooting] jdli:
Thanks so much!!! Lemme try this.
[Galaxy Note 3 Q&A, Help & Troubleshooting] KitKat83:
I want Mod volume up and purified to be compatible with rom

I want Mod volume up and purified to be compatible with rom
[Galaxy Note 3 Q&A, Help & Troubleshooting] dyeyphi68:
[Q&A] Can I Install this ROM to my SM-N900S ?

i was going to flash this rom but i saw at AROMA that it is for international variants

i read someone post that it worked with his N9008 ..

can i flash this rom to my SM-N900S ? is it possible ? need answers badly . thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] suhaimidee:
Are looking at to remove the sfinder and quick connect from the pull down quick setting? If you do, in the aroma what i did is to install Xposed as framework and then you can install the module (wanam for Lollipop) and go to notification panel》hide sfinder.
[Galaxy Note 3 Q&A, Help & Troubleshooting] stefan088:
Theme

Hi, how can I use themes in this rom? I downloaded some themes and I don't know how I have to install them...

Compliments for the work, it's a great rom
[Galaxy Note 3 Q&A, Help & Troubleshooting] firstgunerr:
Error

Error

process.gapp has stop

on new update.
[Galaxy Note 3 Q&A, Help & Troubleshooting] petryrety:
I can not use the camera (video recording)....i try all rom 5.1 (last build) and doesn't work :(
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
Update your modem
[Galaxy Note 3 Q&A, Help & Troubleshooting] komančero:
after the call, conduction" System ui stopped " WHY?
[Galaxy Note 3 Q&A, Help & Troubleshooting] rayman95:
No error for me
[Galaxy Note 3 Q&A, Help & Troubleshooting] komančero:
System ui stopped...

whatever it may be, please?
[Galaxy Note 3 Q&A, Help & Troubleshooting] bykim5:
i get that too.. status bar disappears then takes me to lockscreen..
[Galaxy Note 3 Q&A, Help & Troubleshooting] gsx-r:
Same here. Having tried many ways but there were no luck.
[Galaxy Note 3 Q&A, Help & Troubleshooting] PrettyPistol555:
any way to use this on Verizon's Note 3 (has locked recovery)?

Thanks!!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Phipek:
Same problem - System UI crashes randomly and after phone call
[Galaxy Note 3 Q&A, Help & Troubleshooting] dingila:
I have problem...

Boot loop when I make choice xpozed freamwork

Can yuo make one zip for flash?

Thanks in advance!!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] xuweisheng:
will flashing this ROM cause knox to become 0x01?

I am coming from kitkat and knox is 0.
[Galaxy Note 3 Q&A, Help & Troubleshooting] xuweisheng:
Anyone has successfully flash this ROM using flashfire??
[Galaxy Note 3 Q&A, Help & Troubleshooting] rezapn1255:
Dear qaraqumus

What about scrole capture in these stoke roms .

Any suggestions, please
[Galaxy Note 3 Q&A, Help & Troubleshooting] kot-mokot:
does anyone have problems with playing implosion? it says that "your hardware is not supported" but i played game before xxugbpb1.. ?

Отправлено с моего SM-N9005
[Galaxy Note 3 Q&A, Help & Troubleshooting] pani690:
Hi there. I have been using this rom since the 17.04 build. I flashed over the latest 2 builds with lite wipe. Since then the home button long press does not bring up recent apps. Am I doing something wrong because I can't seem to find the key mapping somewhere. Apart from that this is the most stable rom I have used.
[Galaxy Note 3 Q&A, Help & Troubleshooting] fogman79:
Hi! This is a great Rom!

But, I've two problems, because I can't activate the "Reactivation lock" and the "Remote controls".

Someone have the same problems?

I've tried some re-flash but the problems doesn't solve.
[Zooper Widget General] hopy:
I want to use the widget to be used as a wallpaper that changes the pictures from work day and holiday (saturday & sunday) randomly. I collecting a few pics and place them on sdcard/background/work and sdcard/background/holiday. Here's the code that i use using the advanced parameter.

[ox][b]/sdcard/background/$#DEEE#!=Sunday#&&#DEEE#!=Saturday&&#DH#>=7&&#DH#<17&&#Dd#/#DM#!=24/12&&#Dd#/#DM#!=25/12?work$$#DEEE#=Sunday#&&#DEEE#=Saturday&&#DH#>=7&&#DH#<17&&#Dd#/#DM#!=24/12&&#Dd#/#DM#!=25/12?holiday$/a$#Dm#>=0?((int((random())*8)))$.png[/b][/ox]

But the thing is, when i tried to force the date (so that i know the script works) the only script that works only the holiday one, even on the work day. When i change the day script to the time one (deleting the #DEEE# conditionals), when i force the time, it works. Does the day conditional script doesn't work?
[Galaxy S5 Mini Themes and Apps] maxx35000:
Hi guy's i start to work on stock S5 mini launcher to theme it white like note 4 one and add theme support replace also My magazine with flipboard brieffing and port theme from A5

​

if launcher fc (on stock rom maybe so send me pm with your framework-res.apk & /system/usr/keylayout/Generic.kl i try to make file for you )

don't forget i can't test it on all phone and all rom :p

Touchwiz 4x5

Touchwiz 5x5

A5 Wallpaper cropper

A5 Wallpaper Picker

Flipboard

Flipboard Briefing

Themechooser White

Casual theme

Classic theme

Natural theme

Romantic theme

S6 theme

if you whant try to make your own themes so folow this guide

http://xdaforums.com/galaxy-grand-2/themes-apps/tuto-how-to-make-theme-touchwiz-t2962566
[Galaxy S5 Mini Themes and Apps] EvoWizz:
Is there any news here ?

-----

Des nouvelles ? ;)
[Galaxy S5 Mini Themes and Apps] maxx35000:
link ready ;)
[Galaxy S5 Mini Themes and Apps] pioupiou69600:
Thank you!
[Galaxy S5 Mini Themes and Apps] EvoWizz:
Thanks ;)
[Galaxy S5 Mini Themes and Apps] anezzzz:
where is the download link??
[Galaxy S5 Mini Themes and Apps] adriandenbagoes:
[MENTION=7016614]anezzzz[/MENTION]....read instruction please
[Galaxy S5 Mini Themes and Apps] abdou1241:
I installed galaxy s6 marshmallow launcher on my G800F

Envoyé de mon SM-G800F en utilisant Tapatalk
[AT&T LG G2] QA Bot:
Q&A for [5.0.2][D800]Cyanogenmod 12[Semi-Nightlies]

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 [5.0.2][D800]Cyanogenmod 12[Semi-Nightlies]. 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! :)