Mellow - By DJ Boo!

SoldierX.com Hakin9 Magazine HAX Radio - The stream the FBI Listens to! Offensive Security Wireless Professional PWNIE 2012 Nominations The Hip-Hop Realm

Archive for the ‘Mobile Development’ Category

Android ICS Galaxy SII Epic 4g Touch Sprint FF18 Root && Tether Infrastructure Mode

Wednesday, July 18th, 2012

Disclaimer: This has been tested for Sprint’s FF18 ICS update for the Epic 4g Touch model ONLY. We are Not responsible for ToS’s, damages or warranties voided by anyone, anywhere, ever. EVAR.

Using Ad-Hoc mode for tethering is garbage. You can’t save any profiles for automatic connection on your supplicants, you need to fiddle with the Tether application when it randomly responds with “…started with errors..check error log!” and it’s an all around pain in the ass when you have multiple supplicants that don’t even support ad-hoc – like the PSP, 3DS, LINUX Drivers for popular WiFi adapters, etc.

So Sprint finally gave us Ice Cream Sandwich huh? Yay! WE CAN NOW REBOOT OUR PHONES FROM THE POWER MENU! Well, you may notice, if your phone was previously rooted that it no longer tethers and, obviously, got unrooted after the update. Phones always unroot after an Android update because of the kernel updates, etc. Anyways, If you follow this video and re-root your Galaxy SII Epic 4g Touch:

Basically:
1. Make sure you install Samsung Kies and allow it to install drivers for your device.
2. Download the EXE file and extract the contents
3. Run the application within the directory labeled Odin-OC called “SPH-D710.FF18_CL663858_ROOTED_NODATA-OneClick.EXE” and plug in your phone.
4. hold the power button and the volume down button on your phone until you see a screen asking you to press “Volume Up” to continue.
5. Press “Start” button in application once your phone is visible (yellow highlight and SERIAL ID in black font).
6. Done.

Then you will be able to install “WiFi Tether,” and “Titanium Backup Pro” from the Google Play Market and start tethering! Here are the Application you need on your phone after rooting it:

Titanium Backup Pro
WiFi Tether For Root Users

Once installed, run the Titanium Backup Pro application and freeze the following applications from turning off your hotspot each time your devices display is activated from sleep:

Next, select “reboot phone” from the menu. Next, start up WiFi Tether For Root Users, and go straight into the settings menu. Make the following changes:


** Change the channel (This seems to jump start the 802.11 radio at startup)


** Disable startup checks (This seems to interfere with the application)


** Select Generic ICS


** Turn ON routing fix (This seems to solve a timeout issue for certain domains while tethered)

And finally:


** The Kernel now supports netd for Infrastructure mode!

Now reboot your phone once more for the WiFi Tether for Root Users application settings to refresh (this seems to solve any mem caching issues that I couldn’t solve from force stopping the application and restarting it.) Once done, you will no longer need to use shitty ad-hoc mode again with your hacked ICS/SII E4gT! :)

~Douglas

How I Made a 4G Hotspot from my Galaxy S2 EPIC Touch

Tuesday, November 15th, 2011

Abstract

Samsung Galaxy S II Epic 4G (Touch) (US) <-- the phone with the longest name ever. It's a really nice phone, but lacked a few good software features, one being able to create a mobile hotspot from the phone to share my 4G connection without paying an extra (big) monthly fee. So, I had to root the phone by changing it’s kernel to a rooted kernel. This voids my warranty and is easily detectable by any technician at Sprint if I were to take this phone in for a repair. So, after rooting the system, i simply returned it back to the stock kernel. This keeps the phone rooted, but this leaves the “Superuser” application on the phone. The only way I know of how to remove it is by using the ADB shell. Easy enough.

This by no means is a tutorial, WEAKNET LABS is not responsible for damage you may cause to your phone by following along with me.

I switched to Sprint recently and got this phone:

Root it

You need a new kernel to be root on your new machine. I got mine from “Zedomax.” It’s not great at all, in fact it’s poorly designed, but we only use it temporarily. You can download it from his website here. I grabbed the tarball labeled “SPH-D710_Zedomax_EpicTouchKernel-v3.tar” to use with ODIN.
Next, I downloaded ODIN and Samsung Kies. You will need the drivers for the phone for ODIN to recognize it properly. DO NOT rely on Windows to get the drivers for you. And seriously, don’t follow the weird http://epic4gtouchroot.com/ website, it’s convoluted, is missing information and is just wrong sometimes.

Once you have Kies, simply run the application with the phone plugged in and allow it to say it’s completed and the phone is recognized properly. It will look like iTunes, but for your phone. Heh. You can check the Device Manager to see if the device was recognized or not, but that’s kind of overkill. Simply run ODIN. ODIN will show the device with a yellow label under it like so:

Now, you’re ready to go. If not, try unplugging the device and plugging it back in with Kies open. Next, you NEED to exit Kies completely. make sure the tray icon is gone, and no running process of Kies exists. Kies will screw up the flashing process we do with ODIN and could mess up the firmware in the phone. So, once killed, slam the “PDA” button in ODIN and select the tarball of the new kernel. Here is my file list I am using right now:

the file called acs-eg30-stock-pulled.tar is the stock kernel from the phone someone pulled from the phone before rooting it. We will use that after. Now, hit the “Start” button in ODIN. You will see the progress bar turn green and start to fill up. Once done the default setting of “auto reboot” should simply reboot your phone. At this point, I foo bared the shit out of my phone, over and over trying to get it to work properly with ODIN. I tried making the zip files tarballs, I tried all kinds of weird shit, only to realize that Kies was killing my firmware flashes. :( MAKE SURE IT’S CLOSED!! Now, you should check the kernel in the Settings->About Phone->Kernel. You should see something that says “zedomax.” go into your app drawer and look for this icon:

If found, you’re good to go! Now, try an application, like “Better Terminal Emulator.” Here you can type su and should be prompted to allow the application to use Super User (or root) privileges. Click “remember these settings” and click “Okay.” Now each time you use the application, you can just type “su” and you will see something like so:

Put Stock Kernel Back on There!

As I said before, this kernel made my zedomax just sucks. Radio problems seem to be the worst issue, though there is a quick fix for it, that says to update the Master Subsidy Lock Code. This is used when programming the phone with CDMA. It’s not re-programmed or updated and shouldn’t need to be seeing how this is an intermittent issue. So, it still doesn’t properly resolve the issue. Just put the stock kernel back until someone compiles a better working version. Get the acs-eg30-stock-pulled.tar file from the XDA developers and go through the same process of flashing the phone using ODIN. Make sure that Kies is not open!

Now you’re About phone screen should show this:

And you should still have full root access.

Tethering 4G and creating a WiFi Hotspot (AP)

There are many hotspot applications that can be used with a rooted phone in the android market, but not all can be used with this phone. I used this one: 3.1-beta6 WiFi-Tether

Awesome app, doesn’t work at all with the finicky 3DS, as nothing seems to play right with that damned thing, but it works with XBOX 360, and my laptop just fine.

Remove the SuperUser Application

The only way I know of is to grab the ADB shell here and run it. This requires a bit of command line experience, but it’s simple.

Run the shell:

adb shell

Become root:

su

Mount using Yaffs:

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Remove the files:

rm /system/xbin/su
rm/system/bin/su
rm /system/app/Superuser.apk

reboot:

reboot

Conclusion

So this is how I rooted the phone and got the WiFi Tethering for free. Rooting the device is the easy part, getting other devices to play well with the software AP is the hard part :)

Let’s Control [ put anything here (and I mean ANYTHING) ]

Thursday, March 10th, 2011

This may seem like a typical rant, but I have developed a few DS games and have been distributing them [ the games I personally have developed ] over the years. Also, I have said a lot of good things about Nintendo in many articles and to much of my friends. Nintendo has been around, in my life, since I was about 7 years old. Since the first NES. I have been thinking about this for a long time now, and I have to say something. Today I read that Nintendo will be remotely bricking 3DS devices that have been using R4 cartridges. Yeah. They are so scared about people pirating software, that they most likely didn’t even make (far more 3rd party developers’ games published than actual Nintendo titles), that they [Nintendo (NOT the developers of the games)] will render the device you have spent $259USD on, completely useless. What a load of shit.

What about those of us who create homebrew games? Who buy the devices because we love to develop?? Learning PALib and using DSGameMaker was an amazing journey in programming.

Hack the Gibson DS!

Payphone DS!

CthulhuTown DS

Phonelosers of America DS

I’m sorry, but this action – by Nintendo – is complete totalitarianism. Fortunately, the updates are not automatic, according to this forum post. This is still awful, because without those updates, I’m sure you cannot play the newest games, or use the Nintendo App store.

According to Wikipedia:
“Totalitarianism (or totalitarian rule) is a political system where the state, usually under the power of a single political person, faction, or class, recognizes no limits to its authority and strives to regulate every aspect of public and private life wherever feasible.”

Hrmm, where else would this apply? It sounds familiar…

Unfortunately, my country likes to use the phrase “War on Terrorism” a lot in our media. The attacks of 9/11/01 were devastating, to say the least, and our country has established a new catch phrase “We will never forget.” The meaning of said catch phrase takes two parts:

1. We will never forget the terrorist attacks, so we can immortalize those who were lost. Which is completely understandable, and I, myself feel this way.
2. We will advance our security and our .gov measures of snooping without limit of authority and it will force us to remember 9/11.

Okay, So, I have heard people say that “the terrorists won” when referencing the patriot act, our (sometimes – extremely outrageous) airport security, and the FBI. The phrase war on terrorism has been over used, misused, abused, and much more until finally the phrase starts to lose it’s initial meaning and now includes domestic crime. Sadly, a lot of people have profited from this and 9/11.

Speaking of total control – Google was forced, by a judge, to hand over personal information of ANYONE who even viewed the PS3 hacking videos of Geohot. Hrmm, Google seems to get rolled over on by judges quite often. What, exactly, would be the case if Geohot hosted the video from his own personal server, with Camtasia Studio? Google wouldn’t have even gotten involved, and peoples privacy would’ve be safe, somewhat. Here is a quote from geohot.com:

“I believe Apple has every right to lock down their iPhone in the factory as much as they want, but once it’s paid for and mine, I have the right to unlock it, smash it, jailbreak it, look at it, and hack on it.”

Directly after, He says:

“Fortunately, the courts agree with me on this point.”

Really? That must be nice. I wish I spent my time coding homebrew for the iPhone rather than the DS now. But wait, wasn’t that decision yet another product of a wrongful lawsuit? Here is another quote I find myself completely agreeing with: “Who are they to authorize what I do with my taxed and paid for property?

What about the instances where hacking the device broadens the consumers utility? Yeah, like the PSP-Go, for instance, will not play every PSP game. Yeah. that’s right. If you were thinking of buying it to play the 1st and 2nd Final Fantasy remakes and you forgot to do some research first; you’re making a second trip to the store to return the item. Sony doesn’t tell you this before you buy it. In fact, Sony and Nintendo DO NOT make us sign waivers BEFORE we pay for the products saying that we – the consumer – understand that our systems will be remotely bricked if we attempt to hack them. That’s the key right there. BEFORE you pay for the device, you should have to agree to ToS, not after you have dropped two to even seven hundred dollars on a product. Especially were restocking fees, (usually percentages) and shipping rates apply. That really sucks for Geohot :( I am sorry.

A good logical reasoning for this instance can uncover the cyclical process of consumption. Things are made to break. Things are made to have less functionality, for us to spend more and more money – or far worse, money that we don’t have via credit. Who recently confessed to this? APPLE. Yeah, the company that rejects functionality until the next revisions, so that you keep buying and consuming. Where are all of the APPLE computers all of the APPLE fanboys bought in the past? In a junk pile. In a land fill. Gone. In fact, APPLE has a stronger hand in this game, as they do not offer any accidental damage. Take this and add it to the fact that they try so hard to target students and college kids and what do you get? parents who have to keep buying machines for their poor college kids who like to party. Yeah.

Did you know, a Sony employee posted the jailbreak code on Twitter:

[ image from CMU.edu ]

That’s cute isn’t it? I can’t help but feel a connection between the two (software / Hardware developers and .gov). A familiar total control, as I mentioned earlier. Our privacy is gone. I will not buy a single product from Sony ever again. Nintendo, I don’t mind so much, until functionality deceases. Once so, my wallet will say good bye to you as well my old friend. I have to give credit to Fixer for showing me ZeitGeist. Thanks for adjusting my eyes.

~Douglas.

PhoneLosers of America Blue Box Android App Update

Sunday, December 5th, 2010

I re-coded it, get the update NOW! New Theme, and some behind the scenes stuff in the video below:

GEARS OF WAR

I am an addict of this game. So, naturally, I coded a countdown widget for Android for the upcoming release of GEARS OF WAR 3. :)
http://www.appbrain.com/app/gears-of-war-3-widget/com.weaknetlabs.gow

Someone INSTANTLY copied my idea and made their own, LOL.
Anyways, more to come, have fun! Happy Hacking!!

~Douglas.

PhoneLosers of America Red Box Android App Update

Monday, November 29th, 2010

Red Box Android App

I released version II today. This app has about 4800 downloads and a 3.5 star rating!

evilgold
Jul 21, 2010
Works great! I’ve tested with several different Qwest pay phones, worked every time. It has to be a local call and you have to get a live operator to dial number, but it fools them just about every time.

I found that quote just trolling around with Google today. Anyways, the new enhancements are great, new help section and two new screens.
I changed the sound engine from MediaPlayer(); to SoundPool(); which has truly made quite a difference. Also I made a video walk-through for our YouTube site:

Download and enjoy!

WeakNet Wireless Professional Exam Android App Update

Well as expected I spent all of yesterday re designing the UI. I am simply waiting for a few question from some friends and then I’ll post more about it!
I have decided to make a certificate for this. If you get all 100 questions right, you will be brought to a screen with a button, hit the button and Email will open and send me a code. You can put a message in the Email for a name / etc that I will post about here. I will be creating a whole new page for this @WeakNetLabs.com.

In the meantime, here is a screenshot!

WeakNet MySQL CheetSheet Android App

This is an all new project I just started. Basically it takes the iGoogle app I made and tunes it into an Android App. I’ll give more details about this as I get time. This seems like something that would be insanely useful when you are a DBA for MySQL and need a reference on the fly.

~Douglas.