[DEV][TOOL] smalisca - static code analysis tool for smali - Android Software Development

Hi there,
I've been coding on a static code analysis tool for Smali file for about 3-4 months. Before releasing it "officially" to the Android community I'd like to beta-test it in order to fix bugs, improve the usability and get a general feedback.
You can find the tool here:
https://github.com/dorneanu/smalisca
There is also a quite complete documentation of the tool available here:
http://smalisca.readthedocs.org/en/latest/index.html
Some screenshots are available here:
http://smalisca.readthedocs.org/en/latest/screenshots.html
Thanks for your valuable feedback.
Cheers, Cyneox

Related

Virtual com port source

Hi,
I tried to download the virtual com port source from http://mamaich.kasone.com/rover/RIL_hook.rar but apparently the site is down for the time being...
Did someone manage to download it while it was still available ? If so, could you please upload it here (or make it available somehow)?
Thank you.
There is another virtual com port driver available here
http://sf.net/projects/gpsproxy
Nice project, but it seems C# and uses the CF. I was looking for something in pure C... perhaps I can get inspiration and hack my own.
Perhaps you should ask the guy, which discussed and downloaded original to upload the current version and his experiences with it.
http://forum.xda-developers.com/viewtopic.php?t=10334&highlight=virtual+com+port
For me it seems, that you can take the DLL, referenced it the first answer to your thread, - modify the registry and WinCE will use it as newley available COM-Port.
(I will follow it too ! )
I tried to contact mamaich. lets hope.
my site is temporary down.

[Q] Modifying ROM .zip's

So I've found myself re-installing the Syndicate ROM several times in the last few days. Been fooling with things a lot, getting edumacated. My question is, I would like to include the Syndicate theme add-on (with battery %) in the ROM to begin with. In other words, I don't want to have to flash the stock Syndicate ROM, and then have to flash the theme separately.
I unzipped both the stock ROM and the theme and it seems to me all I would have to do for this to work is just write over the applicable stock ROM files with the ones from the add-on theme, re-zip the files, put on SD card, etc.
Would this work?
Also, if I wanted to remove say the ES File Explorer from the stock ROM and maybe replace the YouTube app with 1.6.19 and then re-zip, etc. Would that work as well?
this is reposted from jairomeo in nexus forums but this helped get me started:
[THEME] The Ultimate Android Themeing Guide - Updated 4/26
Since we know information for creating themes is spread out all over the place and sometimes hard to follow and understand, I have started compiling a guide using the information spread throughout XDA and other forums. Hopefully this can become a Sticky
I've sent this out to a few new themers and such and they have found the parts that are complete very helpful.
Initially I wanted to wait until it was complete before posting it anywhere, but I've hit a wall on being able to put my thoughts together. I am kind of busy and stressed out with work, therefore I am putting up this way users can review and other themers and maybe start compiling some of the missing information. I also hope for non themers to give feedback or post questions and ideas can be added and maybe get my creative juices flowing again.
The guide is a collaboration of information from many themers/users. I am making sure to provide credit for all individuals writings. I am writing it in word, but posted it in Google Docs to all can view.
If you are going to link to this, please link back to this thread and not the document, this way we can keep the conversation in one spot and work together as a community, to have a document that isn't tool and utility based, but one that teaches people how to edit themselves, and teach with potential of finding more things we can control.
I will update the copy on Google Docs until it's completion.
Link to the guide:
The Ultimate Themeing Guide
Soon additions (red have been added):
Add smail edit for Gmail LED by brtioso http://forum.xda-developers.com/show...00#post6165700
Add a section on signing update.zip files
Suggestion from Stericson, include the write up explaining the detail of the xml's and what 0800001C means.
Add link for AXMLPrinter GUI http://android.modaco.com/content/t-.../#entry1217176 as recommended by deanesn
Add information from MontAlbert on un'odexing,
Add information to be able to theme market apps from http://forum.xda-developers.com/showthread.php?t=503007
Add zipalign information
Add 08 00 00 1D code and xml from amac25, time to start researching where else this is and what it does
Create a reference table listing the stock apps, and the xml's known to edit inside
Look at http://spreadsheets.google.com/pub?k...3ci5_oxwQ4mGrg and see what needs to be modified/added and add to the document
Add Ted417's tip on editing indexed images, would have helped me if he told me this a long time ago, stingy bastard
Possibly add Ted's signing tool http://alldroid.org/threads/16103-Se...ghlight=Ted417
Add in some of the information from http://forum.xda-developers.com/show...04#post3385304
Add Beyond Compare as a software tool to get started with (recommended by bgill)
Add http://markcarson.com/markcarson/ColorCalc.html or another site that does color conversion codes
I'll add to the to do as things come in. If you want to ask questions or faster feedback, follow me on Twitter.
Since Google Docs screwed up some formatting, I am also putting the current copy in PDF on my site
The document in not complete so PLEASE don't distribute yet or put in other places. Wait until it's finished. I don't want copies floating around everywhere, if I see that, I will pull the PDF
http://www.jbthemes.com/AndroidTheme...ng Guide.pdf
Click to expand...
Click to collapse

[Development] BadaSI

BadaSI​​​​System Information and Benchmark Tool​​​
Preamble
- News
BadaSI is a community project, everyone is invited to help on the developement or to post some new useful ideas. Also everyone who helps will be shown in the About part of the app as Team-Member. This App aims to show every usefull information about the system, to offer some benchmarks and a better user experience while using it. At the other side BadaSI is also aimed to help new developers, to dive into the bada world and start developing Apps. There is a big usefull collection throgh many API functions from the bada SDK and offers for every new developer some usefull examples that could help in hard times.
Information
- AppStore
For user that don't wont to test it, the currently official release is also available in the AppStore:
BadaSI available for all countries
- Disclaimer
The inofficial version of the App under developement, and should be used only by Beta-Testers, which don't mind, that the Device could crash after using it. Everyone should think about it before installing the App on the Device. Also no warranty or anything else is guaranteed, use it at your own risk.
- How to use?
Bind the Project in the bada SDK:
1. Install the newest Bada SDK [recommendet is the standard installation]
2. Start the Bada SDK
3. File --> Import --> bada Application Projekt --> Select Root Directory [Path of the Project Folder]
4. Confirm with Finish
Clean and compile the Projekt:
5. Right-Click on the Project Folder
6. Press Clean Project
7. Choose the Arrow-Down-Symbol next to the Tools-Symbol
8. Press Target Release
Prepare the Device:
9. Copy the attached rootCA.cert on the Card and execute it
10. Enable USB-Debugging [unter Settings --> Connections]
11. Connect the Device to the PC over USB-Calbe
Install and test the App
12. Choose the Arrow-Down-Symbol next to the Play-Button
13. Press Target-Release
Epilogue
- Announcement
The Source Code is open source and free for every developer, only the whole App, as it is, shouldn't be published as a copy of it. I am working togheter with a designer, all images are copyrighted by him and should not be used for third party apps. The changelog is always in the packed integrated.
- Current Official Build 1.0.0.201104152000.rc2
- Current InOfficial Build 1.0.0.201104152000.rc2
I have uploaded a newer alpha version here:
http://www.sammobile.com/forum/showthread.php?t=3073&p=19540&viewfull=1#post19540
Sorry i don't have time to upload it also here, but i will in the next days, xda users can also test as before .
larioteo said:
I have uploaded a newer alpha version here:
http://www.sammobile.com/forum/showthread.php?t=3073&p=19540&viewfull=1#post19540
Sorry i don't have time to upload it also here, but i will in the next days, xda users can also test as before .
Click to expand...
Click to collapse
Just Tried.It works Very well.and About Ram is perfect.And New Section Uilities When avaialable ?
The new section will also come soon, i want to build in some usefull things like compass and so on, the sensor data will stay as it was but a compination of them will come under utilities. I must think about it what is very usefull and can be part of the app. Maybe also a waterlevel.
Second, the gui will change a little bit i want to built in instead of the words on or off supported and unsupported some images that are more clear. making it a little bit more suiting to the 20 centure.
wave wifi direct supported or not?? i asked because i saw some knowledge about that beforehand and it was about ''supported''
It is defined in System Info as i saw definitely no. If the OS says no than i believe it.

Android programmer newbie needs to know basics

Hi, so tomorrow is Sunday and I am in the mood to write some cool programs for android devices. Please tell me all the tools I require and some reverse engineering ones too for copy pasting some cool things thx.
Here's a google doc a user called autom8r from reddit posted.
It's pretty useful and he goes through why he used everything. Credits to him not me.
URL
EDIT: Well seen as I have less than 10 posts I can't post the link...
EDIT: Here's the link all truncated: ht[REMOVETHIS]tps://[REMOVETHIS]docs.google.co[ANDALSOREMOVETHIS]m/spreadsheet/pub?key=0Aiakq5EFgZZTdGlmblFNMFZLN3huRnNUNzdkWDRoekE&output=html
Too many things to download ><" jdk eclipse adt blah blah no longer interested in android development
You just need Eclipse for JAVA developers, and Android SDK with ADT plugin. And if it you first application you must read the book like "Android development for 24 hours".
Can u please provide direct download links to those files. This eclipse has like 2820207328282626 versions and I get confused
On Android Developers there is a bundle package which contain sdk/eclipse/adt.
http://developer.android.com/sdk/index.html
I Would not recommend you copying and pasting parts of other people's software. You will learn much more if you try to write it yourself.
For a lot of Android features there are open source libraries. Try them out, they may help you developing your app.
http://www.theultimateandroidlibrary.com/
http://www.androidviews.net/
Hey thanks that was exactly what I needed to start. I love you :*
8)

Issues with compiling libhybris in scratchbox2 target

Sup XDA, there is one question about porting the sailfish OS. I am guided by the official documentation, according to the latest guide on HADK - https://sailfishos.org/wp-content/u...OS-HardwareAdaptationDevelopmentKit-2.0.1.pdf
I encountered a problem with the point 7.2.1. When performing the rpm/dxd/helpers/build_packages.sh. there is installation and assembly of packages, but it breaks off when creating a middlevare, namely, the libhybris. Here is the complete log of the assembly - https://paste.debian.net/plain/997702
As I understood from the logs myself to build the libhybris, I need to use the compiler with C++11 support, but in the scratchbox2 the old version of the gcc-4.6.3 version is used, which does not understand the standart C++11. I tried to change the CFLAGS from "--std=gnu++11" to "--std=gnu++0x" , but the libhybris does not compile with the flag of the old standards.
What do you propose to do? How to update the compiler in a scratchbox2 target?
P.S. wrote it via google translate, dont be offended pls
memewarrior said:
Sup XDA, there is one question about porting the sailfish OS. I am guided by the official documentation, according to the latest guide on HADK - https://sailfishos.org/wp-content/u...OS-HardwareAdaptationDevelopmentKit-2.0.1.pdf
I encountered a problem with the point 7.2.1. When performing the rpm/dxd/helpers/build_packages.sh. there is installation and assembly of packages, but it breaks off when creating a middlevare, namely, the libhybris. Here is the complete log of the assembly - https://paste.debian.net/plain/997702
As I understood from the logs myself to build the libhybris, I need to use the compiler with C++11 support, but in the scratchbox2 the old version of the gcc-4.6.3 version is used, which does not understand the standart C++11. I tried to change the CFLAGS from "--std=gnu++11" to "--std=gnu++0x" , but the libhybris does not compile with the flag of the old standards.
What do you propose to do? How to update the compiler in a scratchbox2 target?
P.S. wrote it via google translate, dont be offended pls
Click to expand...
Click to collapse
Heyyo, the guide has a messed up sb2 section.
I can't load your Pastebin link but please check my thread here to see how I resolved the bad sb2 guide
https://together.jolla.com/question/172682/unknown-tag-systemd_requires/
Also, just in case you get stuck on 8.5 of that guide here's how I fixed that too
https://together.jolla.com/question...cregister-for-85-building-the-image-with-mic/

Categories

Resources