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

I have a system app (signed with platform keys), and this app is injecting events. It is using uinput and tries to use /dev/input/eventN (where N is a number) as well.

If I run the code as root (i.e. with su), the code can obviously open /dev/input/eventN and can inject events in there. If the code is run from the system app, I get permission denied when opening /dev/input/eventN with open("/dev/input/event1", O_RDWR). Uinput works fine, however, even in system app.

The permissions requested by the system app are:

<uses-permission android:name="android.permission.READ_FRAME_BUFFER" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.INJECT_EVENTS" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.BIND_INPUT_METHOD" tools:ignore="ProtectedPermissions"/>

For what it's worth, this system app also reads screen, and is able to do so. So it is very strange it is not able to open with r/w /dev/input/eventN.

You might wonder what's wrong with uinput if that works. The problem with uinput is that I have problems injecting touch events. Specifically, I can not "click" (tap).

I can drag, swipe, inject keyboard events, but clicking (tapping) just does not work. It seems as if it is stuck with long press. It does not register the final event, where ABS_MT_TRACKING_ID is set to 0xffffffff.

The code I'm using for "click" (tap) is:

// pointer down
send_event(EV_ABS, ABS_MT_SLOT, 0);
send_event(EV_ABS, ABS_MT_TRACKING_ID,
m_tracking_id++ % 65535);
send_event(EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PEN);

// pointer coordinates
send_event(EV_ABS, ABS_MT_POSITION_X, x);
send_event(EV_ABS, ABS_MT_POSITION_Y, y);
send_event(EV_ABS, ABS_MT_TOUCH_MAJOR, m_tracking_id % 2 ? 0x3c : 0x30);
send_event(EV_ABS, ABS_MT_PRESSURE, m_tracking_id % 2 ? 20 : 25);
send_event(EV_SYN, SYN_REPORT);

// pointer up
send_event(EV_ABS, ABS_MT_TRACKING_ID, -1);
send_event(EV_SYN, SYN_REPORT);

Any help or pointers greatly appreaciated.

Regards,

Miha.
[Galaxy Tab 4 Q&A, Help & Troubleshooting] 1sik5Series:
I need a otg y cable to charge and have a flash stick at the same time.

is there a diy to make one myself?
[Galaxy Tab 4 Q&A, Help & Troubleshooting] repey6:
Hi,

May be this is what you want

http://www.ebay.com/itm/Micro-USB-H...117836?pt=PDA_Accessories&hash=item19d402870c

http://www.replacebase.co.uk/micro-...ports-and-card-reader-2335-p.asp#.UWLkRJOzJBk

http://xdaforums.com/showthread.php?t=1828032

Google to help you!
[Galaxy Tab 4 Q&A, Help & Troubleshooting] GeeKerGurL:
It may not be this easy. I know on some devices you have to experiment and place a switch inline with a specifically sized capacitor and or resistor to "fool" the charging circuit to allow this to happen. Thats how it was with the Dell Venue I had. It is rarely plug and play like this but you will just have to play with it and see, be sure to let us know how it goes!
[Galaxy S 4 Q&A, Help & Troubleshooting] XDA Visitor:
I have an app (ported gallery from android lollipop) which I had downloaded from a XDA thread; (thanks again to that great person who ported it for all phones).

Now I'm using it on my Samsung Galaxy S4 (no root) with official Lollipop 5.0.1 but the gallery is not able to delete/edit and save any images/videos to the memory card. As per my knowledge this is because read/write permission of external SD card has been removed since kitkat & now apps need to have the "ACTION_OPEN_DOCUMENT_TREE intent" to give access the external SD card.

I know nothing about developing apps or anything but I really want to use the gallery as I HATE the gallery provided by Samsung.

Can anyone teach me how to add that intent or PLEASE MAKE THE APP LOLLIPOP COMPATIBLE.

P.S.: Its an excellent app with camera+gallery with photosphere etc too.

Link to download the app: https://drive.google.com/file/d/0Byuh4efE3GsrUkM2RVV0Z3dOaG8/view?usp=sharing
[Galaxy S 4 Q&A, Help & Troubleshooting] XDA Visitor:
Being that my Samsung galaxy S4 is rooted is there a way I can have Thc available on my phone?
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] angads95:
I was trying to compile kernel sources using tutorial from following link:

xgygroup.blogspot.in/2012/10/do-it-yourself-kernel-for-galaxy-young.html

But got stuck at the second last step as the ramdisk file which was needed has been removed from the cloud.

If somebody has

boot.img-ramdisk.gz

file, pleaze help....
[Samsung Galaxy Mega] vimi93:
guys im using xxUDNE4 build 4.4.2 os on my mega 6.3 9200 , i cant root it , i use to root it on 4.2 and 4.3 but now it says set kernel bit warranty and doesnt boot . i flashed the vcoreroot 2 from odin 3.7 and 3.9 but no luck . pls help
[Android Apps and Games] KarschdeDev:
Hello! I would like to introduce my App Playlist Creator.

With Playlist Creator Free you can create your own playlist easily and fast.

Playlist Creator searches all music tracks automatically on your device. The advantage - you don't have to select any folders or libraries on your phone.

The type of the playlist can be m3u, pls and wpl.

The playlist which you have created can be used in all common music players!

Current Features:

★ Create a Playlist

★ Rename Playlists

★Converting Playlists in different file types

★ MP3 ID3 Tags

★ Sort songs in the playlist

★ Different playlist file types

★ Music Player

Please let me know what you think about the app!

[IMG="Playlist Creator Free Link to Play Store"]https://developer.android.com/images/brand/en_generic_rgb_wo_60.png[/IMG]

Google Play Store Link: https://play.google.com/store/apps/details?id=com.ksdeveloper.playlistcreator​
[Android Apps and Games] KarschdeDev:
v1.3 Released

New big updates within version 1.3:

- Playlists Creator is now free available

- Rename Playlists

- Convert Playlists now with file type m3u, wpl and pls

- Select Songs by clicking on the listview items

- BugFixes

- Added Advertisements

- Added In-App Purchase (No Advertising)
[Android Apps and Games] GoHskrs:
Downloaded your app, and have been using it to organize my music collection. I gave you 5 stars on Google Play and paid for the ad-removal purchase.

Now, having become a customer, I have a petulant demand ... 8^) Actually, just a request - how can I export the playlist file I created, so I can save it with my music on an external device?
[8525, TyTN, MDA Vario II, JasJam General] Black Bear:
I'm having problems connecting wifi to MSN with T Mobile Vario II, I keep getting error message (Temporary Conditions currently Prevent Connecting to the Pocket MSN service) Signal strength is reading excellent on the wifi meter, however connecting to Internet is quite tricky sometimes. I desperately need help please
[XDA Assist] abishekcen:
I've flashed my mob mmx a106 with cleankat rom and I've decided to sell my phone so i have to restore it but after restoring the stock rom kitkat then also it shows cleankat in it! After tat the stock roms boot logo comes what shall i do to remove tat boot logo pls help me!!:(
[XDA Assist] Heisenberg:
Hi :)

Thanks for writing to us at XDA Assist. I'd suggest you have a look in this thread:

Micromax Unite 2 A106 Custom ROMs | Recoveries | Tweaks | MODs | Discussions

If you can't find exactly what you're looking for in that thread then ask your question there, that way it's most likely to reach people who are the most familiar with your device.

Good luck!
[Android Apps and Games] baiggee2:
Get Ready For An Air Combat, Where Your Skills Will Be Tested, Lets See How You Take Care Of Your Enemies..!

Air Force includes, Fighters, weapons systems, and air combat simulation.

Move the fighter plane to end a brutal and never-ending war.

This most addictive action game will make you forget the time.

Air Force - is Award Winning next-generation top down air combat shooter with stunning 3D graphics alongside great audio, effects and awesome gameplay.

Features in Lite version:

* 3 Great Missions

* 24 Different Enemy Types

* 3 Unique Planes

* Numerous Upgrades and Special Weapons

* Amazing Lighting and Special Effects

* Orchestral Music

* 3 Difficulty Modes

* Arcade and Survival Mode

* Realtime Physics

*Brilliant Artificial Intelligence.

Here You Go :-

https://play.google.com/store/apps/details?id=com.hbstudios.airforce
[Android Apps and Games] baiggee2:
Game Updated To 1.10 :)
[Android Apps and Games] Time2Code:
Not bad!
[Android Apps and Games] CreAPPtor:
Nice graphic:)
[Android Apps and Games] dmihov:
Wow, very nice :good:
[Nexus 9 Q&A, Help & Troubleshooting] h00ligan:
Any time the device is charging it just becomes unusable. Unresponsive. Locks up. Apps crash nothing works

Tried clearing caches and turning off ok Google.

Also chrome and other browsers reload tabs worse than an iPad now. Which is a big reason I was changing over to android.

Choice was this or Galaxy tab s. Figured his would be substantially faster but it's riddled with issues. Though no back flex and minimal light bleed. Buttons are fine too.

Thoughts? Thanks all. Had posted this in the help thread but realized that was very old
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
I would try flashing the factory image with fastboot and see if that clears up your issues. If it doesn't, it could be a hardware issue
[Galaxy S II General] Saber:
Reserved.
[Galaxy S II General] nhmanas:
Good guide mate thanks!
[Galaxy S II General] Saber:
I will hopefully update the guide today, as well as my governor and scheduler guide :)

Update: I've added one new tip to stay away from android lollipop. I've also fixed how the image links were shown instead of the actual image.
[Galaxy S II General] RuffBuster:
Definitely some good info here! Not sure I totally agree with your statement about Lollipop. Currently I find it very stable and don't personally suffer any more issues than I did using any other custom build. Battery wise I've had 4hrs+ screen time with 3g/WiFi, location on, sync on all day. No under clocking used. On a standard battery. With a some streamed Google play music, a couple of short calls and a lot of browsing. In fact with how smooth it runs in comparison to previous android builds vs battery life I highly rate it. Although yes nothing beats stock 4.1.2.

Also I did use sine build.prop tweaks with some Xposed modules and some popular battery saving apps.
[General Questions and Answers] ominous_41:
hey guys. i bricked my phone karbonn s2. :p

not its stuck on boot screen. recovery mode shows android logo with red exclamation mark. phones cannot establish usb connection on pc. how do i fix it ?? please help

(the phone isn't rooted and none of the options on recovery mode aren't working, all show android logo with red exclamation mark)
[General Questions and Answers] Xuzno Tox:
http://xdaforums.com/showthread.php?t=2459150
[General Questions and Answers] ominous_41:
followed the steps. not working as my phone isnt rooted. i cant even go through from the 2 step itsel "RESET FOR ENTRY QSTP DOWNLOAD" not gettimg amy such option. it only shows an andriod logo with exclamation mark.
[Galaxy Note 4 Q&A, Help & Troubleshooting] TheMathMan:
Hi

These past few days the battery has been draining ridiculously fast.

I charged it before bed and then it's basically sat with the screen off since.

34% battery gone to AndroidOS and Android System.

Better Battery Stats hasn't been very helpful as I'm not rooted. It does say that it's been "awake" 100% since unplugged.

Here's some shots. Anyone know particular culprits?
[Galaxy Note 4 Q&A, Help & Troubleshooting] coolbuy:
Delete everything inside your android folder in internal memory and memory card.
[Galaxy Note 4 Q&A, Help & Troubleshooting] TheMathMan:
That would wipe all of my game saves etc wouldn't it?
[Galaxy Note 4 Q&A, Help & Troubleshooting] psycovirus:
Seems a background processing is keeping the phone awake. It might be because Bluetooth is on.

You can try using Greenify to Force Stop most of the apps (Does not require root). I find that my phone does not wake up much after it Force stopped most apps.

Do note that you would want to leave messaging apps running or you will not receive messages.
[Galaxy Note 4 Q&A, Help & Troubleshooting] TheMathMan:
I have a Gear S connected by BT LE but I thought the point of BT LE was it's low power. ..
[Galaxy Note 4 Q&A, Help & Troubleshooting] TheMathMan:
Ok. Update. Having turned off the Gear S and killing it's connection, that wasn't the cause as it's still 100% awake whilst screen off.
[Galaxy Note 4 Q&A, Help & Troubleshooting] TheMathMan:
Ok. It seems to be Samsung's Gear Manager app. Uninstalled and it goes into deep sleep straight away. With it installed, even when not connected to anything, it keeps the phone awake.
[LG Optimus L90] Madpiercing:
Hello guys, new l90 user here after my N5 was stolen.

So far, i must say i'm really happy with how this device perform: good battery, it feels snappy, the screen quality isn't as bad as i thought, and rooting was an easy and straightforward process. After some customizations and debloating , even the stock rom is pretty good.

However i would prefer to use a custom rom without the lg interface, but all the roms i've looked into have some sort of problem that doesn't seal the deal for me: some have bad pic quality, some no hw acceleration, some problems with nfc or infrared etc etc.

So i thought to ask the community what is right now the most stable rom for this device? I'm no biased for kitkat or lollipop, only thing that i would like is that everything works as it should; also, overclock capability would be nice. BTW, i have 405N, do the normal 405 roms work for this version or do i lose the nfc?

Thanks
[LG Optimus L90] bacitoto:
Just go with Cyanogenmod 11 or maybe 12 whatever you like more, luckily for us d405 is the least buggy model of the phone, only IR isn't working and auto-focus I guess

About bad pic quality....well that's just because LG stock camera as better image processing than CM camera

Also we'll probably have official support for Lollipop, or at least that's what you hear on thestreets threads
[LG Optimus L90] Madpiercing:
Thanks for the answer! It seems rooted stock is the best option for me right now
[One (M7) Q&A, Help & Troubleshooting] nguyenkendy:
Problem resolved

/close thread
[T-Mobile Galaxy Note 4 General] PunishedSnake:
MOD EDIT: There is no selling/trading/buying on XDA. Please read forum rules.
[Android Apps and Games] kefir88:
Hi,

I`m sorry, but poorly know English. Google Translator : Since long time I am looking for an application that will record and will play from time to time movements / clicks on your smartphone for a specific application . As in Comp. programs to record and repeat the movements of the mouse.
[HTC One SV] sanka01:
There is a htc one sv, and don't work :( factory reset don't work, just restart again, and again. There is any solution?

New rom, or ruu reboot? but how? please help me!
[HTC One SV] old.splatterhand:
Your phone is unlocked. Flash Twrp recovery if you don't already have it and flash a stock rom.

You will find everything if you follow the link in my signature to my index thread.
[HTC One SV] sanka01:
thanks for the answer

i download this file , twrp-2.8.4.0_k2ul-k2u_xpirt.img. It's *.img. what is the recovery method ?

there is this display : http://xdaforums.com/htc-one-sv/orig-development/recovery-twrp-2-8-4-0-touch-recovery-t3011704

no sd card. and what can i do now?
[HTC One SV] old.splatterhand:
You have to flash it with fastboot.

Use google and search for "fastboot flash recovery". You will find plenty of guides how to do that.
[HTC One SV] sanka01:
sorry, but I cant do this :(

my computer seen internal sd (4gb), it is full empty, TWRP run, but how to continue? :crying:
[HTC One SV] old.splatterhand:
Download this rom and flash it with twrp:www.androidfilehost.com/?fid=23212708291677972

Make a full wipe before!
[HTC One SV] sanka01:
-------------
[HTC One SV] old.splatterhand:
Flash the boot.img of the rom.zip with fastboot!
[HTC One SV] sanka01:
you are awesome! THANK YOU VERY VERY VERY MUCH!

its working!!!!!! THANK YOU!!:D:D:D:D
[HTC One SV] old.splatterhand:
Nice :)

You are welcome!
[HTC One SV] baba1coolboy:
Hi, I've never flashed a ROM before, so please could you help me.

I've flashed TWRP onto my One SV, and now I have to flash a stock ROM but don't know how to

Please could you explain how to flash a stock ROM using fastboot

(I've downloaded the ROM that you have provided in the thread)
[HTC One SV] old.splatterhand:
I don't explain that here again, sorry!

If you use google search with "How to flash a rom using TWRP" you will find so much guides, that i don't see a reason to write another one.
[HTC One SV] sanka01:
old.splatterhand

[MENTION=3142060]old.splatterhand[/MENTION]

please help me:

after 'fastboot flash recovery recovery.img'

....writing 'recovery'...

FAILED (remote: image update error)

what can i do? :confused::confused:
[Galaxy S I9000 Android Development] jeffreyvh:
PROJECT CANCELED

Hello guys,

today i will introduce my new project for our Galaxy S, CodeROM 4.4.4

It's based on Cyanogenmod 11 so you will have all the features of Cyanogenmod 11.

Changelogs

Changelog V1:

* Tweaked the kernel for a better performance

* Tweaked the system for a better stability

* Battery life is amazingly good, see the screenshot

Changelog V2:

* Deleted some unnecessary apps and also all ringtones/alarms/notification sounds (to have more free system memory)

* Changed the Settings app a little bit

* I tried to add 1,4GHz overclock but it failed, the next build will hopefully contains it ;)

* See it yourself and find out what i have changed more (minimal changes)

Changelog V3:

* Deleted some unnecessary stuff (don't worry if u see a black screen at the boot, i messed up the bootanimation , i will fix this asap)

* Changed the Settings app a little bit

* See it yourself and find out what i have changed more (minimal changes)

Plans for the next version:

* Add overclock up to 1,4GHz)

* Make more features in CodeROM

* New bootanination

* Delete more useless stuff

Request to you guys ;)

I am currently working alone on this rom, but i need support to finnish things more early

So if you want to help please please p.m me

I need the following things:

* a designer

* a coder

* and ofcourse TESTERS :D

Screenshots (i use an theme called twizzed that's why it looks like an S5) :

Version 1:

View attachment 3173131

View attachment 3173132

View attachment 3173133

View attachment 3173134

Downloads

CodeROM V 3.0 Stable

Gapps for CodeROM

CodeROM V 2.0 Stable

CodeROM V 1.0 Stable

Addons

View attachment 3203486

Part 1:

View attachment 3203492

Part 2(loop):

View attachment 3203494

My own very light launcher (BETA, needs testing)

Touchwiz S5 theme

How to flash this rom(eventually with gapps)

if you are on cm11 (4.4.4) then skip step 1,2,3

1. Do a nandroid backup

2. Wipe Data/factory reset

3. Format system and dalvik cache

4. install the rom from the sd-card

5. if you want gapps flash them too else skip this step

6. reboot system

7. if you want my own launcher then copy it to your phone and install the .apk (Don't ask me how to do this :D )

Credits:

[MENTION=5471568]T-z3P[/MENTION]

Cyanogenmod team

Google (Android)

My brain :eek:

If you like my work please press the thanks button to motivate me :)
[Galaxy S I9000 Android Development] Ridxrock:
Code rom

Can we get more screenshots please :)

Rom looking :good:

Gotta test it out find some bug if any :p

Great work man :laugh:
[Galaxy S I9000 Android Development] jeffreyvh:
Thank you, by the way there are screenshots in the first post ;)

Enjoy the rom, for better performance and a better look...

Go to settings->About this device->Tap 7 times on Build number

Then go back once

open Settings->Performance

Now enable "High end graphics"

Then open CPU

Change the maximum Clock speed to "1200MHz"

and the minimum to 300MHz

also do check Set on boot

Now reboot and enjoy the speed and the very clean look ;)
[Galaxy S I9000 Android Development] Ridxrock:
Thanks, I will test it out for you and give you feedback ;)

Downloading.. :laugh:
[Galaxy S I9000 Android Development] jeffreyvh:
Oh sorry i made an read mistake i thought you asked me for screenshots, but you asked for more screenshots :D

Of what do you what to have screenshots?

My own launcher?

Tell me what you want and i will give it to you ;)
[Galaxy S I9000 Android Development] Ridxrock:
Yes I wanted more screenshot of the launcher,lockscreen and even the camera app :)

and you do not have memory problem I assume everything is clean right? :l

Thanks.
[Galaxy S I9000 Android Development] jeffreyvh:
Yes everything is clean, but the rom looks like stock cm11 for now, i only did some tweaks to improve the performance. :good:

By the way , you can download my own launcher at the download section in the first post... keep in your mind that it isn't finished yet and that it's only for performance so there are no widgets and additions for my launcher
[Galaxy S I9000 Android Development] randomherRro:
I'm always looking to test new ROMs on my device so I'm going to install this one as soon as possible. I will get back here with a new post if I encounter any issues or have suggestions.
[Galaxy S I9000 Android Development] Thanhtho96:
Finally, what about CodeRom on vibrantmtd ? :)
[Galaxy S I9000 Android Development] randomherRro:
One day later, I have a bit of feedback:

The ROM is really, really smooth, much smoother than expected and smoother than other ROMs that I've tried recently. It almost never hangs up and it's a pleasure to use it. I truly enjoy this fact and I'm quite surprised that Subway Surfers runs quite nice with the 1000 MHz settings (I've just activated the Developer Options and upped the CPU to 1200 MHz, so I've yet to try the game under these settings). I usually see this game as a benchmark for a "fast" ROM and I haven't been disappointed.

Occasionally, I receive the "Exchange Services has closed" error - two moments that I remember were related to Gmail sync and to logging in on my Reddit account with the Reddit is fun app.

Also, is there a way to remove the Albert Einstein images from the contacts that do not have already a photo assigned?

Thanks and keep up the good work!
[Galaxy S I9000 Android Development] psywalke:
Gapps Link is OFF

Can someone send me other, please
[Galaxy S I9000 Android Development] jeffreyvh:
I am so happy to hear that you feel the speed, like i do... i will see if i can remove that picture of einstein :) i didnt noticed it.

By the way, still nobody works with me and i need an graphical designer who can make png's, jpg's for me.
[Galaxy S I9000 Android Development] EwOkie:
Gapps Link : Here
[Galaxy S I9000 Android Development] Thanhtho96:
Hi :) do you remember me :) can you build code rom for vibrantmtd ? :)

Sent from my SGH-T959
[Galaxy S I9000 Android Development] jeffreyvh:
Yes sure i can, thanks for ur interests... i only need the files of ./extract-files.sh since i dont have that device, u need to do it when u are on cm11!!! else it won´t get all files which are nessecary :(

succes and thanks :)
[Galaxy S I9000 Android Development] Thanhtho96:
You can contact or PM to [MENTION=5562721]epicboy[/MENTION] he will help you build the ROM ;)

Sent from my SGH-T959
[Galaxy S I9000 Android Development] jeffreyvh:
i only need some files, since i dont have the device. i think someone can do it, i mean someone around here... i hope so since i am doing a lot of changes on my source codes and i do want to compile it for more devices and not only 1 :D
[Galaxy S I9000 Android Development] Thanhtho96:
Yeah he know very best about vibrantmtd or I will give the necessary file now. Which file you need ?

Sent from my SGH-T959
[Galaxy S I9000 Android Development] jeffreyvh:
Like i wrote down earlier... u need to run ./extract-files.sh

u need linux for that, i will ask epicboy to do this, thanks for ur tip... by the way, what overclock should i add to the vibrant?
[Galaxy S I9000 Android Development] Thanhtho96:
Nothing much but please do it like you have done for i9000. Thanks :)

Sent from my SGH-T959