[HOW TO] ADB for Gingerbread (CM7a Builds) - myTouch 4G Android Development

Okay there is a slim chance this wont work depending on your setup on your Winblows Windows machine.
What you need:
1. Common sense.
2. MyTouch 4g
3. ADB and Fastboot working on android 2.2
4. Have CWM 3.0.0 or later readily available
5. CM7 build whichever you like.
6. Internet.
Step one:
Before you flash to the CM7 build download PDANET Here > http://www.junefabrics.com/android/
Step two:
Connect your device ensuring you already have ADB access for the Froyo MT4G let PDANET install and "shake hands" with the device, it will install drivers.
Step three:
Set up your ROM by flashing Koush's Gingerbread recovery then doing the normal ROM install via clockwork mod 3.0.0.0+
Step four:
You should now have access to ADB in gingerbread/
***Disclaimer****
I AM NOT RESPONSIBLE FOR YOU BRICKING YOUR DEVICE AND ALL OF THE OTHER THINGS THAT COULD GO WRONG INCLUDING AND NOT LIMITED TO BAD CREDIT, HURRICANES AND BUMS SLEEPING IN YOUR BUSHES, THAT IS ALL PURELY COINCIDENTAL.
***USB MASS STORAGE***
I also noticed if USB Mass Storage doesn't work try uninstalling all android drivers in device manager and making sure the device is disconnected, then reconnect the device and windows will find the drivers for you.
ENJOY! Feel free to follow me on twitter for help by clicking the link in the signature.

Thanks
Thanks for the info, but here is a simpler way...
http://forum.xda-developers.com/showthread.php?t=897368

Yeah this never worked for me cuz pdanet could never read my device. Once that message comes up it would just uninstall itself.
Sent from my HTC Glacier

You have to be in froyo to get pda net to install

Related

Is there any way to root a USB briked HTC desire

Ive been through alsorts of the posts all the guides i can find, even ones that say they are for unrooted phones and all of them fail.
Does anyone know if there is acutaly any way that works to get the USB functions to work again?
all the guides ive found need to copy the files to the phone, which cant be done on a none rooted phone because you cant enable SU to move the files.
There must be some way of fixing this.
Tools i have
a windows PC
a linux Laptop
a working rooted desire
and a USB bricked none rooted desire
Have you read this?
To use this tutorial you should already have some skills, anyway, here's my translation:
1. Turn on your Desire holding Back+Power buttons, you will enter Fastboot (drivers should be installed).
2. Download fastboot.zip from here , unzip and execute sdcard_repair.cmd from fastboot folder.
3. Press reboot on your device and wait for it to be fully loaded.
4. In Android Market search for Android Terminal and install it.
5. Search for z4root (it doesn't support Desire but it will give you temporary root (until you reboot your device)).
6. Go to here , read it carefully, download files, necessarily edit the CID in mtd0.img,
put in SDCARD root folder (using cardreader or via internet, cos it's USB Brick )
7. Launch z4root, choose temporary root, close it.
8. Launch Android Terminal, write in it su, agree with root rights and now follow the usual UnBrick process. (for ex. this (use translator)).
9. Reboot.
well im getting somewhere now, usb functions are working again, sadly not getting anywhere with http://unrevoked.com/ just isnt seeing my phone, thanks for at least getting usb up again; )
* okay seems the unrevoked problem is my Hboot, currently downgrading it, fingers crossed

[How to] Root Your DInc2 Tutorial! (2.3.3 GB Only)

The purpose of this guide is to walk you through the process of rooting your phone running 2.3.3 ONLY! I will do the best I can to make this as painless as possible and help you achieve your goals of S-Off.
***THIS THREAD IS ONLY FOR OBTAINING S-OFF, OBTAINING ROOT, AND INSTALLING CLOCKWORK MOD RECOVERY! ANY QUESTION REGARDING INSTALLING ROMS DO NOT BELONG HERE AND WILL NOT BE ANSWERED! ONLY ISSUES REGARDING ROOT WILL BE ANSWERED BY MYSELF OR OTHER MEMBERS.***
What you will need: (** = File is attached to OP)
Windows XP or higher (Thats all I have, someone else with MAC and/or Linux will need to assist and I can add it to the OP)
http://revolutionary.io/ .:UPDATE:. PRE4 now available
This site is where you will download the rooting tools and obtain a beta key. When you click on the download button for your OS, make sure you view the box that pops up requesting your OS version, phone model, HBoot version, and phone serial number. Without doing this you cannot root your phone so do it or you are screwed. There are two ways to get your phone serial number: 1) Remove the battery and look at the white sticker or 2) On your phone, go to Settings -> About Phone -> Phone Identity and under Device Serial Number you will see it. After you receive your code COPY AND PASTE it onto a word document or notepad because there are times when you will get confused with the font type from the Revolutionary site. Example, in my beta key, the lower case L looks exactly like the capital I and it threw me off. Also, the key IS case sensitive so keep that in mind.
If running windows, you will need these drivers:
http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
If running Linux, reports show that you do not need any drivers.
If running Mac OS, I currently do not know so someone please let me know and I will update.
http://goo-inside.me/superuser/su-2.3.6.3-efgh-signed.zip **
This file is required to obtain ROOT AFTER you have S-Off.
http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 (WINDOWS) **
http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 (LINUX) **
http://dl.dropbox.com/u/33327355/cwm-4.0.1.4-vivow.img **
These two items are in case Revolutionary tool fails to install CWM on your phone OR if you want to do this offline at another location. Fastboot and abd tool is the software that will take the img file of CWM and flash it onto your phone after S-OFF is obtained.
Prepping your Phone:
Turn off FAST BOOT in the settings located: SETTINGS -> POWER
Turn on Unknown Sources: SETTINGS -> APPLICATIONS
Turn on USB Debugging: SETTINGS -> APPLICATIONTS -> DEVELOPMENT
Installing Root:
1 - First, install the HTC drivers on your computer. It is a very simple step and you should have no issues doing this at all. Also look at your installed programs list and confirm HTC Sync is not installed. This will stop your device from being detected by Revolutionary to other problems when rooting.
2 - Extract the Fastboot and ABD zip file onto the root of your local disk drive (ex. C:\android-win-tools )
3 - Copy/Cut and Paste the CWM img file into the Fastboot and ABD folder (ex. C:\android-win-tools\cwm-4.0.1.4-vivow.img) Doing this will prep your PC to flash CWM in the event the Revolutionary tool does not download and install it.
4 - Place phone in "Disk Drive" mode then Copy/Cut and Paste the root su zip file (do not extract it) onto the root of your SDCard on your phone (ex. x:\su-2.3.6.3-efgh-signed.zip )
5 - Place phone in "Charge Only" mode. A lot ot people run into issues and not realize this was not selected.
6 - Run the Revolutionary file now that everything is set to go.
7 - You will get a prompt to enter your beta code. This is the code you received when you downloaded the revolutionary file and entered the information to obtain the beta key.
8 - Sit back and WAIT while the application does what is needed. This process will take anywhere from 3 to 5minutes so be PATIENT.
9 - Upon completion, you will get a prompt to install CWM. Say yes here! Once done skip to step 10.
9a - If the revolutionary app crashes or fails to download/install, leave your phone in the state it is (HBoot mode and should say "Fastboot USB". Open a command prompt in windows (Start - Run - type CMD).
9b - If you did exactly as told, type "CD.." until you see "C:\"
9c - Type the following:
CD android-win-tools
fastboot flash recovery cwm-4.0.1.4-vivow.img
9d - This process takes about 30sec max. Almost done!!!
10 - On your phone, back track to the main menu of HBoot using the volume keys and Power button and select recovery (2nd Option). In a few seconds your will be in CWM.
11 - As long as you copied the signed zip file to the root of your sdcard, perform the following:
"Install Zip From SDCard" (5th Option)
"Choose Zip From SDCard" (2nd Option)
Select the root/su zip file (su-2.3.6.3-efgh-signed.zip)
Choose Yes and wait.
Back track to main menu and reboot
12 - Give yourself a pat on the back for paying attention and have a cookie!
I am typing this on my tablet/phone/pc so if an error exists, please let me know right away and I will update the OP. Again, questions here are ONLY for rooting. Anything else...kick yourself in the head, do a real search, and post if needed.
Support:
http://unrevoked.com/rootwiki/doku.php/public/revolutionary
Common Q&A for their recovery tool
irc.freenode.net channel #revolutionary
IRC Support Channel
Special thanks to:
XDA-Developers - You guys rock!!!
AlphaRev and unrevoked (Revolutionary) - You have made many dreams come true!!! DONATE to them if you can peeps.
http://forum.xda-developers.com/showthread.php?t=1122694 - attn1 - his How to guide on manually installing CWM.
Nice guide bro.
Sent from my Incredible Sensation using XDA App
The Incredible 2 or VIVO is not an option in the Beta key?
kyrumo71 said:
The Incredible 2 or VIVO is not an option in the Beta key?
Click to expand...
Click to collapse
The incredible 2 is definitely an option when obtaining a beta key. Unless you are refering to something else?
rivera82falcon said:
The incredible 2 is definitely an option when obtaining a beta key. Unless you are refering to something else?
Click to expand...
Click to collapse
My bad, my work computer is crappy, the 2 does not show up on my browser lol
NICE, this thread should be sticky.
On a side note, make sure you have your phone connected to wifi or 3G if you want the revolutionary tool to download and install the CWM automatically. If not then you would have to flash the CWM manually per the instruction from OP.
kyrumo71 said:
My bad, my work computer is crappy, the 2 does not show up on my browser lol
Click to expand...
Click to collapse
I went to the site just now and HTC DROID Incredible 2 is the 6th option down in the device list. If it still doesn't show up, test another pc or try it on your phone. All you need is the key anyways.
Sent from my A500 using XDA Premium App
Thanks for this guide...
Sent from my DROID using XDA App
Awesome thanks but question. my computer keeps saying usb device not recognized every like 5 seconds when my phone is connected and in bootloader. Is that suppose to be like that?
Darkpsych0 said:
Awesome thanks but question. my computer keeps saying usb device not recognized every like 5 seconds when my phone is connected and in bootloader. Is that suppose to be like that?
Click to expand...
Click to collapse
I will say it is okay as this happens to my PC as well. The files still transfer and CWM flashes through fastboot as well.
Sent from my A500 using XDA Premium App
Mmk. I downloaded ROM Manager but everytime i start it up it says "You must root your phone for ROM Manager to function. Superuser was not found at "/system/bin/su/" or "system/xbin/su"
I have the file on the root of the sdcard and im pretty sure i rooted it with revolutionary and installed CWM as well.
Ok... Dumb question... where do we find the fastboot and adb zips to install on the C drive??
I have gotten thru step 8 and failed whentrying to install CWM. I manually installed it with step 9 and it said finished. Step 10 says to select recovery but it is not listed. I rebooted to see if that would work but it didnt. Where did I go wrong?
EDIT: Actually it did work just was trying to hard. Thanks for the great instructions.
@ Darkpsycho0
try installing busybox from the market and give it a try again.
@PacerguyDon
The links are in the OP.
It's next to the one that has the img file as well. There is only one zip file and it contains both items in it.
@Flightmed
Power down, and get back into HBoot. You will see the following options:
Fastboot
Recovery
Factory Reset
Simlock
Hboot Usb
Image CRC
The second option (Recovery) is what you want.
EDIT: Glad you got it working!!!
Sent from my A500 using XDA Premium App
Got it... thanks, Found it a few minutes after posting
PacerguyDon said:
Got it... thanks, Found it a few minutes after posting
Click to expand...
Click to collapse
It happens...we get so excited that we tend to overlook the obvious. Kind of like my wife...I love her to death and I love to make love to her but I overlooked the obvious that she is also crazy. Oh well...
Sent from my A500 using XDA Premium App
Busybox said "Root not found! The su binary was not found on your phone." -_____-
Thinking about it and looking back...I didn't complete the instructions on applying root. I apologize to you and everyone else.
When you have CWM installed, open it up through recovery. Next, as long as you copied the signed zip file to the root of your sdcard, select "Install Zip From SDCard" (5th Option).
Select "Choose Zip from SDCard" (2nd Option)
Select the zip file (su-2.3.6.3-efgh-signed.zip)
Choose Yes and wait. Once done, reboot and you should be good!
Again, I apologize. I will update main post asap!
Sent from my A500 using XDA Premium App
That worked.. no more error thanks. I was about to throw my phone across the room especially since while i was waiting for replies I was trying to just install new themes but can't get Astros to work with the apk files correctly. -_- (still can't)
I'm already rooted via 2.2 but this is a great guide for the truly n00b.
Should be seeing lots of new members posting in the development section soon ;!)

[Tool]Cdma Wildfire S-off, Root & Cwm One Click/Script (Rc 1.0)

Windows One Click S-off, Root & Cwm
I am not responsible for any issues or anything bad that may come out of using this file. You will be doing so at your own risk voiding your warranty. Also to note I put a good bit of time in this guide/script with that said do not copy or modify with out permission from myself. Though you may link to it or copy and paste as posted. With credit where you got it from.
Current Verison Is: 1.0​
Files needed to download:
Wilfire-S_One Click.zip: Click Here
Md5sum: bd68f07688e1401eaf38d78a704a5db2
Htc Usb Drivers: Click Here
Md5sum: f60771a86c4ad69c8c9c1d158e60e850
Simple Gold Card Creator: http://2fastroms.com/dm_eds/download.php?id=65
Md5sum: 8a456150b8ebe58a9ae46a79f5a590ff
Directions:
First we are going to install the Htc Usb Driver that was downloaded. Just double click and continue with the install.
Next do a backup the sd-card. This means anything you have on it to copy and paste somewhere on the pc. The reason for this is the sd card will be wiped for the process.
Now take and extract the Simple Gold Card Creator to the desktop. Inside should be a .exe file, if windows vista or 7 you will need to right click and open as admin.
Plug the phone into the usb cable connected to your pc. Enable usb storage.
In Simple Gold Card select the drive letter in step 1. Then click format, once format is done pull down the taskbar. Switch from usb storage to charge only.
Plug the phone in to the usb cable connected to your pc. Go to settings>applications>development enable usb debugging. Also at this time you should get a prompt on the taskbar (Windows) about installing drivers. Make sure it finishes before going forward.
Now inside of the Simple Gold Card Creator select MMC1 & click GetCID and copy it into the web page that the program links to in step 4. Make sure to use a real email as it will email a img to you.
Download the image file from your e-mail, the click load img in Simple Gold Card. Browse to where ever it saved and open it.
Now on the phone pull the taskbar down yet again and switch from charge only to usb storage. In Simple Gold Card make sure the drive letter didn't change. Then click patch mmc.
You should now have a working gold card! YA!.... Now pull the taskbar down again and switch to charge only mode.
Extract the contents of Wilfire-S_One Click.zip to the desktop. Inside of the new folder you should have a tools folder and a s-off.bat.
Double click the s-off.bat which will open a cmd window. Be sure to pay attention to what it is doing and hit any key when prompted. Caution make sure to wait till the phone is booted back up after booting to h-boot for the first time. As said read what is said in the prompt.
When all done you will be s-off, have root/superuser, cwm and busybox installed. Which I would recommend to do a backup.
Now enjoy life with your s-off'd wildfire
Warning do not fill the thread with does not work. Please post the output of the script. You can put it in the post or copy and paste it on pastebin.org. Followed by putting the link to it in the post. If you decide not to follow the above directions, your post will be ignored.
Original link to the guide/my home site if you can't get me here:
Wildfire S-off, Root & Cwm One Click (Beta) • Development • 2FastRoms
You can show your support by stop by and chatting at the below link. That or if you prefer donations you can click the donate link at the top of the forum in link. Thanks... :
Portal • 2FastRoms
Credits:
This goes to the original guy that figured out the s-off. If one may be you, then you can pm me. To where I will then add to right here in this pretty spot.
Then off to the people if it weren't for them. So say thanks to the people or teams for the hard work.
Aplha-rev for zergrush, though is based on gingerbreak. Without this nothing would be possible.
Then chainsdd for Superuser
Reserved***
cwm script
Does this install alquez unofficial cwm or some other [official] cwm? (Didn't see unofficial) Next, if you have developed an official cwm might we expect rom manager support (on the rom side) sometine in the near future? Love koush's work.
Rob
Due to kernel differences between cdma an gsm. I highly recommend not to use gsm clockworkmod's. Which is why it is my own clockworkmod built from simmon's buddy's aosp kernel. So not official but is no one else's cwm if that is what you were getting at.
Also I am not sure on the other cwm's for gsm but soft keys work in this one according to simmon. I don't have the device so I can't confirm it besides what you guys do. As for the rom manager support I can try to get koush to add it.
This is probably just for CDMA version of Wildfire S....right?
My daughter got GSM version and I've to s'off'd & root it
i passed all of the steps with no problem until step 12 . my problem in step 12 is when my phone restart and goes to H-BOOT it shows me This message :
[ Update is in progress ....
Jumping to DIAG ... ]
It takes about 30 min but nothing happen
whats wrong ?
my rom is 2.3.3 Asia ( Arabic ) H-BOOT 1.03.0000
I really do not want to be rude. How ever did either of you two read the title? It says cdma in it only, where if you have arabic I am guessing you are also gsm.
If you boot to the bootloader and it says marvel. It will not work sorry say. Marvel is gsm, MarvelC is cdma then the other one I am not sure what it is.
I wish the recovery was thrown in a hboot flashable PG76IMG.zip's. I am phone-side 90% of the time [or lazy] I will try the recovery.img out though. Thanks.
Rob
Sent from my marvelc A510c using Tapatalk
All the links are down

[GUIDE][All-In-One]LG Optimus Me P350

So, I decided to write this guide here as I couldn't find a complete one and had to jump from thread to thread (and sometimes even the sub-forum) for finding the answer.
First I wrote it in my blog and I decided to post it here. Maybe some steps are vague in details but I'm planning to detail it even more (remember, I wrote it in my personal blog first). So, here it is:
AIO LG Optimus Me P350 Guide​
Some Personal History
My experience with Android. UF! Where to start? So, I got my phone from the United States. You have no idea how wonderful it was to have the phone in my hands. Anxiety and curiosity. For some reason I always read that the first thing anyone does is root the phone and then continue doing everyday activities that do not require root, so I tried to live without rooting the phone, but I couldn’t wait for the week to go by. I had to get the best! Small problems, fixes and updates. And since I have my phone on sale, I publish this step by step guide to modify it and not die trying.
Tech Specs
Let’s start from the beginning, know the phone. Mid/low-range phone created by LG for those in a short budget but want to have a good Android experience. It has a 600 MHz processor, 256 MB RAM and ROM capacity of 512 (140 MB available for applications and data). 2.8 inch capacitive screen, 240 × 320 screen resolution. Wi-Fi b/g wireless connection, Bluetooth 2.1 with EDR, and USB 2.0 up to 480 Mbit/s. 3.1 MP camera (no flash) and FM Radio. Not bad for a basic device. Complete specifications can be found here. Enough for a casual user. But if you’re not a casual user (hence a XDA member), read on.
First of all, everything you do on the phone number is on your own. You yourself are responsible for what you do, not do, stop doing, fail, fail to read and/or shortcut you may have taken. These steps are the ones that worked for me. I am not responsible if the phone dies in the process, the cat bites the cable in the middle process, the heavens begins to fall, the 3rd world war starts or if the neighbor has a heart attack … You’ll be calling 911 afterwards… You’ve been warned!
USB Debugging
The first thing you have to learn is to turn on USB debugging. Here is a guide how to do it (If you wanna see a pictorial guide). But essentially you have to go to Settings > Application > Development and check where it says USB Debugging. Pretty easy. What is this good for? Well, for starters. modify the phone however we see fit. But most important USB Debugging allows the phone to communicate verbosely with PC with the Android SDK installed. More on this later.
KDZ Updater
KDZ Updater is an application used by LG for flashing official operating systems themselves. How did this application saw daylight outside the company, I don’t know very well, but apparently a leak appeared on LG India, but not sure. In any case, this application is our last line of salvation and the main tool for our little friend.
To install official KDZs must follow these steps:
Install the updated drivers by following the steps listed on this page.
Connect the phone with USB Debugging activated
IMPORTANT: Disable the Virtual USB Modem device from Windows Device Manager. Omit this step and the device may brick in the upgrade process.
Run the application in Administrator mode (only required on Windows Vista / 7).
In the Type drop-down list select 3GQCT and in PhoneMode, DIAG. Where it says Version, will appear the version that is installed on the phone.
Select the KDZ file to install by clicking on the button with the folder icon. Preferably save the file KDZ in the root of the hard drive as there will be little chance for error when reading the file.
Press the button “Launch Software Update”. The phone will reboot into Emergency Mode. This is normal.
Pray all you know and go for a cup of tea. The process takes about 8 to 10 minutes.
If all went well, the phone will turn off and the program displays a line that says = FINISHED =.
To start, first go into recovery mode by pressing the following buttons: Vol- & Power. This will make any old or unnecessary information to be removed. The phone will reboot into the system normally.
Original Thread
Root (Gingerbreak and SuperOneClick)
Ok, what we came here for. Rooting the phone. How do I do? It’s scary! Says who?! Lets start with the choices we have. Ok, we have the phone, but we have not updated anything, How do I get root? Gingerbreak comes on the scene. Pretty simple process: download, Enable USB Debugging, run, press Root, wait for the restart, confirm. Simple, right? Also read the instructions and warning on the link above in case something I overlooked, but that basically is the process. By the way, install Busybox, very important for future processes.
Stop, stop, stop … And if I upgraded the phone? Gingerbreak seems not to work! What do I do?! Mainly, DO NOT PANIC! First things first. Go to “About phone” and see that version it says; something different than 2.2? Cool, no problem. SuperOneClick comes on scene. Download the application, unzip. I assume you already installed the drivers, right? Otherwise, do it and come back when you have done so. Ready? Continue. Turn on USB Debugging and connect the phone to the computer. Execute the application and press the button that says “Root”. Need more information? Here is a video explaining step by step (its in spanish, but graphics needs no language) and if the antivirus gets all paranoid, read the explanation here.
Recovery (Amon-RA and CWM)
Ok, moving on. Just as clarification: From this step on, the phone should already be rooted. Otherwise, you will mourn at the very end because the phone will brick and you’ll end with a very good and expensive paperweight. What is a Recovery? Here the answer.
This is essential before changing the insides of the phone and a step that I believe needs to be forever linked to rooting process. Why? Simple! Installing a Recovery allows full system backup and restore if something goes wrong. That linking to rooting process? Because if you install a root application, modify the system, and damage the system, it can be restored to a previous time and we’re all happy campers. See?
So this is where we get our hands dirty. Initially, I ask again, have you installed the drivers? (From this point on I shouldn’t ask) Have you rooted the phone? Responded twice yes? Perfect. Now, download the Android SDK or only the .zip attached here (unzip preferably in C:\ADB\) to continue this process. Also download the Recovery that you will install, we have Amon-RA and ClockworkMod (CWM) v5, v5 touch, and v6, extract the recovery.img file to the folder where adb.exe is (If you used the SDK installer, should be at C:\Program Files\Android\android-sdk\platform-tools\; if you used the .zip, and extracted as recommended, C:\ADB\). Which to choose? My recommendation, CWM v5 (either one). Connect the phone to the computer in with USB Debugging activated. By the way, how do you feel using command line in Windows? Moving on…
Open a command window, go to where adb.exe is and run the following commands:
Code:
adb push recovery.img /sdcard/
adb push flash_image /sdcard/
With this we have copied what we need into the phone’s SD card. Just to clarify: 1) the flash_image file can only be found in the recovery Amon-RA zip (not sure if it is generic or modified exclusively for the P350, then I’d rather play it safe) and 2) CWM recovery v5 and v5 touch files come in zip-installable, but you can open the file and use recovery.img in it. In CWM v6 there is an installable zip and another to follow this same process. Lets continue…
Code:
adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# sync
Up to this we have only prepared the area to install the Recovery. It it recommended to reboot the phone in this step, in case you run out of virtual memory but is not really so necessary (If you see an error message, then reboot). That’s yours decision. Continue…
Code:
adb shell
$ su
# flash_image recovery /sdcard/recovery.img
# sync
To confirm that everything is installed without issues it must happen one thing and do another thing. What must happen is when you execute the flash_image command, no errors should appear, if otherwise reboot and repeat the last block of commands. What must be done is execute the command reboot recovery and if everything is alright, you should go into Recovery menu, if not then all the information has been erased and back to square 1 (it happened to me the first time).
Kernel
Just for safety: are drivers installed? Root acquired? Recovery installed? Already made a backup of the ROM in use at the moment (so far should be the LG ROM)? Do it!!
So, what’s a kernel? Here’s the answer. What choices do we have? Well not too many, it depends. Are we still on the LG Stock ROM or a Froyo-based ROM (oh, getting ahead aren’t we?!)? Well, the truth, with this ROMs there are not many: Team Pecan Kernel would be my recommendation, RoQ Kernel which also works quite well. CM7 ROM or any other Gingerbread-based? Ron's RM CAF Kernel (updated weekly), pax0r kernel (discontinued), Vivek Kernel (also discontinued but higher than pax0r). Read how to use Recovery for the installation of installable zip files from Recovery. This is also applicable for the installation of ROMs.
ROM
Still with me? Still no cardiac arrest? Relax, breathe! As we reach the last modification process of the phone. After surviving this, you will have the full capacity to recover the phone from any eventuality. Dictionary, which is a ROM? Here the answer.
ROM, What options do we have? Well, although it may seems, there are many options to choose from! We have some created from source code, based-on and others that have been “ported” to work with the device. Among those created from the source we have: CyanogenMod 7.2, Pure CM Invasion and CyanogenMod 9 (Work in Progress, not quite stable), based-on: Androm x4.2 (CM7) Arc XP (CM7), Gingerbread Optimus UI (CM7) Gingerblur (CM7) and MIUI v4 (based on CM7, Arc XP with a theme very close to the real MIUI, Japanese ROM). Ports: JoyOS, ICS (Discontinued unstable), BeautySense (Decent and functional).
Further Development/Tweaks
At the moment a new tool has been released called LG P350 Pecan Toolkit, developed by antdking. Its in early development and so far it roots, unroots and installs recovery. Saves some the hassle of the command line but if we haven’t gone through all the problems and commands, what have we learned? Anyways, here’s the original thread where you can follow the development and post ideas or bugs.
If you wanna go all-in into ROM cracking and research, we have also the LGExtract tool, which unpacks the KDZ file into bits and pieces. DZ Extract Tool extracts the files within a DZ package very much into source code. I've used these tools but as my experience with coding and android development is very close to none all I've done is extract the files and read them. Antdking reminded me of a simple yet powerful tool to continue decompiling the LG filesystem called unyaffsmbn. I came across it when we were trying to decompile baseband (amss.mbn) for CM9 without success, just lo later know that the tool just decompiled system.mbn. Oh well. Antdking compiled unyaffsmbn into a nice little tool ready to work, here it is.
The volume on this phone, as many may know, is low. But there is a way to elevate it. Execute the phone app and press: 3845#*350#. This will bring up a Hidden Menu. Go to: Device Test > Sound Test > Audio CAL Tool > Subsystem Calibration. In the Gain Type dropdown list, select Speaker Gain. Set Data textbox gets focus, input the number 90 and press OK button. In Gain Type, select Input1 Gain, and we press Ok button again. Exit the Hidden Menu. This will elevate the speaker volume but just temporary, it will be restored to default values when rebooted. So either don't reboot or repeat this process everytime you reboot.
And that would be all. Happy hacking!
Great kudos to the real developers here:
drapalyuk: For the first ever recovery for P350, Amon-RA
pax0r: Started it all, Kernel, ROM
ron gokhle: ROMs, Kernel and Recovery builds
vivekkalady: Kernel, Touch Recovery, first ICS port, and some other fix work
nikhil4186: For the KDZ Guide (although written originally for LG P500
antdking: For a great-to-be toolkit
great guide good job
Nicely written.Its a really good guide for all those who are new to P-350 and I believe that it will help them to learn some of the basic stuff.Well done!
to go on the end of this guide, how to extract the files out of the system.mbn to get the system files
http://db.tt/7VruqEzr
it returns similar files to what you find in a rom
I did not make unyaffsmbn
I made the tool that uses unyaffsmbn
enjoy
antdking said:
to go on the end of this guide, how to extract the files out of the system.mbn to get the system files
http://db.tt/7VruqEzr
it returns similar files to what you find in a rom
I did not make unyaffsmbn
I made the tool that uses unyaffsmbn
enjoy
Click to expand...
Click to collapse
got the PM and you reminded me of that tool (I remembder I came across it when we were trying to crack amss.mbn for CM9)... I'll post the original thread and the tool you just mentioned...
Updated adding unyaffsmbn tool... Thanks antdking!
Added Volume tweak for speaker to sound harder.
Added P350 (and guide) to XDA wiki. http://forum.xda-developers.com/wiki/LG_Optimus_Me
dbarrera said:
Added P350 (and guide) to XDA wiki. http://forum.xda-developers.com/wiki/LG_Optimus_Me
Click to expand...
Click to collapse
thanks man :good::good::good::good::good::good::good::good:
Guys We have got Official Support From XDA Please Move This Thread To Our Device Section
Very good!!!
I placed some problem I am having, just in case you have time an patience for this case.
Tks
http://forum.xda-developers.com/showthread.php?t=2461183
Great Guide Man! Thanks a lot.

Ubuntu OS Instructions

Instructions for flashing a phone or tablet device with Ubuntu
What to expect after flashing
Flashing the device
Step 1 - Desktop Setup
Setup the Touch Developer Preview Tools PPA
Step 2 - Device unlock
Step 3 - Initial Device Setup
Step 4 - Deploying Image to Device
Restoring Android
Need help?
The Ubuntu Touch Developer Preview is intended to be used for development and evaluation purposes only. It does not provide all of the features and services of a retail phone and cannot replace your current handset. This preview is the first release of a very new and unfinished version of Ubuntu and it will evolve quickly. If you want to install this release, please follow the guide provided, which details the available features and how to navigate the user experience.
This process will delete all data from the device. Restoring Android will not restore this data.
What to expect after flashing
For detailed information check the release notes
Shell and core applications
Connection to the GSM network (on Galaxy Nexus and Nexus 4)
Phone calls and SMS (on Galaxy Nexus and Nexus 4)
Networking via Wifi
Functional camera (front and back)
Device accessible through the Android Developer Bridge tool (adb)
Supported devices and codenames
The table below lists the supported devices and their corresponding factory images, should you want to switch back to Android. The images can be found here.
Device
Codename
Factory firmware from Google
Galaxy Nexus
maguro
takju or yakju
Nexus 4
mako
occam
Nexus 7
grouper
nakasi or nakasig
Nexus 10
manta
mantaray
Flashing the device
Step 1 - Desktop Setup
The following steps are required on your desktop system that you'll need in order to flash and communicate with the device.
Setup the Touch Developer Preview Tools PPA
The PPA has the tools and dependencies to support Precise, Quantal and Raring. Add the Ubuntu Touch PPA by adding the following custom source list entry to your /etc/apt/sources.list file.
sudo add-apt-repository ppahablet-team/tools
Then do the following:
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
Step 2 - Device unlock
If the device is already unlocked, skip to Step 3. These steps will wipe all personal data from the device.
With the device powered off, power on the device by holding the Power button + volume up + volume down.
The device will boot into the bootloader.
Plug the device into the computer via the USB cable.
On your computer, press Ctrl+Alt+T to start a terminal. Type sudo fastboot oem unlock, followed by Enter
On the device screen, accept the terms of unlocking.
Boot the device by pressing the power button (pointed by an arrow with Start on the screen).
Step 3 - Initial Device Setup
Follow these initial steps on your device:
If not booted, boot the device into Android
Enable USB debugging on the device
on Ice Cream Sandwich (version 4.0) go to Settings and turn on USB Debugging (Settings > System > Developer options > USB debugging).
on Jelly Bean (versions 4.1 and 4.2) you need to enter Settings, About [Phone|Tablet] and tap the Build number 7 times to see the Developer Options, activate USB Debugging via Settings > Developer options > USB debugging.
on 4.2.2 you will need to accept a host key on the device, if you already had adb installed, do the following
On the workstation-> adb kill-server; adb start-server
Plug the device into the computer via the USB cable.
Depending on the installed Android version, a popup will show up on the device with the host key that needs to be accepted for the device to communicate with the workstation.
Save the version of the current image on the device, if on Android, to use as a reference to revert back to. The version can be found by going to Settings > About Phone > Build Number.
Step 4 - Deploying Image to Device
To install the Ubuntu Touch Developer Preview on your device, you will need to execute the command below. Please note, this will wipe the contents of the device so ensure you have made a back-up. To install and get updates, run the following command:
phablet-flash -b
The -b performs a full bootstrap on the device. If the device is already unlocked it will carry on. If you have already bootstrapped once and want to install a daily just do:
phablet-flash
This will deploy the latest build onto your device. Your device should reboot into the Ubuntu Unity shell.
Note: the files are saved in Downloads/phablet-flash.
Restoring Android
The Ubuntu Touch Preview image is not for everyone and may not suit your current needs (yet). If you wish to roll back to an Android factory image, follow these steps:
Recall the version that was installed before flashing.
Download the factory image corresponding to your device's model and version (initial table has links).
Ensure the device is connected and powered on.
Extract the downloaded file and chdir into the extracted directory.
run adb reboot-bootloader
run ./flash-all.sh (use sudo if lack of permissions on the workstation don't allow you to talk to the device).
Your device should boot into Android after the process is finished.
Click to expand...
Click to collapse
Need help?
If you got lost somewhere, you found a bug or need some help, we're happy to help you. The Touch Developer Preview is put together by a community of many, who are eager to work together with you on this.
If you've got any troubles or questions with these installation instructions, there's a community willing to help: just ask on Ask Ubuntu!
You can also:
Join us on IRC in #ubuntu-phone on irc.freenode.net and/or
Join our mailing list by
Joining the ubuntu-phone team on Launchpad and
Enabling the team mailing list at https://launchpad.net/~/+editemails
Touch/Install (last edited 2013-02-21 17:04:03 by dpm)
The material on this wiki is available under a free license, see Copyright / License for details.
xD
I wonder if we could have in future, flashable zip Ubuntu image for recovery
albsat said:
I wonder if we could have in future, flashable zip Ubuntu image for recovery
Click to expand...
Click to collapse
In due time brother. I am sure we will be able to get it flashable.
flashable zips for ubuntu for android, via a custom recovery http://www.droid-life.com/2013/02/2...view-on-a-nexus-device-using-custom-recovery/
and yea, this thread needs to be moved. you arent developing anything here, just providing instructions(from another site). doesnt belong in development.
You copied this from canonical page. There is already a thread with the flash able .zip instructions. This thread is on the wrong place and its unnecessary.
Sent from my Galaxy Nexus using xda app-developers app
All things aside.....thuis looks very promissing when iets stable andere 100%functional and working
Sent from my Galaxy Nexus using xda app-developers app
I think they will create the section: Galaxy Nexus Ubuntu Development
Now we wait for the threads asking how to do this.
simms22 said:
flashable zips for ubuntu for android, via a custom recovery http://www.droid-life.com/2013/02/2...view-on-a-nexus-device-using-custom-recovery/
and yea, this thread needs to be moved. you arent developing anything here, just providing instructions(from another site). doesnt belong in development.
Click to expand...
Click to collapse
I haven't flashed Ubuntu yet, but I was wondering if I can can just restore my current rom through twrp recovery. I wasn't sure if Ubuntu changes the recovery on my phone when I flash it.
eqjunkie829 said:
I haven't flashed Ubuntu yet, but I was wondering if I can can just restore my current rom through twrp recovery. I wasn't sure if Ubuntu changes the recovery on my phone when I flash it.
Click to expand...
Click to collapse
Yes u can just restore
Sent from my Galaxy Nexus using xda premium
Esteway.619 said:
Yes u can just restore
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I read somewhere that we need to reflash kernel if we want to restore Android again. I really don't know if it's true.
Closed, please go here >>> http://forum.xda-developers.com/showthread.php?p=38351018#post38351018

Categories

Resources