5,599,337 Members 38,596 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO]The Big N00B how-to!

Tip us?
 
N00BY0815
Old
(Last edited by N00BY0815; 26th April 2013 at 09:04 AM.)
#1  
N00BY0815's Avatar
Recognized Contributor - OP
Thanks Meter 1871
Posts: 2,387
Join Date: Nov 2011

 
DONATE TO ME
Default [HOW TO]The Big N00B how-to!

This is going to be a big NOOB how to, since I read the same questions OVER AND OVER again! If anyone then asks a question, that is already answered here, just redirect them here and close/delete their thread.

I am sorry for not having updated this in a long time, but there is simply stuff, that seems more important to me, than Android

Important Terms:
NooB: My own definition: A person who is new to a subject and knows hardly anything about it. And since you read this, you seem to be one of them Since I am reading and thinking this in this moment, I am, too
CWM: Clock Work Mod (Recovery Menu)
SFT: Smartflashtool
B2C: Lg Mobile Update Tool
ADB: a command prompt, which is very power- and usefull. Instead, you can also use THIS(credits to achyut)
SoD: Screen of Death, which means, that your phone is frozen, and you can't do anything at all. Often combined, with a heating up, of the device.
su/SU: Can have two meanings, either the the Superuser rights, that permit programms/apps root privileges, or superuser binaries (a part of the Superuser app).
UV: Undervolting, which means setting a lower voltage to your CPU/GPU
--> Saves battery, may cause instability.
OC: Overclocking, means setting higher speed to your CPU/GPU
-->Higher speed, but mostly also higher battery drain, or instability.
Nandroid: A backup of the whole system, made with CWM, can be restored within minutes.
OTA: Over The Air, Update via Wifi/network, I suggest you not do use it.
FC: Force Close, error with apps, which forces them to be closed.
chmod: Set permissions to a file. E.g. make it read/writeable.


Lets start with ROMs/kernels:
ROM is practicly the whole Operating System of your android device. It includes all software needed, plus a kernel.

Then there are kernels, which mostly tweak some stuff, in order to save battery, provide more speed, provide stuff like OC(overlocking) and UV(undervolting).

A modified kernel is not a whole ROM! It only is additionally to a ROM, in order to tweak it
A kernel is the HEART of a ROM. (Thanks to gabwerkz) Also see here: Kernel

AVAILABLE ROMs:

 

There are several ROMs:
Stock Roms:
  • Froyo (Android 2.2.x) (V10x)
  • Gingerbread (GB) (Android 2.3.x) (v20x)
  • Ice Cream Sandwich (ICS) (Android 4.0) Not yet officially available for our device yet.

Custom ROMs

Based on Froyo:

Based on Gingerbread:

Based on CM7:
MIUI 2:
Original CM7, which is a Gingerbread ROM build from scratch.

Based on ICS:


Based on Jellybean:

These are not all by far, so just head over to the Developer Section and check the others out on your own.

Available Kernels:




Jellybean kernelsWhat's the best ROM for you:

If you wonder what's the best ROM for you go to: Best ROM for Optimus Black
Or go here: Best ROM for Optimus Black
I gave some information to the ROMs here, and which MIGHT fit you best, just try them.

Root:


Why would u want it?

Cause this gives you something like admin privileges in windows.
This allows you to modify/add, delete,... files, that ususally are protected.
It also allows you to install ClockWorkMod, which in turn allows you to flash custom ROMs, which we all like so much, because of their smoothness, battery saving possibilities, OCing, UVing, and so on

ROOT ON Froyo (2.2.x, v10x)


 

For the v10x Versions (Froyo, Android 2.2.x), BlackJack should work in most cases, find it here:
[STARTER] Upgrade Kit 3.6 | Apps 1.9 | Root, Flash, Unbrick, Tuts...
Also find a CWM installer in this package, or download ROM Manager from android market and install CWM (ClockWorkMod) from there.
CWM gives you the possibility, to boot to a special kind of OS, that allows you to delete data, mount system, data,... And most important flash .zip files.
If a version cant be rooted by using Blackjack, try SOC (SuperOneClick).
If this still doesnt work, leave a comment, of your version and a link or description, of how to root it.
You also might wanna try UnlockRoot.


ROOT FOR Gingerbread (V20x, 2.3.x)

 


For v20x(GB, Android 2.3.x): ROOT V20x

see v20a UAE: ROOT v20a (made by myself, hope it works)

see v20S: ROOT v20sYou can download a pre-rooted V20s here. Follow the link HERE


If you still are unable to root it, discuss it here: [Q] How to root P970 Gingerbread V20N

OR here: LGE P970 V20* GB Rooting

DO IT YOURSELF

FOLLOW THIS VIDEO TUTORIAL by wagstuff13

To flash and actually root the SW, you need to follow THIS guide, from Step 2 on, and it will be perfectly rooted and you can be sure, that noone patched anything else in your software, cause you made it on your own

There already is an updated tool, which does the unpacking and injecting CWM automatically. I am sorry, but I dont have time, to update the post, so here is the link: http://forum.xda-developers.com/show....php?t=1692191

Here you can get every kdz firmware, you need: http://lg-phone-firmware.com/index.php?id_mod=1


Root on ICS:

 

It's really simple. Download: THANKS TO ILKO for the clean installer.
Install, run, reboot your phone and your done

Please do not try to install CWM on ICS. You'll get a security error and will have to unbrick your device!

If you already have ICS stock on your phone, there is a simply procedure, that will allow you to get CWM again, but you'll have to install a new ROM via Smartflashtool.

1. You need a V20 ROM, that has been patched with CWM, like THIS ONE.
2. You need Smartflashtool
3. Download Superuser.zip from here: http://downloads.noshufou.netdna-cdn...arm-signed.zip and put it on your SD card.
4. Unpack the V20S patched .7z file
5. Flash the .bin file using SFT
6. Your phone will reboot to recovery
7. Do a factory reset and if you wanna stick with a rooted v20S, just flash the superuser.zip and reboot. If you already want to install a custom ROM, just put that on your sd card and flash it (see how to install a custom ROM).
8. Reboot and enjoy your new ROM



The UNROOT

 

If you wanna unroot your device, why so ever, the easiest way is to use Unlock Root (Link above) open it, connect your phone via USB, enable Debugging Mode and click unroot. If you wanna unroot it, e.g. to be able to send it back to LG on warranty, better use the method below, to unbrick your device with R&D tool.
Because like this, you will get back an unrooted device, which has also been hardresetted. So LG will hardly/never get a clue, that it has ever been rooted.
Dont forget to format your SD card as well


How to install Custom ROM's


First of all, you need a rooted phone already. See above, how to do it
Then you need to install CWM (Clock Work Mod), you can do this e.g. by downloading ROM Manager, install it, open it
and find Install Clockwork Mod Recovery. Hit it, wait some seconds and click LGE optimus Black. Wait again, till the file has been downloaded and installed and your all set Now you can reboot into Recovery, with the second option. It says, what it does: Reboot to recovery
Now grab the ROM you desire the most and download the zip. Plug your phone to the PC (via USB) open up the folder of your SD card, and copy the file you downloaded in there. Dont copy it into a subfolder, since it will only be harder to find.
Now go back to ROM Manager and click reboot recovery, or if you have adb installed, just type reboot recovery in a terminal on your pc.
You are in recovery menu now.
First of all do a nandroid backup (explained on top). To do so, go to Backup and Restore, then Backup and wait.
It will now make a complete backup of the whole system, settings, and so on.
If something goes wrong during the installation of the new ROM, you can simply revert back to the state you had before.
Your ready to install the new ROM now.
Now it depends, on if you only update a ROM, like CM, or if you install a completely new ROM.
If you install a new ROM, do a full wipe. This means, wipe data/factory reset, wipe cache, go to advanced, wipe dalvik, wipe battery stats and go back. now select install zip from SD card. Then choose zip from sdcard and then select the file you downloaded.
Wait till all is set up and enjoy your new ROM
If you only update a ROM, follow the instructions given in the thread about the ROM.

What to do if the Update failed?
Well it depends on how much you failed, what u had installed before and if Huexxx Recovery fix was applied.

First scenario:
Huexxx's patch was applied in the ROM before.
This enables to boot to recovery by repeatedly pushing a hard key, like volume- or g-key directly after you start the phone.
Push em fast, while the softkeys are flashing(turn on and off). As soon as they stop flashing, you will be in recovery and can either restore a backup, or install another zip file.

Second scenario:
CWM is still enterable via adb.
You first of all need to download and "install" ADB.
Best will be, to simply extract the files to C: and also rename the new folder to a short term like "ADB" without "".
Then open the command prompt, navigate to the folder of adb: e.g.
Code:
C:
cd ADB
cd adb
Now you should be in the adb folder, where you can find adb.exe and some other files.
If not, check out, how it is called and navigate there in another way.
"cd" means change directory, so if you didnt rename it to ADB, but e.g. ADB-sdk, type cd ADB-sdk instead.
Ok, now simply type adb reboot recovery and wait.
Now your phone should restart to Recovery Mode.
But watch out, if you do this with a working ROM, and forgot to install CWM, you will get a factory reset!

Third scenario:
None of the above worked. Then you have no chance, but to to use the unbricking method below. Then root your device, install CWM and you can have a new try



Unbricking:

Your Phone doesnt boot anmore or only shows the LG screen contantly!

 

If your phone is stuck in bootloop, have a look in here: SMARTFLASHTOOL
You can download the patched V20s from ABOVE or take the v10a from here

Flash with R&D Tool:
The upper is the easier and faster solution, but if you really need R&D Testtool, because Smartflash didnt help, grab R&D tool HERE(it's in the package), and then follow THIS guide

You can also use the latter method, if you wanna return your phone on warranty. But I would make a Factory reset afterwards anyway. And don't forget to remove all files from your SD card as well, since this could show them as well, that the phone might have been rooted.


Themes And Apps
 

Themes are modifications to the look of your UI (UserInterface). This gives your Operating System a different Look.
There are a lot of things, you need to pay attention to.
For example there are ODEXED = easier on space, tougher on tweaking and ram usage (just a short explanation)
and Deodexed = easier to tweak, lighter on ram, heavier on space
Find more information on this HERE
Now you need to know, if your ROM is odexed, or deodexed. You mostly find information on this directly in the thread of the ROM you are using (see above).
If you know what kind of ROM you are using, go to the Themes link above and choose whatever you like. There is almost always written, for which specific ROM this was made (e.g. Zeus ROM, Stock GB, stock Froyo,...) And mostly, if you need a odexed or deodexed Version of a ROM, or not.
It's pretty much like odexed files also work on deodexed Software, but not the other way around. (NOT ALWAYS)
Then you encounter bugs like missing statusbar, display bugs, glitches, ...
So check if the theme you are willing to try will REALLY work for your device.
If you wanna make your own Themes, check out UOT KITCHEN Or these two threads: HERE AND HERE Credits to gabwerkz and Huexxx.


More to come, leave comments with topics, I am supposed to add, or critics

To come
  • Whatever you want me to post here

Couldnt find what you were looking for? Did you already use the search in upper right corner?

If not, go to Q&A section and post your questions there pls.
Only post here, if I am supposed to add something, or explain it a better way

AND THANK ME IF IT HELPED YOU OUT!

Read it, if you're new in this forum!

The Following 45 Users Say Thank You to N00BY0815 For This Useful Post: [ Click to Expand ]
 
N00BY0815
Old
(Last edited by N00BY0815; 26th April 2013 at 09:05 AM.)
#2  
N00BY0815's Avatar
Recognized Contributor - OP
Thanks Meter 1871
Posts: 2,387
Join Date: Nov 2011

 
DONATE TO ME
Angry [HOW TO]The Big N00B how-to!

ROOT

DO IT YOURSELF

FOLLOW THIS VIDEO TUTORIAL by wagstuff13

Wanna make your own rooted software? It's quite simple, due to navossoc! Thanks for this guide and the tool.
[TOOL] Lg Extract Tool
Follow the guide, and first extract the kdz file into a cab file. Extract this cab file, then you ll get a v00y.wbd file and a LGP970.dll. 00 represents your SW version, e.g. 10 or 20 and y stands for a letter like B,N,...
So you e.g. get a file called v20N.wdb file.
Then again open the programm in cmd and extract the wdb file (see in the link above). Be sure it is in the same folder as the lgextract.exe file, or add the patch of the file. Copying it to the same folder is the easier solution
Now you ll get a new folder and in it a few bin files and one fls file.
First cd ti the new bin folder.
You need to add up all the files with this command:
copy /b "LGP970_AP[*].bin" "LGP970_AP.bin"
Now you have a flashable bin and fls file for Smartflashtool.
If you wanna root it, you need Ubuntu or another linux distribution, which supports the dd command.
Then follow THIS
It's really easy, so dont ask for rooted software anymore, but make it on your own.
To flash and actually root the SW, you need to follow THIS guide, from Step 2 on, and it will be perfectly rooted and you can be sure, that noone patched anything else in your software, cause you made it on your own

Now you can link to this post directly, if anyone is asking for ANY rooted version

There already is an updated tool, which does the unpacking and injecting CWM automatically. I am sorry, but I dont have time, to update the post, so here is the link: http://forum.xda-developers.com/show....php?t=1692191

Here you can get every kdz firmware, you need: http://lg-phone-firmware.com/index.php?id_mod=1
More more detailed information will be found here

Read it, if you're new in this forum!

The Following 143 Users Say Thank You to N00BY0815 For This Useful Post: [ Click to Expand ]
 
N00BY0815
Old
(Last edited by N00BY0815; 10th July 2012 at 03:24 PM.)
#3  
N00BY0815's Avatar
Recognized Contributor - OP
Thanks Meter 1871
Posts: 2,387
Join Date: Nov 2011

 
DONATE TO ME
Angry [HOW TO]The Big N00B how-to!

Catching a logcat:
Whenever you QQ (cry) around because anything doesnt work, every dev can only guess, what s your problem. If you wanna provide the necessary information to him, give him a logcat and he will be happy and fix the bug you are getting.

Ricardo Cerqueira once posted this pic about this topic


So here is what you need to do, before you report the next bug/error to your dev.
1. Download QtADB from HERE (Find their HP here: http://qtadb.wordpress.com/)

2. Extract it to some place you wanna have it.
3. Now Open QtADB.exe
4. Connect your phone in debug mode
5. Click logcat on the left side (it's the last one)
6. Now Reproduce the problem, that you have, like force closes or other stuff.
7. Maybe reproduce it a second time
8. Push ctrl+A to mark all the lines
9. Right click it and choose, export selected to file
10. Save it to a place, where you can refind it.
11. Upload it somewhere (e.g. mediafire.com)
12. Post in the corresponding thread and give them a description of the error, so they know, what they need to look for and the link to the uploaded logcat.

This will improve a lot of ROMs around here, cause everyone uses it, but hardly anyone (including myself) can contribute to cooking/deving. So do us all the favour, that if you experiance an error and it's cause by the ROM and not a buggy installation, make a logcat and post it to the threads of the devs

Here is how it typically looks (Zeus ROM v4.02 + LG kernel without dimming light):

Code:
01:05:11.781 Error LockPatternKeyguardView 1351  [KeyguardUpdateMonitor.java:344:onReceive()] showAlmostAtAccountLoginDialog()
01:05:11.781 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:347:onReceive()] received broadcast android.intent.action.BATTERY_CHANGED
01:05:11.781 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:451:handleBatteryUpdate()] handleBatteryUpdate
01:05:27.203 Error LockPatternKeyguardView 1351  [KeyguardUpdateMonitor.java:344:onReceive()] showAlmostAtAccountLoginDialog()
01:05:27.203 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:347:onReceive()] received broadcast android.intent.action.TIME_TICK
01:05:27.203 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:441:handleTimeUpdate()] handleTimeUpdate
01:05:28.515 Warning Watchdog 1351  Watchdog Big Brother Watching : com.android.server.PowerManagerService
01:05:28.515 Warning Watchdog 1351  Watchdog Big Brother Watching : com.android.server.am.ActivityManagerService
01:05:28.515 Warning Watchdog 1351  Watchdog Big Brother Watching : com.android.server.WindowManagerService
01:05:54.656 Error LockPatternKeyguardView 1351  [KeyguardUpdateMonitor.java:344:onReceive()] showAlmostAtAccountLoginDialog()
01:05:54.656 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:347:onReceive()] received broadcast android.intent.action.BATTERY_CHANGED
01:05:54.656 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:451:handleBatteryUpdate()] handleBatteryUpdate
01:06:04.937 Error LockPatternKeyguardView 1351  [KeyguardUpdateMonitor.java:344:onReceive()] showAlmostAtAccountLoginDialog()
01:06:04.937 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:347:onReceive()] received broadcast android.intent.action.BATTERY_CHANGED
01:06:04.937 Debug KeyguardUpdateMonitor 1351  [KeyguardUpdateMonitor.java:451:handleBatteryUpdate()] handleBatteryUpdate
Added ADB package, from my PC, which is needed from QtADB... See attachments


More detailed information to come here, like governors and schedulers, ...
Attached Thumbnails
Click image for larger version

Name:	logcatgtfo.jpg
Views:	76213
Size:	38.2 KB
ID:	945960  
Attached Files
File Type: zip ADB.zip - [Click for QR Code] (407.4 KB, 744 views)

Read it, if you're new in this forum!

The Following 23 Users Say Thank You to N00BY0815 For This Useful Post: [ Click to Expand ]
 
gabwerkz
Old
(Last edited by gabwerkz; 8th February 2012 at 04:23 PM.)
#4  
gabwerkz's Avatar
Recognized Contributor
Thanks Meter 1545
Posts: 1,511
Join Date: Aug 2011
Location: Three Stars and a Sun
Quote:
Originally Posted by N00BY0815 View Post
A kernel is not a whole ROM! It only is additionally to a ROM, in order to tweak it
Just a correction. Kernel is not an addition, it is the heart of a ROM. May it be stock or modified.

Insert "A modified kernel" at the beginning without modifying your sentence.
The Following 5 Users Say Thank You to gabwerkz For This Useful Post: [ Click to Expand ]
 
t0g3
Old
(Last edited by t0g3; 8th February 2012 at 05:39 PM.)
#5  
t0g3's Avatar
Senior Member
Thanks Meter 308
Posts: 678
Join Date: Aug 2011
Quote:
Originally Posted by N00BY0815 View Post
A modified kernel is not a whole ROM! It only is additionally to a ROM, in order to tweak it
yup, kernel is not addition

about kernel from wiki http://en.wikipedia.org/wiki/Kernel_%28computing%29
The Following 2 Users Say Thank You to t0g3 For This Useful Post: [ Click to Expand ]
 
avcosta
Old
#6  
Member
Thanks Meter 25
Posts: 52
Join Date: Dec 2011
Location: Porto
Quote:
Originally Posted by gabwerkz View Post
Just a correction. Kernel is not an addition, it is the heart of a ROM. May it be stock or modified.

Insert "A modified kernel" at the beginning without modifying your sentence.
I suppose you could always say that a "custom" kernel is an addition... the stock kernel is already there.
The Following User Says Thank You to avcosta For This Useful Post: [ Click to Expand ]
 
1aca
Old
#7  
Senior Member
Thanks Meter 34
Posts: 170
Join Date: Jan 2012
Quote:
Originally Posted by avcosta View Post
I suppose you could always say that a "custom" kernel is an addition... the stock kernel is already there.
No, it's not. It is overwritten. It's not an addition, but a replacement.
The Following 3 Users Say Thank You to 1aca For This Useful Post: [ Click to Expand ]
 
oato7
Old
#8  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Jul 2011
Location: Ipoh
Hi... Thanks for the NOOB info.... just requesting HOW TO unroot V20B for NOOB...

Thanks,
NOOB from Malaysia
The Following User Says Thank You to oato7 For This Useful Post: [ Click to Expand ]
 
N00BY0815
Old
#9  
N00BY0815's Avatar
Recognized Contributor - OP
Thanks Meter 1871
Posts: 2,387
Join Date: Nov 2011

 
DONATE TO ME
Quote:
Originally Posted by oato7 View Post
Hi... Thanks for the NOOB info.... just requesting HOW TO unroot V20B for NOOB...

Thanks,
NOOB from Malaysia
Can you tell me, why anyone with a rooted phone would want it? I mean, sending it back to the provider for repair or similar is a reason, I can understand, but what are other reasons? Idk if it's enough to flash it with smartflash and afterward go to hidden menu and do a factory reset, but I guess this should work fine
Any suggestions on this? Or maybe the R&D tool and workaround?

Read it, if you're new in this forum!

The Following User Says Thank You to N00BY0815 For This Useful Post: [ Click to Expand ]
 
reinbeau
Old
#10  
reinbeau's Avatar
Retired Forum Moderator
Thanks Meter 4686
Posts: 7,434
Join Date: Sep 2010
Location: South of Boston, MA
Default This is not a Q&A thread

Do not post questions in this thread, they will be reported and deleted.
Ann - Not a man

Did you read the first post of the thread?

The real purpose of XDA explained in one post - Click here!

| Samsung US/Canada GSM|

Μολὼν Λαβέ

The Following User Says Thank You to reinbeau For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes