Nexus 5

Discussion about anything related to Android or this forum here.
Moderator: Forum Moderator

Re: Nexus 5

Postby tytung » Tue Nov 26, 2013 2:45 pm

NYLimited wrote:
Hmm.. That sure looks pretty straight forward. Correct me if I'm wrong but the bootloader unlock does the equivalent of a factory reset, yes?


---
Any clod can have the facts, but having an opinion is an art.

Yes, unlocking bootloader will wipe all data. It's for data security.
So I need to do it before I start using N5.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Advertisement
 

Re: Nexus 5

Postby MarkAtHome » Tue Nov 26, 2013 7:50 pm

tytung wrote:Nowadays, there're too many GUI tools for rooting the Android devices.
But I like the command lines. ;)

Unlock bootloader:
Code: Select all
adb reboot bootloader
fastboot oem unlock


Flash custom recovery:
Code: Select all
adb reboot bootloader
fastboot flash recovery openrecovery-twrp-2.6.3.2-hammerhead.img


Root:
Code: Select all
adb push UPDATE-SuperSU-v1.75.zip /sdcard/
adb reboot recovery

Then flash SuperSU via TWRP recovery.

Finished.

Is this specific to the N5 or would these commands work for other phones (e. g. LG G2)?

Sent from my LG-D801 using Tapatalk
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: Nexus 5

Postby agbommarito » Tue Nov 26, 2013 8:16 pm

MarkAtHome wrote:
Is this specific to the N5 or would these commands work for other phones (e. g. LG G2)?



I believe that Tytung's command line root would work for any phone, except that a recovery image file specific to your phone would have to be used.

Change the line that reads:

fastboot flash recovery openrecovery-twrp-2.6.3.2-hammerhead.img

to:

fastboot flash recovery recovery_image_file_name.img

The XDA G2 site appears to have a version of TWRP for your phone. If the version of TWRP you get is a ZIP installer file, you'll have to unzip it first to get the recovery image file.
Device: HTC HD2 US
HSPL: 2.08
Radio: 2.15.50.14
Bootloader: MAGLDR 1.13
Recovery: Extended TWRP 2.5.0.5
NativeSD ROM: Tytung NexusHD2-KitKat-CM11.0_V4.7
Partitions: 350 system / 15 recovery
SD Card: Patriot LX 32GB Class 10
agbommarito
Recognized Developer
 
Posts: 74
Joined: Wed Jun 26, 2013 8:44 pm
Has thanked: 18 times
Been thanked: 158 times

Re: Nexus 5

Postby soren » Tue Nov 26, 2013 10:38 pm

tytung wrote:Then flash SuperSU via TWRP recovery.

Just out of curiosity, why do you use SuperSU? I use it too but I can't find a real reason that why I use it. Maybe it's just because I like to flash things. :)
soren
Senior Member
 
Posts: 303
Joined: Mon Jul 08, 2013 12:41 pm
Has thanked: 160 times
Been thanked: 86 times

Re: Nexus 5

Postby MarkAtHome » Tue Nov 26, 2013 11:12 pm

agbommarito wrote:
I believe that Tytung's command line root would work for any phone, except that a recovery image file specific to your phone would have to be used.

Change the line that reads:

fastboot flash recovery openrecovery-twrp-2.6.3.2-hammerhead.img

to:

fastboot flash recovery recovery_image_file_name.img

Thanks, but I am already rooted. I was interested in knowing whether all three commands would work, not specifically rooting.

I would be interested in knowing whether the the bootloader unlock command would work for me, rather than my having to depend upon the kernel/ROM being lokied.

Sent from my LG-D801 using Tapatalk
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: Nexus 5

Postby tytung » Wed Nov 27, 2013 6:49 am

MarkAtHome wrote:Is this specific to the N5 or would these commands work for other phones (e. g. LG G2)?

Sent from my LG-D801 using Tapatalk


Nexus series is released as the developer device, so the bootloader can be unlocked easily by design.
I'm not sure if LG prevent users from unlocking G2 or not. I mean that you may need some tricky methods to unlock the G2 bootloader.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Nexus 5

Postby MarkAtHome » Wed Nov 27, 2013 4:25 pm

MarkAtHome wrote:Is this specific to the N5 or would these commands work for other phones (e. g. LG G2)?
tytung wrote:Nexus series is released as the developer device, so the bootloader can be unlocked easily by design. I'm not sure if LG prevent users from unlocking G2 or not. I mean that you may need some tricky methods to unlock the G2 bootloader.

Gotcha. I guess that is why "they" are using lokie to circumvent unlocking the bootloader, while still allowing for flashing ROMs.
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: Nexus 5

Postby symbuzzer » Fri Nov 29, 2013 12:40 am

So, when will we see Nexus 5 forums? Or we will see?
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: Nexus 5

Postby MarkAtHome » Fri Nov 29, 2013 1:35 am

symbuzzer wrote:So, when will we see Nexus 5 forums? Or we will see?

Aren't you supposed to be shooting bullets or something? :lol:
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: Nexus 5

Postby symbuzzer » Fri Nov 29, 2013 9:02 am

MarkAtHome wrote:Aren't you supposed to be shooting bullets or something? :lol:


I asked it, because I really wonder to which rom will used by tytung for base? Cyanogenmod or anything else? Will he need a new kernel?
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron