[MOD] Hulu Hack 10.3/GB - Epic 4G Apps

Ok guys, so I absolutely love Hulu and other legit TV sites, some of which prohibit mobile devices based on a "flash id" similar to what you have with a User Agent string for the browser. It is based on this ID that it prohibits mobile phones from accessing content such as hulu and HBO (I think?). With this mod your phone will appear as though it is a PC running flash and I believe it also modifies your version number to be something like 99.9.999.99 for sites that try and check the version number. I also must make sure to give credit where credit is due. Credit goes to imneveral0ne who posted the modified lib files in the Thunderbolt forums http://forum.xda-developers.com/showthread.php?p=12433036#post12433036.
His mod stopped working because Gingerbread (and 10.3) copies the lib files from the APK itself back into the lib folder (/data/data/com.adobe.flashplayer/lib/) on boot, thus require the mod be redone every reboot. I simply took his mod, wrote a simple script that installs the hacked lib files to /data/flash/ at first for storage, modifies permission of /data/data/com.adobe.flashplayer/lib/ so that it can be written to by the script, and also installs a "run on boot" script at /system/etc/init.d/01-fixflash.sh which will copy the hacked lib files from /data/flash to /data/data/com.adobe.flashplayer/lib/. It also adds Hulu Bookmark app (1.0) to /data/app.
For whatever reason, I've been having trouble replicating a "start from stock, flash, and you're good" situation. Something about my setup isn't quite perfect yet (this is my first "mod"/script, and first flashable zip so any suggestions would be greatly appreciated), as I've had some issues getting it to run on its own the first time. That being said my launcher pro also force closes on every reboot so the leaked EF02 and nagging (ef10 to ef02) downgrade screen may be responsible. The GOOD news is that it does seem to work like clockwork once the script has been run manually for the first time. Enough explaining why, now to the how:
REQUIREMENTS:
Kernel with init.d support (most custom kernels with root support) and root
Busybox (for running the copy commands. If you don’t have it, install ‘busybox installer’ from the market once you are rooted)
Root explorer (recommended, not required)
NOTE: I have developed this file FOR gingerbread, however I BELIEVE it should also work on froyo. Please let me know if it does/doesn’t work on Froyo. If it doesn’t work and needs troubleshooting let me know and I’ll downgrade again to see if I can get it worked out.
INSTRUCTIONS:
EDIT: I'm such a moron, I almost forgot:
Install latest flash player (10.3.185.25) from the market FIRST and be sure to uncheck automatic updates (and don't manually either)
Make sure busybox is installed. One way to test this is to type cp –help in ADB and see if it can run the command. If it does, you’re good to go.
Next, simply flash gbflash.zip. Wipe cache/dalvik if you want (I don’t believe it’s necessary, although again, this is my first time and for whatever reason the script doesn’t seem to want to run on its own the first time)
Upon first reboot, you MAY be lucky enough that it simply just works and you’re all set. I was not this lucky, either due to my semi-lockup (FC of launcher pro) on boot and/or the EF10->EF02 downgrade screen. Anyways, if you still get the "Hulu not available for your platform" error, simply use either root explorer or adb to run the script for the first time manually. In root explorer, navigate to /system/etc/init.d, tap on S98fixflash and select "execute". In ADB, navigate to /system/etc/init.d and type "sh S98fixflash". Wait a sec for it to run, then try Hulu again. It should be working immediately (without a reboot required) AND the script should then run correctly on subsequent reboots.
Like I said this is my first "product" I've been able to make available to the community and am more than open to suggestions, criticisms and ideas of how I can make this script better. Enjoy guys!
EDIT: If you do have issues with the script not running on every reboot, simply install "Script Manager" from the market, navigate to /system/etc/init.d, select S98fixflash and check the "run on boot" checkbox.
NOTE: I believe this hack is EXCLUSIVE to Gingerbread (and maybe Honeycomb). Froyo will not work
http://www.multiupload.com/E9GP7V1QJ1 - update 10/4//2011 for 11.0.1.152 AND hopefully fixed data mounting issues on certain devices so it works easily on CWM on more devices
NOTE: Latest update includes a brand new flashplayer.so files freshly edited, so no more issues with youtube in the browser, and uses TRUE flash 11.0.1.152 libraries for increased performance (no longer based on 10.2) (LOL, flash 11 was only released 4 hours ago, hehe
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
)
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.

Cool
Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.

Wait I'm a little confused...are you saying that your launcher pro FCs and EF10 downgrade are indepenent of this, or is this script causing those problems?
As of right now, Launcher Pro has never FCed on me on EF02, and the downgrade prompt never pops up (it used to but it stopped for some reason).
Jus trying to get all the info before I flash this.
Btw, I assume that simply deleting the .sh file would uninstall this mod, thereby preventing anything from being done at boot? If not, what would be the proper way to uninstall this?
Sent from my SPH-D700 using XDA Premium App

You are correct on uninstall procedure. Delete 01-fixflash.sh from /system/etc/init.d. It also places a 'flash' folder in /data that can be deleted. It also modifies permissions for /data/data/com.adobe.com/libs to make it writable (shouldn't cause any issues if left) but can be undone by uninstalling and reinstalling flash. Yes my launcher pro fcs because of the ef10->ef02 downgrade question (I think). Hope to check again on official release. Please let me know if this a) works b) doesn't or c) (like me) mostly works on most reboots, but script aways work when run by hand.
Another option is to install script manager because you can then tell script manager to run 01-fixflash.sh on boot, and then it should DEFINATELY work, although I know most people prefer not to install additonl appliations...
EDIT: I believe my launcher pro FCs INDEPENDENT of this script (ie it happens whether or not the script is installed) Also, Launcher Pro works, just FCs once on boot, then works like a charm the rest of the time
Sent from my SPH-D700 using XDA App

The flashable zip did not work. It flashed but did not successfully write anything usable to phone. However, the apk on the original posting worked great!

Yes, the APK I pulled from should work UNTIL you upgrade to gingerbread (correct me if I'm wrong). Did you happen to try the script manager trick? Sometimes the script won't run on boot on its own (particularly if you have a stock kernetl). This will probably be of more use to GB users who really require the boot script.

Ran the script, but the file is not in the init.d directory.....
In root explorer, navigate to /system/etc/init.d, tap on 01-fixflash.sh and select “execute”.

tazman19 said:
Ran the script, but the file is not in the init.d directory.....
In root explorer, navigate to /system/etc/init.d, tap on 01-fixflash.sh and select “execute”.
Click to expand...
Click to collapse
There will only be 1 file in /system/etc/init.d, 01-fixflash.sh. It copies files from /data/flash to /data/data/com.adobe.flashplayer/lib/. When you execute it, then visit Hulu In dolphin, set to desktop it still doesn't work?
Are you saying the 01-fixflash.sh doesn't exist? Or that's the only file you see in there. Also note you must install flash from the market first. It should Always work when being run by hand. How about running the script, choosing execute, then the hulu app? Sorry, trying to figure out what the issue is.
Also, I'm on EF02 odex (stock), ef02 plus kernel, cwm 3.1.0.1. U same?

compuw22c said:
There will only be 1 file in /system/etc/init.d, 01-fixflash.sh. It copies files from /data/flash to /data/data/com.adobe.flashplayer/lib/. When you execute it, then visit Hulu In dolphin, set to desktop it still doesn't work?
Are you saying the 01-fixflash.sh doesn't exist? Or that's the only file you see in there. Also note you must install flash from the market first. It should Always work when being run by hand. How about running the script, choosing execute, then the hulu app? Sorry, trying to figure out what the issue is.
Also, I'm on EF02 odex (stock), ef02 plus kernel, cwm 3.1.0.1. U same?
Click to expand...
Click to collapse
Same as your setup, can't get it to work, still getting unsupported device message on hulu.com. The apk won't work for me either since it wants to find com.adobe.flash (or whatever it's called), and the one that exists on my phone has number "1" attached at the end. And I do have the latest flash, I just installed it for this very reason.
One question though, the stock browser doesn't seem to have an option to turn off mobile view?
EDIT: one difference I just noticed is that I'm deodexed, not odexed. I wouldn't think that would matter though...
Sent from my SPH-D700 using XDA Premium App

LoO
squshy 7 said:
Same as your setup, can't get it to work, still getting unsupported device message on hulu.com. The apk won't work for me either since it wants to find com.adobe.flash (or whatever it's called), and the one that exists on my phone has number "1" attached at the end. And I do have the latest flash, I just installed it for this very reason.
One question though, the stock browser doesn't seem to have an option to turn off mobile view?
EDIT: one difference I just noticed is that I'm deodexed, not odexed. I wouldn't think that would matter though...
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
You could change the script if you can't find that file. So your libflashplayer.so file is located where, /data/data/com.adobe.flashplayer-1/lib ? Also are you on ef02 or ec05? Have you tried running the script via adb to see what errors it gives? You may need to run busybox installer from market to make sure the cp (copy) command itself works.
Edit: Also, I know there's an apk with -1 at the end, this is different. Its a folder with lib files in it. I may need to downgrade back to froyo to dbl check but I believe they're in the same place. Deodexed should't make any difference I don't think... thanks for hangin in there, I'd love to get this figured out so others can actually benefit from my aggrivation with it lol
And no, stock browser has no option to disable mobile view.
Sent from my SPH-D700 using XDA App

Updated to latest flash and fixed script file a bit* (gb only)
Sent from my SPH-D700 using XDA App

Just flashed. everything opens and runs. But when show loads it says not supported on this device... Ran the root explorer command and still the same. feels like I'm close. Any ideas? Running ef02 plus
Grapes

Kif420 said:
Just flashed. everything opens and runs. But when show loads it says not supported on this device... Ran the root explorer command and still the same. feels like I'm close. Any ideas? Running ef02 plus
Grapes
Click to expand...
Click to collapse
Double check /data/flash/ exists and has 4 files. Make sure you have installed flash 10.3.185.25 from market and uncheck auto updates. Install busy box installer, and run to install IF and only if it still isn't working at that point.

You are the man! Thought I had busy box installed but.... I didn't.... Installed, ran the script, bam! Hulu! big thanks compuw22c. I owe u a fatty!
Grapes

Thanks! It worked after I rebooted it. Hulu app and Hulu.com working (dolphin in desktop mode)

Awesome! Just glad to hear it finally working for people. I actually just got a gsII but will try to continue posting here as well as we all know the epic needs all the help it can get! btw this should work on any gingerbread its with root (which usually comes with init.d support)

After running this I have a Lego looking block with a ? in it like flash is not installed. Verified in my browser with other flash sites that this is the same. Any Idea as whats going on?

formula84 said:
After running this I have a Lego looking block with a ? in it like flash is not installed. Verified in my browser with other flash sites that this is the same. Any Idea as whats going on?
Click to expand...
Click to collapse
Never mind, it was because i use titanium backup to integrate system app updates into ROM, this saves space...
I had to restore an old backup of.24 then do the market update (did not integrate this time) booted into CWM and flashed worked great.
My only issue now is when i do fullscreen from hulu app its off center, half screen is just white (left) and part of the video is on the right?
Anyway to fix this or maybe an app update?

Its basically just a browser, tap and drag or pinch and zoom. Also, install Dolphin HD, set it to desktop user agent and tap full screen button as on a desktop.
Gone on vacation for two weeks*

I got this working on AA i3 with script manager.
It Does not make Hulu Plus app work.
It does play nicely in default web browser if you change the user agent to desktop. The full screen button works properly as well.
-Roger

Related

Life after simpleroot?

Hey guys I just finished runny simple root OTA edition. Everything went well and now I'm rooted. I am running into a couple of questions now.
1. Whats happens now? I'm rooted now how do i get those nice custom roms onto my phone?
2. I purchased ROM Manager because baked snacks rom says it was necessary for install but i can't get it to install clockwork mod, it keeps saying something about error running privileged commands.
3. How do I go back to stock ROM I'm starting to feel like I might be over my head at this point.
Thanks for your help guys.
I'm in the same boat. The two main reasons for rooting was for a new ROM and to use it as a hot spot (which so far I haven't been able to do.)
ROM Manager gives me the same error message about clockwork. Also, I would like to stop paying the $30 a month for the hot spot, so any help in that area would be appreciated.
Darrell
Keep at it!
loztboy said:
Hey guys I just finished runny simple root OTA edition. Everything went well and now I'm rooted. I am running into a couple of questions now.
1. Whats happens now? I'm rooted now how do i get those nice custom roms onto my phone?
2. I purchased ROM Manager because baked snacks rom says it was necessary for install but i can't get it to install clockwork mod, it keeps saying something about error running privileged commands.
3. How do I go back to stock ROM I'm starting to feel like I might be over my head at this point.
Thanks for your help guys.
Click to expand...
Click to collapse
0. Please read everything before doing anything. My post is a little chaotic, but you should be fine if you read everything first.
1/2. The usual disclaimer: I'm not telling you to do anything. I'm just providing information. I'm not liable for anything you do to you phone.
1. ROM Manager is definitely the easiest way, though the "real way" is to load your ROM of choice on the SD card and then flash it from Recovery (more on recovery later).
1 & 1/2. By the way, you should install Titanium backup from the market five minutes ago. Yes, it is that important. When jumping ROMs, you often have to wipe everything out. Without Titanium Backup, you could end up having to repurchase apps and redownload all of your free ones, losing progress in games and settings in apps, etc. The free version of Titanium Backup lets you back up easily enough, but you want the donate version to prevent restores from taking a few hours of user interaction (Yes, I said user interaction, meaning sitting there and pressing buttons for hours). Once you throw $4.00-$50.00 (you can pick within that range, you get the same product regardless of amount) at Titanium Backup (and wait a day or so to get the license key file), you can do a restore in 15 min without any interaction beyond hitting start (or, more accurately, begin batch process). This app has saved my life time and time again. I literally did my first backup out of curiosity for the app and then totaled my phone in the next five minuets. It even backs up your home screen layout. GET IT NOW!!! YOU WILL HATE YOURSELF IF YOU DO NOT GET IT!!! At least get the free version, because, as stated above, it does backups fine. You (like me) will be scared into paying when you realize that you just wreaked everything and really don't want to spend the next few hours restoring. However, Titanium backup will not function until you get Superuser app working, as detailed in point 2 below.
***EDIT: I forgot to mention that Titanium Backup should work after running this program. It should even fix clockwork for you***
2. There are three possibilities for that error: 1: You don't have the superuser app installed. It dishes out the privileges. If you don't have it (if you do go on to potential issue number two and be grateful), you can install it by downloading this file and putting it on the root of the SD card. Then boot into recovery (I'm sure there is a tutorial for getting into recovery floating around here somewhere, just search the EVO section) and flash the .zip Presto! Superuser app is installed. If you prefer not to go around flashing random packages recommended by strangers on the internet, you can research and download superuser app at the source 2: If you found the Superuser app in the app drawer (the screen with all the applications where you scroll down in alphabetical order and pick the one you want to use), open it. You may have bumped "never give superuser access to this app" (or words to that effect) the first time you opened ROM Manager. If so, it will be listed in the Superuser app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
as red. Just have the superuser app forget ROM Manager and then try to flash custom recovery from within the ROM Manager again, being sure to say "Yes!" when it asks for superuser privileges. 3: If you have no recovery to flash superuser from or superuser is installed and ROM Manager is green inside and it still fails, the SimpleRoot failed. If you skipped a step in the rooting process, go back and do that step. If not, just start over and run all the steps from the beginning, Also note that if you accepted the over the air update, you need the OTA version of SimpleRoot, not the original one.
3. Now, about total reversal. I'll be honest: There is probably a way to go back to stock that works without finishing the root process (probably something to do with PC36IMG.zip) files, but I don't know it. The way I would do it would be picking the OTA Stock ROM from this page and flashing it after getting recovery installed at the end of a successful root process. However, then you would have succeed in your original endeavor and would have no need to go back. There is a program here that supposedly does just enough tweaking to the phone to give you the recovery you need to flash back to the stock ROM, but I have not used it myself and therefore cannot vouch for it.
dws51 said:
I'm in the same boat. The two main reasons for rooting was for a new ROM and to use it as a hot spot (which so far I haven't been able to do.)
ROM Manager gives me the same error message about clockwork. Also, I would like to stop paying the $30 a month for the hot spot, so any help in that area would be appreciated.
Darrell
Click to expand...
Click to collapse
If you both succeed in the root process (and I encourage you to persevere, the reward is spectacular), I personally recommend Cyanogen Mod 6. I believe that you can get the nightly builds of CM6 from ROM manager, but the release candidate is likely more stable. I use the RC myself and have never looked back. My battery lasts forever and my phone is never unresponsive. And because the CM6 ROM is based of of Android 2.2 (Froyo), free tethering is built in to the OS and done so rather elegantly, meaning no more dirty hacks for tethering. Just know that if you go that route, though you have the best of the best, you will need to tinker a bit to get everything working. Also, 4G, the FM Radio, and HDMI output are flat out not working in the RC (I'm sure they will be fully functional in the final release, and the not-workedness is a software thing, meaning that the hardware is fine and will come online when you again install a ROM that supports it). On the other hand, with this ROM you can force the phone to roam on Verizon's network when Sprint's 3G speeds are less than desirable.
I'm not sure where to put this, so I'm sticking it here. As soon as you get custom recovery working, you want to backup with Nandroid. The easiest way is from ROM Manager. Just hit "Backup ROM". This backs up not only your setup (like Titanium Backup), but also all the crucial bits that lie underneath and keep your EVOs humming, bits very very difficult to replace. HOWEVER, this is NOT a replacement for Titanium Backup, because it can only restore to the same ROM. If you attempt to restore to a different one, it will put the one you had at the time of the backup back on.
Whichever way you go, I wish the both of you luck. You're entering into the wild and wonderful world of devices that you actually own!
that was a great post im in the same boat as those guys above and im sure we are not the only ones, when you say put the file on the root of the sd card what is the root of the sd card? if i dont know that should i just not even be rooting?
edit
I just downloaded rom manager and i get the same response " an error occurred while attempting to run priviliged commands" i went through the root process and it said i was rooted, i read earlier that to check it i was rooted and nand unlocked that if i checked my hboot and it was 0.76 i was rooted and nand unlocked if i was 0.79 the root didnt work i was .76. Is there a different way to check if my root went through
The root of the SD card is the 'directory' you're in when you plug the card into the computer & you see folders like ".Mail" "Android" "DCIM" etc.
It's up to you if you think you can handle rooting. I used SimpleRoot & it was incredibly easy, but i have been familiar with modding phones for awhile now.
jdjozwia said:
that was a great post im in the same boat as those guys above and im sure we are not the only ones, when you say put the file on the root of the sd card what is the root of the sd card? if i dont know that should i just not even be rooting?
edit
I just downloaded rom manager and i get the same response " an error occurred while attempting to run priviliged commands" i went through the root process and it said i was rooted, i read earlier that to check it i was rooted and nand unlocked that if i checked my hboot and it was 0.76 i was rooted and nand unlocked if i was 0.79 the root didnt work i was .76. Is there a different way to check if my root went through
Click to expand...
Click to collapse
The root of something simply means not in a folder, e.g. on your computer it would be just G:/ (or whatever letter your SD card is mounted to). Just open the SD card and put whichever file you are referencing right there, not in any folder.
By the way, anyone can root, so long as you are willing to learn and willing to take a few risks. As long as you stay well informed, you usually don't break anything. And there is usually a way out, even if you make a train wreak, though it may be ugly. Independent developers (not me; smart people like Cyanogen and Toast who actually make these awesome ROMs and roots) have a better track record for keeping dangerous stuff out than some corporations. ***Cough***McAfee antivirus broke thousands of computers with a defective update***Cough*** Scientia est vox. Knowledge is power. Know what you're doing, and you'll be fine. You will make mistakes (I know I have), but stay sharp and know the consequences, how to go back, who to ask when things go South, and you'll do alright. The community here at XDA is one of the best and most helpful I have ever seen. If you're not totally hosed, someone will pull you out of the fire. It probably won't even be me. I'm no pro. But there is no shortage of pros here at XDA.
so what would you guys say the next step for me is, should i just do the simple root over? how can i check to see if im rooted? and what should i do about this rom manager giving me trouble with flashing the clockwork mod
See Above
jdjozwia said:
so what would you guys say the next step for me is, should i just do the simple root over? how can i check to see if im rooted? and what should i do about this rom manager giving me trouble with flashing the clockwork mod
Click to expand...
Click to collapse
If titanium backup works, you have root. As for Clockwork, please see my first post, where I went over it in detail.
OK well i installed titanium back up and busy box and it looks like im rooted? Im going to try to flash that superuser app tmw i left my usb cord at work so in about 12 hours ill probly be back with more questions
thanks for the encouragement the answers and most of all your time
Cut the cord
jdjozwia said:
i left my usb cord at work
Click to expand...
Click to collapse
It's personal preference, but there is a throughly cool free app called Awesome Drop that lets you send files without a cable. When you use it, files end up in the /drop directory on your phone. If necessary, you can move them out with a program like Astro File Manager.
By the way, Titanium backup shouldn't work without SU app, so I'm wondering if you do in fact have it. Have you looked through the S section of the App Drawer?
Techrocket9 said:
It's personal preference, but there is a throughly cool free app called Awesome Drop that lets you send files without a cable. When you use it, files end up in the /drop directory on your phone. If necessary, you can move them out with a program like Astro File Manager.
By the way, Titanium backup shouldn't work without SU app, so I'm wondering if you do in fact have it. Have you looked through the S section of the App Drawer?
Click to expand...
Click to collapse
I just went through my S' and all i have are the ones that came with the phone no super user but when u say it shouldnt work what should happen when i open the app?
jdjozwia said:
I just went through my S' and all i have are the ones that came with the phone no super user but when u say it shouldnt work what should happen when i open the app?
Click to expand...
Click to collapse
It should complain about being unable to acquire root privileges.
___
An army of pacifists can be defeated by one man with the will to fight.
yeah when i open it it doesnt say that and it says my root access is ok,
I DL astro and when i open it one of the folders is clockwork mod and if i search i find super user app on my sd card when i reboot my phone by holding the down volume it goes to the hboot screen and askes me if i want to update my phone i say no and then when i go to recovery it does not give me the option to flash the super user app. it takes me to android system recovery with four options. At the very bottom it says E: cant open/cache/recovery/command
?
Is one option to flash zip from SD card?
___
An army of pacifists can be defeated by one man with the will to fight.
How to check if you are root: Assuming you have ADB installed (you used simpleroot so, possibly not) just type "adb shell" into a command prompt. If it comes up with a "#" you are root, if it comes up with "$" type "su" and hit enter, if it switches to a "#" you are rooted. Also you can get a terminal emulator app (I love Better Terminal Emulator) and open it, type "su" and see if it gives you "#".
Did you do the SimpleRoot step where you replaced the recovery with your recovery of choice? I know more than one person that didn't do that step. Though the app should at least still TRY to reboot.
As said before, check your SuperUser permissions to make sure you didn't disallow Rom Manager.
As for CM6, don't get me wrong, I LOVE CM6, but, Fresh 1.0.1 or the latest Damage Control might be a safer bet. For your first rom CM6 needs more coaxing than you might like. Also tethering is installed by default in the 2.1 roms from those guys and it's (imho) easier and more obvious to use.
Keep at it, there will be times you feel like giving up even after you get past this point, just don't take it too seriously and remember that as long as you are still getting phonecalls your phone is still doing it's primary job, the rest is just icing. Icing that gets more delicious with time, like beer, mmmmmm beer.
Where was I?
Oh yeah, good luck!
Crap, forgot, when someone says "put it on the root of the SD card" the easiest way to do that is hook it up via USB, hit the status tray that says "usb connected" and check the Hard Drive option. Then just copy your file to the new drive that will show up in windows (might pop up automatically depending on your windows settings) and boom, it's on the root of the SD card.
As for the "real" way to flash. Do the above, putting the .zip file containing whatever rom you want (for instance CM6, or Fresh 1.0.1 which you can obtain over in Development forum from their respective posts) on the root of the SD card. Safely remove the device (on windows it will be in your status bar, usually looks like a plug with a green arrow, click it, choose Mass Storage Device and then hit Stop, it will tell you when its done, make sure you have the folder closed before you do this or it will grump at you) and switch back over to Charge Only on your phone. Then power off the phone (hold the power button with the phone unlocked, choose Power Off, then Ok) and hold the volume down button. Then press power, don't let go of volume down but you don't have to hold power, just press it to turn it on. A white screen should come up, let go of the volume button, and one option will be Recovery. Use volume up and down to select it and press the power button to select. It should then boot you into recovery which should have an option to "wipe", you want to wipe dalvik cache, then cache, then factory defaults. Then go back up (in AmonRA that means hitting vol-up and vol-down at the same time), then goto "Flash .zip from sdcard" select it, hit power, select the zip file, power again, power one more time to confirm.
Once it's done you hit Reboot System Now and viola, first boot takes FOREVER so don't fret.
alcaron said:
How to check if you are root: Assuming you have ADB installed (you used simpleroot so, possibly not) just type "adb shell" into a command prompt. If it comes up with a "#" you are root, if it comes up with "$" type "su" and hit enter, if it switches to a "#" you are rooted. Also you can get a terminal emulator app (I love Better Terminal Emulator) and open it, type "su" and see if it gives you "#".
Did you do the SimpleRoot step where you replaced the recovery with your recovery of choice? I know more than one person that didn't do that step. Though the app should at least still TRY to reboot.
As said before, check your SuperUser permissions to make sure you didn't disallow Rom Manager.
QUOTE]
where exactly do i type adb shell? when i did the simple root i do not remember replacing my recovery with a recovery of my choice so thats probly where my problem is and i do not know how to check my superuser permissions
Click to expand...
Click to collapse
Techrocket9 said:
Is one option to flash zip from SD card?
___
An army of pacifists can be defeated by one man with the will to fight.
Click to expand...
Click to collapse
no the option i get is update to zip and when i click that it does stuff for me and i cannot choose a file i think my problem lies to not choosing what recovery i wanted?
jdjozwia said:
no the option i get is update to zip and when i click that it does stuff for me and i cannot choose a file i think my problem lies to not choosing what recovery i wanted?
Click to expand...
Click to collapse
It is possible. The program I mentioned earlier (unrEVOked) should install a custom recovery for you. I can't put a link in this post because I'm on my phone, but a quick google search should find it.
An army of pacifists can be defeated by one man with the will to fight.
jdjozwia said:
alcaron said:
How to check if you are root: Assuming you have ADB installed (you used simpleroot so, possibly not) just type "adb shell" into a command prompt. If it comes up with a "#" you are root, if it comes up with "$" type "su" and hit enter, if it switches to a "#" you are rooted. Also you can get a terminal emulator app (I love Better Terminal Emulator) and open it, type "su" and see if it gives you "#".
Did you do the SimpleRoot step where you replaced the recovery with your recovery of choice? I know more than one person that didn't do that step. Though the app should at least still TRY to reboot.
As said before, check your SuperUser permissions to make sure you didn't disallow Rom Manager.
QUOTE]
where exactly do i type adb shell? when i did the simple root i do not remember replacing my recovery with a recovery of my choice so thats probly where my problem is and i do not know how to check my superuser permissions
Click to expand...
Click to collapse
If you just did SimpleRoot (i.e. didn't download the android SDK) you probably don't have ADB installed on your PC. So then you'd want to go the terminal route. Search the market for Better Terminal Emulator
Click to expand...
Click to collapse

[MOD] Hulu Hack GB/ICS 11.1.115.12

Ok guys, so I absolutely love Hulu and other legit TV sites, some of which prohibit mobile devices based on a "flash id" similar to what you have with a User Agent string for the browser. It is based on this ID that it prohibits mobile phones from accessing content such as hulu and HBO (I think?). With this mod your phone will appear as though it is a PC running flash and I believe it also modifies your version number to be something like 99.9.999.99 for sites that try and check the version number. I also must make sure to give credit where credit is due. Credit goes to imneveral0ne who posted the modified lib files in the Thunderbolt forums http://forum.xda-developers.com/show...6#post12433036.
His mod stopped working because Gingerbread (and 10.3) copies the lib files from the APK itself back into the lib folder (/data/data/com.adobe.flashplayer/lib/) on boot, thus require the mod be redone every reboot. I simply took his mod, wrote a simple script that installs the hacked lib files to /data/flash/ at first for storage, modifies permission of /data/data/com.adobe.flashplayer/lib/ so that it can be written to by the script, and also installs a "run on boot" script at /system/etc/init.d/01-fixflash.sh which will copy the hacked lib files from /data/flash to /data/data/com.adobe.flashplayer/lib/. It also adds Hulu Bookmark app (1.0) to /data/app.
REQUIREMENTS:
Kernel with init.d support (most custom kernels with root support) and root
Busybox (for running the copy commands. If you don’t have it, install ‘busybox installer’ from the market once you are rooted)
Root explorer (recommended, not required)
NOTE: I have developed this file FOR gingerbread.
INSTRUCTIONS:
Install latest flash player (11.1.115.12) from the market FIRST and be sure to uncheck automatic updates (and don't manually either)
Make sure busybox is installed. One way to test this is to type cp –help in ADB and see if it can run the command. If it does, you’re good to go.
Next, simply flash the zip. Wipe cache/dalvik if you want (I don't believe it's necessary, although again, this is my first time and for whatever reason the script doesn't seem to want to run on its own the first time)
Upon first reboot, you MAY be lucky enough that it simply just works and you’re all set.If you still get the “Hulu not available for your platform” error, simply use either root explorer or adb to run the script for the first time manually. In root explorer, navigate to /system/etc/init.d, tap on S98fixflash and select “execute”. In ADB, navigate to /system/etc/init.d and type ‘sh S98fixflash’. Wait a sec for it to run, then try Hulu again. It should be working immediately (without a reboot required) AND the script should then run correctly on subsequent reboots.
Like I said this is my first "product" I've been able to make available to the community and am more than open to suggestions, criticisms and ideas of how I can make this script better. Enjoy guys!
EDIT: If you do have issues with the script not running on every reboot, simply install "Script Manager" from the market, navigate to /system/etc/init.d, select S98fixflash and check the "run on boot" checkbox.
NOTE: ICS Only version now (least as far as I know). May work on others, please let me and others know if it does work on GB
File is now attached to post due to multiupload being unavailable -
UPDATE 6/26/2012 for 11.1.115.12
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
ahh too much to do
cba
Sorry, lots of explaining. If your rooted just update flash to latest in market, uncheck auto update adobe flash, then flash the zip. Should just work like it did on my gsII.
Sent from my GT-I9100 using XDA App
A query
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
sileshn said:
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
Click to expand...
Click to collapse
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
compuw22c said:
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
Click to expand...
Click to collapse
No problem. I already made the necessary changes. Will help others.
Sent from my GT-I9100 using Tapatalk
Cool. Also, it did work for you after those changes correct?
Sent from my SPH-D700 using XDA App
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
Sent from my GT-I9100 using XDA App
update 9/5/2011 for 10.3.186.6 AND hopefully fixed data mounting issues on certain devices so it works easily on CWM on more devices
NOTE: Latest update includes a brand new flashplayer.so files freshly edited, so no more issues with youtube in the browser, and uses TRUE flash 10.3.186.6 libraries for increased performance (no longer based on 10.2)
does nothing no matter what on kh3 deodexed
I'm using it now on litening 6.1 (kh3) just fine with nymphetamine kernel. This thread is also in the epic 4g forums. Troubleshooting instructions are there a well as the op. Understand what the mod does by reading, then find out where its getting hung up. I guarantee if you read you'll find your problem. Sorry but I keep having to help people read my own posts... First guesses, reflash, check to see files were installed, run busybox installer,.try another kernel with working init.d support... Run script manually?
Nice work. Any way of getting this to work for HC on the Xoom?
Maybe, try it let me know. Our buy me a 10.1
compuw22c said:
Maybe, try it let me know. Our buy me a 10.1
Click to expand...
Click to collapse
LOL! Nah didn't work for me.
Actually I feel I remember it working fire xoom.maybe try the manual troubleshooting in the op. find and replace libflashplayer.so with what's in the zip
it won't let me even flash the file says:
E: Error in /sdcard/gb_hack_flash_hulu10.3.186.6.zip
(Status 0)
Installation aborted.
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Beautiful, tried so many things in the past, and this works beautifully! Thanks!
Um, at the risk of sounding like a complete euro-dummy: What is Hulu, what does this hack do? Perhaps a bit of description in the first post?
ogdobber said:
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Click to expand...
Click to collapse
Yes but when you reboot with 2.3 or higher it replaces those files again back to stock.

[How-To] Disable System Updates & Clear Notification

I have seen a lot of posts here asking about how to disable system updates and make that annoying notification go away... So I figured I would post a complete how-to here...
Please forgive my poor syntax for now...I'm typing this on an iPad, I will update this, make it look nice and pretty, and add photos and links when I get home.
REQUIREMENTS
-ROOTED PHONE
-A KERNEL WITH A NON-STOCK RECOVERY (CWM/ROGUE/ETC..)
Disclaimer!!!!
I AM NOT RESPONSIBLE FOR ANY BROKEN PHONES, I HAVE TESTED THIS ON MY PHONE, IT WORKED FINE, THIS HAS ALSO BEEN MY PROCEDURE FOR DISABLING UPDATES SINCE MY G1 AND ALL MY PHONES IN BETWEEN (freeze update package, clear cache)
Also, please read the post in full before doing anything!!!
---
First of all, how do we disable those pesky system updates?
I'll show you a way to do it without any paid apps, you can even do it from adb or quicksshd! (REQUIRES ROOT)
First of all, go and download "terminal emulator" from the market, or if you have adb it can be done via adb-shell or with quicksshd.
you have terminal emulator installed...now what do you do?
Fire it up and type the commands as follows (don't type in the "$" or "#", these simply mean next-command as user and root, also don't type anything in brackets as these are only explanations of what the command is doing)
$ su
[this grants terminal emulator root, accept the permissions]
# pm disable com.samsung
[this disables or "freezes" the package required for system updates]
So what does this mean?....ALL SYSTEM UPDATES WILL BE DISABLED, THIS INCLUDES PRL AND PROFILE UPDATES!! to make sure it worked, go to settings>about phone>system updates, it should shoot you back to the main settings menu.
If you need to reverse this procedure to update your PRL or Profile, type the following:
$ su
[again...grants terminal root]
# pm enable com.samsung
[this enables or "unfreezes" the package required for system updates]
---
But what about that stupid notification? The commands above wont make it go away!!!!
To make the notification go away, simply choose click on it and choose "install" and let it reboot and do its thing....it's not going to work!!!
Why does it lock up on the update, giving you that android and triangle? The default system updater requires a STOCK recovery, as long as you have a kernel with a CWM based recovery installed, it will be impossible for the update to complete
as soon as it locks up hold your power button down and reboot, it will kick you back into CWM recovery, now while here, clear your cache (as that's where OTA updates are stored), i also clear my Dalvik Cache but it may not be necessary, and reboot....now your back in your rom!!!
Finally, before your phone checks for updates again...freeze com.samsung....no more notification, and until you unfreeze com.samsung, it won't bother you about it again.
This may be a dumb question but have to ask or won't know. If I stay with my current rom and have already updated prl and profile I won't need to do that anymore unless I flash another rom.
Normally you won't need to do it when you flash another ROM either, but there can be situations where you need to.
PRL update isn't that useful (at least the ones Sprint gives you) as these days they are just getting rid of more 3g roaming.
Profile update can solve data login issues which arise either from messed up NVRAM or from activating another device, then re-activating your phone.
I usually only update PRL/Profile if I have data connectivity issues, otherwise you shouldn't have to update even if you flash new roms over, usually I need a profile update about once every month and a half or so...give or take.
Just keep in mind that com.samsung is part of the rom, and flashing a new rom will render com.samsung active again
Another nifty tip....the above commands to freeze com.samsung will work for any app as long as you know the com.whatever name.
Titanium "freeze" does the same thing if you like GUI interface.
sfhub said:
Titanium "freeze" does the same thing if you like GUI interface.
Click to expand...
Click to collapse
Do you need to freeze all four (at least on my phone there are four) com.samsung files?
This does seem like an easier way for those of us not familiar with emulator commands.
In titanium backup, the only thing you need to freeze is "System Updates"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Im gonna spruce this guide up as soon as the disaster known as "finals week" is over.....
I went ahead and pm disable com.samsung BEFORE the update push to my phone. Hopefully I will never get the notification since I am happy on Calk 2.0 and EG30 baseband/modem.
Edit:
Thanks starnostar, this works for me.
If you use Swype it may cause you a problem with adding uppercase I to "dIsable" causing command not recognized. Open any input such as google search (any input that open the keyboard will do). Touch and long hold on the input until the input method dialog pops up. Change to Samsung keyboard (ET4G). You can change back to Swype afterwards.
FYI Freeze is only available in the Pro version of Titanium (currently $6.58).
Use antek file manager its free and let u freeze.
Sent from my SPH-D710 using Tapatalk
Or.....you can just edit build.prop to say 2.3.6 & EL13.
12MaNy, where is that file located?
syco123 said:
12MaNy, where is that file located?
Click to expand...
Click to collapse
Its in system. Just open root explorer then go to system and long press build.prop and select "open in text editor". Then change build version to 2.3.6 & EL13 wherever you see it (as applicable). Then click menu key/save. Then back out of root explorer and power down phone then power back on (hot reboot won't work). Then update profile and prl. You might get it one more time after that but that should be it.
Here's a couple images to show you what it will look like.
http://db.tt/p2857Sqz
http://db.tt/bFOZhKni
12MaNy said:
Its in system/media. Just open root explorer then go to system/media and long press build.prop and select "open in text editor". Then change build version to 2.3.6 & EL13 wherever you see it (as applicable). Then click menu key/save. Then back out of root explorer and power down phone then power back on (hot reboot won't work). Then update profile and prl. You might get it one more time after that but that should be it.
Click to expand...
Click to collapse
It is actually in /system
Just backup the original because if you ever want to get a patch-style OTA update, you are going to need to original.
Personally if all you want to do is disable the notifications for updates the pm disable in the first post is pretty simple and won't have any negative effects on updates as you can enable it when you want them.
Alternatively you could try forcing the update to fail by installing it while having some files changed. It may ask later, but so far hasn't asked me.
sfhub said:
It is actually in /system
Just backup the original because if you ever want to get a patch-style OTA update, you are going to need to original.
Personally if all you want to do is disable the notifications for updates the pm disable in the first post is pretty simple and won't have any negative effects on updates as you can enable it when you want them.
Alternatively you could try forcing the update to fail by installing it while having some files changed. It may ask later, but so far hasn't asked me.
Click to expand...
Click to collapse
Yep! Sorry....damn word prediction. Post corrected
....and root explorer auto saves original as .bak file
Thanks guys,
My problem was Swype adding an uppercase I to "disable" causing the command "dIsable", which I didn't notice (doh!). I changed the input method to the basic keyboard temporarily, tried again and so far 12 hours later no message.
The original method was easy, quick and works.
starnostar said:
In titanium backup, the only thing you need to freeze is "System Updates"
Im gonna spruce this guide up as soon as the disaster known as "finals week" is over.....
Click to expand...
Click to collapse
Didn't work for me. I froze it a week ago and just started getting update notifications again today.
I think most of the ROMs in the dev section have been updated to EL13, so just update your ROM/modem and there's no need to fiddle with freezing system updates or modify build.prop.
_MetalHead_ said:
Didn't work for me. I froze it a week ago and just started getting update notifications again today.
Click to expand...
Click to collapse
Yep, they're back for me too.
---------- Post added at 05:42 PM ---------- Previous post was at 05:41 PM ----------
12MaNy said:
I think most of the ROMs in the dev section have been updated to EL13, so just update your ROM/modem and there's no need to fiddle with freezing system updates or modify build.prop.
Click to expand...
Click to collapse
I like the stock ROM but with the bloat removed. Is there a ROM like Starburst with EL13?
Thank u sir...(Starnostar)
Just Froze mine (updates) with Titanium...

[Resource] Epic 4G Touch Owner's Toolkit

I did this for the EVO 4G so I'm going to do it for the E4GT. After watching people ask and sometimes search and ask again for the same things over and over, I thought it would be a good idea to have one thread to hold all of these valuable resources, basic tips and tricks. Many of these links will be found in multiple locations, forums, threads and posts and I will try to keep this single thread updated with links to as many resources as we can come up with.
There are already several great posts like this. Barnacles has the incredibly informative E4GT Wiki stickied in General (hopefully this can contribute to that wiki), Qbking has his threads with links to his excellent video tutorials, and sfhub posts up all sorts of goodness with his Auto Root and stock tar threads. But I didn't really find a thread devoted to just basic methods and problem solving. This thread strives to provide a collective space for learned knowledge, quick tips and fixes for common issues.
If this isn't needed or wanted, it will surely fall to the XDA basement no harm no foul If it has any value, then hopefully it will help a few people in their endeavor to create the best personal Android experience possible!
I take no credit for many of these items, I have only gathered and edited most of them for a one-stop easy shop opportunity. All fixes have been edited for clarity and efficiency with links wherever possible. Please let me know of any broken/missing links or errors. Links to the original source are provided when possible. I have not run all of these fixes personally, but try and confirm fixes I don't test by finding at least three user corroborations for each.
If you have questions on a specific fix with a Source listed, I recommend directing questions/issues to the original source for best results. Otherwise feel free to ask here and we may be able to assist. ~js
Like my EVO Owner's Toolkit, this is a work in progress and a living document. I try to keep it up to date and appreciate new information, suggestions and knowledge which can be added to the OP's. I always provide credit when possible/applicable.
Epic 4G Touch Owner's Toolkit​Updated: January 6, 2011​
Always make a NANDROID before you do anything!​
If you have any questions/needs that are not listed here, I recommend starting with a Search and reviewing ☞ ☆.☆. [WIKI] ROOT, ROMs, KERNELS, MODEMs, HOW-TOs
If you still have questions/concerns, post 'em!
E4GT HOWTO's
How to make a nandroid backup (as requested)
Make sure you have your setup where you want it (I usually update all my apps in the market and do a Titanium Backup before my Nandroid as well.)
Boot into recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Navigate to Backup and Restore and press [Power] (or [Home] soft key depending on your recovery version)
On next screen select Backup and let it do it's thing
Reboot and you are good to go.
*The backup will look something like 2011-12-26.03.00.15 and likely be in /sdcard/external_sd/clockworkmod/backup.
If you decide to rename the backup, make sure that there are no spaces in the name. (I.e. 2011-12-09_Calk_2.0_EG31 would be fine, while 2011-12-09 Calk 2.0 EG31 would be a no-no.)
Hands Free Activation A way to improve data speed and stability, address data or wifi issues, etc. (especially after flashing a new modem):
Make sure you are not roaming (WiFi is fine, even a poor signal is fine, but roaming can mess with things.)
Make sure you don't have system updates removed or frozen in titanium backup
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and if using swype make sure the "i" in "ril" doesn't auto capitalize. Use another kb if necessary.) **alternate method below.
Go to dialer and enter ##72786#
Enter your MSL and hit OK
On the SCRTN screen select yes
Phone will auto reboot and take you to Hands Free Activation
If you have an SD card, media scanner will do its thing first.
Re-activation will initiate, let it run (DO NOT TOUCH THE SCREEN, no need to Press OK it will continue on its own)
Phone will then update Profile, then PRL, (you can select cancel when it searches for Firmware update if you want)
Phone will reboot again
Also a good idea to pop out your battery for a few seconds (many have reported this helping and Sprint usually has you do this during the process.)
That should improve things.
**Alternate Method for obtaining MSL for those having trouble with original method after upgrading to ICS
Download the alogcat app from Market
Open alogcat. Press the hourglass and type "msl" and wait while it filters. The screen should go blank.
Press your Home button
Go to your dialer and enter ##3282#
When the menu pops up choose Edit and when it asks for your msl, enter 6 random numbers. You will get an error message.
Long press the home button to bring up recent apps and choose the alogcat app.
At the bottom of the list it will say "MSL result : XXXXXXX" where xxxxxx is your MSL number.
That's it.
(*Unfortunately MSL Reader app in market only works on HTC CDMA phones.)
Click to expand...
Click to collapse
How to boot into 'Safe Mode' should you need to for any reason
Hold Home softkey while rebooting
That's it you are in 'Safe Mode' (I don't know exactly what you can do in safe mode, but probably similar to Windows safe mode.)
Click to expand...
Click to collapse
How to extract an apk from a ROM/zip (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired apk(s)
Double click the zip and it will open in your default zip program
Navigate to system/app and drag the desired apk(s) to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy apk(s) to your SD
That's it, you now have the apk(s) on your phone and can proceed with double clicking and installing the app or if a system app to the next tutorial for installing a system apk.
Click to expand...
Click to collapse
How to remove a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Open Root Explorer (or ROM Toolbox Root Browser) and navigate to system>app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
Hit OK and your free of the undesired app.
CAUTION: make sure you research before randomly removing things or you are likely to bork something. A good list of items that have/can be removed successfully in naerok's incredibly streamlined ROM can be found in Post #3 here.
Click to expand...
Click to collapse
How to install a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Download or extract the desired app apk and place it somewhere on your SD where you can find it (I highly recommend Dropbox for this)
Open Root Explorer (or ROM Toolbox Root Browser or ES or Other) and navigate to /system/app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
If moving, navigate to the place you want to store the original apk using the Parent Folder line at the top
Paste to the desired location then go to the place with the new/replacement system apk
Longpress the replacement apk and choose copy or move
Navigate back to /system/app (should still be mounted) and paste the replacement apk
Longpress the replaced apk and select permissions
On the permissions pop-up leave all three in the first column (Read) checked, only the top item in the middle column (Write) checked and none in the third column, (Execute) and nothing else checked.
Hit OK and enjoy! Your permissions should now read (rw-r--r--)
Click to expand...
Click to collapse
How to extract a bootanimation from a ROM (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired bootanimation.zip
Double click the zip and it will open in your default zip program
Navigate to system/media and drag the bootanimation to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy bootanimation.zip to your SD
That's it, you now have the bootanimation zip on your phone and can proceed to the next tutorial for installing/replacing a bootanimation
Click to expand...
Click to collapse
How to replace/add a boot animation
Download or extract a bootanimation.zip
Place the bootanimation.zip on root of your SD card (or use a cloud app i.e. Dropbox, Minus, Box, etc.)
Make a copy of the bootanimation and name it sanim.zip and move that to your SD card as well
Open a root manager app (I prefer Root Explorer)
Navigate to system/media
Select Mount R/W (top right in Root Explorer, on by defauly in ROM Toolbox) then either delete, or move existing bootanimation.zip and sanim.zip
Navigate back to sdcard, then copy or move bootanimation.zip to system/media and then repeat with sanim.zip
Some people replace only the bootanimation.zip and others only the sanim.zip, but I find each of those methods seem to create issues if the kernel you are running does not support custom bootanimations by default. So I replace both zips and it has worked well on multiple ROMs/Kernels. If this doesn't work for you, try replacing each individually. One of the three methods will definitely work for your ROM/Kernel combo.
User 12MaNy has created a thread with several bootanimations available as well some methods for install
Boot animation sounds can be found/added at /system/etc/poweron.wav and /system/etc/1_Power_on.ogg (may be listed as /system/etc/poweron.bak and /system/etc/1_Power_on.bak if these have been "muted".)
Also make sure to check and see if your dev has already moded the boot ani setup as nerys71 discovered here.
Click to expand...
Click to collapse
How to hack custom bootanimation support (Via chris41g) Only works with source built kernels. Thanks dtm_stretch.
Rename /system/bin/samsungani to something else... (eg samsungani.old)
Rename /system/bin/bootanimation to /system/bin/samsungani
After that it will load whatever bootanimation is at /system/media/sanim.zip
Click to expand...
Click to collapse
How to add/restore/change bootanimation sounds (you'll need a program like 7-zip, winrar, etc.)
Open the ROM zip that you want to run
Navigate to /system/etc/ and look for poweron and 1_Power_on
If they appear as poweron.wav and 1_Power_on.ogg you are good to go
If they appear as poweron.bak and 1_Power_on.bak you need to rename them as above
If they don't exist, you will need to add them to this location or replace them with similar sized sound files of your choice. Make sure to keep the filenames and formats as above
Click to expand...
Click to collapse
Stuck at a black screen, bootanimation, etc
No need to jump through all sorts of hoops. Simply download and flash a different CWM Kernel. You can try it first by holding down [Power] + [Vol. Up] until it takes you to recovery (it may reboot once or twice, just keep holding.) If it never does take you into recovery, you can flash a kernel via Odin. Once you have the kernel flashed you will either be up and running on your new ROM or you can now go into recovery and flash the ROM of your choice.
*Assumes you were rooted to begin with as you are in this thread and have previously flashed the ROM.
Click to expand...
Click to collapse
Lockscreen/Reboot Issues
If you are having issues with reboots and resets and are using a 3rd party lockscreen or the native lock pattern, make sure that the selected custom lockscreen is "None"
Settings>Lockscreen Settings>Lockscreen Settings>Lockscreen style>None
Click to expand...
Click to collapse
SOME HOT LINKS TO OTHER GREAT HACKS, MODS AND FIXES
[How To] Upload a custom PRL to your Epic Touch 4G by R1ptide Thanks to TonyTurboII for the recommendation
I used to use a similar hack from Techknowfile back on the EVO 4G and it did work well, just make sure to be aware of the risks if you overuse data while roaming.
Click to expand...
Click to collapse
Always make a NANDROID before you do anything!​
► New Modems - First, do not run out and flash the latest modem just for the hell of it. Use some restraint and think before you act. There are sometimes unknown hazards, such as the issue of no return from the EG31 modem to EG30 a few weeks back. Consider why you want the new modem. Are you having legitimate issues or do you just want the latest stuff? It's your phone, do as you please, just remember that you had a choice if something bad happens, like being stuck on an unofficial build.
► LoS issues - LoS issues really should be a thing of the past since the EK02 and EL13 modems emerged, but if for some reason you have not moved to those modems and you are having LoS issues flash a stock kernel! I prefer Rogue *STOCK* kernels, but pretty much any kernel listed as "stock" should help.
► Data/signal Issues - If you are having data/signal issues after flashing a modem, perform a Hands Free Activation, if that doesn't work, try pulling the battery for a few seconds (thanks Guillo1). If that still doesn't work you may need to call Sprint.
► Poor Battery Life - If you have poor battery life make sure you have calibrated your battery and given yourself several full charging cycles. And use either Battery Repair (Doctor Boost) ($2.69) or Battery Calibration (FREE). User evolart passed on this method as well: Best way to calibrate S2 Battery. I'm not quite ready to believe that calibration does nothing for us, but this is an alternative method to try for those who feel compelled. I sent messages to both app developers. I'll test and keep an eye out for other user's opinions and update this as necessary.
► Bootloops? -
Make sure that you have a default launcher selected and if using a 3rd party launcher that it is NOT set to auto update in the market as an update overnight would leave you without a default selected. (Thanks to 1BadHEMI, rickyq12 and playya for jogging my memory.)
If that didn't solve it and you are absolutely sure you wiped properly, you probably didn't so you might want to try that again. Recovery > Wipe Cache + Dalvik cache > Reboot (see Issues Flashing ROM below re: wiping)
If that doesn't work, flash a stock kernel via recovery or odin and start from fresh ROM again. This time let everything settle in before applying any changes (voltage tweaks, themes, mods, new apps, restoring settings, etc.)
► Issues Flashing ROM - If you are having issues flashing a ROM or an update here are some tips.
With some ROMs like Calkulin's ROMs, you generally do not need to wipe anything when going from one version to another. Just boot into recovery and apply the zip, his wipes for you. I have had the most success doing this and the Dev will note otherwise if the process changes. (It doesn't hurt to wipe cache + dalvik cache, so do that if you are fearful of not wiping anything.)
If coming from one ROM to another, you should wipe everything. I do it manually and use the Format_All zip, but you can do it anyway you like so long as everything (cache, dalvik, system, battery stats) gets wiped at least once. Some format system for good measure, I don't. Your choice.
If you have done either of these processes and are having issues it could be anything from a bad download to wiping issue to bad luck. Do it again and take a look at the Bootloops note above.
► Google Voice - when I answer my phone I get a recording where I have to press 1 to answer
Open Google Voice > Options (gear icon top right) > Voice Settings > Calls > Call Screening > toggle to "Off"
► Apps Issues - Apps missing, not working, acting strangely?
Reboot your phone
Reboot your phone
Reboot your phone
Fix permissions (ROM Manager > Fix Permissions or boot into recovery > Advanced > Fix permissions)
Clear app data (Settings> Applications > Manage applications > All > [the app] > Clear data)
Uninstall and reinstall the app
If it is something like Google music, Amazon Appstore, Spotify, etc. you may need to go to the web and clear some connected/authorized devices from the settings, there is a limit.
► Fresh Start - If you've tried everything else, try flashing the STOCK EG30 TAR or Stock EL13 TAR via Odin. Either will help you start fresh.
► More Links And a whole bunch more useful links in qbking77's thread.
► Post Logs - Super easy way to grab logs and post them for review. Install a log collector such as aLogcat and Pastebin from the market. Then run alogcat after the event, click share from the log and select Pastebin from the popup list. Copy the URL it provides you and send that or post it here.
GPS Fixes
Various fixes. If one doesn't work, try another. More posted as they come. Unfortunately, everything I have posted in this GPS fix section is sketchy at best, working for some not for others. Right now it is the best we have so it doesn't hurt to try, but remember, YMMV.​
Using the Supersonic GPS Driver Thanks
Download one of the drivers below. (CM7 version shared by ebuechler3 and daryelv and "flash3" version shared by colorado_al, thanks to lunchboxVA for pointing it out.
Download GPS Status and Toolbox App from the Market.
Boot into Recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Wipe cache + dalvik cache
Flash the zip
Connect to GPS
Turn on GPS Status and Toolbox and let it get a fix
Turn on the map/nav app of your choice and let it get a lock
*Lock should be significantly faster than before the flash (mine went from just under 5 min. to about 11 seconds.)
You'll want to come back and try again later in the day to make sure it's still working. You may have to flash again when changing ROM's making mods. Good thing it's easy
UPDATE: user adma84 brings up a good point in that this driver does not appear in /system/lib/hw after flashing and I am actually unable to locate the driver anywhere in /system at all. I am going to see if I can get any sort of explanation, but as of now the jury is out in if/how this fix actually works. I can confirm that I did extensive controlled testing on this process and I definitively experienced a quantifiable improvement in lock time and duration, however whether the improvement was coincidence or a result of flashing the zip is unconfirmed. I can also confirm that flashing the zip does nothing bad so that you should have nothing to lose by flashing it irrespective of whether it is actually proven to work or not. I will update if I learn anything new on this.
Click to expand...
Click to collapse
GPS Status & Toolbox Fix
Download GPS Status & Toolbox from Market
Enable GPS
Open GPS Status & Toolbox
Menu > Tools > Manage A-GPS state > Reset
Menu > Tools > Manage A-GPS state > Download
Menu > Tools > Compass calibration > follow popup directions
Other app options that I've had occasional success with are:
All FREE and found in the Market, Faster Fix, GPS Fix and GPS Test Each of these just seem to act as a catalyst to get things moving. I haven't had consistent success with any of them, but in a pinch these are three that I use.
Click to expand...
Click to collapse
GPS EPST (##GPSCLRX#) Fix
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and don't use stock swype as the "I" malfunctions.)
Launch phone dialer and dial ##GPSCLRX# (##4772579#)
Enter the MSL Number from above as the password
Your phone will automatically reboot
Once booted back in the ROM open Maps or Navigation and obtain a GPS fix (This is an important step!)
Click to expand...
Click to collapse
GPS Configuration tweaks post by Xenova
These tweaks have been around for a long time. I used them on MIUI on the EVO 4G and they seemed to work really well for some and not for others. This is definitely work a look if nothing else is working for you.
Click to expand...
Click to collapse
Exchange the Phone
Sadly the other option is to take your phone back to Sprint and see if you can get a new one. Several people have claimed to get better signal on a new handset. That wasn't the case for me, but my exchange was very early on after release of the phone, so who knows what hardware changes may have occurred since then.
Click to expand...
Click to collapse
Get Free Storage and Mount it as a Virtual Drive​
This is how to get a ton of free storage space and then mount it as a virtual drive on your Windows PC (sorry, haven't tested the Linux method personally and don't have a mac, but I'm sure someone slick can figure out a method based on my post.) The free storage is from Box.net and GMail. These are both workarounds/mods and neither method is sanctioned by Box.net nor Google. These have worked for me for quite awhile, but I am in no way responsible should either entity decide to penalize your accounts for use of these methods. Use at your own risk.
Box.net 50GB Promotion (there are several great tutorials on this hack here at XDA, I used tomcat420m's as I felt is was really clear)
This is a limited time promotion offered by Box.net for a free 50GB account upgrade for owners of LG PHONES. Some slick users came up with a method of modifying the build prop in order for any Android user to take advantage of the offer. It's a free 50gb Account and raised upload limit from 25mb to 100mb. The promotion ends 3/30/2012, but the 50GB is free forever. Here is the official promotion page Box.net.
Now hit the link to tomcat420m's tutorial and grab you some free space, then come back here to learn how to mount it as a drag and drop virtual drive!!
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Windows 7 (XP and Vista may works as well.)
Install MS Software Update for Web Folders or (\Downloads \MSWebfldrs-KB907306-ENU)
Open Windows Explorer
Right click on Network
Select Map Network Drive
Click on link (Connect to a Web site…)
Click Next
Click Choose custom network location, then Next
In the address bar paste http://box.net/dav
Click Next, then enter your box.net user name and password and click OK
Name your drive and drag it to link to the Favorites bar
Repeat the process with a second Box.net and so on for a whopping 50GB of storage per virtual drive!!
*Alternately, there are many services that let you mount multiple accounts such as Otixo which is free and Gladinet which is limited for free.
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Linux Thanks to Benjamin Kerensa for his howto on this.
What you are going to do is mount a WebDAV filesystem on Linux so that you can access the files like you do with any other folder on your desktop.
Open a Terminal window and install davfs2 by typing:
Code:
sudo apt-get install davfs2
Create the mount directory by typing:
Code:
sudo mkdir /media/box.net
Mount the WebDAV system:
Code:
mount -t davfs https://www.box.net/dav /media/box.net
(Note: The HTTPS should create a secure connection so your authentication will be safe)
Add your username and password:
Code:
sudo nano /etc/davfs2/secrets
echo “https://www.box.net/dav username password” >> /etc/davfs2/secrets
Benjamin notes you can access Box.net via Nautilus using WebDAV:
Just use Connect to Server to dav://www.box.net/dav and make sure to select Secure WebDAV.
A slightly different method by Andrew Martin can be found here.
======================================================================================
Mount GMail Storage as a Virtual Drive on Windows 7 (7.48GB per account)
DL and Install Gmail Drive Shell extension
Double click on the new mounted drive "GMail Drive"
Enter the credentials for one of your GMail accounts
Sign in and let it authorize
Download Gmail Drive Config utility from Convivea
Right-click the gmail_drive_config file and 'Run as administrator'
Click Add Drive
Enter a unique Label and another GMail user account name
You should receive a pop-up confirmation that reads:
DllRegisterServer in
C:\Windows\system32\ShellExt\GMFS004.dll succeeded.
Click to expand...
Click to collapse
Close all explorer windows
Re-open an explorer window
The new drive will appear under Computer after the last drive
Double-click this new drive to enter the password and login
Close all explorer windows...
Repeat steps 6-12 to add up 999 Gmail accounts
An neat little trick to Gmail Drive is that every file that shows up in your Gmail Drive is visible in your Gmail account with GMAILFS: somewhere in the subject. Gmail Drive can even organize files into folders based on the subject.
For example, sending yourself an empty email with a subject of GMAILFS: /music/ should create a music folder in your Gmail Drive. Then sending an email with an attached file called my_song.mp3 with the subject GMAILFS: /music/my_song.mp3 should place my_song.mp3 into your music folder in Gmail Drive, browsable with Windows Explorer.
I also setup filters to automatically label and archive any message with GMAILFS with my label of choice GMail Drive which keeps these all together and keeps my inbox tidy.
Warning: Be aware that if you upload too much too soon Google is likely to temporarily freeze your account for "Unusual Usage". Also, there's still a number of limitations of the file-system (such as total filename size must be less than 65 characters). Since the tool hooks up with the free Gmail Service provided by Google, changes in the Gmail system may break the tool's ability to function so there is no guarantee that files stored in this manner will be accessible in the future. The file size is limited to the same restrictions as Gmail attachment size, which I believe is 25mb.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just because.
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
JohnCorleone said:
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Lol, thanks. This is just a rough draft. It will be much more complete when I can get to it.
As far as sticky, I'm going to see if I can get it in Barnacles wiki. Jerdog wants to keep that first page clean, which is a good thing. I'll bump it from time to time as I keep it updated.
Sent from my SPH-D710 using xda premium
Wow! Definitely some good info for the newbies. Nice work man
Sent from my E4GT
One word. Awesome! Thanks for this. Hopefully it'll save alot of future questions.
Sent from my SPH-D710 using Tapatalk
Great job with this.
qbking77 should be dropping in soon
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
dtm_stretch said:
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
Click to expand...
Click to collapse
Thanks! Alot of these are a couple of months old and most were in relation to Starburst ROM, so I am in the process of updating everything now. Hopefully others will follow your lead and let me know of any quirks such as the bootanimation hack.
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
cds0699 said:
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
Click to expand...
Click to collapse
Thanks. Gotta respect qbking's work. He puts in some serious time making those awesome videos. There are some definite high powered users here and I think the more users that can contribute the better.
I'm hopeful that between qb's vids, Barnacles wiki, contributions like sfhub's and this thread, we can help the devs focus on dev'ing ROMs and Kernels rather than wasting time answering the same old played out questions over and over.
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
dr_gibberish said:
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Click to expand...
Click to collapse
Yes, definitely missing something. Are you following each step exactly? What happens after it reboots?
Drumrocker said:
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
Click to expand...
Click to collapse
Done.
JasonK75 said:
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Don't listen to this guy, he moved to MI willingly LOL Where you been?
stretchwookie said:
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
Click to expand...
Click to collapse
Really easy to do.
Download font apk
Install font apk
Go to Settings > Display > Screen display > Font style > choose the font you want
That's it
You can start with this FlipFonts. Also, a collection of font apk's you should be able to use here and a how to create your own thread here.

[Guide] How to Install Ubuntu On Galaxy Nexus

First before I start. I just wanted to say that this is not my work. This is simply a guide
to assist other galaxy nexus users who would like to run ubuntu but don't have an understanding
on what they should be doing precisely. The original thread called "linux on android" will be
posted at the bottom of the thread for those wanting to thank the original author. I couldn't
find a guide specific to our device hence the creation of this one. If this has not been posted
in the correct area, moderators please feel free to move it to the correct subforum.
Here is the part where I say, I'm not responsible for anything that happens to your phone. You do
this at your own discretion. This is something to tinker with for anyone who likes to mess with
their phone and show off a little bit.
Also be sure to follow my instructions exactly how I write them to avoid any unnecessary confusion.
As a base, I am using AOKP B39 and franco kernel Nightly 192.
If you have terminal emulator or androidVNC currently installed please clear app data and uninstall.
This of course is to be extra careful.
First things first: You want to have root and a kernel installed that has loop device support.
Like I've mentioned already, I am using Franco Nightly 192 and it is working perfectly fine
therefore I see no reason why it should not work for you. Best results in my opinion will come from using my
ROM base and kernel.
Next here are links to the following files you need. These files are quite big and there are 3
different kinds. The difference between each kind is explained on the page. Remember to keep in
mind how much space you must have on your phone before downloading a file. You don't want to waste
your time downloading the full image if you don't have the space to install it.
Here is the link to the full/small/core images. Download the version of ubuntu you wish to run on
your phone and make sure it is the latest which as of today is dated June 8th 2012.
Remember that the "core" version is for experienced ubuntu users only as it has no GUI. only
command line.
http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/
Once you have downloaded the image you wish to run. You may extract the img file from the zip file
using 7zip or winrar. Both work perfectly fine. You will notice that once you extract the file
there is a ubuntu.img and an ubuntu.img.md5
The md5 file is a checksum file, if you wish to validate the integrity of the file you just downloaded
go ahead and use a program such as cygwin to compare the md5 hashes.
Moving on, once you have extracted the ubuntu.img file. Move the file onto your galaxy nexus
internal memory to the root of your sdcard inside a folder named "ubuntu".
If you have done this correctly your directory should be as follows. /sdcard/ubuntu
Next you want to download the bootscript which I will attach at the bottom of this thread. Extract the ubuntu.sh file from the zip i posted below.
Once you have downloaded the ubuntu.sh file I have attached. You need to place that file in
the same /sdcard/ubuntu directory where your unbuntu.img file is located.
To confirm you are on the right track you need to install terminal emulator from the
google play store as well as install androidVNC. Once you have both apps freshly
installed you can go ahead and open up terminal emulator, grant it superuser permission
and then type the following:
su
(followed by the enter key) you should see the $ turn into a # symbol.
Next you type:
cd /sdcard/ubuntu
(again followed by the enter key) now your directory should be changed to the /sdcard/ubuntu folder
Next command:
ls
(once more followed by the enter key) This should list all files currently in the folder if you
see ubuntu.img as well as ubuntu.sh listed then you are right where you need to be.
Once you have confirmed that both files are listed we can go ahead and start the process of starting
up ubuntu. In terminal emulator type the following:
sh ubuntu.sh (all commands are followed by enter key by the way)
Terminal emulator should start the launch sequence then ask you if you want to start VNC server.
Type "y" then hit enter. Type "y" without quotations of course.
Next it will ask you if you want to start the ssh server. Again type "y".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Next it will ask you for the screen size you wish to use. You can choose whatever resolution you
wish to use. I like to use the nexus native resolution which is 1280x720.
Therefore I type "1280x720" and press enter.
Next it will ask you if you would like to save your settings type "y".
Finally your terminal should say "[email protected]:/#"
Now you are ready to start up androidvnc. Press the home button and DO NOT EXIT terminal emulator.
Once you open up android VNC enter the following information:
nickname: ubuntu
password: ubuntu
address: localhost
port: 5900
Check off the keep password option then scroll down to the botton of that page where it says
Color Format and change it to 24-bit color (4bpp)
Then press connect and voila whatever ubuntu version you downloaded should start up. The mouse should basically be used as if the screen was a track pad.
Exiting ubuntu is also easy. Just hit the settings button and a prompt should pop up with an option that says disconnect. Simpy disconnect then switch over to terminal emulator which should still be running and type:
exit
Wait around 30 seconds and it should say It shut off correctly. Type exit once more and It will close the directory you were in. One more exit and terminal emulator will close itself.
The next time you want to load up ubuntu just open up terminal emulator follow the first 2 steps and once you load up ubuntu.sh your config file should be loaded and you will be able to skip all the tedious settings. Then go over to androidVNC and your settings should also be saved. All you do is hit connect and you should be good to go.
Good luck and hope you all enjoy it. I'll post pictures of the steps that I think will be helpful. Also if this helped you out. Hit the thanks button please.
Also don't forget to checkout the original thread for further information and details.
http://forum.xda-developers.com/showthread.php?t=1585009
This looks awesome, downloading atm and will test on Rascream/Trinity
Edit: Seems that trinity kernel doesnt support loop so it wont work.
in april i buyed the paid version of this app (ubuntu,because months ago backtrack and debian wasn't released i think)but never ever tried due to many probems\errors on vnc.thank you very much for this guide,now i'm downloading the 12.04 full and retry with yours tutorial.appreciated man!:good:
Afwasmassi said:
This looks awesome, downloading atm and will test on Rascream/Trinity
Edit: Seems that trinity kernel doesnt support loop so it wont work.
Click to expand...
Click to collapse
Try flashing a different kernel such as Franco's kernel to make sure it is indeed the kernel and not the rom.
Sent from my Galaxy Nexus using xda premium
Find much more here: androlinux.com
rjmohit said:
Find much more here: androlinux.com
Click to expand...
Click to collapse
That is a universal guide. I made this thread specifically for the galaxy nexus. Please do not post links as that can confuse other users on what they should be doing. Thank you.
Sent from my Galaxy Nexus using xda premium
*le bump-a to the top-a*
Theshawty said:
*le bump-a to the top-a*
Click to expand...
Click to collapse
Lol you didn't have to bump it. Just for people who are searching for a guide.
Sent from my Galaxy Nexus using xda premium
fire & ice said:
Lol you didn't have to bump it. Just for people who are searching for a guide.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Considering how people don't use the search button here, I thought I had to bump it
Sent from my Galaxy Nexus using Tapatalk 2
Thanks for the guide. I did exactly what you said, but I got this error:
http://dl.xda-developers.com/attach.../5/9/1/1/3/Screenshot_2012-08-13-20-51-35.jpg
That's probably connected to the kernel's loop device. I tried first with the one included in the rom (liquid beta1 JB), then I flashed the last release of Franco (r241) but got the same error. Am I missing something?
Thanks for your help
Great guide, i am gonna try to make a complete ROM + awesome kernel
Sent from my Galaxy Nexus using xda app-developers app
mastergrifis said:
Thanks for the guide. I did exactly what you said, but I got this error:
http://dl.xda-developers.com/attach.../5/9/1/1/3/Screenshot_2012-08-13-20-51-35.jpg
That's probably connected to the kernel's loop device. I tried first with the one included in the rom (liquid beta1 JB), then I flashed the last release of Franco (r241) but got the same error. Am I missing something?
Thanks for your help
Click to expand...
Click to collapse
I got the same thing running BAMF Paradigm and Franco's 241 nightly. It appears to be a problem with the busy box. I got the same message and researched that busybox distribution (is it a distribution?) and came across this:
https://play.google.com/store/apps/...ndroid&feature=nav_result#?t=W251bGwsMSwyLDNd
It booted to the shell and asked if I want to start VNC/SSH, I am able to connect to VNC/SSH from my phone (duh) and my laptop but the VNC client comes up and displays an error message:
"Xsession: unable to start X session --- no "/home/ubuntu/.xsession" file, no "/home/ubuntu/.Xsession" file, no session managers, no window managers, and no terminal emulators found; aborting."
I will get some screen shots up tomorrow. I'm using the v4 image from the download site. It might just be the image. I did an MD5 check and everything matched up.
I know this isn't your project, does anybody have any ideas? I tried installing ubuntu-desktop from command line but there was not enough room for the install...
EDIT: I feel like an idiot now... The OP clearly states that the core version has no GUI. That might be why I couldn't get to a GUI... I guess I could put the LAMP packages on it and use webmin... Or I'll just get the small package.
mastergrifis said:
Thanks for the guide. I did exactly what you said, but I got this error:
http://dl.xda-developers.com/attach.../5/9/1/1/3/Screenshot_2012-08-13-20-51-35.jpg
That's probably connected to the kernel's loop device. I tried first with the one included in the rom (liquid beta1 JB), then I flashed the last release of Franco (r241) but got the same error. Am I missing something?
Thanks for your help
Click to expand...
Click to collapse
The error is from the script trying to use the busybox that's included with the app. In order for it to work without the app installed, it needs to be changed to point to /system/xbin/busybox instead of /data/data/com.whatever/busybox. That is assuming that you have busybox installed (and that your busybox takes the same arguments for the loop command as the busybox the app provides).
Thanks everyone for the answers :laugh:
I'm using the same Rom build as you. How do you move the files into root of /? I am using Astro browser and it wont let me copy or move anything into that directory....I cannot see any way to do it through Windows either. Any help?
I assume I am getting my errors because the file is not located in that directory.
ttp://pic90.picturetrail.com/VOL2353/13103118/24172961/403735977.jpg[/url]
ttp://pic90.picturetrail.com/VOL2353/13103118/24172961/403735976.jpg[/url]
Looks like your Ubuntu image is corrupt. Did you download it on Wi-Fi?
The files should not be in the root of your filesystem either. Everything should be at /sdcard/ubuntu and it's case sensitive. If you know the image is good, just delete the md5 file and it won't do the check.
Sent from my Galaxy Nexus using xda app-developers app
Echo5ive said:
Looks like your Ubuntu image is corrupt. Did you download it on Wi-Fi?
The files should not be in the root of your filesystem either. Everything should be at /sdcard/ubuntu and it's case sensitive. If you know the image is good, just delete the md5 file and it won't do the check.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I can only make my file path /storage/sdcard0/Ubuntu. I see no way to get it to plain old sdcard/Ubuntu
I downloaded it via wifi multiple times and same error. Tried small and large images too with same error.
I deleted the md5. Fails now during checking loop device...MISSING. Unable to create loop device.
I tried the kernal that came with the AKOP 39 rom as well as franco.Kernel-milestone2.zip, I cant find the franco 192 kernal that you are using anywhere
I did this EAILY on the first try with my Triumph many months ago....no idea why I'm having so many problems with my GNex...
Try clearing the app data, uninstalling, and then reinstalling the terminal emulator you are using. (And a reboot wouldn't hurt...) I haven't tried it on AOKP but it should handle it fine.
The Franco kernel I use is the most current release at the time of this writing, #241.
Sent from my Galaxy Nexus using xda app-developers app
Echo5ive said:
Try clearing the app data, uninstalling, and then reinstalling the terminal emulator you are using. (And a reboot wouldn't hurt...) I haven't tried it on AOKP but it should handle it fine.
The Franco kernel I use is the most current release at the time of this writing, #241.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Still a no go with #241 Kernal.
Checking loop device... MISSING
Creating loop device...ubuntu.sh [86]: /data/data/com.zpwebsites.completelinuxinstaller/files/busybox: not found
FAILED
Error: Unable to create loop device
I have Busy Box Free v 1.20.2 installed.
Are you using the ubuntu.sh file from the OP or the app from one of my previous posts? I initially tried installing that app to install the specific busy box instance referred to in the script.
If you are using the app and trying to launch from there, try modifying the .sh file to point to your installed version (should be /system/xbin/busybox).
Sent from my Galaxy Nexus using xda app-developers app

Categories

Resources