yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] babalonius508:
Hello all!

I have recently been attempting to create an extended power menu containing Reboot, Recovery, and Screenshot for a stock AOSP ROM.

After creating and editing several smali files within the android policy.jar, I successfully added the desired power menu options. The problem is only 2 of the 3 work. Reboot and Recovery work fine but Screenshot does nothing after it has been pressed. I just return to the home screen, no screenshot.

I believe the problem lies in not having the proper GlobalActions$ smali linked the the screenshot function. I am quite confused and I'm not sure how to fix this. Screenshot shows up on the Power menu but does nothing.

I have attached the files I am using as well as a screenshot and the smali file. If anyone could help me out I would be greatly appreciative. Thank you!

Smali file - http://db.tt/Ttle08LX

Androidpolicy.jar - http://db.tt/IOe6JAkn

Framework-res.apk - http://db.tt/xy0QGFiH

Sent from my Nexus 4
[Android Apps and Games] nickmartens1980:
Today I released Appsi 1.5 (sidebar app, in top 5 new favorites from August on Android Police) and one of the new features is support for Home Plugins. These are basicly like DashClock Extensions (which are also supported) but will work on lower API levels. Another reason for my own type is also that you can't host DashClock extensions in two apps.

So I created a sample project for this, which contains all the extension DashClock includes and a few other ones (networking state and a few usefull links that make sense for Appsi). The project is right here (https://github.com/nickmartens/AppsiHomePlugins) on GitHub. The app can also be found here (https://play.google.com/store/apps/details?id=com.appsimobile.appsihomeplugins) on Google Play and needs Appsi installed for it to work.

I'd like to ask other developers to create plugins as well. If you've ever created DashClock plugins this is pretty much the same. and you can see how easy it is to convert existing DashClock plugins by looking at the source code.
[Samsung Galaxy W I8150] Madridii:
Phenom Kernel by educk​

Hello Everyone!

Everybody know the Great Kernel for S+ device by Mr. Erik, and I proudly port it to W with its features

So this Kernel is made by [MENTION=4922835]educk[/MENTION]

Features:

*Build with Linaro Toolchain 4.7.4 - Cortex A8 with neon optimization

*Overclock up to 1.8 GHz

*Advanced O2 optimization

*AVS enabled

*CPU Voltage Control (VDD sysfs interface)

*Extreme Undervolt

*No JPEG Compression

*Governors: Hyper, Lulzactive,LulzactiveW, BrazilianWax,interactiveX,conservative,ondemand,powersave,smartassV2 and performance

*I/O schedulers: SIO,VR,ROW,NOOP,Deadline,CFQ,BFQ

*Great Battery Life

*Optimized for Perfomance

*Optimized Low Memory Killer

*Optimized RWSEM Algorithm

*Optimized Readahead for better disk performance

*BLX (Battery Life eXtender)

*Dynamic Sync Control

*Lowered Swappines

*USB OTG support

*Frandom Support

*RAM Console Support

*Increased Audio Loudness

*zCache activated

*Zsmalloc activated

*And more

Note: If you got boot-loop with ExUV edition try Normal UV because your phone doesnt

supoort Very Low Voltages..
[Samsung Galaxy W I8150] Madridii:
reserved
[Samsung Galaxy W I8150] TiTAN-O-One:
BrrrrrrILIANT! Didn't know kernels can be ported :o

CyanogenMod® :D
[Samsung Galaxy W I8150] Madridii:
First Post updated with Links

Enjoy
[Samsung Galaxy W I8150] mohza:
What about rev lcd 3?

from my wonder AOIP
[Samsung Galaxy W I8150] Madridii:
You will have white screen bug ..

Sent by Wonder powered by CM10.1
[Samsung Galaxy W I8150] Clyke:
its great madri :) thanks for ur work.
[Samsung Galaxy W I8150] vetfactor:
good job [MENTION=3398212]Madridi[/MENTION]

i want to ask about instalation plus every time i use a kernel with more ram option i got the same ram 351 mb, i don't know why?

;)
[Samsung Galaxy W I8150] Clyke:
just wany to ask what is difference if UV and ExtUV? thanks in advance.
[Samsung Galaxy W I8150] educk:
Good job Madridii!

Thank you for porting ;)

Edit: Don't forget about zCache and Zsmalloc, they are also active. I'll PM you about BLX...
[Samsung Galaxy W I8150] sagaracipta:
I'm download all for compare, thanks :thumbup:
[Samsung Galaxy W I8150] Madridii:
Thanks,

Installation added to first post and I just tried OC/UV 370MB again to check RAM usage I found it 370MB , Maybe you didnt wipe caceh and dalvik

You can find the Chart in the first post made by educk ..

UV : under-volt

ExUV : Extreme under-volt.

Thanks educk , without you I cant do anything

about that features I want to read more about them to understand it correctly

and I am waiting your reply about BLX, take your time..
[Samsung Galaxy W I8150] Clyke:
yes. but what is the difference of undervolt and extreme undervolt? it cant less performance?
[Samsung Galaxy W I8150] vetfactor:
wipe cache and dalvik, install, fix perm, reboot, wipe again>>> good

rev 2 but i think i had seen the white screen bug once.

i will check some games.

then i will install seeder and try again.
[Samsung Galaxy W I8150] Madridii:
No .. It just improve battery life

Sent by Wonder powered by CM10.1
[Samsung Galaxy W I8150] Clyke:
so it means uv us more batery and Ext.UV is more more batery?
[Samsung Galaxy W I8150] Madridii:
yes, but some phones cant live with ExUV so we have UV
[Samsung Galaxy W I8150] vetfactor:
370 mb ram worked.:laugh:

white screen bug confirmed rev 2.

diamond dash FC.

others are well temple run and subway surf.

installed seeder.

overclocked to 1824 mb.

all well except fc of diamond dash and white screen bug.;):good:
[Samsung Galaxy W I8150] Madridii:
White screen bug on rev2?? when it appears??
[Samsung Galaxy W I8150] dimaka1256:
aww, great things cooking here!

maybe I will get rid of cm10.2 to try this, yeah

thx bro) perhaps it will be my last mod applied to ancora, cause I have less than a week till I get my nexus4 delivered ;)
[Samsung Galaxy W I8150] chris096:
Thank you, i'm testing this awesome kernel right now and all seems to run fine, but the only think i notice there is the 99% battery charge bug, i can't get to 100%... But all the other things run very well, i'll give feedback about battery life after some cycles, thank you again for this port :)

Inviato dal mio GT-I8150 con Tapatalk 2
[Samsung Galaxy W I8150] adikasgw:
Good Work Man..!! cool :good::D

Do u add patch rev3 in kernel?
[Samsung Galaxy W I8150] LeroViten:
Yep, it is here... ;)
[Samsung Galaxy W I8150] vetfactor:
appears just after pressing power or home button to open the black screen then lock screen appears.

longest time 2 seconds.

also phone freezed once yesterday and 100% battery drained to 3% in 5h 13m.

i will try today before reverting to hurtsky's 3.4.60 kernell.
[Samsung Galaxy W I8150] rabbo3:
How is battery consuption ??? During call the battery dry much
[Samsung Galaxy W I8150] Clyke:
heres my batery consumption in Ext.UV/OC
[Samsung Galaxy W I8150] sagaracipta:
Alhamdulillah... so far I use UV/OC really nice result [MENTION=4833280]Madridii[/MENTION] Thanks for good job... 'Salute'
[Samsung Galaxy W I8150] rabbo3:
after flashing doesn t boot and go in to recovery with exuv
[Samsung Galaxy W I8150] Dwama:
in the first post it said tht have vibration control, i wonder how to control and change the vibration intensity?
[Samsung Galaxy W I8150] Dead Metal:
This kernel is fantastic! I've flashed it earlier today and recalibrated my battery and so far it's lasting much longer than any other Kernel I tried, while performing much better.

Keep it up! :D
[Samsung Galaxy W I8150] rabbo3:
Very smooth but much battery consumption with undervolt and overclock until 1.7 ghz exuv not works
[Samsung Galaxy W I8150] Madridii:
My fault .. It is for ariesve

I will remove it asap

Sent by Wonder powered by CM10.1
[Samsung Galaxy W I8150] ghost141:
ex-uv does not work :
[Samsung Galaxy W I8150] dec0der:
idk but is it vibration multiplier or it's a different thing? thnx
[Samsung Galaxy W I8150] Clyke:
but for me Ext.UV/OC is very smooth for me and i have no bootloops.
[Samsung Galaxy W I8150] dec0der:
really?:D :D :D
[Samsung Galaxy W I8150] ghost141:
i wonder why some device have bootloops ;/

different lcd or what?
[Samsung Galaxy W I8150] dec0der:
it's not the lcd dude. haven't heard of that 1 causing bootloopz :) try to re-flash it again and follow the instructions.
[Samsung Galaxy W I8150] ghost141:
Decoder@ been trying it many times dude , does not matter.

I am using OC/UV version. ;) actually i dont feel any difference... I just trust Mardiadii so i use his kernel :P
[Samsung Galaxy W I8150] dec0der:
i thought ur having that probz dude :D actually, we have the same device but some of us put different mods/ tweaks/ etc that's why the outcomes varies to each user. that fact that if the kernel itself is faulty, it should not work even to one user.
[Samsung Galaxy W I8150] educk:
Some devices don't support so aggressive under-voltages. That's why the kernel comes in 2 variants. Extreme Undervolt and normal undervolt. If you have bootloops with exUV, it means your phone doesn't support the voltages so you can only install the UV version.
[Samsung Galaxy W I8150] Madridii:
Thank you for replying here ..

Sorry I was busy to get driving license :D

Sent by Wonder powered by CM10.1
[Samsung Galaxy W I8150] dec0der:
it's working dude.
[Samsung Galaxy W I8150] chris096:
Yep after battery calibration it worked :)

Inviato dal mio GT-I8150 con Tapatalk 2
[Samsung Galaxy W I8150] tebor8:
This kernel made my phone run much smoother. Extreme under volt works great! Highly recommended!
[Samsung Galaxy W I8150] dec0der:
wow, its good to hear that :D
[Samsung Galaxy W I8150] kacanghantu:
yeah..and battery was good too..normally battery can stand for not more than 3 hours,but with this kernel it can stand for hour with smae usage...
[Samsung Galaxy W I8150] nisiomorais:
How activate the Frandom?
[Samsung Galaxy W I8150] dec0der:
hey bro [MENTION=4833280]Madridii[/MENTION], will you integrate this one in the kernel on future release? thnx in advance!
[Samsung Galaxy W I8150] hundred_miles_high:
Is there any significant advantage / disadvantage of using this Kernel instead of No OC/UV][CM10.1][3.4] Madridii Kernel V1.8 on LiquidSmooth 2.9 release 3 ?

I don't use games on my phone, my LCD is Rev 2, and so far i've never messed around with OC / UV (but may do one day :D)

My main wishes are SmartAssV2 / SIO and reasonable battery life (on CM10 and 10.1 I could get 1 - 2 days using either stock or Madridii kernels)

Or are they similar enough that it will be just a matter of personal preference?

Thanks for your thoughts / opinions.
[Samsung Galaxy W I8150] walter98100:
How do i can check if 00frandom is active?
[Samsung Galaxy W I8150] vetfactor:
following comparison,

your kernel is the best ever mod i had tried.;)

i am now on CM10.1.3 alpha9 by arco and reverted to your kernel.

all showing white screen bug but best battery experience were with yours.

i don't know how to benefit from undervolting or it works by default?

thanks [MENTION=4833280]Madridii[/MENTION]
[Samsung Galaxy W I8150] Madridii:
Thank you man

but please your post should be in thread of my kernel okey!

UV is not working by default you can use PerformanceControl app to decrease the voltages and improve battery
[Samsung Galaxy W I8150] tebor8:
Same question.... And also how to get it to work in the first place?
[Samsung Galaxy W I8150] dec0der:
what dude?
[Samsung Galaxy W I8150] kacanghantu:
switch on your phone and..tadaaaa..it work..lol
[Samsung Galaxy W I8150] dec0der:
LOLZ!
[Samsung Galaxy W I8150] andywkf:
well how is the battery life compare to hurtsky's kernal?
[Samsung Galaxy W I8150] tebor8:
I screwed up. I meant to ask about frandom, but I mistyped using the mobile xda app. I found the answer on one of the previous pages. Sorry all.
[Samsung Galaxy W I8150] kacanghantu:
in my opinion..this is the best kernel for battery life..you should try exuv..

haha..sorry mate..iam jus kidding..btw frandom activated by default..you can confirm it by download any entropy checker apps in play store
[Samsung Galaxy W I8150] TheAreS:
First thanks for this kernel. I get white screen sometimes. Please fix this. Thank You! :good:
[Samsung Galaxy W I8150] hanane:
Hy madridii, thanks you for your job,

can i install your 'this) kernel on growlv4 //cm10.2 ??? or just on cm10.1 ? because your kernel mention 4.2.2 3.4 so i think its good for me on growlv4 andcm10.2 who means 3.4 :)

thanks,
[Samsung Galaxy W I8150] dec0der:
growl is cm10.2/ jb 4.3 and this kernel is for cm10.1/ jb 4.2.2 so you can't use it with growl.
[Samsung Galaxy W I8150] hanane:
:( :crying::crying::crying::crying::crying:

thank you decoder :)
[Android Apps and Games] bjakus:
Google Play link

Facebook link

Official site

PCremote:

PCremote is the coolest way to control your computer. With a simple and beautiful design we provide maximum ease and enjoyment of use. Using the PC remote aplication you can control your computer remotely via your WiFi network or hotspot. PC remote includes simulation of TouchPad, Gyroscope controle, File Explorer, and simulation of remote control for various popular video players (BSplayer, VLC player, WMP, GOM, KMP, UMP...) and PowerPoint.

PC remote includes wireless file sharing! Saving your pictures and music has never been easier!

Installation is done in the following way:

1. Download the PC application to your computer - (http://pcremoteapp.com/#download)

2. Install / Run application on your computer

3. Run application on android device

List of supported players:

-> BS player

-> GOM player

-> VLC player

-> UMPlayer

-> KMPlayer

-> Full Player

-> Windows Media Player

-> RealPlayer

Have fun using PC remote!
[HTC Desire X] vezir020:
Beats Audio speakers used MySensedx5 Alpha 1 version, but the Alpha 2 version is obsolete ...

What should I do to use the Alpha 2 version.

Thank you ...

* Vezir
[HTC Desire X] ckpv5:
Do you mean the audio icon be available when playing music with speaker ?

Flash this in recovery
[HTC Desire X] vezir020:
Thanks [MENTION=830797]ckpv5[/MENTION]

I am grateful to you

Sound changing Build.prop 'Is it something related to?
[Galaxy S III Q&A, Help & Troubleshooting] tOrNadO™:
Hi.. Can anyone provide me with framework-res.apk file from Stock ROM???
[Galaxy S III Q&A, Help & Troubleshooting] danarama:
Hundreds of stock roms all different.

Download any stock ROM from sammobile.com
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] barbar:
Please Help me??Who can upload the DUMP Ver of the new HOng Kong Chinese ROM???
[Sony Xperia T, TL, TX, V] misiex2212:
hello

i flashed this http://xdaforums.com/showthread.php?t=2378400 however phone turn on but it dont have launcher so i tryed to flash cwm recovery which im not able to do so then i went to pc companion however when i do connect my phone as instructed i dont get greeen led which will confirm and staart of installing software. is any way that i can fix my phone

hope for fast reply

sory for english but im reali desperate n drunk ;/
[Sony Xperia T, TL, TX, V] gregbradley:
Make sure you know how to connect in flashmode and that you have the drivers installed.

pccompanion should work with the correct drivers.
[Samsung Galaxy W I8150] TiTAN-O-One:
So which one? I just wanna have a taste of Android 4.1... :)

CyanogenMod® :D
[Samsung Galaxy W I8150] Ahmed.ragab:
I think xperia UI :)
[Samsung Galaxy W I8150] iDelta:
Bro, you shouldn't ask these kind of questions. We can't say which one is the most "stable". The ROM that is for you is the one that is perfect for you. Try out all the 4.1 ROMs and see whats good for you.

My recommendation: Velox(Longest running 4.1 rom i used)
[Samsung Galaxy W I8150] TiTAN-O-One:
Actually i did, but all of them from my view aren't updated/inactive for some reasons

CyanogenMod® :D
[Samsung Galaxy W I8150] iDelta:
Ikr...
[Samsung Galaxy W I8150] hundred_miles_high:
CM10 EOL has always been rock solid for me - even when updated to use Madridii's kernel which gave me great battery life (up to 2 days depending on use) Xperian UI is CM based and I found it to be an awesome derivative with some great Sony extras - no loss of stability or battery life with Madridii's kernel and Acid sound mod.

Am currently rocking Honami UI (cm10.1 - JB4.2.2) with Madridii's kernel and Acid sound mod, to be honest it's very similar in stability & reliability, battery life is only fractionally less and it is a good daily driver for me.
[Asus  Eee Pad Transformer Prime] Sarkie:
Hi,

I have a few questions regarding rooting my TF201 - Jelly Bean - 4.11 Tablet.

I have found that because I got the JellyBean I can't get access with NVFLASH to take a full memory dump, which is annoying and I probably don't want to downgrade my bootloader to gain that...

I have put off rooting and such because it was £500+ and I saw the article about it getting 4.3 so I could deal with the forced install stuff, but now it seems that was a fake, I want to put on a custom rom with 4.3 once it becomes stable.

I watched the video where you can unlock the device using ASUS' .APK file, I got the file but it says ICS ONLY (is this a lie? Can I use it on my device?)

I gained root by using the motochopper exploit and updated it to use Koush's SuperUser.

I was wanting to use TWRP but seen lots of things about bricking the device, I have had a locked bootloader in the past on my Nexus One and I could install a recovery image, is this the same with this device, or do I definitely need to unlock my tablet to install recovery and then install a custom rom.

Is there anything else I've missed? Is the ICS Downgrade worth the risk in order to get NVFLASH amongst others?

Can I install recovery with a locked bootloader?

Can I unlock my bootloader with the APK?
[Asus  Eee Pad Transformer Prime] HORiZUN:
You can unlock the bootloader with the Asus APK. Ignore the ICS only note.

You must be unlocked to install a custom recovery.
[Asus  Eee Pad Transformer Prime] Sarkie:
Perfect, thanks for the response!
[Asus  Eee Pad Transformer Prime] HORiZUN:
Keep in mind that you're in the same boat as I am. You received a tablet updated to JellyBean. No nvflash love for us. Be careful. You CAN still brick this tablet with a recovery. I managed to do it with my last one. Do not ever use goomanager with the prime. Ever.
[Asus  Eee Pad Transformer Prime] jcicora:
Hold the phone, you can put a custom recovery on a TF201 after it has stock JB? I thought it always bricked it...
[G2 Q&A, Help & Troubleshooting] WhiteZero:
I like using my phone for GPS navigation on long road trips. Phone plugged into power and attached to a window mount, like you would a Garmin. I'm concerned about overheating issues doing this with the G2. My old Galaxy S 2 seems to handle it OK, though I have had a couple overheat warnings before and had to unplug the charger.
[G2 Q&A, Help & Troubleshooting] WhiteZero:
No one have any experience like this yet with their G2?
[G2 Q&A, Help & Troubleshooting] smacklayer:
I used it over the weekend for about an hour trip. Didn't notice it getting exceptionally hot. It was warm, but didn't get any warnings.
[G2 Q&A, Help & Troubleshooting] deeznuts:
Well... I know my HTC One X+ WILL overheat to the point it shuts itself down if plugged into power and playing a game for more than 20min, sad but true mainly due to Tegra 3 being 40nm in size. Now i don't know any quad core device on the market that supports being plugged into power and using something that uses a lot of the device like GPS and graphics intense games without it getting hot, figured that was just common sense? Now i can see in an emergency having low battery then last minute need to use GPS so you HAVE to plug it into power while using GPS but i wouldn't advise doing this on the regular, goes for any quad core device.
[G2 Q&A, Help & Troubleshooting] greyhulk:
The Optimus G Pro used to give me overheat warnings if I was charging it while navigating (also in 100 degree, sunny weather coming through the wnidshield).

I took a 4 hour trip today using it as my GPS, streaming music to my stereo, and plugged in the whole way. Not only did I not get any overheat warnings, it wasn't even very warm when I checked. This is the AT&T version.
[G2 Q&A, Help & Troubleshooting] WhiteZero:
Little confused, you talked about the G Pro, and then about the 4 hour trip. Was the last paragraph referring to using the G2?
[G2 Q&A, Help & Troubleshooting] greyhulk:
Right. Sorry for the confusion. I'm using the G2 now. No overheating.
[G2 Q&A, Help & Troubleshooting] kconover:
Cellphone overheating when used as GPS

I have been using cellphones for GPS navigation for a long time. I found that my new HTC One overheated enough during a trip late this summer that the GPS chip stared giving bad results (not tracking). The aluminum back of the phone was _really_ hot.

After some investigating, I decided this was multifactorial.

Charging heats up a phone.

Having a nice, bright screen (which the HTC One has) on all the time heats up a phone.

Being in the sun heats up a phone.

Aiming your air conditioner vents at the phone cools off the phone.

Unplugging the power cord for a few minutes cools off the phone.

Simply turning off the screen when you don't need it cools off the phone.

Having the cellphone's back mostly covered by a cellphone mount prevents heat dissipation and heats up the phone.

I had been using an Arkon universal cellphone mount, which I had found superior to all of the other types I'd tried (4 others). However, it covers most of the back of the phone and this impedes cooling. I tried a RAM Mount universal X-mount instead. The X mount only covers a fraction of the back of the cellphone and I have had no overheating with it. But wasn't happy with it. It's hard to get the phone into the mount, and it's hard to swivel 90 degrees from landscape to portrait, which I find handy to do as I keep the map with North up (I do a lot of land navigation/orienteering and prefer the map this way) and sometimes want to rotate to see more of my route.

I liked the Arkon mount enough better that I went back to it. However, I modified it: I placed six little clear plastic sticky-back pads against the back of the mount, to hold the phone a bit away from the back of the mount. This allows considerably more convective cooling. Since I have done this, I have had no issues with overheating. Any good hardware store should have such sticky-backed plastic feet/pads. I used six for redundancy, so that if one falls off I don't have to replace it right away. See the picture.
[G2 Q&A, Help & Troubleshooting] Ainvar:
I have the G2 and have used it for GPS (Waze) while driving to and from work for traffic. I am in the car around 45-120+ minutes depending on traffic and such. While in the car it is connected to the charger and also streaming music through my car audio system. The phone is located on my right thigh as I have not found a car mount that I actually like enough to use in my car. The back does get warm but not hot. I have not had any issues with since I bought about a week ago. I came from using a S4 which did get a bit warmer at times using this same setup.

I dont plan on going on a long road trip till either later this year or early next year. So I cant tell you about the phone's heat issue for any use longer than 2 hours while I am in the car.
[G2 Q&A, Help & Troubleshooting] canecbr600:
I used mine on a 10 hr trip today, full brightness, nav, and audio streaming. Never got over 98 degrees. Bright sun, and cloud cover varied. This is in a windshield mount also.
[G2 Q&A, Help & Troubleshooting] bodom_hc:
Temperature outside causing this?
[G2 Q&A, Help & Troubleshooting] shaungregg:
I use it lots for navigation with Rhapsody streaming from the headphone jack to my car stereo and a car charger plugged in. I use Waze, longest trip has been 2 hours and I average using it maybe 5 hours a week in Florida heat sitting up on dash in landscape mode using a kickstand on a non slip mat. I hope its as reliable as my Optimus G was, used to do a 22 hour round trip each month with it providing navigation and bluetooth streaming in my old Focus as well as running the Escort Live app paired to my Passport and it was hardly warm to the touch.