Simran Dev Simran's place

8Jan/120

HACKED

HACKED BY EXERO

 

LOVE YOU MAINE

Filed under: Uncategorized No Comments
2Jan/120

G+ Messenger! Back to work!

Update* Jan 1 2012

An update from this Project is that I found out that Google doesn't use XMPP for the chatting, but only for authentication. I did some stuff to the Google+ *cough* apk, and saw some interesting code. They have implementations of their project "protobuf", and some private client called "Bunch". Also if you guys don't know yet, Huddle will be available for devices other than Android or iOS through SMS. Google you fail when you know that XMPP already a Group Chat. Oh well, what ever the reasons are the project continues, and will be out as soon as possible.

Initial description* Dec 31 2011

Awhile ago I had posted a thread asking for help and stopped development of this project. I decided to finish this and start all over. I had some help from a another friend coder and RustyGrom as well for his finding of his XMPP string. I'm coding this in C# and I'm writing the client from scratch, no libraries or anything. Here's my current progress and picture of the testing client:

--Simran

Filed under: Android, Coding No Comments
22Nov/110

Carrier-IQ tries to sue developer TrevE!

In other news this week, Carrier-IQ, Yes the info stealing app, tried to sue the developer TrevE because he figured out their plan of stealing our info? I find this completely wrong, and they should be the ones being sued! This is completely violating our rights of privacy and even then Service Providers allowing them to do this? Like SassiBoB said:

This is my device.
I pay you for the device.(HTC)
I pay you to give it service.(Sprint)
I don't pay you to file away my personal information, using my Data by the f*cking way!

Anyways, if you guys want more please head over to the XDA post to read the complete story on exactly what happened. Hopefully we all can get this stuff resolved, and only by one way: TAKE CARRIER-IQ OUT OF EXISTENCE(TAKE SOURCE CODE TOO?).

--Simran

Original XDA Thread Here

21Nov/110

Launch apps from ADB/Terminal

For all of you that code apps on PC that use ADB, if you ever wanted to launch an app from ADB or Terminal, here's a small tutorial.

Please note that this method can be used in any programming language that has the control to run commands from ADB, Terminal, or the shell itself. I won't be posting any code, but I will be posting the commands needed to do so.

Lets dissect the command first:
am start -n com.package.name/com.package.name.ActivityName

Basically we get the package and Activity name. Let's say we are going to open the "Settings" app, our command should look like:

Using ADB:

adb shell am start -n com.android.settings/.Settings

Using Terminal/Shell:

am start -n com.android.settings/.Settings

With the package name being: "com.android.settings" and the Activity name being: ".Settings". If you're familiar with a little bit of Android Developing this should be easy, if not Google it.

If you want to be more specific with your command then you can use intents to query something more specific. The extra in the code "-a com.example.ACTION_NAME", therefore our command looking like:

Using ADB:

adb shell am start -a com.example.ACTION_NAME -n com.package.name/com.package.name.ActivityName

Using Terminal/Shell:

am start -a com.example.ACTION_NAME -n com.package.name/com.package.name.ActivityName

But I'm going to be going into that today.

If all is done correctly then your device should open the requested app and activity properly. If not, experiment with it.

For those who don't know how to use ADB in .NET, Google it, or here are some simple instructions to do so:
1. Initialize a new process which is the "adb.exe"
2. Send commands to it like a console window
3. Read the output

If you guys need anymore help just ask me :)

--Simran

Filed under: Android, Coding No Comments
21Nov/115

Android USB Lib(A Lib for USB control)

Android USB Lib

*What is this ?
I made this lib because I myself needed it. I think it's useful for several other things besides for my use, especially to all the other Android PC Developers. You can simply get the mounted USB Removable disk letter of the Android device(Useful, because the disk is just a generic "Removable disk), Get the Device Serial Number, Mount and Unmount the device USB Removable storage. I'll add more later...

Declaration Usage:

VB.NET:
Dim Android As New USB

C#:
USB Android = new USB();

C++(CLR):
USB^ Android = gcnew USB();

Options:

*DriveLetter - Returns Android Drive Letter(Must already be mounted!)
*SerialNumber - Returns the Device Serial Number
*MountUSB - If unmounted, this will Mount the USB Storage again.
*UnmountUSB - Unmounts the USB Storage

eg. Android.UnmountUSB()

**REQUIREMENTS:
*Microsoft .NET Framework 4.0+ or Mono v1.2.6+

Thanks xSilent for the help!

Library

19Nov/110

Flash zip files from ADB/Terminal (And other commands)

I For all of you that code apps on PC that use ADB, if you ever wanted to flash a zip file from your app using the recovery it's quite simple. You've seem ROM Manager do it, now why can't you?

Please note that this method can be used in any programming language that has the control to run commands from ADB, Terminal, or the shell itself. I won't be posting any code, but I will be posting the commands needed to do so.

I use ClockWork Recovery on my Android device(Works with AmonRA too). We first need to set the recovery to read commands and not just boot normally.

Using ADB:

adb shell "echo 'boot-recovery ' > /cache/recovery/command"

Using Terminal/Shell:

echo 'boot-recovery ' > /cache/recovery/command

Next we need to set our command, Here's a list of commands supported by several recoveries(Open-Source ftw!):


* --send_intent=anystring - write the text out to recovery.intent
* --update_package=path - verify install an OTA package file
* --wipe_data - erase user data (and cache), then reboot
* --wipe_cache - wipe cache (but not user data), then reboot
* --set_encrypted_filesystem=on|off - enables / diasables encrypted fs

We'll be using the "update_package" at this time, but feel free to try the others. Now basically the syntax for our "update_package" is "--update_package=PARTITION:NAME.zip", most likely the package will be on the SD Card and for now I'll use the name "update.zip" for the package, so now it looks like "--update_package=SDCARD:update.zip".

Now how do we set/write that command to the recovery?

Using ADB:

adb shell "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command"

Using Terminal/Shell:

echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command

Now that we have set/written the command for the recovery we now lastly reboot into the recovery:

Using ADB:

adb shell "reboot recovery"

Using Terminal/Shell:

reboot recovery

If all is done correctly then your device should reboot into the recovery and immediately try to flash the zip file. Any errors will be printed during the process, and if any errors within the recovery should be printed on your device screen.

For those who don't know how to use ADB in .NET, Google it, or here are some simple instructions to do so:
1. Initialize a new process which is the "adb.exe"
2. Send commands to it like a console window
3. Read the output

If you guys need anymore help just ask me :)

--Simran

Filed under: Android, Coding No Comments
14Nov/110

Android 4.0 Ice Cream Sandwich Source code Released!

Today is a good Monday due to the fact of Google releases the Source code for Android 4.0 Ice Cream Sandwich. I hope to see some decent ROM's out, especially from the CyanogenMod team(CM9). The link as to how to get the Source code is at the bottom of this post. Please note that you may not be able to build the code due to Google not finished syncing the code to the server, so be patient!

 

Download :)

Filed under: Android, Coding No Comments
12Nov/110

G+ Messenger PC?

Well yeah it's still in progress, and I should have something up soon! I've been researching a lot and well I've learned a lot. Anyways I have to go, I'll tell you guys what I've learned once I get back.

10Nov/110

GDI+ Coding and Design

Hey all! I am xZ3ROxPROJ3CTx, and I will be releasing and previewing a bunch of GDI-based, pure-code designs that are usable in C# and VB.net. I do code much more than just GDI, but GDI tends to be what I am best at, so I tend to code designs and themes. I pretty much redesign every major control in the .NET framework. Such as Buttons, TextBoxes, CheckBoxes, RadioButtons, ComboBoxes, TabControls, Form Designs, GroupBoxes, Separators, ProgressBars, etc. I mean, like I REALLY go at it and redesign and redraw every big control that is used.

So yeah. I just thought I would create a post and say hello. Let you know who I am and what I do. Hopefully, you are all satisfied with my work, as most people tend to be. I'll post some of my work soon. Enjoy!

Thanks guys,

~ZerO

Filed under: Coding No Comments
10Nov/110

ICS Port for Evo 4G!

While I was lurking around XDA for Development for my device a Developer(the_plattypus) was able to port the ICS SDK to the Evo 4G.

[DEV-ONLY] |WORKING TOUCHSCREEN| ICS on Evo 4g [WIP]

Hey everyone, this is going to be a simple thread mainly calling for devs to work on the ICS for OG Evo. I have a booting rom that needs work. I think it is a great opportunity for everyone to get on board and help out if you wish. Please PM me for link.

THANKS
-dsixda (for your awesome kitchen)
-CM team
-swm5126
-mijjah1974
-jaredthegreat
-asianbobo
-barnacles10 (fosh)
-lmoore

Devs- Join the fun on gtalk send invite to evo4g_ICS@partychapp.appspotchat.com

READ THIS BEFORE DOWNLOADING: touchscreen is mouse mode- use two fingers!!

Just so everyone can take a stab at it: (please click an ad, its free for you and helps with server costs)
DOWNLOAD

I'll try it out when I can, anyone try it yet?

--Simran

Original Thread on XDA

Filed under: Android No Comments