A step by step guide to rooting and installation of liberated Aria/froyo/cyanogen.. - HTC Aria Android Development

So.. finally i decided, its about time.. I got sick of low disk space issue and went ahead to root my phone and decided to go with Froyo. So far, I am absolutely loving it.. Even nicer UI, smoother and faster performance..
Here is a very simple guide on the process in case anyone is interested.. ( i should mention here that although i m pretty good with Windows as an amateur, i have NO experience with Linux at all. I was using Windows 7 and i believe it should not be any different for Win XP or Win Vista. Also, i have never rooted any phone before)..
PS: please change all hxxp with http..
1. Root your phone using Unrevoked recovery installer: Follow the steps in this guide:
hxxp://forum.xda-developers.com/showpost.php?p=7449486&postcount=1
U only have to go as far as it says "Congratulations, your phone is now rooted and has ClockworkMod recovery installed."..
Or u can use this guide here:
hxxp://forum.xda-developers.com/showthread.php?t=788737
2. Then i made multiple backups of my phone using lookout, Astro, Gphone manager, Sprite backup and of course nandroid.. No u do not have to do all of these, probably nandroid is most important one but i just wanted to be ready as much as i could in case any thing didnt work too well!! I also copied the entire contents of my sd card to my pc..
I also noted down the names of all the apps that i was using on stock rom..
To make a nandroid backup, power off ur phone, press volume down button and keep holding it and press power on button. Use volume up/down key to go to "recovery" and use power button to select. Then go to nandroid and press power to select.. From there it is simple to make a backup..
3. Next step is to wipe data/factory reset: Again, power off ur phone, press volume down button and keep holding it and press power on button. Use volume up/down key to go to "recovery" and use power button to select. Now select "wipe data/factory reset" and confirm..
4. Download the ROM that u want to install, liberated froyo in my case, u can download it from this thread..
hxxp://forum.xda-developers.com/showthread.php?t=819715
U can also use liberated Aria rom 2.1 (download from hxxp://forum.xda-developers.com/showthread.php?t=708434) or cyanogen rom (download from hxxp://forum.xda-developers.com/showthread.php?t=737213])
5. Copy ur downloaded rom to ur sd card..
6. Again, power off ur phone, press volume down button and keep holding it and press power on button. Use volume up/down key to go to "recovery" and use power button to select. Select the zip file of the rom that u downloaded..
7. Sit back and relax till the phone is up n ready again.. Remember, first boot will take some time just like it did when u first started it after buying..
To Enable A2SD:
Backup your applications
Backup your sdcard
Partition your sdcard with ROM Manager with an ext partition option. (ROM manager is in Market)
This should start a special mode of clockwork recovery, which will partition the sdcard.
All credits to the work of original developers and writers. I only put it together in words..

Thank You!! Why this ROM?
First of all: Thank You for a very concise easy to understand guide!!! I am also a Linux and an Android rooting newbie, but quite good with Win7... So, my question is what made you choose the liberated instead of one of the others (including the new leaked "Gratia" ROM) i.e. which features, etc. made you choose this one??
I'm trying to decide which way to go with my Aria 2.1..... and the more I read and research, the more trouble I'm having making a choice!!
Thanks again for a concise, clear, and to the point guide - special thanks for all the work giving out the links to each step!!!

I only made it to the third paragraph before I stopped reading. I'd suggest using real words if you want to be taken seriously.

lhinsz said:
First of all: Thank You for a very concise easy to understand guide!!! I am also a Linux and an Android rooting newbie, but quite good with Win7... So, my question is what made you choose the liberated instead of one of the others (including the new leaked "Gratia" ROM) i.e. which features, etc. made you choose this one??
I'm trying to decide which way to go with my Aria 2.1..... and the more I read and research, the more trouble I'm having making a choice!!
Thanks again for a concise, clear, and to the point guide - special thanks for all the work giving out the links to each step!!!
Click to expand...
Click to collapse
well i think Gratia is the same as froyo if i m not mistaken. Why i chose it? well as i mentioned in my post, i was sick of low disk space issue and i knew that 2.2 allows apps2sd. Also, it allows loading 3rd party apps (although this was not a big issue for me as i was using sideloading wonder machine with no problems).
I just like to try the latests version anyway..

You need to include a step that says "If upgrading to Cyanogen, Be sure to move all of your contacts data off of your SIM card and onto your phone, then sync them with Google BEFORE doing anything else!"
I lost ALL of my contacts because the current stable version and the new CM6-RC1 pre-release version do not read the SIM card, hence no contacts!
Bob

Bob in Northern NJ said:
You need to include a step that says "If upgrading to Cyanogen, Be sure to move all of your contacts data off of your SIM card and onto your phone, then sync them with Google BEFORE doing anything else!"
I lost ALL of my contacts because the current stable version and the new CM6-RC1 pre-release version do not read the SIM card, hence no contacts!
Bob
Click to expand...
Click to collapse
I just exported all my contacts synced with google and fb to my sd card, now I can flash cm6 and they'll be there right?
Sent from my HTC Liberty using XDA App

I just ran unrevoked to root/install clockwork recovery, I'm using Windows 7 (and yes, i installed the drivers). I wiped/data, cache, dalvik cache, then tried to install liberated_aria_FR006_signed.zip from my sdcard in clockwork recovery. I get the following error every time:
E: Can't chown/mod /system/etc/init.d (no such file or directory)
E: Failure at line 10: set_perm_recursive 0 0 0777 0777
System:etc/init.d
Installation aborted.
Any ideas?

nairb1 said:
I just ran unrevoked to root/install clockwork recovery, I'm using Windows 7 (and yes, i installed the drivers). I wiped/data, cache, dalvik cache, then tried to install liberated_aria_FR006_signed.zip from my sdcard in clockwork recovery. I get the following error every time:
E: Can't chown/mod /system/etc/init.d (no such file or directory)
E: Failure at line 10: set_perm_recursive 0 0 0777 0777
System:etc/init.d
Installation aborted.
Any ideas?
Click to expand...
Click to collapse
Did you have it plugged in while installing?
Sent from my Liberty using XDA App

nairb1 said:
I just ran unrevoked to root/install clockwork recovery, I'm using Windows 7 (and yes, i installed the drivers). I wiped/data, cache, dalvik cache, then tried to install liberated_aria_FR006_signed.zip from my sdcard in clockwork recovery. I get the following error every time:
E: Can't chown/mod /system/etc/init.d (no such file or directory)
E: Failure at line 10: set_perm_recursive 0 0 0777 0777
System:etc/init.d
Installation aborted.
Any ideas?
Click to expand...
Click to collapse
Unplug the USB cable before you reboot into ClockworkMod.

thanks guys, i got it

I know there are several ways to back up your apps, but what is the best way? (By best, I mean the easiest.) It's a pain to re-set up my phone after installing a new ROM.

I don't see how this is any more helpful than the threads already posted. If anything, this is the least comprehensive guide I've seen. Don't get me wrong, I do believe your intentions were good, but this may cause more confusion than help. Next time, at least post the one link that'll provide first-timers with immediate answers.

rjadams5000 said:
I know there are several ways to back up your apps, but what is the best way? (By best, I mean the easiest.) It's a pain to re-set up my phone after installing a new ROM.
Click to expand...
Click to collapse
I use titanium backup
Sent from my Liberty using XDA App

Thanks for the quick guide followed it and everything went smoothly
Sent from my HTC Liberty using XDA App

shadeslader said:
Thanks for the quick guide followed it and everything went smoothly
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
i m glad it helped..

Related

[TUT] Telus HTC Desire *UPDATED* - Windows Drivers, Root, Radio and ROM Instructions

Ok, so I just took the tutorial written by Slimdizzy and have modified it for Windows users, as he stated he was using a Mac, and a lot of people seem to be having issues getting this working. Go easy on me this is my first TUT write up, I hope it helps......If anyone has a correction or a suggestion please let me know.
Credit goes to Slimdizzy for his original post here:
http://forum.xda-developers.com/showthread.php?t=750888
When I rooted my Telus HTC Desire the first time it was hit and miss, if I remember correctly I did it 3 times until it worked 100%, by this I mean Unrevoked/Root ran without hitch, and after running Unrevoked I was able to reboot into Android, and then reboot back into recovery on my first try without any weirdness.....
The following steps are what I did to get my drivers installed and working the first time, rooting the phone, installing Radio 5.09.00.20, and getting a custom ROM installed (I used OpenDesire)
First things first you need the drivers, this is the most important part. Nothing will ever work for you if you don't have the right drivers installed.
Drivers:
1. Download the Android SDK here: http://dl.google.com/android/android-sdk_r06-windows.zip
2. Unzip and place the files in C:\Android. You can place the files wherever you want but my steps will use this location.
3. Run SDK Setup.exe , if you get the Failed to fetch URL error, hit close and then go to Settings and enable Force https://. Then click on Available Packages, near the bottom you will see USB Driver Package, place a check mark beside it and then click Install Selected.
Alternatively you can try using these drivers, they have worked for other users but I have not installed my drivers using this method so I can't say how well they will work.....
http://www.unrevoked.com/rootwiki/lib/exe/fetch.php?hash=908951&media=http%3A%2F%2Fwww.unrevoked.com%2Frecovery%2Fandroid-usb-driver.zip
4. Android SDK will download your drivers and place them here C:\android\usb_driver.
Now plugin your Desire with USB Debugging enabled (Settings --> Applications --> Development). Windows will prompt you for the device drivers, point windows to the C:\android\usb_driver folder and it should do it's thing. YOU MUST BE SURE TO INSTALL THE ADB DRIVERS, without those Unrevoked will not run.
5. Once all your drivers are installed, you can verify them by checking with the Android SDK
Open a DOS prompt (CMD in the Run box) and navigate to C:\android\tools and then type "adb devices", it should return a funny device name/ID, if you see a device listed then you are good to go, if you don't then repeat these steps until you do, check your Device Manager for an uninstalled device/driver.
***UPDATED***
Steps for Rooting:
***Follow these steps after you are 100% sure you have the drivers right!***
***DO NOT plug you Desire into your computer yet***
1. Goto http://unrevoked.com and download the software
2. You now have a choice of recovery, Amon RA has released an SLCD version of his recovery, which in my opinion is much better, it has a few more features than Clockwork. I recommend Amon RA, but the choice is yours.
Amon RA Recovery v1.7.0.1 R5 SLCD: http://dl.dropbox.com/u/4481275/recovery-RA-desire-v1.7.0.1-R5-SLCD.img
Clockwork v2.5.0.7 SLCD:http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.0.7-bravo.zip
3. Go to HBOOT, this is done by shutting down your phone and powering on the device while holding the Power button down and pushing Volume down at the same time, once HBOOT is loaded do a wipe (Clear Storage). You can navigate the menus by using the volume rocker and the Power button to select your option.
4. Load Unrevoked and load the custom SLCD recovery file on your PC:
Goto File>Custom Recovery and point it to the recovery image that you downloaded in step 2.
5. Restart your phone, it will take a few minutes because you did a wipe, just wait it will load (up to 5 minutes). As soon as the welcome screen loads plug your phone in to the PC and Unrevoked should do it's thing. If Unrevoked doesn't start, then hit the Menu button go to Settings --> Applications --> Development and enable USB debugging.
6. The phone will restart a couple of times, and will look like it's hanging on the HTC screen but it's not! If the HTC screen is present for more than 5 minutes pull your battery and start again ( I had to do this a couple times myself). If Unrevoked pauses half way through its process, it could be because for some reason you don't have the proper drivers installed. You can load them as Unrevoked does the root process, while the phone is rebooting if Unrevoked pauses and Windows prompts you for a driver point it to the C:\android\tools directory and it will load the drivers and Unrevoked will continue its root process.
7. When Unrevoked is finished you will be left at the recovery screen,
8. *** VERY IMPORTANT*** Before restarting do a "wipe cache partition", "factory reset". And now would be a good time for a Nandroid Backup
9. Now reboot, and Android should load. Check for Superuser Permissions app, if you see it you're good if not restart from step 3.
10. Shutdown and load HBOOT, wait a few seconds for SD card (you'll see something try to load quickly), then load recovery again, it should load everytime without issue now.
It may take a few tries, but just follow these steps and it will work.
Steps for flashing radio, and custom ROM:
1. Grab a custom ROM from the forum, I used OpenDesire: http://forum.xda-developers.com/showthread.php?t=712615
OpenDesire comes with a nice reboot to Recovery feature built in.
2. Once zip is download, copy it to your SD card
3. Get the updated radio needed from here: http://www.mightyrom.com/mrx/MRX/Bravo/Radio/Signed/32.44.00.32U_5.09.05.30_2.zip
4. Reboot into recovery by powering on the device while holding the Power button down and pushing Volume down at the same time. Select Recovery with the Volume rocker and then click the power button to launch it.
5. Select "install zip from SD card" using the trackpad and select the radio zip that you download in step 3.
6. Let it do its thing (could take up to 10 mins to finish), use the back button to get to main menu and select "reboot system now" with the trackpad. If your phone hangs after rebooting wait at least 10 minutes before pulling the battery, it could be finishing the radio update.
7. Once rebooted check that the new radio is good by loading HBOOT (you should know how to do this by now) and at the top it will show you're radio version.
8. Load recovery again and select "wipe cache partition", "factory reset" (for the 3rd and final time). Then select "install zip from SD card" using the trackpad and select the ROM zip that you download in step 1.
9. The new ROM is now installed, restart the phone and wait up to 20 minutes (it shouldn't take that long) for the new ROM to load, DO NOT PULL YOUR BATTERY UNTIL AT LEAST 20 MINUTES HAVE PASSED.
You should now have your phone rooted, new radio installed, and a new custom ROM loaded.
Sorry for such a long post, but I found all these steps necessary to get the end result.
If I have missed anything or if anyone has comments / corrections post them here and I will try to keep the tutorial updated and easy to use as possible.
Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!
Couple of things.
USB debugging is under development in Apps. (not a big deal)
Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.
Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.
Thanks for doing this!
Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.
Below may be wrong info, but it is what happened to me.
//////////////Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
////////////////////
ajanu said:
Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
Thanks for doing this!
Click to expand...
Click to collapse
Can you elaborate on this? I'm assuming Clockwork recovery is stored on the SD card?
BIGGGG THANKS, I will try tonight.
Below may be wrong info, but it is what happened to me.
//////////////Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important./////////////
ajanu said:
Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!
Couple of things.
USB debugging is under development in Apps. (not a big deal)
Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.
Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.
Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
Thanks for doing this!
Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.
Click to expand...
Click to collapse
This is exactly the part I wanted, when I had to use nandroid
ajanu said:
Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important.
Click to expand...
Click to collapse
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
quazis said:
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
Click to expand...
Click to collapse
These devices make no sense to me. Maybe I didn't help anything with the copy and just trying to boot a few times would work. I would expect things to work or not work, but they work intermittently some times. Certainly increases the confusion/frustration levels.
Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?
Juggalo_X said:
Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?
Click to expand...
Click to collapse
Link has been updated to reflect the latest Clockwork recovery version.
Thank you!
Blowtoke said:
Link has been updated to reflect the latest Clockwork recovery version.
Thank you!
Click to expand...
Click to collapse
No problem and here is a link to the new radio if you want to update it. it appears to be much better then the one linked in tut. Here it is
Juggalo_X said:
No problem and here is a link to the new radio if you want to update it. it appears to be much better then the one linked in tut. Here it is
Click to expand...
Click to collapse
Radio link updated as well, thanks!
quazis said:
I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.
If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
Click to expand...
Click to collapse
What is EXT3 partition ?
I would like to get more details about the sdcard ? I make my backup with nandroid and after I format the sdcard....so if I want restore the back up from Nandroid, it will not be there....sorry for the noob questions
fourire said:
This is exactly the part I wanted, when I had to use nandroid
Click to expand...
Click to collapse
This step has been added to the guide....thank you!
fourire said:
What is EXT3 partition ?
I would like to get more details about the sdcard ? I make my backup with nandroid and after I format the sdcard....so if I want restore the back up from Nandroid, it will not be there....sorry for the noob questions
Click to expand...
Click to collapse
Ext3 partition is for A2SD, I never touched my SD Card until I was rooted, updated radio, and loaded a custom ROM. I can't say whether or not the SD card plays a role in freezing during boot to recovery or not? But like I said I never partitioned my SD until after everything was done.....
Very good tutorial !
Thank you
After all that, what's about the apps, contacts, calendar ?
And for this file: 2. Get the needed recovery image from here: http://koush.tandtgaming.com/recover....0.7-bravo.zip... is it for slcd ?
fourire said:
After all that, what's about the apps, contacts, calendar ?
And for this file: 2. Get the needed recovery image from here: http://koush.tandtgaming.com/recover....0.7-bravo.zip... is it for slcd ?
Click to expand...
Click to collapse
Recovery-clockwork-2.5.0.7-bravo.zip has been confirmed to work with SLCD, the link has been updated.
Thanks!
ok - at step 8
8. *** VERY IMPORTANT*** Before restarting do a "wipe cache partition", "factory reset". And now would be a good time for a Nandroid Backup
Can someone point me to a nandroid backup tutorial.
Blowtoke said:
I've posted a question on the Clockwork forum to find out if the latest version (recovery-clockwork-2.5.0.7-bravo.zip) works with SLCD, once I get an answer I will update the link if necessary.....for now it's reverted back to the old recovery img that I know works....
Thanks!
Click to expand...
Click to collapse
It works ive flashed it as my recovery img

[Guide] *NOOB's* guide to flashing FROYO <> With the GB release

I am putting this up for new users of the Samsung Galaxy S 4g that are having issues with flashing, well, pretty much any rom right now.
1) The main issue right now is our recovery and rom manager not working together....NOT THE ROM's!
2) Here is a walk through for problem free flashing (I have officially flashed every rom posted here right now and have no issues whatsoever)
So here we go:
1) I'll start this assuming you have already rooted.
2) Download the update.zip and recovery from HERE
3) Place files on the root of your sdcard (not in any file) DO NOT UNZIP THE UPDATE.ZIP!!!
4) You must have a file system explorer with root permissions (IE...Root Explorer or equivalent)
5) Once in Root Explorer, your system MUST BE MOUNTED AS R/W, navigate to your sdcard, find the recovery file you downloaded and long press....select "copy"
6) Hit the back button until you return to the file marked "/" and make sure it is still mounted r/w, then navigate to system, then bin. Once you are in bin (this is important) hit "paste" on the bottom of your screen. It will ask if you want to overwrite the existing recovery. Select yes. DO NOT REPLACE IT, ONLY OVERWRITE IT!!!
7) Keep hitting the back button on your phone until you exit out of root explorer.
8) Power off your phone, then, after fully shut down, holding volume up AND down plus power (yes, hold all 3 of them) you will enter a blue stock recovery screen. Scroll down 1 option to "reinstall packages", press power........you should now be in the orange Clockwork Mod recovery.
9) Scroll down to "backup and restore" and hit power, then go to "Backup" and hit power. Let it do it's thing. This will create a backup on your sdcard in a file called "clockwork". Keep this so you can restore in case something goes wrong (or like me, like to change things up all the time).
10) Now, again, I will assume that you have the rom of your choice on the root of your sdcard. This is where things get screwy....so pay attention to the OP's instructions for mounts. Scroll to "mounts and storage" and hit power.
11) The first 4 things you will see are : /cache, /data, /sdcard, and /system. This is where you need to pay close attention to what you are doing.
A) For KD1 and Bionix Frost your mounts must appear like this:
/cache : unmount
/data : mount
/sdcard : mount
/system : unmount
B) For Trigger your mounts must appear like this:
/cache : unmount
/data : unmount
/sdcard : mount
/system : unmount
If they are not in this order,change them so they are, or it will flash but will not boot. YOU WILL BE IN A SOFT BRICK STATE THAT REQUIRES ODIN TO FIX!!!!
12) Install RomManager if you wish, but DO NOT, I REPEAT DO NOT FLASH CLOCKWORKMOD RECOVERY FROM THE LIST, this will cause your phone to get stuck at wiping a file called /.android_ secure in recovery.....so once again, HELLO ODIN! Also DO NOT REBOOT RECOVERY from rom manager, this will also cause /.android_secure to not wipe.....so once again, HELLO ODIN!
Last but not least, follow instructions on the OP to the "T" and you will be fine, unless you enjoy odin that much.....personally, I hate it.
If anything here is wrong or not working for you, please let me know so I can fix/update this. Please double/triple check everything that you did and make sure it is correct before *****ing "It's still not working".......because it does work. I have flashed and flashed and flashed with only 1 soft brick, and that was my fault.....not these instructions fault.
To see if I can make this make a little more sense now, here we go: The reason for changing mounts is that, by default, /system is not mounted. To be able to flash and boot successfully, it has to be. When you are looking at them, it will say "mount", this means that it is NOT mounted. If it says "unmount", then it means it IS mounted, confused yet? Just remember it like this: It is the opposite of what it says...so make sure that system says "unmount", which actually means it's mounted. This step is absolutely CRUCIAL.
Enjoy the hell out of your bad ass Samsung Galaxy S 4g, because I am
This should definitely make the sgs4g bible. Its a great tutorial on getting through the flashing issues people are having. Thank you this is ( . ) ( . )
Sent from my SGH-T959V using XDA Premium App
mad_fitter said:
I am putting this up for new users of the Samsung Galaxy S 4g that are having issues with flashing, well, pretty much any rom right now.
1) The main issue right now is our recovery and rom manager not working together....NOT THE ROM's!
2) Here is a walk through for problem free flashing (I have officially flashed every rom posted here right now and have no issues whatsoever)
So here we go:
1) I'll start this assuming you have already rooted.
2) Download the update.zip and recovery from HERE
3) Place files on the root of your sdcard (not in any file) DO NOT UNZIP THE UPDATE.ZIP!!!
4) You must have a file system explorer with root permissions (IE...Root Explorer or equivalent)
5) Once in Root Explorer, your system MUST BE MOUNTED AS R/W, navigate to your sdcard, find the recovery file you downloaded and long press....select "copy"
6) Hit the back button until you return to the file marked "/" and make sure it is still mounted r/w, then navigate to system, then bin. Once you are in bin (this is important) hit "paste" on the bottom of your screen. It will ask if you want to overwrite the existing recovery. Select yes. DO NOT REPLACE IT, ONLY OVERWRITE IT!!!
7) Keep hitting the back button on your phone until you exit out of root explorer.
8) Power off your phone, then, after fully shut down, holding volume up AND down plus power (yes, hold all 3 of them) you will enter a blue stock recovery screen. Scroll down 1 option to "reinstall packages", press power........you should now be in the orange Clockwork Mod recovery.
9) Scroll down to "backup and restore" and hit power, then go to "Backup" and hit power. Let it do it's thing. This will create a backup on your sdcard in a file called "clockwork". Keep this so you can restore in case something goes wrong (or like me, like to change things up all the time).
10) Now, again, I will assume that you have the rom of your choice on the root of your sdcard. This is where things get screwy....so pay attention to the OP's instructions for mounts. Scroll to "mounts and storage" and hit power.
11) The first 4 things you will see are : /cache, /data, /sdcard, and /system. This is where you need to pay close attention to what you are doing.
A) For KD1 and Bionix Frost your mounts must appear like this:
/cache : unmount
/data : mount
/sdcard : mount
/system : unmount
B) For Trigger your mounts must appear like this:
/cache : unmount
/data : unmount
/sdcard : mount
/system : unmount
If they are not in this order,change them so they are, or it will flash but will not boot. YOU WILL BE IN A SOFT BRICK STATE THAT REQUIRES ODIN TO FIX!!!!
12) Install RomManager if you wish, but DO NOT, I REPEAT DO NOT FLASH CLOCKWORKMOD RECOVERY FROM THE LIST, this will cause your phone to get stuck at wiping a file called /.android_ secure in recovery.....so once again, HELLO ODIN! Also DO NOT REBOOT RECOVERY from cwm, this will also cause /.android_secure to not wipe.....so once again, HELLO ODIN!
Last but not least, follow instructions on the OP to the "T" and you will be fine, unless you enjoy odin that much.....personally, I hate it.
If anything here is wrong or not working for you, please let me know so I can fix/update this. Please double/triple check everything that you did and make sure it is correct before *****ing "It still not working".......because it does work. I have flashed and flashed and flashed with only 1 soft brick, and that was my fault.....not these instructions fault.
Enjoy the hell out of your bad ass Samsung Galaxy S 4g, because I am
Click to expand...
Click to collapse
HAHAHAHA man good job on sending me that personal message i was in the process of typing everything!!! wonderful guide! keep up the good work!!
dsexton702 said:
HAHAHAHA man good job on sending me that personal message i was in the process of typing everything!!! wonderful guide! keep up the good work!!
Click to expand...
Click to collapse
Thanks brudda I wanted to hurry up and get ahold of you before you wasted all of your time and talent
@Mr. Clown , Any chance this could get a sticky in general until these issues disappear? I only ask so that the development threads can stop getting CLOGGED with "I can't get it to flash" and "I can't get it to boot" or "I still can't get into recovery" (making your life easier )
Great post!..quick question as for the rom..I heard that the mounts should look diffirent before and after flash..so after flash how should i order them?
Sent from my SGH-T959V using XDA App
johndrdragon said:
Great post!..quick question as for the rom..I heard that the mounts should look diffirent before and after flash..so after flash how should i order them?
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Don't be concerned with how they look afterwards. I never have. Just make sure that when you flash they are set up properly
Thanks..one more question im currently running odex kd1 meaning original tmobile stock because i was actually waiting for roms...should I flash straight to bionix or trigger or go to kd1 first then flash those 2? because I"m concerned odex might mess it up
Sent from my SGH-T959V using XDA App
johndrdragon said:
Thanks..one more question im currently running odex kd1 meaning original tmobile stock because i was actually waiting for roms...should I flash straight to bionix or trigger or go to kd1 first then flash those 2? because I"m concerned odex might mess it up
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
No need to worry. Go ahead and flash away, just make sure to follow this and anything else the dev's tell you to
mad_fitter said:
No need to worry. Go ahead and flash away, just make sure to follow this and anything else the dev's tell you to
Click to expand...
Click to collapse
Don't forget his thanks button for this everyone
Sent from my SGH-T959V using XDA Premium App
dsexton702 said:
Don't forget his thanks button for this everyone
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
+1 brutha! Thank you
mad_fitter said:
No need to worry. Go ahead and flash away, just make sure to follow this and anything else the dev's tell you to
Click to expand...
Click to collapse
thanks a million,just flashed it!
Nice post, yo.
Sent from my SGH-T959V using XDA Premium App
johndrdragon said:
thanks a million,just flashed it!
Click to expand...
Click to collapse
I like to hear thanks
But, ummmm, ya >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>thanks button lol.
robbbbit said:
Nice post, yo.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Shanks dude
Great job! I just came from the HD2 and was wondering if any of these roms helps the ****ty battery life?
They are all better than stock for sure. Also if you use the battery recalibration trick.....its much better.
sent from the pits of hell (from an sgs4g)
yes im a noob and yes i approve of these directions lol ya followed to the letter got clock work installed and bali installed ty
I got a question. I have this problem since I screwed up flashing the first Trigger, and then, with a brain fart, odining with the Vibrant .pit file. I got it fixed but now it will not let me change the /cache mount. I am running Trigger .4 with no problems but just curious why I can't change that mount. When I go into root explorer the only file in there is "lost&found"????
Let me do some research on that one, lol.
sent from the pits of hell (from an sgs4g)
Nevermind, figured it out.

[Q] Infuse zip flashing stuck at "Finding update package"

Hi guys, this is the first post i upload and want to take the occasion to greet you all.
In these days i bought a Samsung Infuse 4G...i really like this phone but want to be able to use it with some special features such as connecting various USB devices to the phone and other juicy stuff.
I read that the builtin ROM is not capable of such this thing, and Ice Cream Sandwitch, witch should allow to do that, is not available for this smartphone model. At least not officially.
My choice fell upon CM7 LinuxBozo ROM ( http://forum.xda-developers.com/showthread.php?t=1311960 ).
I rooted my device. I'm sure of that because i am able to use the root explorer with root privileges and the root menu shows up among my applications.
I then followed the instructions here ( http://forum.xda-developers.com/showthread.php?t=1107881 ) in order to install the ClockWorkMod Flashing Menu but I am not sure whether anything went allright or not as, after trying both the methods shown on the guide, nothing happened (in the first case, the automatic install through ROM Manager seems to work, a message appears on the screen confirming anything went smooth but when i reboot i see the normal reboot menu, no advanced menu nor CWM menu; in the second case i tried to manually load the CWM menu by placing the update file in the SD and renaming it to update.zip, the update gets stuck somewhere saying something about a bad or wrong signature, tried it a few times and with different CWM update versions but nothing to do).
I then stumbled into a workaround to fix that issue by an even more manual procedure ( http://www.youtube.com/watch?v=PkMo8rBehHg&feature=related ) basically consisting in copying the "recovery" executable from the CWM update archive to the directory /system/bin and of course chmodding it to rwxr-xr-x and chowning it to the root.
Now the CWM screen appears but, as i attempt to flash the CM7 ROM, the flashing gets stuck at "Finding update package". I read here ( http://forum.xda-developers.com/showthread.php?t=821499 ) that it could happen sometimes and it's just a matter of trying and trying again... I tried at least ten times up to now but it keeps getting stuck...maybe it's not my case.
Hope someone will help me out...i really need that USB reading feature. Thank you.
baareem said:
Hi guys, this is the first post i upload and want to take the occasion to greet you all.
In these days i bought a Samsung Infuse 4G...i really like this phone but want to be able to use it with some special features such as connecting various USB devices to the phone and other juicy stuff.
I read that the builtin ROM is not capable of such this thing, and Ice Cream Sandwitch, witch should allow to do that, is not available for this smartphone model. At least not officially.
My choice fell upon CM7 LinuxBozo ROM ( http://forum.xda-developers.com/showthread.php?t=1311960 ).
I rooted my device. I'm sure of that because i am able to use the root explorer with root privileges and the root menu shows up among my applications.
I then followed the instructions here ( http://forum.xda-developers.com/showthread.php?t=1107881 ) in order to install the ClockWorkMod Flashing Menu but I am not sure whether anything went allright or not as, after trying both the methods shown on the guide, nothing happened (in the first case, the automatic install through ROM Manager seems to work, a message appears on the screen confirming anything went smooth but when i reboot i see the normal reboot menu, no advanced menu nor CWM menu; in the second case i tried to manually load the CWM menu by placing the update file in the SD and renaming it to update.zip, the update gets stuck somewhere saying something about a bad or wrong signature, tried it a few times and with different CWM update versions but nothing to do).
I then stumbled into a workaround to fix that issue by an even more manual procedure ( http://www.youtube.com/watch?v=PkMo8rBehHg&feature=related ) basically consisting in copying the "recovery" executable from the CWM update archive to the directory /system/bin and of course chmodding it to rwxr-xr-x and chowning it to the root.
Now the CWM screen appears but, as i attempt to flash the CM7 ROM, the flashing gets stuck at "Finding update package". I read here ( http://forum.xda-developers.com/showthread.php?t=821499 ) that it could happen sometimes and it's just a matter of trying and trying again... I tried at least ten times up to now but it keeps getting stuck...maybe it's not my case.
Hope someone will help me out...i really need that USB reading feature. Thank you.
Click to expand...
Click to collapse
what color is your cwm screen?
this may be a simpler way of gettin cwm:
http://forum.xda-developers.com/showthread.php?t=1220090
specifically, the CWM instructions set.
I see that the instructions you suggested me would mean to start the process almost from scratch. I will do that as soon as i finish studying the nazis for my school report .
And maybe after getting the next answer from you
The boot screen is green text on black backgroud.
Holding audio and power buttons for 10 seconds doesn't prompt me to the red boot screen if it was what you meant and if I read the instructions provided well (witch i didn't as i have no time now)... don't get me wrong. Just trying to provide you as more information as possible.
baareem said:
I see that the instructions you suggested me would mean to start the process almost from scratch. I will do that as soon as i finish studying the nazis for my school report .
And maybe after getting the next answer from you
The boot screen is green text on black backgroud.
Holding audio and power buttons for 10 seconds doesn't prompt me to the red boot screen if it was what you meant and if I read the instructions provided well (witch i didn't as i have no time now)... don't get me wrong. Just trying to provide you as more information as possible.
Click to expand...
Click to collapse
if you still have root, download from market
sgs kernel flasher and the flash the gingerbread kernel to give you RED recovery and flash the rom of your choice after a factory reset and usual wipes
Cool... i'm now running CM7 !
Here is what i missed for anyone who would have the same problem in the future (you can find the download links here: http://forum.xda-developers.com/showthread.php?t=1220090 ):
CWM Installation Instructions:
1) You must be rooted.
2) If you have a /Voodoo folder on your internal SD card, delete it and reboot.
3) If you're already running a custom ROM with Voodoo lagfix FULLY enabled, you can skip to step 7.
4) Download CWM-community-kernel-v8.zip if you're on Froyo or CWM-infused-v2.0.1-kernel.zip if you're on Gingerbread and place it on your internal SD card.
5) Install SGS Kernel Flasher from the Market.
6) Open SGS Kernel Flasher, select choose kernel, select the file you downloaded, and select flash kernel. Your phone will reboot and begin to enable Voodoo lagfix. Let it do that and boot all the way up. It will take a while (5-10 minutes) because it's converting all partitions to ext4.
7) Download update-infused-v2.X.X-full.zip and place it on your internal SD card.
8) Power off your phone.
9) With the phone powered off, hold both volume keys and the power button for about 10 seconds and then release. This should boot you into RED CWM.
10) Select "install zip from sdcard" and select update-infused-v2.X.X-full.zip.
11) Once that finishes, select "wipe data/factory reset".
12) Select "reboot system now".
13) Do NOT restore system data with Titanium Backup. Do NOT restore ALL apps with data. If you absolutely must restore something with Titanium Backup, only restore MISSING apps with data.
Click to expand...
Click to collapse
Now just another question: i noticed different errors when running the market and other old built-in apps... I just need to reinstall gapps right?
yeah, that is why it's stickeyed.
you just had to read/search them.
market wise, there's a market fix
or you can also factory reset and wipe cache and dalvik in cwm
Thanks. You helped me solving this and now anything works fine. Have a good day.
Thread (NOT) SOLVED.
--------
(Edited after realizing gapps still don't show up as installation didn't really worked)
baareem said:
Thanks. You helped me solving this and now anything works fine. Have a good day.
Thread SOLVED.
Click to expand...
Click to collapse
np. take it easy, bro.
I was too quick saying it worked.
The Infuse just booted up but nothing changed. I then tried to do the zip installing through rom manager again but invane.
When trying with the manual install it promts me with this error:
E: Can't open /emmc/gapps-gb-xxxxxxx-signed.zip
(bad)
Installation aborted.
Click to expand...
Click to collapse
I tried different versions of gapps including the one suggested in the CM wiki but with no luck. I guess the problem is somewhere else.
PS: now i see the blue on black bootscreen as in order to install gapps with rom manager i was asked to reinstall CWM trough it...
baareem said:
I was too quick saying it worked.
The Infuse just booted up but nothing changed. I then tried to do the zip installing through rom manager again but invane.
When trying with the manual install it promts me with this error:
I tried different versions of gapps including the one suggested in the CM wiki but with no luck. I guess the problem is somewhere else.
PS: now i see the blue on black bootscreen as in order to install gapps with rom manager i was asked to reinstall CWM trough it...
Click to expand...
Click to collapse
what version of ROM were you running when you tried this?
Stock FRoyo?
Cyanogenmod 7 ... exactly this version : http://forum.xda-developers.com/showthread.php?t=1311960
Kernel version is 2.6.35.7 , android v 2.3.7.
The old, OOB version i had was froyo 2.2.6 if i well remember.
baareem said:
Cyanogenmod 7 ... exactly this version : http://forum.xda-developers.com/showthread.php?t=1311960
Kernel version is 2.6.35.7 , android v 2.3.7.
The old, OOB version i had was froyo 2.2.6 if i well remember.
Click to expand...
Click to collapse
I haven't played with CM7, it's not an infuse based rom.
I recall some installation issues with it.
I remember an unsuccess reboot intially and pull battery thing..not sure.
If you're looking to install another rom, odin back to stock and start over.
check out my sig line for some useful links

My phone wont boot into Cmw recovery, Please help.

My phone is rooted (With Super One Click) and when tap the "boot into recovery" option in Rom Manager it just send me to the stock recovery (with Blue text and what not). I have flashed Rom Manager with my Sidekick 4g before I tried to boot into recover. Please, someone help me. The answer is probably right in my face, but my noobish eyes just cant see it. :crying:
Please don't bash me this is my first post. I made sure there wasnt any post like this before i started a new tread.
Don't use ROM Manager with Sidekick 4G as CWM doesn't work the same way. When you reboot you always go into Samsung recovery from where you gotta reinstall packages to 'fake flash' the CWM recovery. If it says permission denied, the recovery file wasn't pushed to /system properly. You gotta reinstall every single time .. till of course you install a custom ROM. I think most come with voodoo CWM which replaces stock recovery, allowing you to go into CWM directly when you go to Recovery.
Firstly you need root, which I'm assuming you already have. Then you have to move a custom recovery to your phone's /system to allow you to install unsigned packages. You can do this using root explorer (paid app, but its the most simple and easy way of doing it) or you can do it using other similar apps that give you R/W (read and write) access. You also need to have a custom recovery file, the update.zip which when you hit reinstall packages (given you pushed the custom recovery file to the phone's system) would bring up clockworkmod recovery.
Read the noob guide here -> link. Its REALLY good and gives you a step by step of how to root / get custom recovery and install custom ROM.
Go here -> link. For more in depth information about getting a custom recovery. And here -> link. for Krylon's recovery files (links on his thread aren't all working).
Edit: Looks like the links on Krylon's page aren't working .. if someone can give an alternative it would be great!
I'm thinking about ODIN my device and start over but this time following one of the guides provided. I got cwm working but now I get a long script of code with a error that saids that it can't mount this and stuff like that. Ill try to post a image to give you a little better look at my problem. And for some reason the cmw logo isn't coming up behind the orange text.
Sent from my SGH-T839 using xda app-developers app
Those guided really helped me out I spent ages reading up different things so when I finally went and did it, I didn't face any problems!
Important notes:
1. Root, obviously I personally didn't use the latest edition of SuperOneClick (at the time) on the website, but the file the dev posted on his XDA Thread.
2. Don't use ROM Manager or any other 'one click' kind of recovery for this phone. You need to download a custom recovery file and update file (links above, thanks Krylon) and go into CWM Recovery through the official Samsung Recovery through reinstalling the custom update file. This is the only way to access Orange CWM. Most custom ROMs come with the Red Voodoo CWM which is permanent in the sense that when you go into recovery, you should go into CWM (Red), instead of having to go through Samsung.
3. Orange CWM (and some say Red CWM as well) has some mounting issues. Always remember to check your mounts such that System, Data (well just to be safe, all of the items in the list) always say UNMOUNT. Basically when its mounted, means CWM has access to the partition. It says UNMOUNT because it is MOUNTED. I know thats a bit confusing, but think of it like this - there is a light switch that says ON so when you press it, turns the lights on but then the writing changes to OFF because you need to push the switch to turn it off. Erm .. hope that helps?! Lol.
4. Basically if your partitions are showing up as MOUNT, means you need to MOUNT them. Otherwise whatever changes you did won't apply! Instead of getting confused like I did, just make sure the screen says UNMOUNT SYSTEM and so forth for the rest of the items on the list.
5. Before installing a custom ROM, I always wiped x 3, before and after. Means after checking mounts, wipe data / dalvik, etc. 3 times. So for me, after checking mounts I would go to wipe date - yes - done 1; wipe data - yes - done 2; wipe data - yes - done 3. Followed by wipe dalvik and whatever else you want to wipe. Then I'd check mounts again (they usually get unmounted after a wipe .. well for me they always have anyway) before installing the ROM. Oh, sometimes I installed the ROM twice. Then I'd check mounts, wipe x 3, check mounts again before finally rebooting and letting it stand still for around 20 minutes or so. I don't really know if there is a logic or if doing it so many times makes a difference but I know some other people have done this and (other than wasting time) it doesn't really do any harm (someone correct me if I'm wrong) so why the hell not? I think the basic reasoning behind double / triple wiping and installing is to make sure that the changes are properly written as sometimes the system still retains old data.
6. Some people have SD card partitioning issues apparent. I can't remember why everyone went around partitioning in the first place (it must have been for some important reason, completely slipped my mind right now .. I personally did it to link my apps / data to SD card and save internal memory / space) but I personally used Gparted to partition my card on a computer (rather than CWM on the phone as I've heard people have issues with this) and never had a problem.
But I think thats it. I know there is a lot of information but its really worth having a look at the guide and other posts on that thread as that and the ROM thread (I personally use GOV 3.2) really had me prepare for any possible issue beforehand so I started off in a position where I could avoid them.
WTF_IsA_Android said:
I'm thinking about ODIN my device and start over but this time following one of the guides provided. I got cwm working but now I get a long script of code with a error that saids that it can't mount this and stuff like that. Ill try to post a image to give you a little better look at my problem. And for some reason the cmw logo isn't coming up behind the orange text.
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
can someone update the sidekick 4g stuff everything is either dead or does not lead anywhere to download any of the required files, thanks.

[SOLVED] CWM + Cyanogenmod 10 installation help - Did I forgot anything ?

Hey XDA ! =D
I'm still interested in installing Cyanogenmod 10 on my LG Optimus One P500h, but I want to make sure I follow the steps properly first - this is my first time installing a custom ROM, and when I heard it was possible to install Android 4.0 on the P500h, I performed a backup from ROM Manager, and I "bricked" my device a few days ago. XD
I wouldn't want this to happen again, but at least, I must say I have more experience now, and learned a lesson.
Did many searches on how to install CWM with Cyanogenmod 10, I found many different ways to do it, and I'm still unsure of which procedure follow.
Read the FAQ and that was really helpful.
I will list the procedure that I would normally try - please correct me if I forget anything:
0. Root the device
Done that already. I'm on Android 2.3. When I flashed the KDZ on my LG (and so to my surprise, got me updated from 2.2 to 2.3.3) , I've used V20A_00.KDZ, so I *assume* this is the second baseband.
1. Compact/Trim Cyanogenmod ROM
Downloaded CM10 here. This look correct: http://forum.xda-developers.com/showthread.php?t=1811325
January 8: Build 7/Final
I chose C10 over C11 because more things are compatible I believe - was it Bluetooth that did not worked under C11, but does on C10 ?
Anyways, that solve a known problem: many users said they loose network after the ROM installation. Shinobisoft confirmed it was because of the lack of space on the System partition, right ? Compacting the ROM would also fix problems for installing Link2SD ?
I've downloaded the tool "OOne ROM Editor" and opened it - it doesn't look complicated at all. What apps are safe to delete ? Will converting them to "user app" save space for system apps (I'm not sure - Where are the apps stored when defined as "User"? SD card rather than /System ?) ? Can I delete fonts without problems (I don't see why I can't keep ONLY 3-4 fonts, not 10) ? Then how much space will be left on the device ?
Read I cannot delete LatinIME.apk. Is this the default keyboard? 20MB is huge, there's no way to compact this file, right ?
Assuming there's like 10MB free, network will work, but I will have no choice but to use Link2SD to install apps fully on SD card, is this correct ?
2. Baseband stuff
Ehm, what are we referring to as "baseband" in first place?
All ROMs starting with CM7 are new baseband. If your device had Android 2.2 prior to flashing, you are on old-baseband. There is a patch for that also in the LG Optimus One FAQ on the first page, not sure which post off the top of my head tho. If your device had Android 2.3 on it then you have a new baseband device which shouldn't require any patches.
Click to expand...
Click to collapse
Allright, this should make this a lot easier - as I said, I originally was on Android 2.2, when I bricked the phone, I flashed "V20A_00" throught KDZ Updated, then I rebooted as 2.3.3, so I shouldn't do anything, right ?
In "About Phone", it's listed "Software Version: LG-P500h-v20a".
3. Install ClockworkMod Recovery
This look like the tricky part.
A lot of people on other sites said to use ROM Manager...
shinobisoft said:
First, serious word of advice. Stay away from ROM Manager. It does not handle this device correctly.
Click to expand...
Click to collapse
ROM Manager's way of flashing recovery is broken by design. Do NOT use it unless you are comfortable with rescuing your phone via ADB/fastboot like many people before.
Click to expand...
Click to collapse
Yes, ROM Manager is completely broken in this regard. It needs to download a signed ZIP and discard it and report an error when verification fails. Heck, ZIP format has even its own CRC check. What ROM Manager is doing (download whatever .IMG and flash it no matter what) is a nice WTF! Broken by design, go rewrite from scratch!
Click to expand...
Click to collapse
I don't trust the use of ROM Manager anymore on my device, and I'm not comfortable with using it again. I actually wonder: When I press VolumeUp-Home-Power, the phone perform a factory reset (Many people asked already why. This apparently mean that CWM is not installed).
But is it really installed? ROM Manager actually says: "Actual Recovery: ClockworkMod Recover 5.0.2.0". What? Am I supposed to press VolumeUp-Home-Power to verify, only to do another factory reset?
So what would the non-ROM-Manager method be ? I found this one here:
http://forum.xda-developers.com/showthread.php?t=1146566
I know about the Android Terminal Emulator already, and as a Linux user on PC, the commands "su", "cat", "chmod", "mount" are not unknow to me. I should be able to do this... That's not risky ?
So when CWM will be installed, I should be able to boot in it using "VolumeUp-Home-Power"; in theory, this is a bootloader, so if the ROM get screwed up, I *should* be able to access the bootloader to restore the ROM (I compare this to a PC BIOS - the OS is screwed, but BIOS remain accesible) ?
How could I explain that when I bricked my device with ROM Manager, I couldn't perform a factory reset, and only had access to Emergency Mode (I assume there is not such thing as a "Recovery Mode" on a P500h stock, new/untouched. The equivalent immediatly perform a factory reset) ?
All Android devices have a recovery partition. This is essentially a section of the device’s memory devoted to a very basic recovery system that is separate from the normal operating system. This is normally used by manufacturers for recovering a broken device (as even if the operating system crashes, the recovery image has a chance of still being access and used to reflash the operating system, etc.).
Click to expand...
Click to collapse
By default, the LG P500h recovery partition perform an immediate factory reset - CWM will be installed here, so I should be able to access it if the ROM freak out. But why couldn't I access the factory reset, when I bricked the device? That's what I wonder.
4. Access CWM and do a Nandroid Backup to SD Card
I will now have the files boot, cache, data, recovery and system, as well as"nandroid.md5" on SD card.
5. Wipe everything, clean SD Card
Perform "Wipe data/factory reset". This will format the /data, /cache, /sdext, and .android_secure
Select the "Advanced" option and on the next screen select "Wipe Dalvik Cache". Confirm the wipe.
Not necessary but I do it anyway, in the "Advanced" screen select "Wipe battery stats" and the confirm that wipe
For a clean installation I recommend formatting the system partition too. From CWM home screen select "mounts and storage". On the next screen select "format /system" and then confirm the format.
Press the back button until you are back in the CWM home screen. Select "Install zip from sdcard" and then select "Choose zip from sdcard". Browse your sdcard for the ROM to install and select it. Confirm the installation. Now wait for the install to finish.
Go back to CWM's home screen. Select "reboot system now" option and let the device boot. The initial boot will take a couple of minutes. Don't panic.
Click to expand...
Click to collapse
6. Partition SD card (?)
Is this at that point that I should do it, in CWM ? Or wait until I access Cyanogenmod and use a software on PC to partition ?
Assuming I don't partition, I guess I definitely will lack space for applications (Due to the space of Android 4.0) ?
I will do "Partition SD Card>EXT4 1024MB>Swap:64MB. Is this correct?
7. Install Cyanogenmod
Install ZIP from SD Card, choose the CM ZIP;
8. Install Google Apps
Once the install is done, I won't reboot and immediately install Google Apps, with "Install ZIP from SD card". I chose this package (Working on JellyBean):
http://forum.xda-developers.com/showthread.php?t=1917411
Then I should reboot in CyanogenMod and finally install Link2SD, I believe.
***
..Did I forgot anything ?
I *believe* that makes sense, but this is my first time installing a ROM - I doesn't look *that* hard, I did researches, but things can go wrong... :/
What should I do if I screw things up? Use KDZ Updater again ?
I'm still a little worried about that baseband thing, and the lost network connection.
Thanks for the input, cheers!
1) Use FlashImageGUI app to flash recovery/or use Recovery.IMG flasher by @shinobisoft
2) Forget the baseband stuff
3) Factory reset is the default action when you boot into stock recovery
4) If you partition SD card your data will be wiped anyway
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
1) Use FlashImageGUI app to flash recovery/or use Recovery.IMG flasher by @shinobisoft
2) Forget the baseband stuff
3) Factory reset is the default action when you boot into stock recovery
4) If you partition SD card your data will be wiped anyway
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
1) I've checked FlashImage GUI, it look really simple to use. This is what I see now:
https://dl.dropboxusercontent.com/u/67605655/snap20140216_103936.png
For flashing a recovery image, should I select Clear Dalvik & Clear Cache ? Do I have to enable USB Debugging?
Where can I find the recovery image for CWM ? Here maybe: http://forum.xda-developers.com/showthread.php?t=1523050
I don't know, I would download CWM v5.0.2.7_Touch_p500-Build 4.zip.
Would the terminal emulator method would be easier (I still need to find recovery.img)?
Code:
$ su
# mount -o remount rw /system
# cat /sdcard/flash_image > /system/xbin/flash_image
# chmod 755 /system/xbin/flash_image
# flash_image recovery /sdcard/recovery.img
# mount -o remount ro /system
# reboot recovery
Since I have no Nandroid backup (I cannot do it until CWM is installed), what could I do if something goes wrong ?
2-3) Excellent, thank you.
4) I plan on partitionning, but at which point shoud I preferably do it?
Thank you, I appreciate the help - sorry for all the newbie questions.
1) Recovery image is in the zip fie itself. Extract it
The terminal method you're telling is just what FlashImage GUI does (notice the word 'GUI' )
2) Partition it whenever you want. Just backup your stuff before doing it.
3) As much I hate to say, the thanks button is there for a reason
Regards,
akiratoriyama.
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
1) Use FlashImageGUI app to flash recovery/or use Recovery.IMG flasher by @shinobisoft
2) Forget the baseband stuff
3) Factory reset is the default action when you boot into stock recovery
4) If you partition SD card your data will be wiped anyway
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
akiratoriyama said:
1) Recovery image is in the zip fie itself. Extract it
The terminal method you're telling is just what FlashImage GUI does (notice the word 'GUI' )
2) Partition it whenever you want. Just backup your stuff before doing it.
3) As much I hate to say, the thanks button is there for a reason
Regards,
akiratoriyama.
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Ok, so I've downloaded ClockworkMod_5.0.2.0_Recovery_ThunderG_Official here: http://forum.xda-developers.com/showthread.php?t=1523050
Extracted the ZIP and put the file recovery.img at the root of the SD Card (USB storage); so now all I have to do would be to start FlashImage GUI, select "Recovery Image", browse and choose the file recovery.img, then flash (I won't select Clear Dalvik & Clear Cache unless I have to (It's not selected by default, so I assume it's not require - although I've backed up my stuff already).
It's that simple?
I'm still in a learning stage, I bricked the device once with ROM Manager, so if that work, I should be more confident for the rest (I will take a Nandroid backup). Thanks for all the great explanations - Will press the thanks button soon
(How much thanks can I give per thread?)
GameX2 said:
Ok, so I've downloaded ClockworkMod_5.0.2.0_Recovery_ThunderG_Official here: http://forum.xda-developers.com/showthread.php?t=1523050
Extracted the ZIP and put the file recovery.img at the root of the SD Card (USB storage); so now all I have to do would be to start FlashImage GUI, select "Recovery Image", browse and choose the file recovery.img, then flash (I won't select Clear Dalvik & Clear Cache unless I have to (It's not selected by default, so I assume it's not require - although I've backed up my stuff already).
It's that simple?
I'm still in a learning stage, I bricked the device once with ROM Manager, so if that work, I should be more confident for the rest (I will take a Nandroid backup). Thanks for all the great explanations - Will press the thanks button soon
(How much thanks can I give per thread?)
Click to expand...
Click to collapse
Don't worry you won't brick it.
(Talking from my experience of completely hard bricking aka dead booting my device due to kdz)
Just flash it.
It's that simple
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
Don't worry you won't brick it.
(Talking from my experience of completely hard bricking aka dead booting my device due to kdz)
Just flash it.
It's that simple
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Allright, I got it!
I saw the success message, then used the keys to reboot in recovery, that worked!
At the boot, I can read "ClockworkMod Recovery v5.0.2.0 E: Bad boot message "recovery ".
I believe the "E: Bad boot message "recovery " is a known issue, and but is not a problem - please let me know if I have to do anything about this.
So now I will compact the Cyanogenmod ROM (I don't know how much space I should free, but I'll try to free a decent ammount), and perform a Nandroid backup to SD card.
I believe the hardest/scariest is done. From now, if the ROM install fail, I could just restore the backup, I guess.
Are they any case when CWM is unaccessible (When I bricked my device, I had no access to stock recovery (which only perform factory reset) but just Emergency Mode. Why was that?) ?
Thank you, I will let you know about the rest.
(Will press the thanks button at the end I don't know if it's OK to thanks on multiple posts on one thread, on this forum)
EDIT:
That error message means you dont have SD-ext. Ignore it.
Click to expand...
Click to collapse
EDIT 2: Nandroid backup succesfully taken! I now have the files .android_secure.vfat.tar, boot.img, cache.yaffs2.img, data.yaffs2.img, nandroid.md5, recovery.img and system.yaffs2.img. Will backup these on my PC.
It's OK to thanks on multiple post.You just have a limit of 8 thanks per day.
ROM manager made anything inaccessible except emergency mode or fast boot mode for some people.
(When I flashed my Oone with CWM, ROM manager worked like a charm)
You can flash the ROM now
Regards,
akiratoriyama.
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
Don't worry you won't brick it.
(Talking from my experience of completely hard bricking aka dead booting my device due to kdz)
Just flash it.
It's that simple
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
akiratoriyama said:
It's OK to thanks on multiple post.You just have a limit of 8 thanks per day.
ROM manager made anything inaccessible except emergency mode or fast boot mode for some people.
(When I flashed my Oone with CWM, ROM manager worked like a charm)
You can flash the ROM now
Regards,
akiratoriyama.
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
I appreciate the information;
It's quite akwards that ROM Manager broke everything (And I asked for a BACKUP - that's so broken, it brick the device when you want to BACKUP <__<) - when it rebooted, it was in Fastboot mode, and I never saw that mode before. Tried a few recommended commands without problems, but when I rebooted, I only had access to Emergency Mode.
What would be informative for me to know, is that ROM Manager seems to not only have screwed the ROM, but the stock bootloader as well. Weird.
Shinobisoft said we need to compact the CM10 ROM with his utility first, because the System partition is too small (Otherwise, I will have no network). I will do that, I have the tool, that doesn't look complicated.
From now, I am backing up my SD Card content (DATA is backed up too) with Nandroid present on SD, so I could start formatting, immediately followed by SD partitioning.
I guess I should be fine at that point - if anything goes wrong, I should have the option to restore the Nandroid backup.
Will let you know when I'll have the ROM compacted (Probably today).
EDIT: YAY !
Everything worked as we expected! I saved my SD Card on my computer, wiped it, partition it from CWM (EXT: 1024MB, SWAP: 64MB. I have a 16 Micro SD, class 4 (Can't afford higher class much, for now), then installed the compacted ROM. Immediately after, I installed Gapps, then rebooted.
That worked !! This ROM is DOPE ! Totally worth upgrading ! Blazing fast !! (Will be slower with apps installed, but well)
I also have a working network!
There is one thing that "failed", I cannot get Link2SD to work. It always says "cannot create mount script". I checked with Windows (I know by experience that I should absolutely not edit Unix partitions in Windows, I just check), and the FAT32 partition is the first, then I have a EXT4 partition, then the Linux-Swap, I don't know why it doesn't work.
I used Gparted to format the EXT4 partition to EXT2, but same problem, "cannot create mount script". What am I supposed to do ?
Thanks youuu !! =D
I'm really happy to have done this on my own, with help - I now have more experience with Android, I have experience with Windows, Linux OS and OS X, but never did I tried flashing a ROM yet.
@GameX2
Just woke up to see this post
How much free space is there on your /system partition ?
Link2SD should be working.
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
@GameX2
Just woke up to see this post
How much free space is there on your /system partition ?
Link2SD should be working.
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Hi,
Tanks for replying. out of 200mb, I have 70Mb free, but on /data. Last time i checked, /system was almost full (where can i check system size?).
Seems like lot of people have this link2sd issue.
@GameX2 use root explorer, it will tell you the remaining system space
@xu3sno or @ibub can you please help me ?
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
@GameX2 use root explorer, it will tell you the remaining system space
@xu3sno or @ibub can you please help me ?
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
That's what I've thought, according to "Storage Analyzer", /sysem has as minimum free space of 84KB (!) and a maximum of 4.63 MB.
Did not experience any weird stuff, for now.
sd-ext folder doest exist at root, but it's empty.
GameX2 said:
That's what I've thought, according to "Storage Analyzer", /sysem has as minimum free space of 84KB (!) and a maximum of 4.63 MB.
Did not experience any weird stuff, for now.
sd-ext folder doest exist at root, but it's empty.
Click to expand...
Click to collapse
Link2SD needs at least a MB to create mount scripts.
Delete some system apps like TerminalEmulator, CM File manager, Email, Exchange services.
Also use mini LatinIME.
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
@GameX2 use root explorer, it will tell you the remaining system space
@xu3sno or @ibub can you please help me ?
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
@akiratoriyama
Yes, that's right. You can check /system space by using Root Explorer. Or go to
Settings>About phone>Partition info.
I got 10+MB space left on /system partiton after trimmed the ROM and installed mini gapps.
You're right, Link2SD only works if there is 3MB, at least, left in system partition.
Sent from my LG-P500 using xda app-developers app
GameX2 said:
That's what I've thought, according to "Storage Analyzer", /sysem has as minimum free space of 84KB (!) and a maximum of 4.63 MB.
Did not experience any weird stuff, for now.
sd-ext folder doest exist at root, but it's empty.
Click to expand...
Click to collapse
Once you have success with link2sd creating mount scripts, you can access at /data/sdext. Been a long time since I ran Jan 8 cm-10, but I seem to recall that partition info is not in settings/about phone. But link2sd will have it. Or there are other apps. When viewing storage info from settings menu, don't confuse internal memory with /system (190mb). Internal that is shown there is/data (200mb).
Sent from my LG-P509 using Tapatalk 2
Link2SD needs at least a MB to create mount scripts.
Delete some system apps like TerminalEmulator, CM File manager, Email, Exchange services.
Also use mini LatinIME.
Click to expand...
Click to collapse
It worked !!
Geez, I went to 170MB of internal MB to 1GB, that's just plain insaneee !
Now I can use my LG P500h for an extra 2 years.
ibub said:
Once you have success with link2sd creating mount scripts, you can access at /data/sdext. Been a long time since I ran Jan 8 cm-10, but I seem to recall that partition info is not in settings/about phone. But link2sd will have it. Or there are other apps. When viewing storage info from settings menu, don't confuse internal memory with /system (190mb). Internal that is shown there is/data (200mb).
Sent from my LG-P509 using Tapatalk 2
Click to expand...
Click to collapse
Thank you! I was confused, because sd-ext2 at root is empty - nice to find it in /data/sdext2.
Suceess !!
Thanks !!
How Do I Install?
GameX2 said:
1) I've checked FlashImage GUI, it look really simple to use. This is what I see now:
https://dl.dropboxusercontent.com/u/67605655/snap20140216_103936.png
For flashing a recovery image, should I select Clear Dalvik & Clear Cache ? Do I have to enable USB Debugging?
Where can I find the recovery image for CWM ? Here maybe: http://forum.xda-developers.com/showthread.php?t=1523050
I don't know, I would download CWM v5.0.2.7_Touch_p500-Build 4.zip.
Would the terminal emulator method would be easier (I still need to find recovery.img)?
Code:
$ su
# mount -o remount rw /system
# cat /sdcard/flash_image > /system/xbin/flash_image
# chmod 755 /system/xbin/flash_image
# flash_image recovery /sdcard/recovery.img
# mount -o remount ro /system
# reboot recovery
Since I have no Nandroid backup (I cannot do it until CWM is installed), what could I do if something goes wrong ?
2-3) Excellent, thank you.
4) I plan on partitionning, but at which point shoud I preferably do it?
Thank you, I appreciate the help - sorry for all the newbie questions.
Click to expand...
Click to collapse
A bit new to installing a recovery and custom ROM on this LG Optimus One (very familiar with Sony phones though), apologies for the newbie-ness. I have all of the files as per this thread, but how do I install the GUI app without a file manager app?
Drachinos said:
A bit new to installing a recovery and custom ROM on this LG Optimus One (very familiar with Sony phones though), apologies for the newbie-ness. I have all of the files as per this thread, but how do I install the GUI app without a file manager app?
Click to expand...
Click to collapse
Install some file manager from play store. In phone settings (not file manager) choose security. Then choose to allow installation from unknown sources. Then open your file manager, scroll to sdcard/downloads/ ,and click on flashimage GUI.apk. Installation process will start.
Sent from my LG-P509 using Tapatalk 2
ibub said:
Install some file manager from play store. In phone settings (not file manager) choose security. Then choose to allow installation from unknown sources. Then open your file manager, scroll to sdcard/downloads/ ,and click on flashimage GUI.apk. Installation process will start.
Sent from my LG-P509 using Tapatalk 2
Click to expand...
Click to collapse
I guess I was thinking too much (or not at all!) Simplicity is the key a lot of times!
I tried all of the points in this thread and now this Optimus One has root, recovery and a new ROM. Thanks everyone! :good:

Categories

Resources