Cyanlabs ROM Kitchen & Windows Helper Application - Xperia Play Android Development

Cyanlabs ROM Kitchen and Cyanlabs ROM Kitchen Helper Application
Disclamer
Code:
Your warranty is now void...
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, your missed calls, failed alarms, or house fires.
Click to expand...
Click to collapse
Introduction
Cyanlabs ROM Kitchen and Helper Application is my latest creation, It is designed to allow modification of ROM's before even downloading them, The helper application makes for a easy and automated way of flashing kernel's and ROM's to your Xperia Play in just one click*
Cyanlabs ROM Kitchen Features
Online based
Build your own custom CWM zips based on your selections
Remove unwanted apps (before even downloading)
Remove files from /system/media (Before downloading)
Edit /system/build.prop (Currently plain text, soon it will have preset options and seperate sections)
Fast download (Around 20 seconds on most fast connections)
More features to come (Including uploading your own files)
NEW: jQuery based UI.
NEW: APK tooltips with description and removable status.
NEW: Consistent design
NEW: Files are not created until download button is pressed (saves bandwidth and storage)
NEW: Works on all resolutions and resized dynamically tested on 1024x768 to 1920x1080
NEW: Added "Download N Flash" button to download dialog used with the helper application
NEW: Changed boring list of ROM's to a filterable grid view of ROM screenshots
Cyanlabs ROM Kitchen Helper Application
One click
Automatically download ROM
Automatically download Kernel
Automatically flash ROM via CWM/TWRP
Automatically flash Kernel via Fastboot
Nice UI
Easy to use
*More devices coming soon.
Click to expand...
Click to collapse
Suggestions
I need some ideas on what to add to it, also what apps/mods do you recommend? (check the todo list first)
Click to expand...
Click to collapse
Images
Cyanlabs ROM Kitchen Screenshots
Cyanlabs ROM Kitchen Helper Application Screenshots
Click to expand...
Click to collapse
Videos
Click to expand...
Click to collapse
Cyanlabs ROM Kitchen Helper Application Requirements
Xperia Play
.NET Framework 3.5
ADB drivers installed
Fastboot drivers installed
ADB Debugging Enabled or Device at a ADB enabled recovery.
Note: Neither the SDK nor adb.exe is required however the drivers are.
Click to expand...
Click to collapse
Cyanlabs ROM Kitchen Helper Application Instructions
Run the application manually once. (Adds the registry intent and then closes)
Simply click the "Flash N Download" button instead of "Download Manually" on the kitchen.
Allow the protocol/intent action, Tested on Chrome, Firefox and IE
Follow on screen instructions
Click to expand...
Click to collapse
Website Link
Cyanlabs ROM Kitchen Website
Click to expand...
Click to collapse
Download
Latest Version
Older Versions
Cyanlabs ROM Kitchen Helper Source on GitHub
Click to expand...
Click to collapse
Takedown Requests
If for some reason you want me not to mirror your ROM/Kernel/Mod please let me know.
Click to expand...
Click to collapse
Changelog
Cyanlabs ROM Kitchen Helper Application Changelog
Click to expand...
Click to collapse
FAQ
Coming Soon
Click to expand...
Click to collapse
Thanks To/Credits/Notes
Code:
Created by Fma965 @ Cyanlabs but a massive thanks to XDA user [user=2326081]@regaw_leinad[/user] for his [URL="http://forum.xda-developers.com/showthread.php?t=1512685"]AndroidLib .NET[/URL]
All ROM's, MOD's etc. Are property of there owners i am merely offering a server. So all credit for files to.
* ROM creators
* Kernel Makers
* Mod Creators
* XDA
* And more :)
Click to expand...
Click to collapse
XDA:DevDB Information
Cyanlabs ROM Kitchen & Windows Helper Application, a Tool/Utility for the Sony Ericsson Xperia Play
Contributors
fma965
Version Information
Status: Beta
Current Beta Version: 1.1
Created 2013-10-20
Last Updated 2013-11-12

Reserved

Reserved

my suggestion:
porting rom from other xperia 2011 devices(or atleast from xperia arc)
i have host but it will be finished tomorrow

pedyvirus said:
my suggestion:
porting rom from other xperia 2011 devices(or atleast from xperia arc)
i have host but it will be finished tomorrow
Click to expand...
Click to collapse
Thanks for your suggestion, Added to my list http://cyanlabs.co.uk/kitchen/todo.html
I really want to start this project but i need to find some file hosting it doesn't need to be massive just like 10gb or something (files will be auto deleted after a hour or so)

fma965 said:
Thanks for your suggestion, Added to my list http://cyanlabs.co.uk/kitchen/todo.html
I really want to start this project but i need to find some file hosting it doesn't need to be massive just like 10gb or something (files will be auto deleted after a hour or so)
Click to expand...
Click to collapse
Another thing you could add is an editor for build.prop and something to modify the content of a folder (for example adding apks to system, or adrenobooster in /system/etc)
I'm afraid that I can't help you finding servers or developing in php, but ask me if you need themed images, maybe I can do something, I'm not a themer though
Sent from my R800i using xda app-developers app

CriGiu said:
Another thing you could add is an editor for build.prop and something to modify the content of a folder (for example adding apks to system, or adrenobooster in /system/etc)
I'm afraid that I can't help you finding servers or developing in php, but ask me if you need themed images, maybe I can do something, I'm not a themer though
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Thanks for the suggestion, It's probably worth mentioning im learning php as i go and have only made a few php projects in the past.
I am pretty sure editing the build.prop file would be easy to do.
Adding APK's will be implemented from both a list of APK's and a browse your computer
Thanks for offering to design some themed images, I will let you know if and when i need some
Still need a server to run this on, Until then this will stay a WIP hoping some one on XDA will help out soon
EDIT: i know the design is lame, No html was used other than the necesary form html code but that will change
also please note, although i may be leaving xplay soon and getting a nexus 4 i will still try to maintain this kitchen and if for some reason i can't then i will let some one else take over , I will most likely make the kitchen for both xperia play and nexus 4 using a tabbed like interface

Maybe a touchpad fix injector?
Sent from my Xperia Play

+1 for a Build.prop editor with already presets, eg, 3G Turbocharger tweaks, and generic network tweaks, or video acceleration and stuff,

Sound tweaks and installed music player who support flacs like TTPOD. - freeware

Still looking for host

Why not just make a mediafire account it has free giga bytes and if you already have one just make a new one @fma965
Sent from my LG-P970g

abdel12345 said:
Why not just make a mediafire account it has free giga bytes and if you already have one just make a new one @fma965
Sent from my LG-P970g
Click to expand...
Click to collapse
yeah clearly you don't understand how a php kitchen works, I need to be able to make copies of the zip files with modified contents e.g extra apps, less apps, different apps, tweaks etc

fma965 said:
yeah clearly you don't understand how a php kitchen works, I need to be able to make copies of the zip files with modified contents e.g extra apps, less apps, different apps, tweaks etc
Click to expand...
Click to collapse
Ohhh sorry i thought you just needed a place to upload stuff. My bad I guess i was stupid because if it were that easy you wouldnt be asking sorry
Sent from my LG-P970g

fma965 said:
yeah clearly you don't understand how a php kitchen works, I need to be able to make copies of the zip files with modified contents e.g extra apps, less apps, different apps, tweaks etc
Click to expand...
Click to collapse
If you have a good enough internet connection you could always host it yourself...
I personally host 4 Killing Floor servers, 2 CS:GO servers, 1 Left4Dead2 Server, 1 Minecraft Server, 1 Terraria Server and loads more - all from one Server/IP Address. Not to mention a private VLAN.
Or, from a quick Google search... This place seems 100% free, with unlimited disk space and bandwidth.
I'd give you access to my server but I'm also a little low on disk space myself. And with all the servers running, I only have around 512MB free RAM left to play with.

I also look months ago for a free web server (to test some php script, my laptop really sucks) and the best option that i found is Red Hat's openShift, you can use the 3 gears for only one application (eg php), and if in the future you need more power you can also buy some more gear
Sent from my Xperia Play using Tapatalk 4 Beta

Spizzy01 said:
If you have a good enough internet connection you could always host it yourself...
I personally host 4 Killing Floor servers, 2 CS:GO servers, 1 Left4Dead2 Server, 1 Minecraft Server, 1 Terraria Server and loads more - all from one Server/IP Address. Not to mention a private VLAN.
Or, from a quick Google search... This place seems 100% free, with unlimited disk space and bandwidth.
I'd give you access to my server but I'm also a little low on disk space myself. And with all the servers running, I only have around 512MB free RAM left to play with.
Click to expand...
Click to collapse
[email protected] said:
I also look months ago for a free web server (to test some php script, my laptop really sucks) and the best option that i found is Red Hat's openShift, you can use the 3 gears for only one application (eg php), and if in the future you need more power you can also buy some more gear
Sent from my Xperia Play using Tapatalk 4 Beta
Click to expand...
Click to collapse
Hi yeah my internet is not good enough to be a server, I used to run a MTA Server from a vps but i gave up.
openShift doesn't seem to work with php from what i can tell.

Yes, you can use openShift as a php server (it is a cartridge not an application), i personally used it (also it must have php if you think a moment, application like cakephp or WordPress or joomla need php)
Also if you don't have problems with the Italian (you are from the uk, correct?) you can give a look to altervista, it is a little limited into his free offers and the support is mainly in Italian, but maybe it can be a good option
Sent from my Xperia Play using Tapatalk 4 Beta

Probably build in ADB commander?
Sry for my bad English
Thanks to all developers for their hard work.

[email protected] said:
Yes, you can use openShift as a php server (it is a cartridge not an application), i personally used it (also it must have php if you think a moment, application like cakephp or WordPress or joomla need php)
Also if you don't have problems with the Italian (you are from the uk, correct?) you can give a look to altervista, it is a little limited into his free offers and the support is mainly in Italian, but maybe it can be a good option
Sent from my Xperia Play using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yeah my bad didn't look very much just quickly checked when i had a second free.
hansi66627 said:
Probably build in ADB commander?
Sry for my bad English
Thanks to all developers for their hard work.
Click to expand...
Click to collapse
ADB support is never going to happen.... Atleast not in PHP, PHP is a server side language and ADB would need to be run on a client. Perhaps via JS or similar but i do not know nor intend to learn that, I do know very basic jQuery though

Related

[Dec 27] Ubuntu for HTC HD2 - v0.3 released

Ubuntu for the HTC HD2 version 0.3
This is the new v0.3 release of Ubuntu for the HTC HD2 I announced a while ago on twitter.
Ubuntu is a full Linux distribution - and it's not designed for smartphones. But with the large touchscreen, high display resolution and fast system speed of the HTC HD2 I decided to make Ubuntu easily available to HD2 end users!
This is not a secret warez ROM proprietary junk. Source code information below ! Wiki use for contribution purposes is highly encouraged! You can find all information needed to reconstruct my builds there.
The interest seems large enough so you can expect an improved version 0.4 :
-The no-menu problem will be solved
-It will be bootable via cotulla's MAGLDR and HaRET (Handhelds Revers Engineering Tool)
beta closed!! please do not in quire any longer.
=> I am looking for people to test a 0.4 beta version soon as I'm done. If you are interested please direct message or @ me via twitter @htc_linux as I will send the beta download link there.
Features
* You can get online using 3G and WiFi
* Attach all kinds of USB devices like mice, keyboards, flash drives, card readers, networking devbices, etc. to turn your HD2 into a full PC
* Use full desktop like web browser without the usual limitations found in smartphone browsers
* Use instant messaging
* Watch videos
* Handle text messages and make calls (without sound so far)
* Install thousands of programs for your internet experience, office needs, social networking fun, etc.
* Be cooler because you have something special on your phone!
It is difficult to create a release like this as opposed to all the Android builds for the HD2.
Technical background to this:
The Linux kernel we ported to the HD2 is originally designed for use with Android user space (because we based our work on the Linux kernels of official Android devices) and Ubuntu is originally designed for large laptop or desktop computers.
This means many workarounds on kernel and user space level must be made in order to make this usable.
Despite lots of work not all problems could be tackled yet: Audio and suspend/resume do not work as of v0.3 and it is a bit tricky to navigate.
http://oe.netripper.com/files/hd2-ubuntu_0.3.zip.torrent
md5sum hd2-ubuntu_0.3.zip aa7ad65d247594e95bb7abe2e7aa7688
You can run an Md5sum program on your download. If you get the above hash you have a 100% trusted release.
Direct mirror: ( Torrent usage encouraged. )
http://hotfile.com/dl/92426365/63801e6/hd2-ubuntu_0.3.zip.html thx to shah_vm
Additional direct mirrors welcome.
If you like it you can buy me a beer
Posted from my HD2 via firefox-3 on hd2-ubuntu-0.3
Thanks to Jaxbot (from windowsphonehacker website) for shooting this video!
Additional pics / videos welcome
INSTALL
######
1)Extract the linux folder to the main directory(!) of your Storage Card.
If the linux folder is not located in the main directory of the Card,
it will not work.
Note: This will not touch your phone's internal memory. WinMo or other Linux/Android builds remain unchanged.
QUICKSTART
#########
1) Save all your current work and start the HaRET exectuable to boot Linux.
2) Watch the system boot up fully until you see a graphical desktop interface.
3) It is useful to set the CPU speed up for better performance. Tap the CPU speed meter in the mid of top bar.
4) Use shutdown icon in the home menu to bring the system down savely.
Enjoy!
TUTORIAL VIDEO
############
Thanks to Jaxbot for shooting this video
SIGNIFICANT CHANGES
##################
Please read the attached and included readme.txt for detailed information.
Ubuntu 10.10 Maverick basis
-optimized for our hd2 CPU
-large performance improvement
-up to date app versions
-new graphical interface
Better connectivity
-3 modes to interact via USB selectable
-file transfer and interactive shell via ADB and USB ETHERNET (ssh)
-USB HOST mode to connect thousands of peripheral devices like keyboards, mice, usb mass storage devices.
Improved drivers
-Backlight control
-Battery charging and state reading
IMPORTANT NOTES
##############
-There is a known problem with the menu not appearing so you will only see a single icon on a normal desktop instead of the fancy menu seen above. You can fix it as explained below.
-There is still no audio in calls and generally due to lack fo ALSA driver for hd2.
-The hardware keys don't work
-No screen rotation added
-The battery % can only be read via shortcut. Icon will always show low state
Please do not report these problems.
In case you are affected by the no-menu problem here is a quick fix:
Add the 'main menu' in the top panel in order to start apps:
-Tap and hold a free spot in the top panel for like 3 secs (note that the area between the left and middle icons is not free s1pace but the window picker) and release the cursor. This is supposed to simulate right click. It is a big tricky..
-A drop down menu should appear
-Select add to panel
-Drag the 'main menu' item to the panel
-You can now start programs and edit settings.
a)In settings menu select session settings and make 'Ubuntu netbook 2d' session default settings menu. Only drawback is you can't add programs to the panel in it.
b)Go to 'startup applications' and try raising the delay in seconds for nbl (netbook-launcher-efl) to start.
Let me know if you get the workaround going in case you were affected
DEVELOPERS' CORNER
################
I documented the most important stuff about 'Ubuntu for HD2' in the htc-linux wiki. With that information you can rebuild it from scratch - or implement other OS like meego, kubuntu, etc.
http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo
Some parts are not yet updated to match the 0.3 status but I hope I can do it soon.
Get the Linux kernel souce code:
git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git htc-msm-2.6.32
Compile Linux kernels for your HTC
http://htc-linux.org/wiki/index.php?title=QuickDeveloperStartGuide#Kernel
dcordes said:
Used the holidays to get the job done finally.
Will put further info in CET evening.
http://oe.netripper.com/files/hd2-ubuntu_0.3.zip.torrent
Posted from my HD2 via firefox-3 on hd2-ubuntu-0.3
Enjoy!
Click to expand...
Click to collapse
Awesome!
Thank you very much!
I am experiencing a 403 error when i try to download the .torrent file though...
Server is hammered?
cant download either!
same here
......................
same here....
can't download it :The message as follow.
Forbidden
You don't have permission to access /files/hd2-ubuntu_0.3.zip.torrent on this server.
oe.netripper.com
the same at my side!
same for me
same for me
still the error message for download .. btw .. have you fix the call volume issue in V2? and thanks for your time and for sharing with the community
I'm sorry but ur a sr. member... shouldn't u have tested if this worked before the post?
Missing Permission to access it
You don't have permission to access /files/hd2-ubuntu_0.3.zip.torrent on this server
tonic72 said:
You don't have permission to access /files/hd2-ubuntu_0.3.zip.torrent on this server
Click to expand...
Click to collapse
reyliboy said:
same here
......................
Click to expand...
Click to collapse
aloi_htc said:
same here....
Click to expand...
Click to collapse
atomical007 said:
can't download it :The message as follow.
Forbidden
You don't have permission to access /files/hd2-ubuntu_0.3.zip.torrent on this server.
oe.netripper.com
Click to expand...
Click to collapse
HarnicGreeras said:
the same at my side!
Click to expand...
Click to collapse
tarunkrsna said:
same for me
Click to expand...
Click to collapse
abdelfane said:
I'm sorry but ur a sr. member... shouldn't u have tested if this worked before the post?
Click to expand...
Click to collapse
i guess there is a problem to download. lets wait for a fix and then download... enough with can't download...
boldman78 said:
i guess there is a problem to download. lets wait for a fix and then download... enough with can't download...
Click to expand...
Click to collapse
oh, there must be a problem with the server, i can't download
added the torrent as attachment
No peers for me though
dcordes said:
added the torrent as attachment
Click to expand...
Click to collapse
how about seeding it?
EDIT:
Tracker: [Timeout was reached]
@dcordes
as soon as you put proper torrent, i can seed it wit 100mbit speed
Hi decordes!
I respect your work. ThX foR, but why torrent only?
Do you know, how to share downloads about torrents?
No Seeder = not completely downloads = no Leecher = stagnation
edit:
O.K. now there is at least one Seeder, thX!
Problem connecting to tracker - (110, 'Connection timed out')
keep trying and pls seed. should be rolling now!
over and out
http://www.multiupload.com/BQPKC7PPHF
Mirror to ease server loads, should be up soon.

[SUGGESTIONS][CHEFS] To chefs offering adblock for /etc/hosts

I was debugging on the phone, and all of a sudden I saw something that caught my eye:
Code:
D/FlurryAgent( 5172): Sending report to: http://data.flurry.com/aar.do
D/FlurryAgent( 5172): Report successful
I've checked the list of applications that I have installed (rename .apk to .zip and then use Total Commander to search for FlurryAgent within the archives) and I was almost shocked to see how many are containing a reference to the agent (within their classes.dex file).
I suspect that it wasn't put there for nothing ...
User britoso has provided a workaround here: you need to add three lines to /etc/hosts.
Chefs, please make sure your updates are including those three lines
PS: None of the applications asked if its ok to send usage data to analytics company flurry.com ...
sounds like the iphone scandal
andrewddickey said:
sounds like the iphone scandal
Click to expand...
Click to collapse
It seems so... we should be ready for valpurgis...
Ferrum Master said:
It seems so... we should be ready for valpurgis...
Click to expand...
Click to collapse
I'm not sure I get the connection...
There are *.flurry entries in the Adfree hosts file.
Ok, they said Flurry Analytics is to improve their apps. But, location? Is that really necessary? Glad I have Adfree installed.
Yea BC someone trying to steal/gain malicious information from u would go through the effort/be stupid enough to put evidence of it on logcat lol... come on ppl think. I mean I understand why this posted n more power to u. But if your THAT worried u need to be watching the traffic that doesn't broadcast it to yourself, not the traffic that does lol.
My 2 cents, take it for w/e its worth lol.
Sent from my Xoom using Tapatalk
blakwhite said:
There are *.flurry entries in the Adfree hosts file.
Click to expand...
Click to collapse
In my Adblock list I only found www.flurry.com, I'm still using V3.6 from wolf.
I guess I need a kernel with droid wall - and I will only allow certain applications to pass through.
And if some app requires internet connection and it doesn't tell me why beforehand, tough luck.
viulian said:
In my Adblock list I only found www.flurry.com, I'm still using V3.6 from wolf.
I guess I need a kernel with droid wall - and I will only allow certain applications to pass through.
And if some app requires internet connection and it doesn't tell me why beforehand, tough luck.
Click to expand...
Click to collapse
i recommend LBE Privacy Guard as well. It needs ONLY root and it allows you to totally take control over your apps' permissions
zmod already has these entries on hosts
Adolf1994 said:
i recommend LBE Privacy Guard as well. It needs ONLY root and it allows you to totally take control over your apps' permissions
Click to expand...
Click to collapse
Thanked, this is a very good app.

[App] SwitchMe secure login manager needs Streak testers please!

Hi everyone. Im one of the developers of SwitchMe, and app that allows multiple secure logins into separate installations of android on a single device. The pr is after the break.
I really need a few people to check into some issues people on the streak have been experiencing. There are some warnings involved:
- testers must perform a full nandroid backup before using the app, it is not our responsibility if you start getting boot loops or whatever
- if you report results or bugs, please use the "Write to us" function in the app whenever possible, and always describe the issue in the header of the logs you send
- if you post here, bes sure to include your device type and rom
- if you have apps installed on sd, be sure to mention that as well
--------------------------------------------------------------------
SwitchMe is a unique application for root users that allows you to log in and out of multiple installations of Android just as you would on a desktop computer.
The technology behind SwitchMe saves all of your applications and data, protects it and stores it as a file in memory. You can then log out of an
account and log into a fresh installation of Android or another account with its own unique content.
You may create as many profiles as the memory is capable of holding. Some of these may require very little free memory because they contain few apps,
others will be larger as they contain many applications and lots of cache and data.
Why is this functionality useful?
Privacy - the most obvious benefit is that you can securely share one device among multiple users, which gives you privacy and peace of mind.
Testing - if you are a developer, you can use profiles as clean sandboxes to test your applications and their interaction with the system.
Gaming – with multiple installations of Android on a single device, you can now play online MMOs as different characters.
Speed - the games your kids play slow down your tablet, but with SwitchMe you can easily create profiles without games or instant messengers.
Battery life - when the battery is low but there are important emails or documents to edit later, switch to a profile which only contains these essentials.
These of course are only suggestions - there are plenty of other uses for the functionality SwitchMe offers.
Market link:
https://market.android.com/details?id=fahrbot.apps.switchme
The Lite version allows the creation of two profiles, enough to test on.
Screens:
like multiple OS on computer?
wow... awesome! i will stand here to wait
awesome idea bro!
Hi there,
I'm gonna try it over the weekend and dreport back with any issues, if there will be any. Is the app for the moment free?
Cheers,
C
Yes, its free and will always be free.
Sent from my GT-P7500 using xda premium
ftgg99 said:
Yes, its free and will always be free.
Sent from my GT-P7500 using xda premium
Click to expand...
Click to collapse
But you make a differentiation between the lite version and the paid version. If you want it really tested out, and what devs usually do, is post a link to download the full version here and not be sending us to the Market to download the same thing all the others have access to
---------- Post added at 07:02 AM ---------- Previous post was at 06:51 AM ----------
I have a Streak 5 running the DSC ROM, a gingerbread variant and your app immediately says it's not compatible with my device.
The app automatically sent you a log.
cdzo72 said:
what devs usually do, is post a link to download the full version here
Click to expand...
Click to collapse
Oh really, and what devs are these? I dont think so...
SwitchMe 1.2 has been rolled out and now includes a lockscreen replacement:
1.2
Added lock screen for logging in and out
More stable Fast switch implementation
Reworked UI colors
Now, its very important that we get some feedback on how this big new feature works, so please read up on it in the help and post your thoughts!
ftgg99 said:
SwitchMe 1.2 has been rolled out and now includes a lockscreen replacement:
1.2
Added lock screen for logging in and out
More stable Fast switch implementation
Reworked UI colors
Now, its very important that we get some feedback on how this big new feature works, so please read up on it in the help and post your thoughts!
Click to expand...
Click to collapse
UM can't you any feedback if you can't get it to run on our devices... like I said in an earlier post, it won't run on my Streak 5. That's with it running even stock Froyo which I flashed because of my interest in your app. Not will it run on a stock Gingerbread ROM on my Streak 5.
1.2.2 - HOTFIX 2
Reworked widget on qHD+ displays
Fixed widget text on HC and ICS
Fast switch improved on older devices
ftgg99 said:
1.2.2 - HOTFIX 2
Reworked widget on qHD+ displays
Fixed widget text on HC and ICS
Fast switch improved on older devices
Click to expand...
Click to collapse
Hotfix still does not support the Dell Streak.
cdzo72 said:
UM can't you any feedback if you can't get it to run on our devices... like I said in an earlier post, it won't run on my Streak 5. That's with it running even stock Froyo which I flashed because of my interest in your app. Not will it run on a stock Gingerbread ROM on my Streak 5.
Click to expand...
Click to collapse
Not working for me either
Does your device have any non-froyo roms?
ftgg99 said:
Does your device have any non-froyo roms?
Click to expand...
Click to collapse
For a "developer" you sure ain't much at reading your own thread fella.
As I stated in my earlier post, I tried your app with the stock and custom GINGERBREAD ROMs for the Streak, it STILL did not work.
Goodbye...

[HOWTO] Remove Ads from apk

Hi there, here's a little tweak that I've just figured out and that hopefully some of you might enjoy...
But first off, a disclaimer:
Ads or (upgrade) nag banners 'sometimes' have a justifiable reason of being. Devs might use them to get some extra (very small un fact; most finally give this up in the end) revenue from them. That, in turn, that might allow or encourage them to continue pulishing more free apps for you to enjoy. So use your best judgement here and use these tweaks with discernment...​
Message to moderators: if this goes against xda policy in any way, please let me know and I'll remove all this from here.
OK, now that this is set clear, here's what that is all about:
I'm sure that most of you guys have seen ads (or upgrade) banners in free apps and being an xda member, you probably know a few tricks to get rid of some of them. I mean ads like the ones apps or games that do not really need internet connections can easilly be blocked by using ip-tables rules/firewall/anti-ads apks to completly block their internet (like with Droidwall for example). But what about ads on the apps that DO need internet connection and than cannot be completely blocked? What about the empty screen space left for banners on some others with blocked internet access?
Well, through my readings, I've found that some suggest to hack the apks and to simply decompile them, go in \decompiled_apk\smali\com\google\ folder and delete the "ads" folder altogether. Well, from my experience, this doesn't work very well. In many cases, the modded app will not install and in some other cases, the trick might work for a while and then the ads would eventually come back. That last case just happened to me: a while ago, I've tweaked the DI Radio app like so and things seemed just fine. And today, bam!!: ads banners again. God knows how/why they came back with that "ads" folder deleted, but they did!!
So with a little thinkering and code browsing, I've figured out a very simple way to get this done - here's how:
What you need:
- An apk decompiling/compiling/signing tool(s) of your choice;
- the excellent text editor notepad++ - get it from here
Notes:
- PLEASE, do not fill this thread with questions like: how do I decompile/sign apks? - it's not the place here - thanks!
- And please do not full-quote this long post either
- If you rewrite/repost this somewhere else, please play it fair and give credits/link to this thread.
HOWTO:
1. Pull and decompile your apk;
2. Go in \res\layout folder and select all the xmls files, right-click of the highlighted file and press "open" and they should all open with Notepad++ [just click OK if you get the "confirm 'Open' Action"];
3. Select Search/Find... and enter: "@id/ad" [no quotes ""] and press "Find ALL in All opened Documents" on the search popup dialog box;
4. Now look at the search results and there might be 2 possible (maybe more.. I've tried this on only 2 apks so far...) result types:
--> As a first illustration of this: for the DI radio apk I've mentioned above [I use an older version and not the latest that requires login every time...], you get an xml called "playing.xml" with this at line 6:
Code:
<FrameLayout android:layout_gravity="center" android:id="[COLOR="Red"]@id/ad[/COLOR]_frame" android:layout_width="[COLOR="Red"]320.0dip[/COLOR]" android:layout_height="[COLOR="red"]50.0dip[/COLOR]">
On that line, we can see some size attributes for that banner; just resize them to 0!!;
So all there is to do is to edit it like so:
Code:
<FrameLayout android:layout_gravity="center" android:id="@id/ad_frame" android:layout_width="[COLOR="red"]0.0dip[/COLOR]" android:layout_height="[COLOR="red"]0.0dip[/COLOR]">
-->> Second case: for some other apks (like for an older version of a very famous file explorer..), you might get multiple results (many xmls - 6 or 7 of them) all looking like this:
Code:
<com.google.ads.GoogleAdView android:layout_gravity="center" android:id="[COLOR="red"]@id/ad[/COLOR]view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
So no banner sizes in this case but all there is to do is to delete all those lines completely and then save all the respective xmls. Then,
5. Recompile and sign the apk;
6. Backup [for restoring its data later..] and then uninstall your original apk from your phone (if still there)
7. Install your modded one and enjoy your app without any ads, blank spot or nag screen.
Final notes:
- Now, this doesn't stop the app to get the ads from the internet, but it does give you a simple way to hide them and this also make accidental clicks on them a story of the past...
- This is pure dirty hacking and not a general procedure; there might be different ways to implement ads in apps and ways to hide them; so please try at your own risk and feel free to share your results/tricks with us.
- Thanks to oSandmaNo for reminding me this one important drawback: when you tweak apps like so, you will get an error message when trying to update them on the Playstore. You will have to uninstall them before being able to update. so this mean that make a backup with Titanium Backup (or others) first in order to later restore the app's DATA ONLY. Obviously, the remove ads tweak will then be gone after the update, but since you've done it once, it should be fairly easy to do it once more..
- Read post #3 for a few additional tips.
.
.
Always the best
Move this to android software hacking?
I don't want a Tapatalk sig!
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...
So the difference between the results of this procedure and an adblock such as AdAway is? I'm just curious.
KicknGuitar said:
So the difference between the results of this procedure and an adblock such as AdAway is? I'm just curious.
Click to expand...
Click to collapse
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!
nogoodusername said:
they will only block the ads but they keep a blank frame in the display and this will get rid of the whole frame
Click to expand...
Click to collapse
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 but easy doubleclick ones :victory: ]
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!
bhupatib said:
Adding
android:visibility="gone"
To any layout block (within < and /> )
Click to expand...
Click to collapse
Thanks I wondered about that; I will try it out on the next app I tweak for this..
having the word "ad" in it should work as well
Click to expand...
Click to collapse
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: paddingLeft=...(/right)"...
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
Click to expand...
Click to collapse
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
Thanx for sharing!
Click to expand...
Click to collapse
NP my pleasure.
Can you update the app after modifying? No package signed incorrectly error?
Sent from my MB526 using xda app-developers app
[] AL [] said:
You mean searching for the word "ad" or adding that within the layout?
Click to expand...
Click to collapse
I didn't mean it literally, just something to identify layouts containing adverts (lame, I know ). There'd be better ways of searching for it (like the id search you mentioned)
[] AL [] said:
Thanks, I'll surely have a look at that VTS10
Click to expand...
Click to collapse
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
Here:
http://forum.xda-developers.com/showthread.php?t=1619473
It's really great for themers and smali-ers like you
oSandmaNo said:
Can you update the app after modifying? No package signed incorrectly error?
Click to expand...
Click to collapse
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.
Sweet. Thanks. Works!
Sent from my MB525 using xda app-developers app
Luckypatcher is free and easier to remove ads.
Gesendet von meinem MB526
joke19 said:
Luckypatcher is free and easier to remove ads.
Click to expand...
Click to collapse
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
thanks
cool!
thanking you twice today, mate!
piunti said:
thanking you twice today, mate!
Click to expand...
Click to collapse
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?
Cheers mæite!
Edit: OK well thanked you there (theme thread) also.
Plz do not full-quote my long posts next time....
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!
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.
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.

[MOD][XPOSED]Handover - Seamlessly move tasks from phone to PC!

Handover Xposed Addon
YouTube demo : https://www.youtube.com/watch?v=9ywYqM1fdP0&feature=youtu.be
Handover lets you seamlessly move from your phone to your PC by letting you open whatever content is on your phone in one click on your taskbar (see demo video, it's hard to explain)
This addon adds support for apps such as Chrome, Youtube and any other app using a WebView. It also lets your copy your clipboard
Requirements
Windows PC or Mac with 10.9 or later and Android phone (experimental support for Linux)
Both in same LAN (network, can't work over internet (yet!))
Java 8 or later on PC
Supported apps with this addon
Youtube
Chrome
Apps using webview including but not limited to : Amazon, Flipboard and links opened internally in Facebook, Twitter etc
Leave a post if you want an app supported and if there's enough demand then I'll try to add it
Or you could ask the developer of the app. Refer them to http://handover.hamzahrmalik.com/devs.html
If the dev adds it, Xposed won't be needed and non-rooted users will benefit
Planned Features
OSX Support (only if I get enough people interested in it, leave a post if you are) this has been added!
Indicator on phone to show when connected
Let me know if you have any ideas
How to get Handover
First you need the Handover app
Then you need the addon Xposed Mod available on the repo
Then download the PC server from http://handover.hamzahrmalik.com
Windows: Run the installation on your PC and start the service
Mac: Open the downloaded .dmg file and drag the Handover folder into Applications. Then launch Handover Settings from Launchpad
Linux: Run the java file to start the server. To launch content from the phone, use the bash script
Changelog
Version 2.0 - 24/4/16
Split mod away from main app
Version 1.1 - 15/4/16
Fixed YouTube not working
Minor design changes
There's also an update for the Windows client with a debug mode and a warning when you close the app. It also now starts minimised
Version 1.0 - 13/4/16
Initial Release​
SWEET. This is amazing, finally an app that is actually seamlessly between pc and phone.
Edit: Now I don't have any error I just love it
I get an error with the windows app, can I send you a PM ? @hamzahrmalik
I saw the video very useful app im gonna test it right now but chrome said its virus look into it..of course it isn't but just let you know!
This amazing. I'm totally interested in the OSX compatibility. Keep at, man.
I would be very interested for osx compatibility.
Thanks. Been waiting for an app like this. My Norton also said it was a virus. On the other hand, I have multiple network cards because I use virtual machines and the program obtains the ip of those vm network, is there a way to change this?
Looks similar to pushbullet.
This does seem better for android emulation as copy paste is very clunky at the best of times.
it is a false positve virus guys that is the way it was just simply put it on the exclusion list
Does it support chrome on PC? i get error saying no app associated with task on PC
EvoWizz said:
I get an error with the windows app, can I send you a PM ? @hamzahrmalik
Click to expand...
Click to collapse
Sure
Sent from my A0001 using Tapatalk
Joy Bangla said:
Does it support chrome on PC? i get error saying no app associated with task on PC
Click to expand...
Click to collapse
Make sure you have a default browser
Sent from my A0001 using Tapatalk
neroxyr said:
Thanks. Been waiting for an app like this. My Norton also said it was a virus. On the other hand, I have multiple network cards because I use virtual machines and the program obtains the ip of those vm network, is there a way to change this?
Click to expand...
Click to collapse
The program days your IP purely for your own information. In your phone just put in the correct one
Sent from my A0001 using Tapatalk
pikachukaki said:
I saw the video very useful app im gonna test it right now but chrome said its virus look into it..of course it isn't but just let you know!
Click to expand...
Click to collapse
Yeah I'll need to fix that, thanks
Sent from my A0001 using Tapatalk
Would love to see Os x integration, left windows 2 years ago and haven't looked back since. Sounds like a great module.
I always get same page, regardless of what i open in Chrome/Youtube.
These are steps i took:
- enabled module in Xposed Installer and restarted
- installed and started PC app
- typed IP and saved in Android app
- alowed both .exe files through firewall
- started service on PC
Im using N9005 Note 3 with TouchWiz. Page i get on double click is page i open frequently on phone. Devices are on same WiFi.
NikolaFiko said:
I always get same page, regardless of what i open in Chrome/Youtube.
These are steps i took:
- enabled module in Xposed Installer and restarted
- installed and started PC app
- typed IP and saved in Android app
- alowed both .exe files through firewall
- started service on PC
Im using N9005 Note 3 with TouchWiz. Page i get on double click is page i open frequently on phone. Devices are on same WiFi.
Click to expand...
Click to collapse
When you start the PC make sure you also start the service using the "start sevice" button. You can check it's started by looking for Java Binary in Task Manager (see screenshot below)
What page is it always opening? Is it one you have visited on your phone (what I'm asking is, has it ever worked)
Please add Mac OS X 10.11 support!
Wonderful idea! However I'm on OSX so I guess we'll have to wait a bit longer to see if it's worthwhile. Meanwhile I can test things for you during my free time.
thedisturbedone said:
Wonderful idea! However I'm on OSX so I guess we'll have to wait a bit longer to see if it's worthwhile. Meanwhile I can test things for you during my free time.
Click to expand...
Click to collapse
Nope I've just uploaded an osx build. Same link as the windows one
Sent from my A0001 using Tapatalk

Categories

Resources