github twitter email rss
LG Nexus 4
0001 Jun 1
3 minutes read

LG Nexus 4

Nethunter

  • cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J5-mako
  • nethunter-generic-armhf-kalifs-full-rolling-3.1.0-20160831-1936
  • kernel-nethunter-makocm-marshmallow-3.1.0-20160831-1936

CM

https://wiki.cyanogenmod.org/w/Mako_Info
http://download.cyanogenmod.org/?device=mako

OTG

N4 doesn’t directly support USB OTG - apparently it doesn’t supply 5v to the port, unlike most phones, so you’ll need an adaptor\cable which includes a battery or something that can supply 5v

Enter recovery mode

  • Hold Power + Volume up after reboot.
  • In terminal adb reboot recovery

Enter bootloader

  • In terminal adb reboot bootloader

[[REF] Understanding the Android world before rooting your LG Nexus 4][http://forum.xda-developers.com/showthread.php?t=2367406]
[LG Nexus 4 - Официальные прошивки][http://4pda.ru/forum/index.php?s=&showtopic=400241]
[[INDEX] [REPO] Google Nexus 4 - ROMs, Kernels, MODs, Recoveries][http://forum.xda-developers.com/showthread.php?t=2506677]

http://wiki.cyanogenmod.org/w/Mako_Info
http://4pda.ru/forum/index.php?showtopic=395405

recovery

https://twrp.me/devices/lgnexus4.html

fastboot boot recovery-clockwork(-touch)-6.0.4.3-mako.img

root

[[N4] CF-Auto-Root][http://forum.xda-developers.com/showthread.php?t=2025274]
[][http://autoroot.chainfire.eu/]
fastboot boot CF-Auto-Root-mako-occam-nexus4/image/CF-Auto-Root-mako-occam-nexus4.img

list all installed packages in android adb shell

adb shell 'pm list packages -f' "

Restoring to factory && rooting

    # reboot to bootloader
    adb devices
    fastboot devices

    # flash recovey if not already was flashed before
        fastboot flash recovery your_recovery_image.img
        fastboot boot your_recovery_image.img

    # reboot to recovery
    
    cd occam-kot49h/
    fastboot flash bootloader bootloader-mako-makoz30d.img
    fastboot reboot-bootloader
    fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.98.img
    fastboot reboot-bootloader
    fastboot flash system image-occam-kot49h/system.img
    fastboot flash userdata image-occam-kot49h/userdata.img

    fastboot flash boot image-occam-kot49h/boot.img
    fastboot format cache
    fastboot reboot




    adb reboot recovery
    adb shell mount /data

    adb push ~/Downloads/UPDATE-SuperSU-v1.94.zip /data/media/0
    # install zip using recovery

Update from 5.0 rooted to 5.1.1

Warning: External storage will be formatted !

Root 5.1.1 from custom recovery using SuperSU

  • Get recovery https://twrp.me/devices/lgnexus4.html or CWM Recovery
  • Reboot to bootloader adb reboot bootloader
  • flash recovery fastboot flash recovery twrp-3.0.2-0-mako.img
  • boot to recovery, if not do this and restart device without booting to recovery, firmware will override recovery back to stock fastboot boot twrp-3.0.2-0-mako.img
  • copy UPDATE-SuperSU-v2.76.zip to device
  • install from zip usin recoovery


Apps

BAttery

http://4pda.ru/forum/index.php?showtopic=435713

Service commands

IMEI number

*#06#

Service Menu

*#0*#

Phone information, usage statistics and battery

*#*#4636#*#*

Detailed camera information

*#*#34971539#*#*

Immediate backup of all media files

*#*#273282*255*663282*#*#*

Enable test mode for service

*#*#197328640#*#*

Wireless LAN tests

*#*#232339#*#*

Backlight/vibration test

*#*#0842#*#*

Test the touchscreen

*#*#2664#*#*

FTA software version

*#*#1111#*#*

Software and hardware info

*#12580*369#

Diagnostic configuration

*#9090#

USB logging control

*#872564#

System dump mode

*#9900#

HSDPA/HSUPA Control Menu

*#301279#

View phone lock status

*#7465625#

Reset the /data partition to factory state

*#*#7780#*#*

Format device to factory state (will delete everything on phone)

*2767*3855#

Back to posts


comments powered by Disqus