yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II, Galaxy S III Developer Discussion ] AndreiLux:
Please compile, if possible, your embedded recovery kernels without the sensorhub defconfig options.

CONFIG_SENSORS_SSP=y

CONFIG_SENSORS_SYSFS=y

CONFIG_SENSORS_SSP_ACCELEROMETER_POSITION=7

CONFIG_SENSORS_SSP_GYROSCOPE_POSITION=7

CONFIG_SENSORS_SSP_MAGNETOMETER_POSITION=7

CONFIG_SENSORS_SSP_LSM330=y

CONFIG_SENSORS_SSP_CM36651=y

CONFIG_SENSORS_SSP_AK8963C=y

CONFIG_SENSORS_SSP_BMP182=y

CONFIG_SENSORS_SSP_AT32UC3L0128=y

CONFIG_SENSORS_SSP_SENSORHUB=y

The kernel flashes over the sensorhub firmware on every single entry of recovery, and rebooting into the normal kernel, if the embedded kernel firmware mismatches the live hardware firmware. I consider this dangerous because firstly I don't know what happens if a firmware flash fails on boot, and secondly, the whole procedure is done over the I2C bus and takes about 22 seconds, increasing the boot time (and recovery entry) dramatically. The firmware changes relatively often and we have like 4 different versions out there in the wild at this moment and they will surely increase.

Off-topic: The sensorhub is a new dedicated micro-controller chip found on the Note 2 which handles all device sensors, instead of them being handled by the main CPU itself. The point of the thing is to offload that work from the CPU to vastly improve battery life.
[Galaxy Note II, Galaxy S III Developer Discussion ] AndreiLux:
All that code is totally irrelevant and has nothing to do with the issue. I also don't understand what you want to say about that loop? Goto is inefficient? Nonsense.

The firmware flash and logic happens in /drivers/sensorhub/ssp_firmware.c and its just a few lines of code. The whole flash process is logged in kmsg at boot so you can just retrieve that and see for yourself.

And you're missing the point, as long as you embed ANY kernel with the sensorhub drivers, they will flash it. There are stock kernels out there with versions 91100, 92600, 92800, 102600 (just from the top of my head, might differ). If you use any recovery kernel whose version mismatches the boot.img kernel firmware, you will get the issue.

And to be honest, I don't understand what the fuss is about fixing it, TWRP includes now a kernel with exFat and removed sensor drivers. You just have to do the same.

There is nothing to fix from the live kernel side, I hope you understand that...
[Galaxy Note II, Galaxy S III Developer Discussion ] Phil3759:
You also seem a bit ignorant about recoveries

TWRP doesn't included any custom kernel with exfat support. It comes with cm9 kernel and maybe now cm10.1 since they moved sources to 4.2 recently. Their source is just the android/bootable/recovery part built around cyanogenmod source. CM kernel, as I said in my answer, doesn't flash the sensors that's why there is no delay. That's the only reason why twrp won't have the delay. I can also include cm10 kernel and no more delays, but say good bye to exfat.

TWRP includes native exfat support where as CM and AOKP choose to not include it in their source (thus cwm) because it is not legal (MS patent). Only thing cwm devs can do:

- import twrp source for exfat support and break the MS patent

- use Samsung genuine kernel to get exfat support

So, not an easy decision / move as you suggest
[Galaxy Note II, Galaxy S III Developer Discussion ] AndreiLux:
Sorry but almost everything you said its wrong.

TWRP includes a modified CM kernel with added exFat and since I've made Bigbiff aware, also removes the sensorhub drivers.

The CM kernel is based on the Samsung sources and has the flash logic intact, because it's obviously needed in the OS to even have functioning sensors. It's not flashing in your case because you have matching firmwares, and that's all.

Sorry but I suggest you inform yourself here a bit more, I've explained it pretty clearly yet you seem to be ranting about things which are just not correct.
[Galaxy Note II, Galaxy S III Developer Discussion ] Phil3759:
delete
[Off-topic] deathnotice01:
what time zone is yours,

hey the world did'nt blew up in 12/21/12,

did biever die? can anyone comfirm please
[Off-topic] deathnotice01:
my balls are still on.....
[Off-topic] _Variable:
:3
[Off-topic] deathnotice01:
x3
[Off-topic] jugg1es:
Pffttt

"The reason Santa is so jolly is because he knows where all the bad girls live."
[Off-topic] Dirk:
There's still the impending zombie apocalypse to look forward to though, right?
[Off-topic] Lifehacker7:
Seems like ma data plan is expiring tomorrow . I don't see world ending! :flipoff: :P
[Off-topic] deathnotice01:
i am secretly dead,

but the internet is still alive,

WE STILL HAVE HOPE!
[Off-topic] Archer:
Perhaps the ancient Mayans weren't referring to the end of the world, or of mankind, but they were actually talking about this thread!

Keep it in the existing "end of the world" thread :)
[Nexus 7 Q&A, Help & Troubleshooting] Vuk98:
I have Nexus 7 on Android 4.2.1. Is there any way to get Flash Player in stock browser without root? I was successful with Flash Player + XScope or Firefox but not Chrome :crying:
[Nexus 7 Q&A, Help & Troubleshooting] sirlinux03:
Chrome does not support flash anymore
[Nexus 7 Q&A, Help & Troubleshooting] Acrylate:
I'm pretty sure its not possible with the default browser (Chrome).
[Nexus 7 Q&A, Help & Troubleshooting] Vuk98:
Ok then, thank you :crying:
[Nexus 4 Q&A, Help & Troubleshooting] Untouchab1e:
Found them here :)
[Samsung Galaxy Nexus] HitchHiker:
I am a huge fan of VUDU and its integration with UltraViolet. Today they announced that they have released an Android app. Unfortunetly they only did it for a select few devices. But thanks to the great folks here on XDA you can download the apk. So I did and so far it has been working flawlessly. So excited right now, but I thought that I would share the goodness with all of you.

So here are the links you will need:

VUDU - http://vudu.extole.com/a/clk/1gl6BZ

The APK File - http://xdaforums.com/showthread.php?t=2056482 (the second post)

Just found out that if you sign up for a new account on VUDU they are give you 10 movies. http://news.cnet.com/8301-13845_3-5...or-vudu/?part=rss&tag=feed&subj=TheCheapskate
[Verizon Samsung Galaxy S III] bshpmark:
I am trying to install the just released update from Verizon but I klept getting the message that the software failed. Do I need to unroot the device first?
[Verizon Samsung Galaxy S III] shahkam:
You can keep root but make sure you have stock recovery otherwise the ota will fail.
[Verizon Samsung Galaxy S III] kippd:
If I am running an unrooted VRBLI5 will OTA work to update to VRBLK3? I keep trying to check for a software update and it says that there is no new software update available.
[Verizon Samsung Galaxy S III] BigErnM:
The OTA will not show up unless you downgrade to VRALHE. Since VRBLI5 was not an official version it won't offer you the OTA. You could also upgrade to VRBLK3 using one of the guides in the development section which would probably be a lot easier.
[Verizon Samsung Galaxy S III] kippd:
fromaap integrable

Thanks so much for the quick response and for the insight - very appreciated. I was bummed when my wife got the OTA and I didn't! I will probably just upgrade to the new stock rather than downgrade and upgrade.
[Verizon Samsung Galaxy S III] MasterBunnyFu:
My completely stock S3 is failing checking for updates saying that the update service is not available. It doesn't seem to ever have been able to successfully check for updates (last checked time is blank).

I noticed the following in adb logcat when I tried to check for updates:

E/SyncmlDMGenericExtHandlerConnector( 1913): Can not route to Mobile Admin Network 64.186.176.220

However, on the phone, I can ping that IP address just fine, at the same time as it's supposedly trying to check for updates:

shell@android:/ $ ping 64.186.176.220
PING 64.186.176.220 (64.186.176.220) 56(84) bytes of data.
64 bytes from 64.186.176.220: icmp_seq=1 ttl=248 time=61.6 ms
64 bytes from 64.186.176.220: icmp_seq=2 ttl=248 time=58.4 ms
64 bytes from 64.186.176.220: icmp_seq=3 ttl=248 time=56.5 ms

This happens on wifi or mobile data. Any suggestions on how to make this thing check for updates?

Thanks.

---------- Post added at 12:04 PM ---------- Previous post was at 12:02 PM ----------

The rest of the error:

D/ConnectivityService( 650): requestRouteToHostAddress on down network (10) - dropped
I/ ( 1913): HTTP: http_socket_connect ret:-1 Errno:115
I/ ( 1913): connect wouldblock: EINPROGRESS
D/memalloc( 340): ion: Allocated buffer base:0x42f61000 size:630784 fd:62
D/memalloc( 1913): ion: Mapped buffer base:0x5e66b000 size:630784 offset:0 fd:77
D/KeyguardViewMediator( 650): setHidden false
I/Adreno200-EGLSUB( 340): <CreateImage:893>: Android Image
I/Adreno200-EGLSUB( 340): <GetImageAttributes:1102>: RGBA_8888
D/KeyguardViewMediator( 650): setHidden false
I/ ( 1913): HTTP: SSL_CTX_load_verify_locations ret :0
I/ ( 1913): SSL_load_verify_locations failed
I/ ( 1913): HTTP: xaction 1574547464 ssl init error
I/ ( 1913): HTTP: status code 0
I/ ( 1913): [s]:[ERROR]:
I/ ( 1913): vendor/samsung/common/packages/apps/SyncMLSvc/native/syncmlcore/base/dm/src/tsldm_ses.cpp:Line:683	SesWaitForMsgSt:Error:9 happend while Recv Msg
I/ ( 1913):
I/ ( 1913): [s]:[ERROR]:
I/ ( 1913): vendor/samsung/common/packages/apps/SyncMLSvc/native/syncmlcore/base/dm/src/tsldm_ses.cpp:Line:788	Session Status :100663305
I/ ( 1913):
D/KeyguardViewMediator( 650): setHidden false
I/ ( 1913): shutdown Socket :50 return: 0
I/ ( 1913): HTTP: http_dispatch trans is already freed 5dd9b008
[Verizon Samsung Galaxy S III] Joey22688:
I cant upgrade mine either, all I did was root

no unlocked bootloader, everything is stock

all stock apps are installed and running
[Verizon Samsung Galaxy S III] bshpmark:
Seems like lots of other Verizon customers are having the same problem. My phone is rooted, bootloader is unlocked and I have stock ROM
[Verizon Samsung Galaxy S III] KennyG123:
Please read forum rules before posting

Rule 15 tells you where to post if you are confused

Thread moved

Thank you for your cooperation

Friendly Neighborhood Moderator

And please search, this has been asked and answered several times
[Android Q&A, Help & Troubleshooting] songphuongnet:
I need a tool that has the ability to edit the file with IMG format, FTF.you can then share with the previous thank dentist.

Note files: IMG, FTF is the flash file for Sony Xperia phones.
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
http://www.mediafire.com/?2vmdoprmikc9giz

if it boots.. ill upload the WiFi Modules
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
mine

!!
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
mine

!!!
[Sony Ericsson Xperia Neo, Pro] feed3:
It supposed to work on hallon too right. Am going to test after this kernel and report to you
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
im not sure if it will...

i used the haida defconfig... also FXP releases CM for hallon and haida! so im guessing there is a difference.....
[Sony Ericsson Xperia Neo, Pro] feed3:
Nvm. I'll just try and thanks for your hardwork. Cheers mate
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
do consider a donation

if you like my work and want The RUSH kernel on other devices.... do consider a donation!!
[Sony Ericsson Xperia Neo, Pro] feed3:
unable to boot on hallon. thanks
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
haida

yea.. i thought so...

can someone using a neo plz test this!!!
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
Testing over??
[Sony Ericsson Xperia Neo, Pro] demolatorul:
Good question

Gb, ics, or jb, cm9, cm10???

you have a thanks button and don't know what to do wit it...?

just press.it!
[Sony Ericsson Xperia Neo, Pro] feed3:
Im sorry if this is rude, but why did haida(neo v) kernel placed on hallon(neo) development section?
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
+1.....to this!

And the Neo test kernel is in general thread? :eek::confused:
[Sony Ericsson Xperia Neo, Pro] paul678:
Neo and NeoV use the same kernel. Only the roms are different
[Sony Ericsson Xperia Neo, Pro] Madfysh:
True but not entirely correct, depends on which source are they built. For example ICS .562 kernel was different, not sure about versions after that.

In general they are most of the time same, but not always. ;)
[Sony Ericsson Xperia Neo, Pro] TheGreatSega:
Has anybody tested it?? With neo v?
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
Ok,I thought someone might have tested!

Anyways I'll test in a while and report!

EDIT : Flashed the kernel

It didn't boot ..no LED,No boot logo,Just Vibrated.... that's all

ps: I tried on an ICS based custom Rom

I dunno if this was meant for Jb or Gb.....!
[Sony Ericsson Xperia Neo, Pro] varunrocks17:
for which ro

as title describes for which rom is it intended

edit: rom means cm9,cm10or stock
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
Didn't quite get you! Title says rush kernel?

How does it state Rom name?
[Sony Ericsson Xperia Neo, Pro] voyteckst:
Rom doesn't matter at first booting stage. It should at least show kernel logo. There something messed with either config or compilation.

Sent from my Nexus 7
[Sony Ericsson Xperia Neo, Pro] Rockways:
Using the Arc thread as a reference point. I think this is an ICS based ROM!
[Sony Ericsson Xperia Neo, Pro] voyteckst:
Its kernel, not Rom...

Sent from my Nexus 7
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
Still I tried on an ics based Rom,didn't boot!

Voyteckst do you have any idea?why so?

I feel kernel logo or Led should have shown up!

But nah,didn't happen that way!
[Sony Ericsson Xperia Neo, Pro] voyteckst:
Something messed. Probably fix will take 5 minutes with compilation. I had this also when testing other kernel. Clean compilation with proper config for haida should help.

Sent from my Nexus 7
[Defy Themes and Apps] hackergnome:
Always the best :D

Move this to android software hacking?

I don't want a Tapatalk sig!
[Defy Themes and Apps] [] AL []:
Thanks buddy,

Well after a little more experimenting on this yesterday

[ ...nice way to spend time our last day on Earth... Oh wait! we're still alive; the doomsday that never came...], I realize(like I suspected) that there are many different ads implementation/removal methods and will have to had a few extra tips and tricks here.

I even still have an app that I can't figure out where the ad banner is.

But, if I may just add, the whole point here was to:

1- tell people that notepad++ is excellent tool for multi-open and multiple-files search tool - perfect for xmls...

and 2- make people realize that if ads are displayed on the screen, it is more than likely that there is/are entries about it somewhere in /res/layout/ that can be hacked...;)

Ok, from phone it's not convenient but here's one or two extra tips:

- search for "<com." and look for results related to google AdView or doubleclick - those can all be voided;

- if you find a line that you know/suspect is a banner, do not completely delete it and just use "<!--" (start - w/o ") and "-->" (end) to void that line;

- if a banner line entry is within a RelativeLayout, it might be preferable to add/change its size to zero with android:layout_width="0.0dip" (same with height) rather than void it;

- if you do the above (0 height/width), and the line has a: android:scaleType=fitXY" entry, delete it from the line. Other wise it might just bypass your change to 0 by 0 size...

- so search for "fitXY" is alao another thing to search for in the goose chase... so is "advert", "banner", "pub", ....

Ok, that's it for now...lack of coffee in the morning makes for messy posts... :p
[Defy Themes and Apps] KicknGuitar:
So the difference between the results of this procedure and an adblock such as AdAway is? I'm just curious. :p
[Defy Themes and Apps] hackergnome:
they will only block the ads but they keep a blank frame in the display and this will get rid of the whole frame

I don't want a Tapatalk sig!
[Defy Themes and Apps] [] AL []:
Yep, that's the idea!

Why can't I ever come up with those 1-liner answers...?!? :silly:

Baahh! since I've already written an answer in a notepad, I'll paste it here in anyway:

Similarly to anti-virus solution and their virus defintion lists, AdAway is an app that blocks ads through the use of hosts files. It basically downloads and keep updated a list of known ads (and rogue) sites and just blocks any internet connection to them using a local redirection. I've already posted something on all this here.

Btw, I personally do not see the point of using such a specific app just for this as there tons of such lists freely available on the net and I don't think it is that important to update it so frequently... I just update the list once every 3-4 months or so and everything has been fine for me so far...

On the other hand, the object of this thread is to deal with apks' layouts and that means to aim at removing any wasted space that the ads might use OR leave empty if you do block them out. Just look at the 4th screenshot on the OP; it might not be clearly visible because I put some text over it, but you see that black rectangle at the bottom? Well that is what I called an app banner. It's black because I used Droidwall to block internet access to that file explorer, but I believe that it would be the exact same if I would only use either AdAway or just my hosts file. It's the layout design of the apk that still uses that space even though it didn't get any ads from the internet...With my tricks, I (at least the goal is to) regain that important screen real estate no matter what; even without any ad blocking solution... And btw, none of those are perfect either; there will always be one new ad site not listed/included yet...

Like I wrote more than once above, not all apps are coded the same and some other apks do not display anything when they do not get any ads from the net. So these tweaks would not be needed for those.

I feel that what I wrote is a bit confusing, but I hope you get my idea anyway.

Added two more SS as example...

[that freakin app had ads entry in a good dozen different xmls :mad:but easy doubleclick ones :victory: ]
[Defy Themes and Apps] bhupatib:
Adding

android:visibility="gone"

To any layout block (within < and /> ) having the word "ad" in it should work as well :)

And right on about notepad++ being great for xmls and I use it along with VTS10 which also previews referenced drawables, strings and public.xml entries in the xml apart from having a complete fuss free environment for reverse engineering apps :)

Thanx for sharing!
[Defy Themes and Apps] [] AL []:
Thanks I wondered about that; I will try it out on the next app I tweak for this..

You mean searching for the word "ad" or adding that within the layout? Because searding for "ad" when an app 100+ xmls you will get A LOT of results with "android: p

ad

dingLeft=...(/right)"...

Thanks, I'll surely have a look at that VTS10 but when I tried to search for it I got just about every results possible (dry vaccum pumps, metal wires, remote house domotic system, etc...) except something related to Android :):(

NP my pleasure.
[Defy Themes and Apps] oSandmaNo:
Can you update the app after modifying? No package signed incorrectly error?
[Defy Themes and Apps] bhupatib:
I didn't mean it literally, just something to identify layouts containing adverts (lame, I know :P). There'd be better ways of searching for it (like the id search you mentioned)

Sorry, I used the abbreviation (and wrong one at that; it's just VTS or Virtuous Ten Studio, formerly M10 Studio) without giving you a link. I should be banned :p

Here:

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

It's really great for themers and smali-ers like you :)
[Defy Themes and Apps] [] AL []:
Oh! good that you mention this - I thought about it earlier today then I forgot about it...

You are right: you'll get that error and have to uninstall before beeing able to update.

This makes sense and even if you could, the update would replace the old version and remove your changes anyway.

So yes, this is an important drawback and I'll update the OP tomorrow.

I often tend to keep old versions unless new ones bring important fixes or options...why update what is not broken? hehe!

But at least, once you've found how the tweak is done for a specific app, it should be quite easy to do it again...

And really, I don't know about you, but I do not use that many such apps that show ads or blank space... Most don't if they do not absolutely require internet connection and if you use Droidwall and/or a hosts file.

But again, good point and thanks.
[Defy Themes and Apps] fontinalis:
Sweet. Thanks. Works!
[Defy Themes and Apps] joke19:
Luckypatcher is free and easier to remove ads.

Gesendet von meinem MB526
[Defy Themes and Apps] [] AL []:
Maybe, but that has nothing to do with xda philosophy where the forum is there to make people learn and try mods on there own.

Beside, in my mind, this is pretty much warez talk and that is against xda rules...

So I won't thank you for the suggestion ;)
[Defy Themes and Apps] piunti:
cool!

thanking you twice today, mate!
[Defy Themes and Apps] [] AL []:
Way to go!!!

and you're welcomed.

... Keep going, I have more threads... Hehehe!!

Any comments on why or what you thanked? Anyhow, I thank you here and once more on your post above..: fair enough? :p

Cheers mæite!

Edit: OK well thanked you there (theme thread) also.

Plz do not full-quote my long posts next time....
[Defy Themes and Apps] heyvoon:
Madvertise Ads !!!

Awsome tut dude! I've been on it already but now I've encounter some kind of new ad engine called Madvertise!

Can't seem to get rid of it! Do you or anybody aorund know how?

I seemed to have figured out some of its files...

\res\layout\ad_madvertise.xml

\res\values\attrs.xml

\assets\adview.html

\assets\adview.js

Messing around modifying/removing these files makes the APK file unusable!
[Defy Themes and Apps] aspartame21:
Ty very much. I had problems with one app for coding. The ad covred the main sting while I was writing and I really could't see anything. But with ur help I can carry on with my work :)

P.S.: Does the ad eat traffic even when I can't see it? And I'm enclosing that app. Probably, some1 needs it.
[Defy Themes and Apps] ahsanm87:
thanks OP for great method

Thanks OP for this great method, i was having problems first when compiling but when i downloaded the latest apktool and aapt especially the decompiling was done with any problem. I removed ads from two apps as a piece of cake.
[Defy Themes and Apps] viraaj:
Need help

okay guys so this one app I've made using an online app creator (I'm a noob in coding and all i have no experience im a 16 year old) so is there any way in which you guys can disable ads for me on this one ill just add it in the attachments...thanks a lot in advance and please tell me how you'll did it too because i wish to learn the techniques. Thanks in advance :D
[Defy Themes and Apps] [] AL []:
I had a look at your apk and it has nothing regarding the ad banner in its res/layout folder. So the method described in this thread will not work for you.

The ads are coded within some flurry stuff in the smali files and there are quite a few of them. I doubt that anyone will get into the trouble of screening through all this for you - I know I won't.. sorry.

I suggest you to start with the basics. Get the Android developnent kit and learn to play with Eclipse or at least learn how to decompile/compile apks with tool such as apkmultitools.

Good luck.
[Defy Themes and Apps] viraaj:
Thank you for your time, Sir. Would you suggest anything for me to try on this apk?
[Defy Themes and Apps] bibaandrade:
I'll try to do this!
[Defy Themes and Apps] lvlouisaslia:
thanks very much