Adobe Flash w/Opera Work-Around for Android Only - Android Software/Hacking General [Developers Only]

What is a shame is native Adobe Flash is still not functioning properly with Opera 11 for Android.
Here's how I solved my issue with it - 'Simply' (lol) install Adobe Flash 10.x.x to SD card.
You MUST be rooted for this to work.
And please also be an experienced user ^>^
To do this:
Uninstall any UPDATES of flash that you already have.
And uninstall any opera versions you have.
Be sure to backup any bookmarks you have
Search Move2SD Enabler in the Market and install it,
Load Move2SD Enabler, read instructions on first page of app and hit 'Next,'
Choose 'External.' (It is your choice to return this option to the other two or leaving it as is after the tut ^>^)
Restart your device.
Okay. Next is tricky.
Here you have to have the Android SDK installed. And from here we call on that driver to detect the device. You also must have USB Debugging 'Enabled.'
You need an Explorer like app; I use Adao File Manager to search my device.
Navigate to /system/app/ - Here are all the installed apps, you will want to swipe through and remember the EXACT name you want to remove (Also, you need to type case sensitive).
Ex.: install_flash_player.apk or install_flash_player.odex
On the PC Open a CMD and navigate to the Android SDK:
C:\>
C:\>cd C:\Program Files (x86)\Android\android-sdk\tools
(Now type in ->)adb devices
(You'll see something like this
List of devices attached
0123456789ABCDEF device
(Now type in ->)adb shell
(Now type in ->)su- ENTER
(Now type in ->)cd /system/app
(Now type in ->)mount -o rw,remount /system
(Now type in ->)rm -r install_flash_player.apk
(Now type in ->)rm -r install_flash_player.odex
Now just exit CMD.
Then, restart your device again,
Next, go to an external source (other than the main markets i.e. 4Shared) for Adobe Flash 10.x.x and install that version.
Here, install Opera again and then go to Opera and see the labor you just put forth in action. Such as a site like Megavideo.com (in desktop mode).
Also, Youtube is still not working properly, not sure why..
(I also am not responsible for those of whom have "messed up" their devices ^>^)​
(Thanks to user: qiuness)

Related

Installing Vending.apk (Market) on Samsung Galaxy S (i9000) from the middle east

Hi all
I bought my Galaxy S from Abu Dhabi just to latter figure out that it DOESNT come with Market, instead, it comes with a useless SLIDEME... where NONE of the major apps are available. So I searched everywhere and never found a straight answer...
Time for desperate tries than.... and what worked for me was:
I assume NO RESPONSABILITY for this, it might work for phones from other countries.
Try at your own risk.
I won’t be available to help out, I just want to share what I did and worked.
(You can find more details for the individual steps browsing this forum)
Install latest version of Kies
Install the firmware update from Kies (froyo, if already not installed)
Reboot you phone
Change the following settings on the phone:
Apps -> Settings -> Applications
Mark: Unknown Sources
Click on -> Development
Mark USB Debugging and Stay awake
Connect your phone to your PC with the USB cable
Download the latest version of the “SuperOneClick” root tool (I used 1.5.5-ShortFuse)
Unzip it to an easy folder to access by command line (DOS prompt), something like: “C:\super”
Root your phone using this tool (READ the instructions on their webpage, all I had to do was execute the SuperOneClick.exe, click "root" and wait for the process to finish, AGAIN, more details on the post about the SuperOneClick.)
Reboot
(If your rooting worked, you should see an “app” called “superuser”)
Now, on your phone, unmark the “USB Debugging” option you marked on the beginning (you will have to “disconnect” the phone click on the home button to do that)
Open a command line prompt you your pc, and change directory to where you unzipped the SuperOneClick files.
If you are you the right folder, you should see an “adb.exe”
Type the following commands (NO MISTAKES ALLOWED HERE, PAY ATTENTION):
adb shell
Hit enter
su
enter again
your phone should pop up SuperUser app, asking for super user permission for the shell, click Allow (and mark remember)
your command line will change from $ to #, meaning, you are root user.
I suggest you copy and paste the following because any mistake (missing or extra spaces) can cause serious problems
Type:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
hit enter
cat /system/ojpcom/Vending.apk > /system/app/Vending.apk
hit enter
mount –o ro,remount –t yaffs2 /dev/block/mtdblock4 /system
hit enter
exit
hit enter
exit
 
hit enter
(no message will show up after this commands if they were successful)
Reboot you phone, unplug USB cable.
Market should be one of your Apps now
Thaaaaaaank youuuu
You solved it finally, it works like charm thank you,.,.,
WOW!! Great!!!
Finally i can access Android Market from Iran (via VPN).
Thanks a lot
when you do this your phone will be out of warranty.if you venture that then flash a proper custom rom which already includes latest market plus custom rom features.
I got this message "cannot create /system/app/Vending.apk": read only file system . Any help?
easy way
http://www.emoiz.com/how-to-fix-no-market-app-problem-in-samsung-galaxy-s

GUIDES & FAQs [Android]: ADB Workshop by Adrynalyne and Guide by Captainkrtek

DO NOT POST IN THIS THREAD BEFORE READING THE WHOLE POST
PLEASE ADD GUIDES TO COMMON ISSUES YOURSELVES
To my recollection, the previous WM Guides thread was successful.. so we'll be moving on to android as well - from beginner to pro.
I hope this thread will provide answers to a decent percentage of your questions.
Please hold until guide collecting is finished..
In the meanwhile you are ALL invited to send me links or full guides to add to this thread.. remember, we are all about sharing.
COMING SOON! (in the meanwhile, you've got a great battery life guide at http://forum.xda-developers.com/showthread.php?t=471521 - be sure to thank BruceElliot for it!)
also, if you decide to post a guide, please keep the guide as neat as possible, with a title containing the LEVEL ([BEGINNER], [INTERMEDIATE], [PRO]) and the commonly searched words so that people who look for it can find it easily. (if you can, use the same color (dark orange) and same size (4) and Bold.. for the main title.. tho that's not a must )
post #2. [BEGINNERS+INTERMEDIATE] Replacing System Files using Android Commander
post #3. [EVERYONE] ADB Workshop by Adrynalyne and Guide by Captainkrtek
post #4. [QUICK FAQ's] Common QnA's for beginners by Timmymarsh (work in progress)
[BEGINNERS] Replacing system files using Android Commander
Replacing system files using Android Commander:
(This post was formally based in the HD2's RTL support thread and revolved around our need to replace frameworks)
so:
1. Download the android SDK from: http://dl.google.com/android/android...08-windows.zip
2. EXTRACT(!!!) the android-sdk-windows to c:\
(make sure you extract the dir - not run the setup from inside the zip file)
3. install Android Commander from http://androidcommander.com
4. Connect your device and make sure it's set to Debugging mode in /settings/applications/development/
5. You might have to set a dir containing your adb.exe file. set it to c:\android-sdk-windows\tools\
6. You will see a Total Commander-like interface. you can then copy the framework.jar file to the correct directory (there's no difference between SD android builds and androids in ROM - the system dir will be shown the same way)
a. Yes, you can replace/delete system files while android is running.
b. (for androids running from SD) Any file copied to /sdcard/android/root/system/X will be copied to /system/X in the system file. The sdcard/android root dir is JUST LIKE your root in ROM androids.
c. Make sure you either created a backup or verified a match in any other way before replacing files like frameworks, zimage, modules, etc.. your android might not boot afterwards (I keep all system.ext2 files backed up so that i can restore them incase i screw something up.)
enjoy
[EVERYONE] ADB Workshop by Adrynalyne and Guide by Captainkrtek
This following guide was rewritten by Captainkrtek, please make sure to thank him for it
Original Post:
(http://forum.xda-developers.com/showthread.php?t=879701)
This workshop was held in #android-learning on irc.freenode.net by XDA Member Adrynalyne. All credit to him for this guide, I simply am taking it and turning it into a guide. Here we go!
You can find the raw IRC log here
Good evening folks, and welcome to my ADB workshop. This is by no means a full explanation on the subject, but more of a crash course to help folks get up to speed, and get more from their devices. There may be some things you already know here, so please be patient and respect those who do not.
Reference Files
http://adrynalyne.us/files/How to install adb.pdf
http://adrynalyne.us/files/Using ADB.pdf
So, lets just start with the basics.
What is ADB?
ADB stands for the android debugging bridge and is used for testing and debugging purposes by developers.
However, we like to get more out of our devices, and its a great way to fix things.
Knowing adb can mean the difference between a paperweight and a working phone.
So, to start with, we will look at installing ADB.
Generally speaking, the Sun/Oracle JDK is required to run all SDK functions.
ADB is but one tool in the SDK arsenal.
So, we begin by downloading and installing the JDK. This can be found here:
https://cds.sun.com/is-bin/[email protected]_Developer
Choose your OS, download and install. I recommend that 64 bit users use the regular x86/32 bit version as well.
Moving ahead, we download the Windows sdk from here:
http://dl.google.com/android/installer_r08-windows.exe
Due to already installing JDK, you won't be stopped by the install process.
Now, if you notice, I installed it to:
C:\android-sdk-windows
I did this because it makes things easier when setting up path variables.
I encourage everyone to do the same, but obviously it is not required.
So, this SDK is handy, but is only good up to 2.2. We want the latest and greatest! (Well I do)
So, we navigate to:
C:\android-sdk-windows\
and we run SDK Manager.exe
If you notice in your PDF file for installing adb, you will notice that you can update, and I made a choice not to include earlier sdk versions.
I won't go into full detail on that, but depending on the version of SDK you have, 8 or 9, it WILL make a difference in using adb.
By default, for version 8 adb.exe resides in C:\android-sdk-windows\tools
By default, for version 9 adb.exe resides in C:\android-sdk-windows\platform-tools
We will assume version 9 in this guide
Really, the SDK is installed and adb is usable right now, but in my humble opinion, its not enough
I like the ability to use adb in ANY directory on my machine.
To do this, we edit Windows's environment variables.
Specifically, the system path.
To do this, we click on start, or the orb (depending on OS), and right click on Computer, left clicking on properties in the menu.
If its windows XP, I believe it brings you into advanced system properties immediatly. Vista and 7 need a second step.
On the left hand side, as you notice I have highlighted in the pdf, left click advanced system settings.
Under advanced tab, we left click environment variables...
There are two boxes here.
We are concerned with system variables, however.
So we scroll down the list and highlight path and click edit.
Ignoring all the extra stuff in here, make sure you are at the end of the line, and type
Code:
;C:\android-sdk-windows\platform-tools
The semicolon allows us to separate it
from the previous path statement.
Click ok all the way out.
We now have ADB setup globally. We can use cmd.exe (I use powershell) and no matter what directory we are in, adb is recognized.
If it is not, make certain you entered the path into system variables, and made no typos.
If you installed to a different location, you will need to adjust the path accordingly.
This concludes the section on installing the Android SDK to use ADB.
This next section will be on using ADB, so please open that pdf now.
Now, this applies to any OS, not just Windows.
Well, with the exception of the USB drivers.
I will not go too much into that, but if you take a look at the PDF, it goes through installing usb drivers for the sdk, and how to download them.
Fiarly straightforward, in that rspect.
Now, to setup our phones to use with the SDK and ADB, we must change some settings.
First, we go to menu softkey, then settings.
We scroll down to Applications and tap it.
Under Development, we will check Enable USB Debugging. Please note the SGS phones are different in this respect.
The USB cable must be unplugged before enabling or disabling this setting.
Once this is done, we are now ready to play with adb
One quick note: If you get device not found/conencted, please reboot your phone. DJ05 has a quirk in it where ADBD randomly crashes on boot.
A reboot will fix this
ADBD= ADB Daemon
Ok, continuing on.
Lets look at installing applications. This is also known as sideloading.
Unlike installing from the SD card, it does not require unknown sources to be enabled.
The command for this is
Code:
adb install packagename
This assumes that you are working from the directory where the file is located.
This will install the application to /data/app.
It will also show sometimes useful errors if install fails.
That is not something you will see from the Android GUI.
Now, a lot of us have probably deleted files with apps like Root Explorer. While this isn't really a bad thing, it leaves behind databases and data for the application removed.
This is where the 0kb applicaiton entries come from.
If you take that application entry name, you can uninstall the extra data via adb.
First we go to the adb shell which logs into the phone.
Code:
adb shell
If we end up with a $, we will want admin rights, in many cases. This is not one of them, I don't beleive.
To get admin rights, you want to type
Code:
su
Look at your phone if this is the first time, it may prompt you to allow access. Else you will get permission denied.
If you are not rooted, this will not work either.
Ok, now that we are logged in, we will type
Code:
pm uninstall packagename
where packagename is the name of the 0kb listing.
Now this seems like a pain in the a** and I agree.
HOWEVER
There will be a time where Manage applications crashes when you try to uninstall it from the phone. In this case, a factory reset, or this method is the only effective way to fix the problem.
Moving on.
How many of us have removed system applications or renamed them? Did you know that you can simply disable them from the system?
Code:
adb shell
su
pm disable appllicationname
This will disable it, and the system will ignore it.
This can be seen as safer than deleting or renaming things, but your mileage may vary.
On the other hand, you can also re-enable these applications.
Code:
adb shell
su
pm enable applicationname
Please note: Not all applications will properly re-enable. I believe a factory reset or reinstall of said application will fix the issue.
Also, application names are absolutely case sensitive.
*nix based Operating Systems see the letter 'a' and 'A' as two different things.
when you log into adb shell, you are playing by android rules
Ok, a lot of us tweak and mod our phones and turning off the device to get to clockwork recovery, or battery pulls, or multiple button holds to get into Download mode are troublesome and annoying at best.
ADB can help us here.
Here, we do not need to be logged into the shell
If we want to merely reboot the phone:
Code:
adb reboot
If we want to go to recovery (works well with voodoo5)
Code:
adb reboot recovery
If we want to go to Download Mode because we need Odin, heaven forbid:
Code:
adb reboot download
Its instant. No waiting on animations or anything else.
Its also handy if Android has locked up, but yet still works in adb.
I for one hate taking my case off to battery pull.
So now we move on to pushing and pulling files.
Sometimes, I don't feel like mounting my sd card to copy a file over to my phone.
I can use this command to push a file straight to my sd card:
Code:
adb push filename /pathtodirectoryonphone
So for instance, if I have test.txt that I want to send, I would type:
Code:
adb push test.txt /sdcard/
and there it goes.
Ok moving on
Pushing files can be done to any directory, however, some are protected.
For instance, /system is going to give you a permission denied or a read only filesystem error.
To get around this, the easiest thing to do is push the file to your sdcard, then log into the shell:
Code:
adb shell
Code:
su
We will then mount the system as writable
Code:
mount -o rw,remount /dev/block/stl9 /system
Then we can use something like
Code:
cp /sdcard/test.txt /system/app/test.txt
cp stands for copy
and it requires the path of the file and destination path. The name of the file is optional
When you copy it, you can rename it to whatever you like.
For instance, if we wanted to backup a file
Code:
cp /sdcard/test.txt /sdcard/backuptest.txt
Now, lets assume you do not have busybox installed.
You non rooted users will not.
Then you must use a slightly more complicated command called dd
This is used like this:
Code:
dd if=/sdcard/test.txt of=/system/app/test.txt
if is for inputfile
of= output file
Not every user friendly, but probably one of the safer copy commands.
Ok, moving on to pulling files.
Lets say you want to get a file from your phone, to modify, backup, etc.
To do this, we simply use adb in this manner:
Code:
adb pull /pathtofile/filename destinationname
For instance, if I wanted to backup ADW launcher in system/app
I would do this
Code:
adb pull /system/app/ADWLaucnher.apk ADWLauncher.apk
And it will pull the file from the phone and put it in the current directory.
Like above, you can specifcy where it goes.
pushing files to the sdcard, it seems prudent to talk about changing permissions.
sdcards are typically fat32, which destroys permisisons, and Android is heavily permission based.
So if you push an application to your sd card, then try to copy it to /system/app/ bad things are going to happen, or the app may not even show up.
So in that case, we use something called chmod.
This is used in this manner
Code:
adb shell
su
chmod 755 /pathtoapplication/applicationname
Keep in mind
you dont want to do this while its still on your sd card.
an example
Code:
adb shell
su
chmod 755 /system/app/ADWLauncher.apk
755 is good for applications and script files.
Just a couple more topics to cover.
Lets go over deleting files.
This becomes especially handy for removing rogue applications.
To do this, we must be in the adb shell.
Code:
adb shell
su
rm /system/app/ADWLauncher.apk
You may need to remount system as writable with:
Code:
mount -o rw,remount /dev/block/stl9 /system
That applies when using chmod as well.
So what I did above was delete ADW Launcher from system/app
However, what if I wanted to delete the entire contents of a directory?
Same thing as before, except
Code:
adb shell
rm -f /data/dalvik-cache/*.*
I just cleared my dalvik-cache with that command
very quick, very effective.
If you just tried that, please reboot your phone now
Ok....this leaves us with the final topic: logcat
logcat allows us to log what the OS is doing, and possibly delve information for when things are not working
its quite simple Reading it is another.
To use logcat
Code:
adb shell
logcat
To logcat to a certain file do
Code:
adb shell
logcat > /sdcard/logcat.txt
Now we let the log settle down to a reasonable amount of data coming in and not a wall of scrolling, then start the app in question. When it gives an error, we hit ctrl-C and kill the adb shell session.
This should have captured enough data to see the error. Now, I prepared an example. A user came to me on IRC, and Google Maps was force closing. Clearing data didnt fix it, Clearing dalvik-cache, and fix permissions did not fix it. In this case, the user did not know how to use adb So I had him grab an app called alogcat from the market and email me the log. This is also a very valid method.
this file explains what the problem was, and highlights what to look for as an example.
http://adrynalyne.us/files/logcat.pdf
___________________________________________________________________
This concludes the guide from Adrynalyne, there will be more workshops such as this one in irc.freenode.net #android-learning.
Thanks to everyone in #samsung-fascinate !
QUICK FAQ's
sources: Q&A Section, The Weekly Q&A Section by XDA News Writers (thanks guys)
Q: ‘Is there any way to block specific apps from using my data connection?’
A: Try the Droid Wall application.
Q: ‘I read how you can make changes in the build.prop file on my Android device. How exactly do I get to it?’
A: Install ASTRO file manager, browse to /system, long press on build.prop – Edit – Copy. Press on the home icon then Edit icon – Paste. Connect sd card, edit it, and paste it over from where you copied build.prop
Q: What happens if I update my phone? will I need to re-root it and get the ROM again? will all of my applications get erased? If so, is there a way around this?
A: You will lose your root, but not apps if it is just an update.
Q: I just tried to flash a ROM from recovery on my Android phone and got “Verification Failed, Installation Aborted” What happened?
A: Before you can flash a custom ROM the .zip file must be digitally signed in the ROM kitchen, if unzipped and re-zipped it will lose its verification, this happens often using the Safari browser as it likes to decompress .zip’s. Or if your download is corrupted (download the ROM again) it will fail the Verification.
Q - HTC Location Widget shows "map data unavailable"
A - On the widget, click the pin/then click the windows button/click get more/scroll to download maps/download relevant map (care, maybe a big file). Now exit and click onto map, your location should now be visible :)
Q:So, I moved all the apps on the SD, but is still not enough. How can I free some memory? I could delete the cache of the older upgrade or something else?
A:Do you have pictures and videos? If so, check if they are on the SD card and not on your internal memory. Cleaning your cache helps, and try deleting your text messages threads.
Q: ‘What exactly is a kernel and what are the benefits in changing it?’
A: A kernel is a bridge between the applications and the actual data processing done at the hardware level. The kernel’s responsibilities include managing the system’s resources – the communication between hardware and software components. Flashing different kernels gives you different operating speeds, better battery life, the ability to overclock, and more.
Android control other device with IOIO Board.
It use ADB.
http://androidcontrol.blogspot.com/2011/10/ioio-board-for-android-control-io.html
timmymarsh said:
QUICK FAQ's
sources: Q&A Section, The Weekly Q&A Section by XDA News Writers (thanks guys)
Q: ‘Is there any way to block specific apps from using my data connection?’
A: Try the Droid Wall application.
Q: ‘I read how you can make changes in the build.prop file on my Android device. How exactly do I get to it?’
A: Install ASTRO file manager, browse to /system, long press on build.prop – Edit – Copy. Press on the home icon then Edit icon – Paste. Connect sd card, edit it, and paste it over from where you copied build.prop
Q: What happens if I update my phone? will I need to re-root it and get the ROM again? will all of my applications get erased? If so, is there a way around this?
A: You will lose your root, but not apps if it is just an update.
Q: I just tried to flash a ROM from recovery on my Android phone and got “Verification Failed, Installation Aborted” What happened?
A: Before you can flash a custom ROM the .zip file must be digitally signed in the ROM kitchen, if unzipped and re-zipped it will lose its verification, this happens often using the Safari browser as it likes to decompress .zip’s. Or if your download is corrupted (download the ROM again) it will fail the Verification.
Q - HTC Location Widget shows "map data unavailable"
A - On the widget, click the pin/then click the windows button/click get more/scroll to download maps/download relevant map (care, maybe a big file). Now exit and click onto map, your location should now be visible :)
Q:So, I moved all the apps on the SD, but is still not enough. How can I free some memory? I could delete the cache of the older upgrade or something else?
A:Do you have pictures and videos? If so, check if they are on the SD card and not on your internal memory. Cleaning your cache helps, and try deleting your text messages threads.
Q: ‘What exactly is a kernel and what are the benefits in changing it?’
A: A kernel is a bridge between the applications and the actual data processing done at the hardware level. The kernel’s responsibilities include managing the system’s resources – the communication between hardware and software components. Flashing different kernels gives you different operating speeds, better battery life, the ability to overclock, and more.
Click to expand...
Click to collapse
Thank you for your patience and taking the time to answer those questions. I loved your simple and easily digestible format.
There is a note
*nix based Operating Systems see the letter 'a' and 'A' as two different things.
when you log into adb shell, you are playing by android rules
Click to expand...
Click to collapse
this note is all wrong..
1. linNUX is not *NIX.
2. Mac OS-X is a *NIX OS, it is based upon UNIX, they use their own variant called Darwin. Darwin does not require capitolization.
3. The word should be POSIX. Linux is POSIX compliant and POSIX defines the capitolization standardards
soft brick
Taioba said:
Is there any way to use ADB even though I can not enable USB debugging by the android?
I have an Atrix with soft-brick. How can I restore a file (framework-res.apk) knowing that my USB debugging is off?
I can enable ADB via fastboot?
Thanks!
Click to expand...
Click to collapse
I found this for atrix 4g....
http://forum.xda-developers.com/showthread.php?t=965546
hope it helps
knoknot said:
i have a bricked s2 not so sure how to go about reviving it via adb
Click to expand...
Click to collapse
check this thread
http://forum.xda-developers.com/showthread.php?t=1237815
thanks. searched for that
Thanks for it.
Great Guys............ :good:
Thanks for sharing.
Thanks for sharing this guild :d, i am new member for reccod
Great job~ Sometimes could be used this.
I'm using Windows 10 RTM and I've set the path, yet I still get the "unrecognized application" error in the command console. What am I missing?
Nevermind, a restart fixed it. Used to be you didn't have to.... sheesh.
nir36 said:
Replacing system files using Android Commander:
(This post was formally based in the HD2's RTL support thread and revolved around our need to replace frameworks)
so:
1. Download the android SDK from: http://dl.google.com/android/android...08-windows.zip
2. EXTRACT(!!!) the android-sdk-windows to c:\
(make sure you extract the dir - not run the setup from inside the zip file)
3. install Android Commander from http://androidcommander.com
4. Connect your device and make sure it's set to Debugging mode in /settings/applications/development/
5. You might have to set a dir containing your adb.exe file. set it to c:\android-sdk-windows\tools\
6. You will see a Total Commander-like interface. you can then copy the framework.jar file to the correct directory (there's no difference between SD android builds and androids in ROM - the system dir will be shown the same way)
a. Yes, you can replace/delete system files while android is running.
b. (for androids running from SD) Any file copied to /sdcard/android/root/system/X will be copied to /system/X in the system file. The sdcard/android root dir is JUST LIKE your root in ROM androids.
c. Make sure you either created a backup or verified a match in any other way before replacing files like frameworks, zimage, modules, etc.. your android might not boot afterwards (I keep all system.ext2 files backed up so that i can restore them incase i screw something up.)
enjoy
Click to expand...
Click to collapse
Thanks, this Guide is very informative
Help with LG D722
I'm using LG D722 phone and I somehow unlocked bootloader and installed twrp recovery. I backed up Lollipop that's what I'm using and i want to restore custom ROM
I know I need to install Google Apps after installing Custom ROM. But Do I also need to install Modem files on my device ? Because I can't find them on XDA Forums. Please give me a link or something. The help is not just appreciated but seriously needed.
Success. Thanks
Hello, I walk testing one recovery but I'm booting before flashing, the question is, will the recovery feel same when booted vs flashed? I've booted and used to flash a pair of zips but felt very laggy and bugged although did the work right. Thanks
Edit: solved, tried myself
Sent from my SHIELD Tablet K1 using XDA-Developers mobile app
http://forum.xda-developers.com/showthread.php?t=872128&page=2

[How to] Everything I know about the Gooapple 3g and Gt-6

Hi Everyone,
Sorry for the discombobulation of this post, but I have been adding to it non stop.
This thread covers all I have learnt from this model phone;
Root procedures for both Gooapple and iorange GT-6
ADB access (no USB adb so need to use over WiFi), - ADB WORKING NOW!!
Secret reset button location,
Recovery mode,
Download mode,
Drivers,
How to (and not to) theme framework-res.apk with uot kitchen
Flash tool
Change Boot animation
Upgrade External storage.
GPS server change.
Battery Info.
Serial No. Location
Quick access to the Camera
Mayiandjay on the Gooapple 3g on Youtube
Creating an extracted system.img
Dump recovery.img / boot.img
Alternate ROM dumping method (Thanks Dastin1015)
Flash a recovery image (Thanks Dastin1015)
Full Market on the Goo
ROOT;
I have purchased one of these and they are quite easy to get root using Visionary+ for temporary root option to push su and Busy Box, then use Z4root for permanent # works quote well and easy and
Checkout the rooting video here (http://www.youtube.com/user/mayiandjay) for an easier way just using z4root.
ADB OVER Wi-FI;
once you can get adb to recognise it (using terminal emulator on the phone
"setprop service.adb.tcp.port 5555"
then
"stop adbd"
"start adbd"
from there you can use your pc to run
"adb connect *insert IP address here*"
UPDATE: I found how to get ADB access over USB... I just insta;;ed the PdaNetA302.exe file from http://www.alcatel-mobilephones.com/global/content/view/full/25287
and then disconnected when advised to, reconnected when advised to, then BAM!!! working ADB..
I wish I had known about this a week ago...
From here you can have access to all supported adb commands including shell for # access, also for pushing and pulling files from the goo,
UOT KITCHEN; (Be careful dangerous)
I used the "ADB PULL" command to pull "/system/framework/framework-res.apk"
from the device, I then used the UOT Kitchen to modify it to my liking once I got the uot .zip file, I extracted the framework-res.apk file and used "adb push" to overwrite the one inside /system/framework/ dir.
(use a pc to push, not the phone explorer copy paste... Lol I bricked mine by using the file explorer, see the rest of the post for more info....)
RECOVERY MODE, DOWNLOAD MODE and BOOT ANIMATION;
some other usefull info is that you do not have to wait for the phone to run dead if you use the wrong key combo whilst booting ( trying to get into recovery hold home button whilst turning on then 5 seconds after "gooapple" appears let go of home and then press it again) you will get recovery console, where you can change the boot animation to the static apple or the gooapple animation, you can also do a factory reset or clear cache, from here you can also run an "update.zip" file but unfortunatly after i 1/2 bricked mine i stupidly did a factory reset and lost rw on /system (loosing bus box and su) (CRAP!!!) i was using the above mentioned method to use the "uot kitchen" to retheme the framework-res.apk file of the goo, and it was working fine when pushing the framework-res.apk to the phones /system/framework/ dir using a pc, but I got lazy and stupidly did a copy / paste using the phone to return to the original framework-res.apk (i know dumbass right) and then she rebooted to infinate bootlooping (F#@K!!!) I can now get into recovery mode and unfortunatly I cannot get my update.zip that pushes busybox and su etc to sign properly so that I can copy via update.zip the backed up version of framework-res.apk back to the now read only /system/framework dir.... (possible Brick anyone?)
SECRET (hidden) RESET BUTTON;
So... continuing on... to reboot the phone if it locks up and stops responding, you need either the original simtray pin or something like a multimeter probe and stick it down the headphone jack, down there there is a hard reset button, (get a torch and look for yourself if you don't believe me) hope this helps people...
DRIVERS;
Also I downloaded the qualcomm MSM drivers from 4shared and can now connect to the phone cos I noticed that if you boot the phone using the down volume key (i think) with the USB connected you can get nothing come up onscreen on the phone but the PC picks up a new device, the 4shared drivers worked but unfortunately that's where my knowledge stops...
FLASH TOOL;
I downloaded the flash (or google translated "brush") tool from mobileuncle but untill I find someone sharing the rom, or system.img it is usless to me...
UPGRADING EXT. STORAGE;
Something interesting for the rest of you is that the Gooapple 3g ( shows as A4-3G) and the preproduction iOrange Gt-6 (also shows as A4-3G) seem to look the same on the inside, I have both ( but liked the good ol F#@K you Apple, with the apple eating an android boot animation and apple in a android symbol on the back of the device ) I have opened both of them up (use a very small screwdriver on the screws between the speakers and 30pin dock connector on the base, remove these screws and slide the back plate up towards the power button (gentle no to break the retaining nuts on the back plate), from here you can undo the bit of tape and lift the battery up out of the way ( its soldered in so be careful, seeing as its always powered and easyier to short something out ) then next to where the battery sits you will see the back of a micro SD card (this is you external storage) if you get your nail and press on the back of it you will notice it is held by a spring retainer and will pop out a bit, from here press it in half way again with your nail and slip your nail off it, releasing the spring tension, flicking the micro sd card out into the casing (and hopefully not across the room)
you should now find either a 4GB, 8GB, 16GB or possibly a 32GB micro SD card came out depending on the model you chose, if you chose a 4GB or 8GB like i did you can replace it with an inexpensive 16GB Micro SD card put it back together and reboot, This is how I have tried copying my "update.zip" with Busybox and Su files (see above, that wont sign!!! GRRRR) the recovery console recognises the file but says signature authentication fail....
I could sign my "update.zip" for my framework-res.apk file but without Busybox or system RW it is useless.. it passes authentication but without rw on system it is useless....
GPS SERVER CHANGE;
Also, using faster fix off the market (need root) you can change the GPS server for better GPS performance.
BATTERY INFO;
Stamped on the Battery is
PL402874 1000mAh
3.7V 3.7WH
SERIAL NO. LOCATION.
Under the back cover there is a Version (mine is v2.3) and Serial number sticker
QUICK ACCESS TO THE CAMERA
Double click Home on the unlock screen to have quick access to the Camera.
USEFUL YOUTUBE VIDS
Check out mayiandjay on youtube (http://www.youtube.com/user/mayiandjay), he has done videos covering the stuff I am trying to explain, Thanks deepakpitrola333 for pointing this out
CREATING A EXTRACTED SYSTEM AS SYSTEM.IMG
for windows pc,
Go to http://db.tt/GAyvuDE (thanks Dastin1015) download and extract to your sdk/platform-tools folder
Rename mkfs.yaffs2.arm to mkfs.yaffs2 (delete the .arm extension)
open up command prompt (if you don't know how to do this in your current windows environment by now then just give up now)
change dir to the platform-tools dir in the sdk,
TYPE: adb push mkfs.yaffs2 /data/misc/mkfs.yaffs2
then pick up your shinny gooApple device;
open root explorer and navigate to mkfs.yaffs2 select and hold, change to have execute permissions
Back on the PC;
adb shell
su
# cd /data/misc
# ./mkfs.yaffs2 /system /sdcard/system.img
# exit
adb pull /sdcard/system.img ./system.img
I got a 176Mb system.img with "Build ok."
DUMP RECOVERY and BOOT IMAGES
you'll need dump_image from http://db.tt/9EANtEX (Thanks Dastin1015)
copy to your platform-tools folder in your androidsdk dir
do the same as above and push to /data/misc
then as before, change permissions of dump_image in root explorer to have execute. reboot device
Then you can run command prompt
go to your sdk platform-tools directory
run;
adb shell
cd data/misc
./dump_image boot /sdcard/boot.img
./dump_image recovery /sdcard/recovery.img
exit
adb pull /data/misc/boot.img ./boot.img
adb pull /data/misc/recovery.img ./recovery.img
ALTERNATE ROM DUMP METHOD (Thanks Dastin1015);
To do any flashing to the phone you must be rooted.
Rooting:
1) Download z4root and hit the permanent root option: http://db.tt/Bltsa73
2) Once rebooted you will have root.
Dump ROM:
~Prerequisite is that you have root~
{Non ADB method}
1) Download romdump and place it on the root of your SD card: http://db.tt/kXTaCDF
2) Download Terminal Emulator from the Market if you haven't already.
3) Open Terminal Emulator and issue these commands:
Code:
$ su
# cp /sdcard/romdump /system/bin
# chmod 747 /system/bin/romdump
# romdump
4) Now on your SD card under the romdump folder you will find you recovery.img, boot.img and system.tar. Backup these files to your computer for safe keeping.
{ADB method (Must have Android SDK installed)}
1) Open up command prompt and issue these commands:
Code:
C:\Users\Your_Name> cd ..
C:\Users> cd ..
2) Navigate to your installed Android SDK (Mine is under the Program Files (x86) folder):
Code:
C:\> cd Program Files (x86)
C:\Program Files (x86)> cd Android/android-sdk/platform-tools
3) Connect your device to your computer and make sure you have USB Debugging enabled on your phone.
4) Issue this command to verify that your computer recognizes your phone:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb devices
5) If you see your phones serial then it is connected.
6) Download romdump and place it in the platform-tools folder: http://db.tt/kXTaCDF
7) Issue these commands:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb push romdump /system/bin
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb shell chmod 747 /system/bin/romdump
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb shell
# romdump
you should get the following;
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : GOOAPPLE 3G QUALCOMM-Android2.2.3-IOSUI-eng.autobuild.20110729.144151
Creating required files... done.
Opening mtd table... done.
Dumping kernel config... done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
8) When done your ROM dump will be in the romdump folder on your SD card.
/sdcard/romdump
boot.img
checksum.md5
config.gz
recovery.img
system.info.gz
system.tar
DONE.
INSTALL CLOCKWORK RECOVERY (orange lantern recovery) ( Tested on my GT-6, that is basicly the same as the gooapple but has the apple symbol on the back, and now my Gooapple 3g,both successfully)
Flashing custom recovery image:
{Non ADB method}
1) Download flash_image and place it on the root of your SD card: http://db.tt/flHRxiG
2) Download recovery.img to the root of your SD card: http://db.tt/uy56zhj
3) Open Terminal Emulator and issue these commands:
Code:
$ su
# cp /sdcard/flash_image /system/bin
# chmod 747 /system/bin/flash_image
# flash_image recovery /sdcard/recovery.img
4) If you see a bunch of successful on your screen then it has flashed properly.
{ADB method}
1) Open up command prompt and issue these commands:
Code:
C:\Users\Your_Name> cd ..
C:\Users> cd ..
2) Navigate to your installed Android SDK (Mine is under the Program Files (x86) folder):
Code:
C:\> cd Program Files (x86)
C:\Program Files (x86)> cd Android/android-sdk/platform-tools
3) Connect your device to your computer and make sure you have USB Debugging enabled on your phone.
4) Issue this command to verify that your computer recognizes your phone:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb devices
5) If you see your phones serial then it is connected.
6) Download flash_image and place it in the platform-tools folder: http://db.tt/flHRxiG
7) Download the recovery.img and place it on the root of your SD card: http://db.tt/uy56zhj
8) Issue these commands in command prompt:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb push flash_image /system/bin
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb shell chmod 747 /system/bin/flash_image
C:\Program Files (x86)\Android\android-sdk\platform-tools> adb shell
# flash_image recovery /sdcard/recovery.img
9) If you see a bunch of successful on your screen then it has flashed properly.
boot into recovery, hold home whilst powering on, after 5 long seconds, let go of home and then push home again, you will need to put the volume/menu-back toggle to "volume" mode and according to deepakpitrola333, you need to cycle the list 3 times using volume to allow selection.
Video by mayiandjay;
http://www.youtube.com/watch?v=B_dX9Ruoljo
ENABLE FULL MARKET ON THE GOO
Thanks to Smith, we can have the full google market on our Goos
http://forum.xda-developers.com/showthread.php?t=1133702
IF I OR ANYONE ELSE EVER HELPS YOU, PLEASE CLICK THANKS... Its not that hard....
Done.
CHEERS!!! - KEG.
Thanks for info on the gooapple, its good stuff.
Any idea on how to do any of the following:
- restore original recovery screen
- get a clockworkmod recovery image to work
- do a nandroid backup
i have managed to get the applestyle home apks and the keyboard and stuff and so want to install another rom. I flashed a random clockworkmod image but now i dont get any recovery screen at all, its gets stuck on apple every time on every button combo/method.
if its not too much to ask, could you check if you can run fpse the psx emulator on your gooapple, it crashes to home straight after loading a game even tho i have a bios. psx4droid works but is choppy, similarly specd phones like the wildfire s and legend can play fpse games like ff7 very well.
Gooapple GPS
Do you now how to acivate the GPS on the gooapple.
Have this phone a GPS chip like SiRF III chip?
Is it possible to use it with navigation software?
Did you purchase it? If you did that, please, send me link to rom dump after you dump it or you know already existing link?
Sent from my IDEOS S7 Slim using XDA App
this phone has a sirf III and installing a gps program makes the gps work.
i cant dump the rom without getting a clockworkmod recovery image that works for this phone, unless you know of a way jon2555.
Hey guys, the best way I found to toggle gps on (because it does not show up in networks) is by installing go launcher so you get a shortcut to it in your apps, the press home and set applestyle as default again, then go through your drawer and select the go launcher shortcut, from there add the power control widget, from there you can toggle gps...
Also I have been nagging the people at the gooapple factoryand they advised they may add a downloadable firmware upgrade soon...., fingers crossed as mine is currenly half bricked, I got access to the fastboot by downloading the microsoft mobile drivers update, that lets fastboot recognise it when you reset with the vol down button, but need to read up on how to use it....
I had a quick readup on fastboot commands, and I have written an update script (The one that I cant sign), and I'm going to try to run it with fastboot as my limited and unexperienced understandung is that through fastboot you dont need signed updates...., unfortunatly I left my goo at work on wednesday and I was in Sydney all day today, so i wont be able to try it out untill I return to work in freezing Canberra tomorrow... Fingers crossed, and if I can successfully get it working again I will try to find a way to dump the partitions and make an update.zip that rewrites all of /system (if possible), so next time i kill it, I may have a better chance recovering from my mistakes (or pure lazyness....)
jon2555, no rom yet, but Hat007 did previously do an app dump of all the apps on gooapple 3g here,
http://forum.xda-developers.com/showthread.php?t=1245655
(thanks hat007)
and as deepakpitrola333 said, until somebody can put a working clockwork on it, we are out of luck regarding nandroid backups.... and my goo is currently bricked so i cant do much with it, and i gave my gt-6 to my daughter already, so no chance of getting that back......
Gooapple Firmware ROM Update
Hi All,
I'm New to this. Is there going to be a ROM or Firmware Update? if so how is it going to be done? Which Website??
I've bought mine from Android-Sale.
Has anyone else bought there's from Android Sale?
Also Is there a FIX to Make the Unlock Slider Back to English without the Stupid Chinese Symbol TXT??
Also Is anyone having Trouble with there Built-In GPS?? I cant get mine to Work??
I Look Forward to your Comments.
Cheers.....
hey spookie,
kegatron has said to toggle the gps from go launcher, which enables an android style interface with power options for bluetooth, gps, wifi etc by widget or otherwise. I assume you can do this with the stock froyo launcher too.
Home key can select the launcher after a third is installed.
I got mine from fastcardtech as they gave a discount over android sale, however it will be gooapple themselves releasing the update and or rom in the future.
With so many units sold, there is gonna be stuff up soon.
If someone knows how to make thier own clockworkmod recovery, the rom can be uploaded by anyone with the phone. I have no clue who to ask to do this tho.
The chinese in the lock screen is not something i know how to change but as i said a stock froyo launcher and lock screen can be used instead. Helps with the long icon name problem too.
If its not too much to ask can you check if fpse, the psx emulator, works on your phone. It crashes straight away on mine but all psx4droid versions work but as it is known, psx4droid is considerably slower, like 10-20 fps slower making final fantasy games run 50fps max and 35-40 normally which is too choppy.
I hope what i have said helps, gps isnt on all the time so try to toggle it like keg said and if you know anyone who can write custom recovery images, get them over here
i also assume you have rooted to get rid of all chinese from system icons/folders
Hey Spookie,
With the GPS, I was still using the applestyle launcher but one of the good things about go launcher is the fact that it has a app link in your app drawer, meaning you can select the applestyle launcher as the default and still have access to go launcher without too much hassle (just select it in the apps on your home screen)
So with that said I assume you have root?, if not... get it... Lols..
from there you can get rid of the standard Chinese crud that I cant read like baidu input or whatever its called, QQ (whatever that is...) etc. using Titanium backup (CAREFUL FOR WHAT YOU UNINSTALL, and batch backup everything first!!!), I'l put up a list of what can be uninstalled safely once I get mine working again. and you can fix the server your GPS is looking for by using FasterFix from teh market (you need root for this)
And the gooapple webpage is quite easy to find.... I just googled gooapple and funnily enough the webpage's name wasn't too cryptic (its www.googapple.com lol) just use the google chrome browser to automaticly translate the Chinese and for most of the bad translations you can still work it out..
Hope this helps...
BTW, I'm looking into rewriting my update.zip file for my framework-res.apk file as the scripting is different using fastboot and I need to read up on it.. give me time
I need to work out what needs to be in the android-info.txt and android-product.txt files....
Hi Guys,
Thanks for all you Help & input.. However I'm Very Confused and Lost?? Yes I've installed Z4Root.
But Now That I've installed this App. How can I BACKUP the Whole ROM as it is before I Start to Uninstall all thoses Chinese APPs etc??
Also What Input Keyboard do I install? Which one is the Chinese Keyboard??
I'm Wanting to keep the Stlye of the Phone as it is when I bought it but wanting to Take Out the Chinese Junk, and Install just want I want in English.
As for the GPS, is there a Way to Keep it always Switch on From First turning on the Phone??
I do hope you dont think I'm a Stupid Person??
I dont want to Brick or Destroy this Phone?? Just want the Chinese Junk Out and GPS & the Unlock Slider Fixed?? Do hope they Bring out Firmware or ROM Update? I'm picking it's going to be on here once it's Relesed??
Look Forward to your Comments.
Regards
Spookie...
Gooapple Camera & YouTube
Hi Again,
I was meant to also ask in my Last Post
Can anyone if Possible post a Photo on here taken Directly off there gooapple device? Ans is it a True 3.2mb Camera? And Also is the Front Camera 1.3mb?? I'd be glad to have a look and you image....
I cant get youtube to work with the Youtube App? I've tried all sorts of Differnt Apps (apk files), and still NO Luck with youtube??
Any Thought's Or Comments??
Thanks...
SpookieNZL
Hey Spookie,
Sorry champ, if I misdirected you, what I ment by batch backup all the apps first was to do with "Titanium Backup" from the market, it requires root access
to test for correct root access, you should get # when you type su in a terminal emulator.
try this once you have it installed,
Download the Iphone keyboard from the market, the go to settings, keyboard, and enable the iphone keyboard (tick box) then, find any text box and press and hold the box untill "input method" comes up select iphone keyboard
Once you have the iphone keyboard working, you can then delete the baidu (or whatever it was called) keyboard, by opening Titanium backup, accept super user access, then go to "backup / Restore" then press the menu key (vol up) then select "Batch" then select "backup all user apps +system data", then once completed, you can then go back to "backup /restore" and find Baidu input and select it, and then "uninstall"
Congrats you have now deleted the Baidu input,
I would recommend NOT uninstalling anything that you don't know if it is crucial or not, as if you delete the wrong thing you can get major "Force close" issues and make the phone 100% unusable until a ROM has been released to re-write the partition and start again...
With the Camera, I will post a heap of photos up when I get mine working again, I have taken lots of photos of pulling it apart and upgrading storage etc. I am in the progress of putting all the info from this post into a full guide with photos of step by step how to do everything that I know of, as I can't find anything from anyone else posted on the net regarding most of the things i have covered, I might just step up to the plate and do it
With Youtube, I installed the tubemate app from market, worked fine for me.., try it an let me know
Hope this helps!!!
Also, for those who didn't know, when you have the slide to unlock screen, if you double click home you will get a camera icon pop up (on an Iphone / ipod this is to access the music menu) that way you can get quick access to the camera to take a photo
hey keg why are you telling him to uninstall baidu input, on its last setting it is a perfect iphone input keyboard completely in english, the one on the app market is not good looking or accurate.
also, on youtube this guy, mayiandjay, has good videos on some of the stuff your trying to explain so maybe skip this to save time.
lastly i hope you get your phone back to working, as i have the phone working and sort know what im doin, feel free to ask for anything from it.
spookie, ill get some daylight pics up in the morning, at night the camera looks more grainy but is still good.
Hi deepakpitrola333,
Sorry I never really gave the Baidu input a real go, I found it slow unresponsive, and sometimes would revert back to converting whatever I was trying to write into Chinese, so it got the ass, I did get swype working on it, but I'm used to my Galaxy S and didn't find it that good on this device.
I suppose my guide to deleting the Baidu input was reversable if you did it step by step, you can go into titanium backup, go to backup / resore, and go right to the bottom, select baidu input that should have a line through it, and select restore.
BAM!!! Bauidu is back, though you will have to enable it again through the keyboard s option in settings, then press and hold a text box and select it again....
Sorry for the confusion.
yea it took me a while to set it to how i like, iphone style full english with predictive, wild guesses from the options list when holding down the circle key.
it is faster than the 4-5 keyboards ive used and looks the best in caps with no numbers to ruin the look.
it wont help you keg because yours is unfortunately bricked but spookie, on baidu after getting the keyboard up (press home a few times), hold the circle (world?) key, then select last, (keyboard will close) then hold bottom left key after getting it back up then first option, then second to last for predictive or last for non predictive.
Got the Goo Going again!!!
WOOOO!!! I'm soo happy
here's how I did it, (and I will add this to the first post)
When my device was bootlooping (the gooapple animation was playing over and over) I connected it to my computer, noticed that once again I got the unknown devices (4x qualcomm HSUSB interface) pop upagain and after giving up trying to find the Qualcomm HSUSB Driver prviously I decided to go on the hunt as this was close to my last resort before giving up for the day, well guess what!! I found it!!
I downloaded a file called PdaNetA302.exe and it installed the correct drivers for me!!! from there I could finally see the device in the Android Debug Bridge (especially whilst it was was booting!!) from there I could push the framework-res.apk into the /system/framework/ dir on the goo!!! WOO HOO!!
I'l play with it for a while and start ripping everything off it tonight, see what I can do about making a backup of some sort.... or if anything a listing of all dirs and files in each partition.
Thanks everyone who is reading this for your support during these "goo-less" times
Hi! I am the youtube member "mayiandjay" that has been posting some videos on how to work around with the gooapple 3g.
Recently I tried flashing clockworkmod recovery but now I get stuck on the "gooapple" logo.
How can I restore the original recovery Image or get one that works for this unit. ANY HELP WILL BE GREATLY APPRECIATED!! THANKS IN ADVANCE.
Hi! I am the youtube member "mayiandjay" that has been posting some videos on how to work around with the gooapple 3g.
Recently I tried flashing clockworkmod recovery but now I get stuck on the "gooapple" logo.
How can I restore the original recovery Image or get one that works for this unit. ANY HELP WILL BE GREATLY APPRECIATED!! THANKS IN ADVANCE.

Android Rooting (Simplified)

Hello everyone!
I know some of you are still roaming around here and there trying to root your phone; others wanting to root the phone without knowing what rooting is...
Wandering if it's illegal or not; and why should they be Rooting their Devices.
Well that's why i've done this tutorial with a lot of help from different sources.
It has been almost 2 days reading; reading; reading; and writing this tutorial to simplify and compact information scattered around this forum and the web.
Knowing the Basics
In order to explain everyone (specially noobs / starters); please follow this link.
(I advise you to open it in a "new Tab" or "Window"; so you don't loose yourself)
One thing before starting:
I found out that it is important to reboot the device and the PC after installing and Updating the following apps: "Super one Click" and SDK with your firmware version API's.
Some errors that occur during the Rooting with the "Super One Click" happen due to some kind of need to reboot of the machine and device.
As mentioned in Step #9
[...]
Now that you understand what rooting is; let's ROOT your Android.
P.S - As you already know; you are responsible for doing this process; or for anything that goes wrong.
“Rooting Your Android Phone”
Requirements:
Download: "android-sdk_r15" or Later Version.
After Downloading and Installing SDK; download the API's according to your Firmware Version.
(Check Step #1 and #12 of the Easy Rooting Method)
Download: "Super One Click Program"
(Link Goes to XDA Developers "Super one Click Program" Thread)
Download: "Java SE Development Kit 7" (or later)
I. (Easy Method - Using “One Click Rooting Program”)
Note: This method works for almost every Android phone.
1) Take a note of you brand model and android Firmware/ROM installed on you device.
(You need to know the version of your O.S to download your SDK API's later)
i.e:
“Model: Acer C4 Liquid Mini (E310)”
“O.S: Android Froyo v2.2”
2) Download/Install your Android Drivers. (PC)
3) Download/Install your Android SDK/ADB. (PC)
4) Open SDK (as Administrator) and mark the following things to download:
- “Tools” (Select the entire Folder)
- “Your Firmware/ROM Version Installed” (i.e: “Android 2.2 API”) (Select the entire Folder)
5) Now press “Install Packages” (The download will start; follow the next step after it’s completed)
6) Download / Install the Latest version of the rooting program (Super One Click Rooting Program); unzip it and install it on your computer.
7) Make sure that your phone has the "USB Debugging Mode" ON.
NOTE: To turn it on go to your device and press: “Menu” > “Settings” (Icon) > “Applications” > “Debug / Development” > “USB Debug”
8) Make sure you turn Off your Device and Remove the SD Card. It must be done without the SD Card.
9) Safely disconnect your Phone from the PC; and restart. (PC and Device)
10) When your Phone and Windows are ready; connect your phone to the PC.
Note: Just plug the cable. Do NOT select any option in the Phone.
Also you will notice that a small Android Icon will appear at the top left of the screen.
That means that you phone is prepared for debugging Mode.
11) Once again make sure that your phone has the "USB Debugging Mode" ON.
12) Run SDK/ADB as Administrator.
(Windows XP Users just double click to open)
13) Right Click the “Super One Click Rooting Program” and open it as Administrator.
(Or just double click; if you are using Windows XP)
14) Press "Update Check"; just to make sure you have the latest files. (Don't worry with the app version error; if it happens means you just downloaded it/you have the latest version)
14) Click the "Root" button and wait it to finish. (There should be no errors)
15) Once done; you should see “Superuser” permission in your phone’s apps.
Note: If so; your Device is Rooted. Congratulations!
II. (Advanced Method - Manually Rooting)
Pre-requisites
There are a few things that you need to have before you start rooting.
Obviously, you will need an Android device with Android 1.5 or higher and a USB cable to connect it to your computer.
You will also need to have some files for this:
SuperOneClick.zip and the Android SDK/ADB up and running on your computer.
(Run as Administrator if not using Windows XP)
If you are unfamiliar with ADB, GoodAndEvo site has an awesome ADB tutorial that should get you up to speed.
(Note that the tutorial in the Good and Evo Page is for HTC Devices)
First, we need to move some files around to make running commands a bit easier.
Unzip the SuperOneClick.zip and copy the following files: su-v3, busybox, Superuser.apk, psneuter, and GingerBreak; to the Android “ADB Platform-Tools folder”; which is contained in the Android SDK folder on your computer.
i.e: C:\Program Files\Android\Android-SDK\Platform-Tools\
These files can be found in the following SuperOneClickv2.1.1-ShortFuse folders:
- “Busybox” -> “Dependencies” folder
- “psneuter” -> “Exploit” folder
- “GingerBreak” -> “Exploits” folder
- “SuperUser.apk” -> “Root” folder
- “SU-V3” -> “Root” folder
Once copied rename “su-v3” to “su”.
If you are on Windows, you will also need to have proper drivers for your phone installed.
These can usually be found by going either to the manufacturer website or searching for the name of your phone and the word "Drivers."
Once you find drivers, download and install them like any other application.
Rooting your device
Now that you have ADB setup and the proper exploit files, you are finally ready to Root.
Before you start running commands, you need to put your phone in "USB Debugging" mode.
(Menu > Settings > Applications > Development > Enable USB Debugging) and connect the device to your computer.
Note: Just plug the cable and do not select any option in you device.
Now, open command prompt to run some commands.
Windows Vista/7 Users:
(Press "Windows Key" > Type: "CMD" > Right Click on "CMD" and Run it as Administrator)
In Linux, open whichever terminal emulator suits you. Once you have a command prompt, you need to enter your platform-tools folder, also called a directory.
You can use the "CD" or Change Directory command to accomplish this.
If your SDK folder is called "android-sdk" the command should look like this: cd android-sdk_r11-windows/platform-tools.
This command will leave you with a shell prompt in the platform-tools directory.
From here, you can run the commands that will actually root your phone.
Be sure to run these commands exactly as they are written.
The commands with an "$" or "#" will only run after the "adb shell" command.
First, here are the commands that run the” psneuter” exploit and gain a root shell.
Type them in the following order.
…Yes after the ADB and the “$” there is a “Space”.
• adb devices
• adb push psneuter /data/local/tmp
• adb shell
• $ cd /data/local/tmp
• $ chmod 777 psneuter
• $ ./psneuter
At this point, the exploit will run and close the shell.
You will need to run these commands to restart the ADB server.
• adb kill-server
• adb devices
Now comes the moment of truth.
Type:
• adb shell
...command to open a shell.
If you see a "#" sign, you have root access, so go ahead and continue to the next part of this tutorial.
If not, you can go back and try the previous steps again, or ask for help in the comments.
We now need to make this root permanent.
From the root shell you just opened, type the following commands.
• # mount -o remount,rw -t rfs /dev/block/st19 /system
• # exit
• adb push busybox /system/bin
• adb push su /system/bin
• adb install Superuser.apk
• adb shell
• # chmod 4755 /system/bin/busybox
• # chmod 4755 /system/bin/su
• # mount -o remount,ro -t rfs /dev/block/st19 /system
• # exit
• adb reboot
At this point, your device should reboot.
You can check for the Superuser icon in the app drawer, and then try a root only app like Titanium Backup.
If that app works, congratulations!
You have successfully rooted your Android device.
Prepare to enjoy all the benefits of root.
If you are having trouble with this tutorial or want to offer others a tip, please leave a comment.
Me or every XDA developer/user shall gladly help you out clarifying any error message or issue. (at least if i know how i will help)
Just make sure you did exactly as described; and only then post your question / expose your issue(s).
P.S
- Use “Code” Tags to report Logs.
- Remember to "Thank" if this tutorial helped you or if you find it usefull.
Special thanks to:
XDA Developers (Users & Staff)
Pocketables.net (Aaron Orquia)
CLShortFuse (For bringing such Great App)
I can´t do this with method #1 (freeze on step #6)
In method #2 ....
$ cd /data/local/tmp
cd /data/local/tmp
$ chmod 777 psneuter
chmod 777 psneuter
$ ./psneuter
./psneuter
Failed to set prot mask (Inappropriate ioctl for device)
$
Some help?
Regards
niki40 said:
I can´t do this with method #1 (freeze on step #6)
In method #2 ....
$ cd /data/local/tmp
cd /data/local/tmp
$ chmod 777 psneuter
chmod 777 psneuter
$ ./psneuter
./psneuter
Failed to set prot mask (Inappropriate ioctl for device)
$
Some help?
Regards
Click to expand...
Click to collapse
Greetings;
What's your device Make and Model?
Try/Check the following:
- Download the "Super One Click Program" Again. Since there is a new Fix for it.
Follow this Link to download and get more detailled info:
http://forum.xda-developers.com/showthread.php?t=803682
- Check that you have the USB Debug Turned ON (in your device)
---> List > Settings > Applicatons > Development > USB Debugging
- Check what version do you have in your device; and verify that SDK Manager has downloaded your Version API's; and Tools folder. (Look at status tab; it should say installed)
- Did you Restart the machine after the install of Super One Click and SDK Manager? (Only then Root the Device)
- In a Last case there's a small percentage that your phone isn't compatible with "Super One Click".
Thanx a lot bro
You Can Add This To The OP If You Want .
Press Thank If I Help .
For Sony Ericsson Xperia Only .
I Use A Sony Ericsson Xperia X10 And It Work Well .
The File Name Is Call Flash Tool .
The Fuction It Has Is ( Latest 4.2 )
Root
Flash Kernel
Flash Rom
One Click Unlocked Bootloader .
Click to expand...
Click to collapse
Thing You Need To Do Is :
Download The Two File .
Install In The Same Place .
Open The File .
Open Driver Folder .
Install The Driver .
And Open Flash Tool exe .
See If The Computer Detect Your Phone .
USB Debugging Must On .
Click to expand...
Click to collapse
Thing Your Need ( For Rooting Only ) :
https://github.com/Androxyde/Flashtool/downloads
==================================================
Unlocked Bootloader Try At Your Own Risk . Sony Ericsson Xperia X10 Success ) :
Only For Sony Ericsson Xperia Phone .
Download Generic version 2.3.3 build 3.0.1.G.0.75 ( http://www.multiupload.com/564T6TLUD8 )
Download DoomLoard Boot Manager . ( http://doomlord.sylvester20007.com/...tmanager/X10_2.3.3_Stock-BootManager-v1.3.ftf )
Put This Two File In Flash Tool Frimware Folder .
Open Flash Tool .
Press Flash .
Select All The File Inside .
Reboot Your Phone .
Root Your Phone .
And Install DoomLoard Boot Manager .
You Can Now Install Unlocked Bootloader Rom .
Click to expand...
Click to collapse
If Anyone Know Anything And Notice I Say Wrong Here Please Private Message Me Or Comment Here To Tell Me
Special Thank To :
Every One That Teach Me Last Time .
Androxyde For Flash Tool . http://forum.xda-developers.com/showthread.php?t=920746
DooMLoRD For DoomLoard Kernel And Boot Manager . http://forum.xda-developers.com/showthread.php?t=1278318
Every Body Who Click Thank .
Every Body Who Read .
Click to expand...
Click to collapse
==================================================
Do It At Your Own Risk . Press Thank If I Help
And Yes It Work For New Xperia ( 2011 Lines )
nice share...but i already rooted my xperia

[GUIDE/DEV] Microsoft Android "Emulator"

I can't find much of any information on hacking the microsoft android emulator. Ideally, I'd like to get it working with superuser, exposed, etc, so it can be a fully functional way to see how android itself and apps work in different environments, all from my desktop. Also, I can just play around with stuff that I wouldn't touch on my tablet for fear of bricking it. I like playing with things.
Disclaimer: I'm not interested in maintaining anything, but as mentioned above, I can't find any information. Therefore, I'm simply posting what information I have here, in the hopes it will interest someone else enough to take a harder look at it. My original post was over here, but I've expanded beyond simply adding supersu to the image.
Things I can't do:
- Install superuser
- Install Xposed
- Install Google Play for anything more recent than KitKat
- Install recovery scripts
Things I can do:
- Run commands as root.
- Install Google Play Services on KitKat
- Change the screen resolution
- Change the amount of internal disk space
- Change the amount of memory and cpu cores available.
- Install busybox
- Flash simple scripts that don't require recent versions of cwm/twrp/other modern recovery.
----------------------------------------
Background information: The Microsoft Android "Emulator" is actually a HyperV virtual machine. When you install it, it enables the HyperV virtualization service in windows*. The effect of this is that instead of running android by emulating an arm processor, it runs android natively, with far better performance, by using Microsoft's hypervisor that's built into windows (win8+). You can work with it with Visual Studio and with Android Studio, but I don't use either much, so I can't help you with that. You can download it from Visual Studio if you want to (VS 2015 is free), or you can download a standalone version. I don't know if there's a difference between the two.
* I'm not sure if it installs the HyperV GUI as well, as I already use HyperV for other things and had it already installed. If you need to do so, you can install the GUI by going to add-remove windows features in the control panel ('appwiz.cpl' from the control panel).
----------------------------------------
Modifying the properties of the emulated system.
Configuration file location: After you create a device, the .cfg file for it will be located in %localappdata%\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices
To change the resolution: So far, I haven't identified any supported resolutions other than those listed in the device profiles list. So far, supported resolutions that I've used successfully are 480x800, 720x1080. You can edit the .cfg file for the specific device that you want to change the resolution of, and change the `device.screen.resolution=` line to any supported (see previous) resolution.
To change the size of the internal storage, follow the instructions here. You'll need an ubuntu cd; minimal install cd is fine if you have slow internet/computer or low ram.
To change the amount of ram or processors allocated to the virtual machine: Open Hyper-V manager, right-click the appropriate VM and click settings.
- Change the ram allocation by clicking Memory in the list at left. I do not know what happens if you try using Dynamic Memory; if it works, it should be more memory-efficient, but I left that alone. Now update the `device.vm.ram.size=` line in the .cfg file.
- Change the cpu allocation by clicking the Processor field. Please note that if you have hyper-threading, you should only use half your logical processors as cpus; the hyperthreaded 'cores' won't work as well (according to information online; you can check number of logical processors in windows task manager's performance tab). Now update the 'device.vm.cpu.count=' line in the .cfg file
----------------------------------------
Info on "recovery" and "flashing" - Installing google play
So far, I have only managed to get Google Play Services working on KitKat. I can't get it to work on Lollipop or Marshmallow (and haven't tried earlier versions at all); the virtual machine does *not* have a recovery or fastboot because of the way it works, and I haven't figured out any way of installing such. Instead, there's a simple shell file called install_zip.sh. It does not work with modern flashable zips that require TWRP/CWM; it only works with the old style zip designed for a specific architecture. As such, opengapps flashable zips will not work.
To install Google Play Services on KitKat (4.4.4)
1. Inside the emulator, open the browser and go to http://www.teamandroid.com/gapps/ and download the file linked under Gapps CyanogenMod 11.
2. Open the window the the android VM from the Hyper-V Manager to get console access. If you have ADB installed locally, you can use that in the future, but getting the VM's shared IP requires terminal access anyways (run `ip addr` as root inside the emulator to get the list of IPs).
3. Run `adb shell` to get access to the root shell (yes, it's that easy).
4. Run `install_zip.sh /sdcard/Downloads/gapps-kk-20140105-signed.zip` (or whatever the name/path for the downloaded gapps file is).
5. It should complete successfully. Now type exit to exit the adb shell, and close the hyper-v console window (the android emulator will continue running).
6. Click the 'X' at the top right of the Emulator to shut down/close the VM
7. Start the emulator back up. You should now have access to Google Play Services.
----------------------------------------
Busybox
The emulator does not come with a preinstalled copy of busybox. It does come with the android toolbox, but this has only a very minimal amount of commands in it. The instructions below are for installing stericson's busybox.
1. Get a copy of stericson's busybox from somewhere--your personal device, etc, it doesn't matter. The easiest way is to either install it on a real android device and grab it with airdroid (or other), or to use a play store scanner to get it. The file name will probably be something like stericson.busybox.apk.
2. Rename it to .zip so you can access the contents.
3. Extract the busybox-x86.png file from the 'assets' folder inside the zip, and rename it to `busybox`.
4. In the Android Emulator, click the >> button for tools, and click the sdcard header. Choose a folder (a new one on your dekstop will do) and tell it to pull the contents of the sdcard to the folder.
5. Move the busybox file into the Download folder that you just pulled from the sdcard. If you created a folder for this, you can delete it now.
6. Back in the android emulator, push the folder structure back into the sdcard; this will move the busybox onto the emulator.
7. Open the HyperV console for the emulator or open a terminal app in the android emulator (installing it is up to you)
8. Run `adb shell` to get a root prompt.
9. Run `mount -o rw,remount /system` to remount the system partition as writable
10. Run `cp /sdcard/Download/busybox /system/xbin` to copy the busybox binary over
11. Run `chmod 777 /system/xbin/busybox` to make the busybox binary executable.
12. Run `busybox --install /system/xbin` to copy the busybox binary for all the included applets. I think the -s paramter will symlink the applets to the main binary instead, but I'm not sure.
13. Type exit in the adb shell.
14. You can now run busybox commands in the terminal, and use apps that require busybox to be installed.
Now that you have busybox installed, you can use unzip, etc.
----------------------------------------
Hacking the OS itself.
The android emulator uses a VHD file for the disks. I've mounted the vhd file inside an ubuntu server to play with, and discovered several things about the way it works. The first partition is the boot partition, it contains 3 files:
- kernel - the android/linux kernel
- ramdisk - the ramdisk for the root filesystem. gzipped cpio archive.
- cmdline - the kernel parameters(? not sure what to call this)
I've tried modifying the ramdisk to add the init files for the superuser, but this doesn't seem to work properly; when I boot up the vhd file, I can open the console with hyper-v manager (the android emulator machines show up there automatically), and when it gets to the ramdisk, it says so--then the caps/num/scroll lights start flashing and it hangs. I haven't gotten any further than that at this time.

Categories

Resources