X10 Custom ROM AOSP 2.2.1 : How to for dummies - XPERIA X10 Q&A, Help & Troubleshooting

SINCE FREE X10 IS NOW BETA, THIS HOW TO IS NO LONGER VALID
Hello world !
I noticed there was nothing to explain simply how to install the increible X10 Free Rom in dual-boot with your regular 2.1 rom of Zdzihu.
** No responsability for anything, you are all responsible of what you're doing !! **
** Please follow ALL these steps. Don't try to be Indiana Jones by flashing your device without all the tools needed !!! **
INSTALL
(for 1st install)
Before attempting anything, make sure you have AT LEAST 50% of battery charge. Don't try anything with low battery, you can abort the flashing and brick your device !!!
Please make sure you're also running a 2.1 rom (Generic, nordic, official, custom...)​
- Download FreeX10 v0.0.1 file (NOT 002 yet !!!)
- Download Android SDK
You don't need to save the entire archive (but you can), you just need the Tools folder (because it contains ADB, the Android Debug Bridge we need to install files).
- On x10 :
Download and install Busybox (from Market), make sure it says "Done!".
Connect your x10 in USB, mount SD card, and copy files FreeX10.zip and install on the root of your SD Card.
Enable USB debugging (Parameters > Applications > Development).
- On your computer, go in the Tools folder, open a DOS prompt (for Windows 7 : hold CAPS + right click, you'll see Open a DOS prompt) and
type :
Code:
adb shell
(this will run ADB shell... You will get a "$")
- Type :
Code:
su
(this will make you super-user, you will get a "#")
- Type :
Code:
dd if=/sdcard/install of=/data/install && chmod 777 /data/install && /data/install
(It will display "11", "1+1", or "inflating:..." ...)
- Wait, have a beer, pray for your sins for your phone not to turn into a $600 brick
- One minute after, when it shows
Code:
All done, please reboot!
, reboot ! (But you can gently quit ADB by typing
Code:
exit
twice
)
Note : regarding me, I typed "exit" to quit ADB, I turned off ADB on phone and disconnected USB. You can do, it's even safer
- Wait up to 5 minutes for the phone to boot, it is NORMAL !!!! It looks stuck on Sony Ericsson logo and/or on Free X10 logo, it's NOT stuck !!! You MUST wait !!!!
- It will finally run normal, your phone is alive and 2.2-hearted !!
You are now eligible to install v0.0.2 (as it comes as an update).
Dual Boot usage
This rom comes with a great Dual Boot, which means the 2.2.1 is installed safely apart from your original 2.1 rom. This means you can switch back anytime to stock rom. To say it simply :
- Your Android 2.1 is here, and no changes are made to it (apps, version, etc etc). It is stored as it has to be, in the internal 1Gb phone memory storage (called the "NAND").
- FreeX10 (2.2.1) is running from image files (like .ISO files) stored in your SD Card. This means the two Android are living together peacefully, without affecting (theorically) each other.
FreeX10 mainly creates a bootloader, for you to choose whether to test 2.2.1, or go back to 2.1 for your daily use.
- To run 2.2.1 : do nothing (default boot)
- To run 2.1 : press any key at boot, when it shows "Sony Ericsson".
Notes when upgrading to v0.0.2 :
- As Android is stored into image files (.IMG), upgrading will wipe out all your content (it does a fresh "install"), make backup of what you need !
- to avoid future bugs, altough you're not forced to do, do the routines to make sure Wifi, root, packages install, ... work. This is because USB debug can break, so you won't be able to use ADB to fix these bugs
- Root is strongly recommended to work, because it's cool and because the CPU performance is set to highest : stuck at 998MHz all the time, it will drain your battery like hell ! You can switch it back to original power saving plan (ondemand plan) by using (ie) SetCPU. Root required !
If your Android goes instable, does not work anymore, or you want a fresh install after lots of tests, simply drag and drop the original v0.0.2 .img files on your SD card. This will make you boot into a fully fresh install.
For all bugs, commands, etc.. Please go first to this excellent (and very easy) thread !!

Nice..
How about one on AOSP 2.1

Perceval from Hyrule said:
Hello world !
I noticed there was nothing to explain simply how to install the increible X10 Free Rom in dual-boot with your regular 2.1 rom of Zdzihu.
Click to expand...
Click to collapse
nice dummies HOW TO
and ohhh my god there is dummies

all comands needed
INSTALLATION
1. Download the rom package (FreeX10_alpha-release_0.0.1.tar.bz2)
2. Unpack it to the root (main folder) of your SD Card
3. Connect your phone in USB Debugging mode
4. Open ADB shell, switch to root user (SU)
5. Issue the command
dd if=/sdcard/install of=/data/install && chmod 777 /data/install && ./data/install
6. Reboot when installation is finished
7. Enjoy
---------------------------------------------------------------------------------------------
CHANGE BOOT PRIORITY
Copy chargemon.txt file to
/system/bin
folder ON YOUR ORIGINAL 2.1 ROM, NOT FROYO!!!
---------------------------------------------------------------------------------------------
UPGRADE TO 0.0.2 VERSION
Boot into 2.1, unpack the content of FreeX10_alpha-release_0.0.2-UPDATE.tar.bz2 into
/sdcard/FreeX10
folder and reboot into updated 2.2!
NOTES:
1. SMS vibrate is disabled by default; open Messaging, press MENU button -> settings -> vibrate -> always
2. If you don't have radio (network) after 1st boot, please open ADB shell and issue this command:
killall servicemanager
3. If you don't have root access, please open ADB shell and issue this command:
chmod 4755 /system/bin/su
---------------------------------------------------------------------------------------------
hope it helps too

UPDATE TO v.0.0.2
Note : you can only update from 0.0.1 to 0.0.2. I mean you can't do a fresh install of 0.0.2, you MUST have 0.0.1 installed !
- Download v0.0.2 from main thread.
- Run your device on your regular 2.1 rom (while off, power on, and press any button when it displays Sony Ericsson logo)
- Mount the SD Card, then copy data.img and system.img from the archive into the folder /FreeX10. Replace the two .img files.
- Reboot into 2.2, have fun ^^

OmegaRED^ said:
Nice..
How about one on AOSP 2.1
Click to expand...
Click to collapse
I'll try to do one if I get time, but I need a fully working ROM as my phone is useful for my life (still waiting for 2.1 stable )
Thanks for your posts all, it will help everybody who want to try the 2.2
(as it is safe and running from SD card, very very very cool idea !)

Help followed your guide get adb shell not a internal command what am i doing wrong been trying this for hours now

I found drawing a pentagram in human blood and chanting a few words can do wonders too.

fastphil said:
Help followed your guide get adb shell not a internal command what am i doing wrong been trying this for hours now
Click to expand...
Click to collapse
root privileges do you have it?
unmount sdcard

OmegaRED^ said:
I found drawing a pentagram in human blood and chanting a few words can do wonders too.
Click to expand...
Click to collapse
sarcasm...love it

rendeiro2005 said:
root privileges do you have it?
unmount sdcard
Click to expand...
Click to collapse
yes mate i do have root access titanium etc works fine just cant get adb shell to run

When i installed 2.2, it rebooted and when to the sony ericsson logo for almost an hour, does this mean i have to reinstall 2.1, and if so, i would i accomplish this

fastphil said:
yes mate i do have root access titanium etc works fine just cant get adb shell to run
Click to expand...
Click to collapse
and what about sdcard?
uncheck nount/unmount

rendeiro2005 said:
and what about sdcard?
uncheck nount/unmount
Click to expand...
Click to collapse
done that too

fastphil said:
done that too
Click to expand...
Click to collapse
can you post a screenshot of cmd?

ok will do

I am still having problems also...
after I type the cmd...
dd if=/sdcard/install of=/data/install && chmod 777 /data/install && /data/install
it just says:
1+1 records in
1+1 records out
520 bytes transferred in 0.003 secs...
#
so, where am I going wrong?
fyi, I am trying to install v001, not the update, and the phone is rooted, busybox is installed. Sorry, but I have tried for a while now and I finally have to just ask for help. Thanks guys.

here pic off cmd
{
"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"
}

fastphil said:
Help followed your guide get adb shell not a internal command what am i doing wrong been trying this for hours now
Click to expand...
Click to collapse
Does it work when your run "adb" command only ?
It looks to me your error is because you're not in the folder where adb.exe is
It is in folder tools, if you try to run it from root directory (where is the android app with nice icon) it won't work for sure
Edit: didn't see your screenshot >> you are NOT in the correct folder !! (so Windows is searching for a registered command which does not exist, I think there's a thread somewhere on how to add it as a registered (I mean global) command)
You must download Android SDK (22mb... Lmao regarding 4gb for iOS ), extract the archive and go in the tools folder. Here is adb.exe.

when i try & run adb exe it does not open it just closes right away

Related

[Tutorial] Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working)

[Tutorial] Root FRF91/FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Working)
Credits:
Booker-T
M9x3mos
th3fallen
juan413
_Sri_
Amon_RA
cyanogen
For your amazing works leading up to this guide
Notes:
- Donate if I've helped save your HTC warranty.
- This will work! If you can't figure something out, don't get discouraged. Ask here for help.
- After this process, you can flash whatever ROM you like in recovery. I just have the steps showing for CyanMod so you know you have a good, clean system to start off with.
[T-Mo & ATT] Prerequisites:
- Locked Nexus One flashed with FRF85B
(Stuck on FRF91? Use THIS to downgrade to EPE76. Then update back up to FRF85B.)
- Lastet SDK (Click)
- Working ADB (Info)
- The attached .zip "ROOT_FRF83.zip" (Attachment at bottom)
- Got Mac/Linux? (Click Thanks madj42)
Process:
1) Extract the files within "ROOT_FRF83.zip" into the "tools" directory of the extracted SDK package
2) Open a command prompt or terminal and change to the "tools" directory of the extracted SDK package
- Example: Type "cd C:\Users\Matt\Desktop\android-sdk-windows\tools" and hit Enter
3) Type "loop" and hit Enter
4) With phone attached through microUSB, enter Recovery with the battery cover OFF and the SDcard REMOVED.
- Tip: Be careful not to let the battery fall out during this process
- Tip: To enter recovery, boot while holding Volume down button. Then select the recovery option.
5) When you see the HTC devices attached in recovery mode, hit Ctrl+C, then "y", then Enter
6) Slide in SDcard (Make sure there is no update.zip on it at this point)
- Tip: It should slide in and click VERY easily if you trim the tab on the battery properly. A sharp razor blaze works well.
- Tip: I recommend this instead of other methods (paper slip) because it will work without error
- Tip: You only need to cut as far as the SDcard slot goes, you do not need to trim the entire tab
{
"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"
}
7) On your phone, press Power + Volume Up AFTER inserting SDcard
8) Choose "apply sdcard:update.zip"
- Tip: It will fail, but that is expected because there is no update.zip
- Tip: This is done to mount the SDcard after achieving adb while the SDcard was out
9) In your terminal type "adb push flash_image /sdcard/flash_image" and hit Enter
10) In your terminal type "adb push ota.zip /sdcard/update.zip" and hit Enter
11) In your terminal, type "adb push update.zip /sdcard/update.zip" and DO NOT yet hit Enter
12)Ready your finger near the Enter key of your keyboard so that you can quickly hit it once you complete the next step
13) Choose "apply sdcard:update.zip"
14) As soon as you see the yellow installation progress bar, hit Enter on your keyboard
- Tip: If completed properly, you should see a message about rooting adb
15) Choose "Reboot into system"
You now have root access(aka Admin rights) in your stock ROM, but with limited capabilities.
If you want to do any of the following, please continue:
- Flash a custom recovery
- Perform Nandroid backup
- Flash a Rooted Stock Froyo ROM with full capabilities
- Flash CyanogenMod
16) Download the following to the root of your SDcard
- recovery-RA-nexus-v1.7.0.1.img: http://rapidshare.com/files/393267368/recovery-RA-nexus-v1.7.0.1.img
- Note: UnMount your SDcard after copying these files, but keep your phone plugged in
17) In your terminal type "adb shell" and hit Enter
18) In your terminal type "su" and hit Enter
- Tip: At this point, it will hang until you choose "Allow" on your phone with the SuperUser app pop-up
- Tip: $ should now be replaced with #
19) In your terminal, type "mount -o rw,remount /dev/block/mtdblock4 /system" and hit Enter
20) In your terminal, type "cat /sdcard/flash_image > /system/bin/flash_image" and hit Enter
21) In your terminal, type "chmod 775 /system/bin/flash_image" and hit Enter
22) In your terminal, type "flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img" and hit Enter
23) In your terminal, type "rm /system/etc/install-recovery.sh" and hit Enter
24) In your terminal, type "rm /system/recovery-from-boot.p" and hit Enter
You can now boot into your new Recovery by turning off your phone and turning back on while holding Volume Down.
If you want the latest CyanogenMod, please continue.
25) Download the following to the root of your SDcard
- update-CM-5.0.8-N1-signed.zip: http://cyanogen-updater.googlecode.com/files/update-cm-5.0.8-N1-signed.zip
- gapps-passion-EPF30-signed.zip: http://www.mediafire.com/download.php?mjzwozjojkh
26) Nandroid backup
- Tip: In Recovery, choose "Backup/Restore" then "Nand backup"
- Tip: This will give you an exact copy of your system's current state which you can revert back to at any time
27) Wipe your phone
- Tip: In Recovery, Choose "Wipe" then "Wipe data/factory reset"
28) Apply zip "update-CM-5.0.8-N1-signed.zip"
- Tip: In Recovery, Choose "Flash zip from sdcard"
29) Apply zip "gapps-passion-EPF30-signed.zip"
30) Reboot into your newly rooted phone!
thanks! is there any specific reason why it has to be FRF83 or FRF72 if you know? for us AT&T Nexus User stuck on EPE54B, shouldn't we be able to do the same? or the ota.zip is different in that sense? Please give us some insight. thanks!
Sorry, where is The attached .zip "ROOT_FRF83.zip" ?
where is the attached .zip "ROOT_FRF83.zip"
Oops!! Added link to the top!
Constrabus said:
Oops!! Added link to the top!
Click to expand...
Click to collapse
the link wont work
Link updated
Constrabus said:
4) With phone attached through microUSB, enter Recovery with the battery cover OFF and the SDcard REMOVED.
- Tip: Be careful not to let the battery fall out during this process
5) When you see the HTC devices attached in recovery mode, hit Ctrl+C
6) Slide in SDcard (Make sure there is no update.zip on it at this point)
- Tip: It should slide in and click VERY easily if you trimmed the tab on the battery properly
7) On your phone, press Power + Volume Up
8) Choose "Apply update.zip from SDcard"
- Tip: It will fail, but that is expected.
9) In your terminal type "adb push flash_image /sdcard/flash_image" and hit Enter
Click to expand...
Click to collapse
Still getting either adb with no sd, or sd with no adb.
When I follow your exact process, apply "sdcard:update.zip" returns
"-- Install from sdcard...
Finding update package...
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:update.zip
Installation aborted."
and then "adb push flash_image /sdcard/flash_image" returns
"failed to copy 'ota.zip' to '/sdcard/flash_image'ermission denied".
These are the exact same returns I get when I tried the process without a card inserted, which is what leads me to believe the card is in but not mounted.
Is there a way to tell adb to (re)mount the SD card in recovery?
Or am I doing something wrong...
Can you walk me through just those particular steps? Like Cookbook-detailed instructions.
Make sure that you are inserting the sdcard BEFORE you press Power and Volume Up to reveal the recovery options and AFTER you get adb connected in recovery mode with loop.
Also make sure you can get adb working while in android to make sure the driver is installed properly.
lostinatlanta said:
Still getting either adb with no sd, or sd with no adb.
When I follow your exact process, apply "sdcard:update.zip" returns
"-- Install from sdcard...
Finding update package...
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:update.zip
Installation aborted."
and then "adb push flash_image /sdcard/flash_image" returns
"failed to copy 'ota.zip' to '/sdcard/flash_image'ermission denied".
These are the exact same returns I get when I tried the process without a card inserted, which is what leads me to believe the card is in but not mounted.
Is there a way to tell adb to (re)mount the SD card in recovery?
Click to expand...
Click to collapse
weird thing is adb devices do not see my phone even without SD card...
guess froyo is a must to get this working?
i am on EPE54B, still...
I now have an unlocked, newly unrooted FRF83. Will this tutorial still work for me?
t mobile usa 3g network, stock recovery image. I think I am unrooted because there was a warning in the tutorial and my adb shell denies super user permissions.
kaiser_tytnii said:
weird thing is adb devices do not see my phone even without SD card...
guess froyo is a must to get this working?
i am on EPE54B, still...
Click to expand...
Click to collapse
This guide is for people stuck on FRF83 because you can't revert to the older build where other guides worked.
adambenjamin said:
I now have an unlocked, newly unrooted FRF83. Will this tutorial still work for me?
t mobile usa 3g network, stock recovery image. I think I am unrooted because there was a warning in the tutorial and my adb shell denies super user permissions.
Click to expand...
Click to collapse
If you are unlocked, this guide would be redundant for you. The purpose of this guide is to root without having to unlock, thus preserving your warranty.
Shell script version of loop.bat:
I assume this will work...
Code:
while true; do adb devices; done
Constrabus said:
If you are unlocked, this guide would be redundant for you. The purpose of this guide is to root without having to unlock, thus preserving your warranty.
Click to expand...
Click to collapse
I still would like to get my root back. Will that part of this tutorial work to get the root back?
EDIT: Got it rooted. wow that was easy.
Based on you providing links for recovery-RA-nexus-v.1.7.0.1.img, update-CM-5.0.8-N1-signed.zip, google addon EPF30; will the steps involving these install Cyanogen on my phone?
I was hoping to do this process without wiping my phone's memory and keeping my stock FRF83.
what25 said:
Based on you providing links for recovery-RA-nexus-v.1.7.0.1.img, update-CM-5.0.8-N1-signed.zip, google addon EPF30; will the steps involving these install Cyanogen on my phone?
I was hoping to do this process without wiping my phone's memory and keeping my stock FRF83.
Click to expand...
Click to collapse
If you don't want the Cyanogen ROM or RA recovery just skip step #22 and stop with step #24. I didn't follow this tutorial as I did Booker-T's method with some tweaks but if you do what I said you should be fine.
madj42 said:
If you don't want the Cyanogen ROM or RA recovery just skip step #22 and stop with step #24. I didn't follow this tutorial as I did Booker-T's method with some tweaks but if you do what I said you should be fine.
Click to expand...
Click to collapse
You dont have to use that rom, you can flash any other rom as long as you have root. Paul obrien offeres a rooted FRF83 rom
I was able to do this without taking out / putting the SD card in (and thus avoided filing down my battery. I didn't run "loop.bat" until I was highlighting the Recovery icon, the ran it, when into Recovery, and adb picked it up.
Worked perfect!
Just, when flashing recovery, the better terminal emulator was giving me an error, i used Rom Manager to flash the recovery, and back to terminal to rm /system/etc/ blah blah ....GREAT Tutorial!

[How-To] Root the Slide with any sw verision and flash cust rom

First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
I keep getting permission denied when I try to run the chmod command its very frustrating.. the myroot runs perfect everything flashes but then it gives me permission denied any ideas? plz
where you able to cd into the proper directory. what chmod are you getting the error on.
just got it to work good job Artiszan everything is so much smoother then how it use to be.. I had to power off my phone and format my sdcard idk why but it worked and was able to chmod and do everything thanks bro
TheArtiszan said:
First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
Click to expand...
Click to collapse
This worked so well and for lack of a better word well it is perfect. My friend watched me, and saw how easy it was and he did his new mt3gs as well. Many thanks to all the peeps who worked on this and thanks to TheArtiszan for making this into english. I'm not that tech savy yet. As they say if I can do it anyone can. Thanks again
Error, read only file system
If you get read only errors, you may want to check out Radu Motisan's thread about how to "Write on the Android Read-only file system" on PocketMagic.net (sorry, can't post outside links yet. Just search for the quoted phrase on the aforementioned webpage to read the original post) Thank you Radu Motisan.
A brief overview:
Most of Android partitions are mounted as read only.
For eg. /system where most of the libs and other system components are stored, including the permissions.xml file.
You can temporary re-mount the /system partition to read write and load your new files to that partition!
using adb shell or the android terminal with root privileges, do the following:
See the currently mounted partitions:
Code:
# mount
Then re-mount to read-write the partition you are interested in , eg. /system:
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
.../...
You can also:
Code:
mount -o rw,remount -t rootfs /
Click to expand...
Click to collapse
CAVEAT! Please read.
On my MT3GS I had to enter the command to remount the rootfs as read/write a little differently to make it work with my #TEAMSLIDE Kanged CM6
The command was:
Code:
mount -o rw,remount rootfs /
My mount command didn't like the "-t" tag. Works just fine without it for me.
Why did you copy+paste nbetcher's root method?
{
"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"
}
Can anyone please tell me where to stop if I want to continue with the stock rom but just want phone to be rooted.??...with the steps outlined here doe I need to install another ROM? how do I maintain the stock ROM? and just apply only the root?
Churusaa said:
If you get read only errors, you may want to check out Radu Motisan's thread about how to "Write on the Android Read-only file system" on PocketMagic.net (sorry, can't post outside links yet. Just search for the quoted phrase on the aforementioned webpage to read the original post) Thank you Radu Motisan.
A brief overview:
CAVEAT! Please read.
On my MT3GS I had to enter the command to remount the rootfs as read/write a little differently to make it work with my #TEAMSLIDE Kanged CM6
The command was:
Code:
mount -o rw,remount rootfs /
My mount command didn't like the "-t" tag. Works just fine without it for me.
Click to expand...
Click to collapse
Does this work with a stock (unrooted) MTS3G? I don't have SU permissions, and even when using the aforementioned method you talked about, it still does not work
Keeps saying chmod /system :read only file system
TheArtiszan said:
First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
Click to expand...
Click to collapse
Command promps aren't working. You say to follow these steps and it's easy, but the steps are incomplete, and you assume the reader knows what you mean. Please break it down a little more. For example in the command promp you say to type cd C:\root the it says myroot, what does that mean? It's not as easy as you think.
The whole thing falls apart around the time I try and flash ESPRIMG.zip. I get into bootloader and it just skips right on by ESPRIMG.zip with "no image found" and of course when flashing update.zip from the memory card in recovery it fails the signature and refuses to flash. I cannot get into clockwork for the life of me.
loganthered said:
The whole thing falls apart around the time I try and flash ESPRIMG.zip. I get into bootloader and it just skips right on by ESPRIMG.zip with "no image found" and of course when flashing update.zip from the memory card in recovery it fails the signature and refuses to flash. I cannot get into clockwork for the life of me.
Click to expand...
Click to collapse
Then you don't have the file ESPRIMG.zip on the root of your sdcard.
I've tried every root method for the slide and most of them worked but not without problems, this Root method is exactly down to the T, perfectly executed, no problems whatsoever. Thanks for everyone who helped make this happen and for the OP you made this super easy.
Did this on my first attempt, I was coming from stock with the OTA update and had no issues. Great job to everyone involved!
Sent from my rooted myTouch Slide using XDA app....
Video of the root...
Can someone please post a video of the rooting process? I'm deathly scared that I'm gonna mess something up and break my new phone. This is my first android phone and my first time rooting one. And in the video could you show how to get the Android SDK and how to get it ready to root? It would be soooo appreciated.
supermario12312 said:
Can someone please post a video of the rooting process? I'm deathly scared that I'm gonna mess something up and break my new phone. This is my first android phone and my first time rooting one. And in the video could you show how to get the Android SDK and how to get it ready to root? It would be soooo appreciated.
Click to expand...
Click to collapse
Perhaps you can try this guide which was written by a n00b, for n00bs. It consolidates a lot of details together and doesn't assume you already know about Android tools and hacking.
yea they should make a video....it would be a lot easier for us please!!!
is there anyway to get into clockwork and make a nandroid before applying the eng rom
i can't get my pc to find my mt3gs
c:\root>myroot
c:\root>clr
'clr' is not recognized as an internal or external command,
operable program or batch file.
"This is made for MyTouch 3G Slide with a combination of a few methods"
"Originally found at xda developers I did develop the exploit just made this sim
ple tutorial"
"At this point, your phone should be booted as normal and connected"
"Make sure of these things:"
"USB Debugging Enabled - Settings/Applications/Development"
"USB Connection Type - Charge Only (select on your notifications bar)"
"Wifi is currently turned off."
"Confirm that the screen on the device is set to never timeout."
"Press enter to begin the process"
c:\root>pause
Press any key to continue . . .
c:\root>clr
'clr' is not recognized as an internal or external command,
operable program or batch file.
"Please Wait...Initiating root setup to device and copying files this will take
a while"
c:\root>adb devices
List of devices attached
c:\root>adb push exploid /sqlite_stmt_journals
error: device not found
c:\root>adb push flash_image /data/local
error: device not found
c:\root>adb push mtd0.img /data/local
error: device not found
c:\root>adb push update.zip /sdcard
error: device not found
c:\root>adb push esprimg.zip /sdcard/ESPRIMG.zip
error: device not found
"follow the rest of the steps now"
c:\root>pause
Press any key to continue . . .
Your phone is not being recognized in adb mode. First try starting phone normally and go under settings to applications to development then check mark usb debugging pluf in device and give the pc a min
In c:/root run this
Adb devices
Should see device listed beneath. If not sounds like a driver is messed up. If this is the case I would first try and install pdanet on the computer as this should get us the right drivers. I assume you are running windows right?
Sent from my T-Mobile myTouch 3G Slide using XDA App

[GUIDE] How to install touchscreen fix

It's really about time somebody made a simple, easy and straight forward guide for installing mik_os's clever touchscreen kernal patch thing. I'm not android genius and really struggled to install this having no knowledge of how androids really work inside. Trying to figure out how to install the much needed touchscreen fix was a disaster but I finally got it right.
Due to a lack of simple and easy to follow guides I have made this one to help out other beginners, who like me didn't receive the help they need despite hours of google searches.
WARNING: If you do something wrong, or if something breaks while you are following this guide, I'm not responsible for any of your actions. Do this at your own risk.
The files provided are not my work and I take NO credit for them. They were created by clever people to help our lives
Credits:
kernal/touch screen bug fix: mik_os http://forum.xda-developers.com/showthread.php?t=929941
z4root : RyanZA http://forum.xda-developers.com/showthread.php?t=833953
Custom recovery: getitnowmarketing http://androidforums.com/getitnowma...ry-optimus-one-p500-thunderg.html#post1896517
Firstly this guide shows you how to root and then flash your phone with mik's fix. I'm not very good with androids but this worked and is pretty fault proof if you follow the steps. BEFORE BEGINNING MAKE SURE YOU HAVE FULL BATTERY!
1) Make sure you have Froyo 2.2. To check what version you have go to settings> about phone> android version. If you have 2.2.1 or something I really can't help you, do a bit of searching on how to downgrade. Explaining it will only complicate things if you are knew to androids like me.
2) Click this : http://forum.xda-developers.com/attachment.php?attachmentid=446145&d=1290341328
3) Save it to your computer, plug your phone into the USB port and copy the newly downloaded file onto it(by enabling mass storage device thing on your phone) and just pasting it in there not in any folder.
4) On your phone open the android market, search for Astro file manager. Choose to install it(wait for download and install to complete).
5)Open Astro File manager and locate the file you downloaded (z4Root by RyanZa) using astro (it'll be in the sd folder on its own). Select z4Root and install it and run it after installing.
6) Choose to permanently root your phone(this voids your warranty btw). Let it do its stuff, your phone will restart and you will be a super user! win.
7)Next download this:
http://www.mediafire.com/file/uf752h914q0u228/recovery-RA-GNM-thunderg-1.1.0.img.zip
and
http://www.mediafire.com/?45u0obd6pjj5twp
(Do not extract this file only the others)
and this
http://androidforums.com/attachment...ery-optimus-one-p500-thunderg-flash_image.zip and extract both of them into folders.
(thanks to getitnowmarketing for guidance at this point)
Next do one of the following two methods:
METHOD A(EASIER):
8)Download & install:
Google Chrome to phone(PC Google Chrome extension)
Google Chrome to phone(Phone app)
Terminal Emulator (Phone app)
9)Synchronize your Google account in Chrome to Phone(browser extension and phone app) and make a test by sending something to your phone(link,text).Make sure it's working.
10)After that open Terminal Emulator and type "su"(without quotes) and click yes when it's asking you for Superuser permission."#" will appear.
{
"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"
}
11)From the commands list below copy every line (except red one) one by one and send it to phone.On phone paste all commands one by one,as you send them from Chrome, in Terminal Emulator.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[COLOR="Red"][U](if it shouts at you here saying not found or something,ignore it)[/U][/COLOR]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
12)Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
Skip to step 16!
OR:
METHOD B
8) Now download this: http://dl.google.com/android/android-sdk_r09-windows.zip (windows) or http://dl.google.com/android/android-sdk_r09-linux_x86.tgz (linux) ,extract and install it.
9) Copy(with mass storage mode on) the FILES (and the one zip file that was downloaded from mediafire--> the other two things copied accross should not be zip files but instead individual files that have been extracted. ) to your SD card (not in any folder or anything, just in the main folder that opens when you open your SD card on your computer).
10) Turn off mass storage mode on your mobile (pull down the notification bar and click where it says USB Connected and make sure it is off).
11) Next go Settings>Applications>Development>Tick USB debugging (make sure it is on).
12) Next, on your computer press windows key + r, type cmd. Then type
cd <follwed by the address of the platform-tools folder in the sdk folder>
For example mine was (remember all lowercase):
c:\downloads\android-sdk_r08-windows\android-sdk-windows\platform-tools
so i typed :
cd c:\downloads\android-sdk_r08-windows\android-sdk-windows\platform-tools
13) A whole lot of writing should come up and stuff in the box you typing in (cmd prompt). Next type adb shell and then the word su. Your phone should ask if it should allow permission for super user, select allow or grant access or whatever it says on your phone.
14) Making progress. Next copy the following lines and go back into cmd prompt and right click in it and select paste. Do one line at a time into cmd prompt.
15)
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[B][U](if it shouts at you here saying not found or something,ignore it)[/U][/B]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
16) You may back up if you want at this point by going to backup/restore (scroll using volume key and select it using the key on the very left of your phone at the bottom in the front). Choose nandroid backup and let it do its business).
17) Next get back to the mainscreen and select flash zip from sdcard. Select signed_kernal.zip and choose to let it flash. Let it do its business, go to the mainscreen, click reboot system now and you done. Your phone should restart happily with a much less cpu intensive touch screen!
hope this guide helps someone who had the same troubles as me.
Feel free to inform me of anything I may of left out
good work but all the commands can be entered using terminal emulator on phone itself..
thanks
I would much rather just use my pc to type the commands cause I can copy paste them nicely and I trust my pc more
ccdreadcc said:
good work but all the commands can be entered using terminal emulator on phone itself..
Click to expand...
Click to collapse
Best solution is Terminal Emulator + Chrome to phone.Very easy!
rosuvladut said:
Best solution is Terminal Emulator + Chrome to phone.Very easy!
Click to expand...
Click to collapse
If someone types that out I'll add it in (from getting the addon to accessing the terminal).
eichos said:
If someone types that out I'll add it in (from getting the addon to accessing the terminal).
Click to expand...
Click to collapse
Well,from step 8 using Terminal Emulator and Chrome to phone.
8)Download & install:
Google Chrome to phone(PC Google Chrome extension)
Google Chrome to phone(Phone app)
Terminal Emulator (Phone app)
9)Synchronize your Google account in Chrome to Phone(browser extension and phone app) and make a test by sending something to your phone(link,text).Make sure it's working.
10)After that open Terminal Emulator and type "su"(without quotes) and click yes when it's asking you for Superuser permission."#" will appear.
11)From the commands list below copy every line (except red one) one by one and send it to phone.On phone paste all commands one by one,as you send them from Chrome, in Terminal Emulator.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[COLOR="Red"][U](if it shouts at you here saying not found or something,ignore it)[/U][/COLOR]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
12)Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
Skip to step 16!
You can update first post if you like it!
Nice...
What about WifiKeyboard? With this tool you can write on phone with keyboard on your PC. Also can be used for SMSs, emails, and so on.
even better and more easy to use copy/paste for emulator.
It works
Thank u for the tutorial. It really worked fine, using the wireless keyboard. 10x for the help and effort u put in this.
thanks for this tutorial.. it helped me a lot..
Actually I found easier with the sdk and windows dos terminal, but whatever ^^, this is a great guide, should have seen before
So are you sure this doesn't work in 2.2.1?
hey i was just wondering... since lg will be releasing gingerbread for the optimus one(p500), is there a way to be able to do this in the future with this setup? or have we given up all future updates from lg or otherwise for this custom kernel??
also i just got an error message when i copied in the first part of the terminal part. I comes up "cannot create /system/bin/flash_image: read-only file system"
Need help!!!
Edit: i found somewhere you had to type in the "mount" line before it all... and it seemed to have worked, hope i didn't break something :s
Edit 2: now i've run into another problem as your instructions seem to skip steps and information towards the end. this line in particaular:
17) Next get back to the mainscreen and select flash zip from sdcard. Select signed_kernal.zip and choose to let it flash. Let it do its business, go to the mainscreen, click reboot system now and you done. Your phone should restart happily with a much less cpu intensive touch screen!
Select flash zip? There is no flash zip anywhere mentioned besides here. could you please clarify or could anyone tell me what he means as im stuck on this part
cyanide911 said:
So are you sure this doesn't work in 2.2.1?
Click to expand...
Click to collapse
You can't root AFAIK on 2.2.1.
@hatethat:
is SU on?
hey sry i edited that post a number of times as not to spam posts... but yeah i got past all that stuff and am now stuck on step 17... i dont know where flash zip came from?
Edit: i went into the recovery mode adn it says "flash zip" there so i tried that and it worked fine ty anyway
HateThat said:
hey sry i edited that post a number of times as not to spam posts... but yeah i got past all that stuff and am now stuck on step 17... i dont know where flash zip came from?
Edit: i went into the recovery mode adn it says "flash zip" there so i tried that and it worked fine ty anyway
Click to expand...
Click to collapse
U need to download signed-kernel.zip and flash that
eichos said:
You can't root AFAIK on 2.2.1.
@hatethat:
is SU on?
Click to expand...
Click to collapse
Ah damn
Sent from my LG-P500 using XDA App
thank you good guide
I can`t find the Google Chrome to Phone (phone app) in the market, can anyone help me with it?
And of course in the pc market, my network provider won`t let me install it.
L.E.: finally i`ve found the app. Flashed the kernel, works like a charm. Thank you.

[HOW-TO] Set up SDK/ADB on Ubuntu 11.10 | 32 & 64 bits

Video-Tutorial:
http://bit.ly/HzzmUn​
Step 1. Install JDK
Open Terminal and enter the following command(s), then enter your ubuntu login password followed by ‘y’ when prompted for yes/no.
Code:
$ sudo apt-get update
$ sudo apt-get install openjdk-6-jdk
Step 2. Install 32 bit libraries - Only for 64 bit users
On x64 systems you are required to install some 32-bit libraries or the android toolkit will not work. In a terminal write:
Code:
$ sudo apt-get install ia32-libs
Step 3. Download and Install Android SDK
Download the Android SDK. Choose the one for linux: android-sdk_r16-linux.tgz
Extract android-sdk_r16-linux.tgz and put the folder in your desired location. I recommend to put it under home/username/ | When using the terminal the same path is described as ~/
Step 4. Choose packages to install
First of all go to ~/android-sdk-linux/tools/
Right clic to android >> Properties >> Permissions
Make sure "allow executing file as a program" it's checked
{
"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"
}
Once done close that window and doble click on the Android file, select Run in Terminal.
Download the tools as shown in the following picture:
Step 5. Check your device's permission
Now head over to the platform-tools directory
Code:
$ cd ~/android-sdk-linux/platform-tools
Check if you have permission for your device
Code:
$ ./adb devices
If you're getting the following, go on to Step 6.
Code:
List of devices attached
OR
List of devices attached
???????????? no permissions
If you're getting something like shown below or other random numbers with the word device next to it, congrats! You can now use ADB. Now go on to Step 7.
Code:
List of devices attached
0123456789ABCDEF device
Step 6. Adding USB Vendor ID of your device
Open HOME folder and enable Show Hidden Files:
Open .android folder >> right click >> Create New Document >> Empty Document, name it adb_usb.ini and open it. Put the following on it:
Save & close the window
Then unplug your NT and plug it again (From the NT usb port, not PC). Now to check if it works...
Code:
$ ./adb devices
You should be getting something similar to the following line:
Code:
List of devices attached
0123456789ABCDEF device
Congrats! Now you can use ADB in Ubuntu! Now hop on to Step 7!
Step 7. Create path for ADB
NOTE: while using adb on Linux you'll need to type ./adb to execute adb commands unless you create a path in ~/.bashrc. In a terminal write:
Code:
$ sudo gedit ~/.bashrc
Add the following line at the very end of the file. Once you're done, save and exit.
Code:
# Android tools
export PATH=~/android-sdk-linux/platform-tools:~/android-sdk-linux/tools:$PATH
Then in a Terminal run this command to reload your .bashrc:
Code:
source ~/.bashrc
Now you can just run adb without put ./ before every command.
~ Veronica
great
thank you very much!!!
Can this help with porting and building from source
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Anon9mouz said:
Can this help with porting and building from source
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Click to expand...
Click to collapse
this helps partly it just gives you the basics to make adb work but if you want to develop then you will need other tools, to setup ubuntu for development/theming then use this script.
~ Veronica
lavero.burgos said:
this helps partly it just gives you the basics to make adb work but if you want to develop then you will need other tools, to setup ubuntu for development/theming then use this script.
~ Veronica
Click to expand...
Click to collapse
O ok thanks ill check it out
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Update april/10
Added Video-Tutorial
~ Veronica
Followed your video tutorial, but ubuntu adb still doesn`t see my device, while at the very same time it perfectly works under windows. The only step i missed is step 2, terminal is saying ia32-libs no candidate for installation(translating from russian, might be smth different)
PS: USB debugging is enabled in my nook settings dev
Devol said:
Followed your video tutorial, but ubuntu adb still doesn`t see my device, while at the very same time it perfectly works under windows. The only step i missed is step 2, terminal is saying ia32-libs no candidate for installation(translating from russian, might be smth different)
PS: USB debugging is enabled in my nook settings dev
Click to expand...
Click to collapse
cd to the folder where adb is located and type:
$ sudo ./adb devices
~ Veronica
I followed your video, so i`ve tried sudo aswell...may be i can just go on with windows adb?
Actually i`ve tried it already, there are only 7 files for 8gb partitions, i`ve copied one of them to my 4th big sdcard partition, and tried to dd if...bla bla bla... = writes error: no space left on device
Devol said:
I followed your video, so i`ve tried sudo aswell...may be i can just go on with windows adb?
Actually i`ve tried it already, there are only 7 files for 8gb partitions, i`ve copied one of them to my 4th big sdcard partition, and tried to dd if...bla bla bla... = writes error: no space left on device
Click to expand...
Click to collapse
hmm did you mount /sdcard in CWM? the cwm recovery by @meghd00t works now for 8GB NT... anyways that's ok you can copy it to /data instead of sdcard go one by one, i don't know what exactly you have done to your device but i recommend to just use the necessary partitions.
~ Veronica
No, i`m booting of cm7 sd card, used a file manager to go to internal emmc, looks like alot of files there...most 0kb, my mmc0p7 is in dev\block, but not copied fully, only around 208mb(full size is 300mb somthing)...file manager doesn`t allow to delete anything...
Devol said:
No, i`m booting of cm7 sd card, used a file manager to go to internal emmc, looks like alot of files there...most 0kb, my mmc0p7 is in dev\block, but not copied fully, only around 208mb(full size is 300mb somthing)...file manager doesn`t allow to delete anything...
Click to expand...
Click to collapse
no, you can't copy from a file manager the partition images neither remove them for security it is why you use dd from CWM to copy the partition images while non of them are IN USE!!!
advice don't be playing around with the partition table, please use @meghd00t recovery he has posted zip with all you need. Boot into CWM from sdcard run the commands.
PS: we're going offtopic in this thread
~ Veronica
Nope, it(meghd00t Repartition, Reformat, Restore and Rescue SDcard) also stops at 25% while restoring factory defaults at the last step...(
Ok, my actions that lead to this situation: rooted nook with sd card method for 8gb, installed recovery flasher apk, flashed cwm, followed steps(wiping data, daviks - here it hang up, then rebooted, after that tried flashing cm7 which was a big mistake, wish guys had a word in the topic that it`s not meant for 8gb...and the result is i cant boot from internal mem, only sd. btw, cwm acted strangly, it could hang on all of a sudden, or work for a while, cwm was internally installed, now i`ve removed it)
If we are offtoping, lets move to some other thread...
PS: for some reason nook doesn`t boot from cwm sd(cable plugged, part active fat32)...basicly it will boot only from cm7 rom and meghd00t recovery images.
@Devol i replied to you here
~ Veronica
Great Work!
Thanks a lots for such a detailed guide.
You can also drop the adb and fastboot binaries into /usr/bin and use both commands without needing to CD to the /tools folder in the SDK. Just don't forget to change the permissions.
cant get past the checking phone permission stage! keeps saying no permissions. if it helps any, im using ubuntu 12.04. im gonna reboot and try in windows. is there any benefit to using adb in linux over windows anyway?
ridleyj329 said:
cant get past the checking phone permission stage! keeps saying no permissions. if it helps any, im using ubuntu 12.04. im gonna reboot and try in windows. is there any benefit to using adb in linux over windows anyway?
Click to expand...
Click to collapse
For when you hard brick your device your device yes, you need linux and adb working or for those like me that prefer to use linux over windows daily.
~ Veronica
http://www.omgubuntu.co.uk/2012/05/...m=feed&utm_campaign=Feed:+d0od+(OMG!+Ubuntu!)
A little off topic but awesome. Any one know how to switch between java 6 and 7 on ubuntu? I need 7 for minecraft and 6 for android sdk. Im on 12.04.
Sent from my DROID RAZR using xda premium
Thanks alot just got this working on ubuntu 12.04 with no issues. Just make sure you complete a:
apt-get update && apt-get upgrade
apt-get dist upgrade prior to any of the steps

[NEWBIE GUIDE]Rooting and Flashing Custom Roms

Hi Folks,
Today TheF3nix requested me how to root and speed up the LG P500 Optimus One.
The best way to make the phone faster is to delete system apps or equal to flash a new system. In this guide i want to show you how to root delete system apps and flash new systems.
Step1: Rooting
Windows/Linux
First download SuperOneClick. Unzip the file and open the setup(.exe)
Before continuing make sure USB-Debugging(Settings > Applications > Development > USB-Debugging) is activated/ticked.
Connect your Device via USB to the PC.
Go to the SuperOneClick window and press the "Root"-Button
Wait till the process is finished. Close all Dialogs(Test, Donate) on PC.
After all finished Reboot your Device. If you don't do that Root will not work.
If the reboot finished the Phone is rooted
aravindsagar said:
Anyway, Super One Click will not work if the phone is running on stock 2.3.3. To root that, goto adb shell (see the next paragraph), type "echo 1 > /data/local/lge_adb.conf" (without the quotes) and then go to Super One Click, select psneuter exploit, and then click root.
To setup adb in your computer, see this link: http://forum.xda-developers.com/showthread.php?t=1387527 After setting up adb succesfully, type adb shell in the command prompt to get into the asb shell
Click to expand...
Click to collapse
Mac/No PC
Download z4root to your phone/device and install it. Make sure Unknown Sources(Settings > Applications > Unknown Sources) is activated/ticked before install.
Before continuing make sure USB-Debugging(Settings > Applications > Development > USB-Debugging) is activated/ticked.
Open z4root and click "permanent-root"
Do not care if the screen becomes white. After one to two minutes you phone will reboot.
If the reboot finished the Phone is rooted
_________________________________________________________________________
Take a Eyebreak here
_________________________________________________________________________
Step: Removing System Apps
For this step we need Root Explorer or any other root filemanager.
If we have installed Root Explorer and launch it a popup will appear. In this popup rott explorer asks for root rights. Simple click allow, and root explorer is ready to work.
To delete system apps we go to system/app/ and there are the system apps.
To show how root explorer works we'll delete facebook for lg.
Now search for the apk. Long click on it and press delete. Press Ok and the file is deleted.
Or
Step: Installing Custom Rom
Search here at XDA for Roms. If you found a good download it to your SD-Card.
Install Clockworkmod Rom Manager from Google Playstore.
IOpen the App and allow Root Rights.
Press "Install Recovery" and choose "p500"
After the install is finished shut down
Now press Volume Down+Home+On to access recovery.
You can move between items with volume keys
Make a nandroid backup(Recovery > Backup/Restore > Backup) before you do anything with the recovery
If you've made a backup go to "Install zip from sd card" press home and choose "choose zip". Now go to your zip choose it with pressing "home". Follow the steps in the recovery.
Follow all other steps like clear data as its written in your roms thread.
Press "back" until you are at start.
If you're really sure you followed all relevant steps press reboot system now.
First Reboot take up to 5 minutes.
Here is another way to install recovery:
aravindsagar said:
Firstly, you need to download two files:
1. http://www.mediafire.com/?g6cgvutkqw4t4j6
2. http://www.mediafire.com/?7pkcte8gcyn9pet
Now, copy these two files and paste in the root of your SD card. Disable USB-MS, but keep the phone connected via the USB Cable, and make sure that USB debugging is enabled.
Then, go to adb shell, type su. Click allow in the phone if superuser request is coming (it didn't come for me, that's ok).
Now, type each of the following commands exactly as it is:
1. mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
2. cat /sdcard/flash_image > /system/bin/flash_image
3. chmod 755 /system/bin/flash_image
4. mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak (if it gives error message here, simply proceed to the next step)
5. mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
6. flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
7. reboot recovery
The phone will reboot now.
To access the Custom Recovery, turn off the phone and then press Home+Vol Down+Power button to boot into the Custom Recovery.
If on booting into the recovery you get the following message at the bottom of the screen -
E: "Bad Boot Message"
Don't panic, its perfectly normal and you can proceed with what you want to do from the recovery.
I've been using this recovery till now, and has got absolutely no problems till now. It wipes and flashes everything well.
Click to expand...
Click to collapse
{
"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"
}
Feel free to correct me if i did anything wrong.
If you want to know more about kernels go to this thread.
This took some time for writing so press thanks if this helped you.
Thanks:
- aravindsagar to correct me about 2.3.3 roms
Disclaimer:
I am not responsive if this bricks your device.
Reserved
Don't you think the post is kinda redundant? It's all explained in the stickies. But if this becomes useful, then by all means, carry on.
Anyway, Super One Click will not work if the phone is running on stock 2.3.3. To root that, goto adb shell (see the next paragraph), type "echo 1 > /data/local/lge_adb.conf" (without the quotes) and then go to Super One Click, select psneuter exploit, and then click root.
To setup adb in your computer, see this link: http://forum.xda-developers.com/showthread.php?t=1387527 After setting up adb succesfully, type adb shell in the command prompt to get into the asb shell.
---------- Post added at 08:17 PM ---------- Previous post was at 08:03 PM ----------
After trying to install CWM through ROM Manager, my phone did not boot. Finally I had to reflash stock firmware using KDZ. Then installed a recovery through ADB. If anyone needs detailed steps, just post a message, and I'll give the links.
deutron said:
Hi Folks,
Today TheF3nix requested me how to root and speed up the LG P500 Optimus One.
The best way to make the phone faster is to delete system apps or equal to flash a new system. In this guide i want to show you how to root delete system apps and flash new systems.
Step1: Rooting
Windows/Linux
First download SuperOneClick. Unzip the file and open the setup(.exe)
Before continuing make sure USB-Debugging(Settings > Applications > Development > USB-Debugging) is activated/ticked.
Connect your Device via USB to the PC.
Go to the SuperOneClick window and press the "Root"-Button
Wait till the process is finished. Close all Dialogs(Test, Donate) on PC.
After all finished Reboot your Device. If you don't do that Root will not work.
If the reboot finished the Phone is rooted
Mac/No PC
Download z4root to your phone/device and install it. Make sure Unknown Sources(Settings > Applications > Unknown Sources) is activated/ticked before install.
Before continuing make sure USB-Debugging(Settings > Applications > Development > USB-Debugging) is activated/ticked.
Open z4root and click "permanent-root"
Do not care if the screen becomes white. After one to two minutes you phone will reboot.
If the reboot finished the Phone is rooted
_________________________________________________________________________
Take a Eyebreak here
_________________________________________________________________________
Step: Removing System Apps
For this step we need Root Explorer or any other root filemanager.
If we have installed Root Explorer and launch it a popup will appear. In this popup rott explorer asks for root rights. Simple click allow, and root explorer is ready to work.
To delete system apps we go to system/app/ and there are the system apps.
To show how root explorer works we'll delete facebook for lg.
Now search for the apk. Long click on it and press delete. Press Ok and the file is deleted.
Or
Step: Installing Custom Rom
Search here at XDA for Roms. If you found a good download it to your SD-Card.
Install Clockworkmod Rom Manager from Google Playstore.
IOpen the App and allow Root Rights.
Press "Install Recovery" and choose "p500"
After the install is finished shut down
Now press Volume Down+Home+On to access recovery.
You can move between items with volume keys
Make a nandroid backup(Recovery > Backup/Restore > Backup) before you do anything with the recovery
If you've made a backup go to "Install zip from sd card" press home and choose "choose zip". Now go to your zip choose it with pressing "home". Follow the steps in the recovery.
Follow all other steps like clear data as its written in your roms thread.
Press "back" until you are at start.
If you're really sure you followed all relevant steps press reboot system now.
First Reboot take up to 5 minutes.
Fell free to correct me if i did anything wrong.
This took some time for writing so press thanks if this helped you.
Disclaimer:
I am not responsive if this bricks your device.
Click to expand...
Click to collapse
Hi! you can link my guide also for newbies flashning kernels and basically knowledge about it. http://forum.xda-developers.com/showthread.php?t=1721781
aravindsagar said:
[/COLOR]After trying to install CWM through ROM Manager, my phone did not boot. Finally I had to reflash stock firmware using KDZ. Then installed a recovery through ADB. If anyone needs detailed steps, just post a message, and I'll give the links.
Click to expand...
Click to collapse
I did all the steps with my friend and it worked.
good
Thanks,It works great.
Thanks,It works great. :victory::victory:

Categories

Resources