Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@android:/ # dd if=/dev/zero of=/dev/b
- binder block/ bthid
- /block/platform/msm_sdcc.1/by-name/boot <
- /dev/block/platform/msm_sdcc.1/by-name/boot: write error: No space left on device
- 24577+0 records in
- 24576+0 records out
- 12582912 bytes transferred in 2.890 secs (4353948 bytes/sec)
- 1|root@android:/ # reboot
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/device/lge/l1v# fsboot
- fsboot: command not found
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/device/lge/l1v# fastboot devices
- The program 'fastboot' is currently not installed. You can install it by typing:
- apt-get install android-tools-fastboot
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/device/lge/l1v# apt-get install android-tools-fastboot
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- android-tools-fastboot
- 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
- Need to get 46.6 kB of archives.
- After this operation, 158 kB of additional disk space will be used.
- Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe android-tools-fastboot amd64 4.2.2+git20130218-3ubuntu23 [46.6 kB]
- Fetched 46.6 kB in 0s (131 kB/s)
- Selecting previously unselected package android-tools-fastboot.
- (Reading database ... 162820 files and directories currently installed.)
- Preparing to unpack .../android-tools-fastboot_4.2.2+git20130218-3ubuntu23_amd64.deb ...
- Unpacking android-tools-fastboot (4.2.2+git20130218-3ubuntu23) ...
- Setting up android-tools-fastboot (4.2.2+git20130218-3ubuntu23) ...
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/device/lge/l1v# fastboot devices
- ???????????? fastboot
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/device/lge/l1v# cd ../../../out/target/product/l1v/
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/out/target/product/l1v# ls
- clean_steps.mk external META-INF previous_build_config.mk ramdisk-recovery.cpio recovery res sbin system
- etc kernel obj ramdisk.img ramdisk-recovery.img recovery.img root symbols utilities
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/out/target/product/l1v# cp recovery.img ../../../../../
- root@jacob-System-Product-Name:/home/jacob/Desktop/cyan/out/target/product/l1v# cd ../../../../../
- root@jacob-System-Product-Name:/home/jacob/Desktop# ls
- android arm-eabi-4.4.3.tar.gz bin include info.zip l1vbackup l1vnew.zip l1v.zip lib libexec loki man recovery.img sys
- arm-eabi bimg.zip cyan info kernelsource l1vnew l1vprebuilt launcher.jar lib32 Linux main.mk mel.txt share tools and parts
- root@jacob-System-Product-Name:/home/jacob/Desktop# mv recovery.img loki/
- root@jacob-System-Product-Name:/home/jacob/Desktop# cd loki
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ls
- in.lok loki loki_tool out.img recovery.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ./loki_tool
- Loki tool v2.1
- Usage
- > Patch partition file image:
- ./loki_tool [patch] [boot|recovery] [aboot.img] [in.img] [out.lok]
- > Flash loki image to boot|recovery:
- ./loki_tool [flash] [boot|recovery] [in.lok]
- > Find offset from aboot image:
- ./loki_tool [find] [aboot.img]
- > Revert Loki patching:
- ./loki_tool [unlok] [in.lok] [out.img]
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# cd ..
- root@jacob-System-Product-Name:/home/jacob/Desktop# cd tools\ and\ parts/
- root@jacob-System-Product-Name:/home/jacob/Desktop/tools and parts# ls
- 0-PrimaryGPT.img 2-sbl1.img 5652rgb 6-rpm.img 7-boot.img boot kernel recovery simg2img unpack
- 10-system.img 3-sbl2.img 5-aboot.img 70-cache.img 8-tz.img boot.img Miscallaneous_VS870_Partitions.zip recovery.img split_boot unpack_ramdisk
- 1-modem.img 4-sbl3.img 69-persist.img 79-BackupGPT.img 9-misc.img boot_info mkbootimg repack_ramdisk umkbootimg unpack.save
- root@jacob-System-Product-Name:/home/jacob/Desktop/tools and parts# cp 5-aboot.img ../loki/
- root@jacob-System-Product-Name:/home/jacob/Desktop/tools and parts# cd ../loki/
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ls
- 5-aboot.img in.lok loki loki_tool out.img recovery.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ./loki_tool
- Loki tool v2.1
- Usage
- > Patch partition file image:
- ./loki_tool [patch] [boot|recovery] [aboot.img] [in.img] [out.lok]
- > Flash loki image to boot|recovery:
- ./loki_tool [flash] [boot|recovery] [in.lok]
- > Find offset from aboot image:
- ./loki_tool [find] [aboot.img]
- > Revert Loki patching:
- ./loki_tool [unlok] [in.lok] [out.img]
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ./loki_tool patch recovery aboot.img recovery.img out.lok
- Loki tool v2.1
- [-] Failed to open aboot.img for reading.
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ls
- 5-aboot.img in.lok loki loki_tool out.img recovery.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# mv 5-aboot.img aboot.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ./loki_tool patch recovery aboot.img recovery.img out.lok
- Loki tool v2.1
- [+] Detected target Verizon LG Lucid 2 build VS87010B_12
- [+] Original kernel address: 80208000
- [+] Original ramdisk address: 81200000
- [+] Output file written to out.lok
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ls
- aboot.img in.lok loki loki_tool out.img out.lok recovery.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot flash recovery out.lok
- sending 'recovery' (9248 KB)...
- OKAY [ 0.723s]
- writing 'recovery'...
- OKAY [ 2.126s]
- finished. total time: 2.849s
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot reboot recovery
- usage: fastboot [ <option> ] <command>
- commands:
- update <filename> reflash device from update.zip
- flashall flash boot + recovery + system
- flash <partition> [ <filename> ] write a file to a flash partition
- erase <partition> erase a flash partition
- format <partition> format a flash partition
- getvar <variable> display a bootloader variable
- boot <kernel> [ <ramdisk> ] download and boot kernel
- flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
- devices list all connected devices
- continue continue with autoboot
- reboot reboot device normally
- reboot-bootloader reboot device into bootloader
- help show this help message
- options:
- -w erase userdata and cache (and format
- if supported by partition type)
- -u do not first erase partition before
- formatting
- -s <specific device> specify device serial number
- or path to device port
- -l with "devices", lists device paths
- -p <product> specify product name
- -c <cmdline> override kernel commandline
- -i <vendor id> specify a custom USB vendor id
- -b <base_addr> specify a custom kernel base address
- -n <page size> specify the nand page size. default: 2048
- -S <size>[K|M|G] automatically sparse files greater than
- size. 0 to disable
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot boot out.lok
- downloading 'boot.img'...
- OKAY [ 0.723s]
- booting...
- OKAY [ 0.025s]
- finished. total time: 0.748s
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot devices
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot devices
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot devices
- ???????????? fastboot
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# fastboot boot recovery.img
- downloading 'boot.img'...
- OKAY [ 0.723s]
- booting...
- OKAY [ 0.026s]
- finished. total time: 0.749s
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# ls
- aboot.img in.lok loki loki_tool out.img out.lok recovery.img
- root@jacob-System-Product-Name:/home/jacob/Desktop/loki# cd ../android/
- root@jacob-System-Product-Name:/home/jacob/Desktop/android# ls
- Lucidian_4-9-2014 Lucidian_4-9-2014.zip readme README VS VS870(Lucid2)_Android_JB_4.1.2_r1_US_Verizon_Opensource_VS87011A.zip
- root@jacob-System-Product-Name:/home/jacob/Desktop/android# cd Lucidian_4-9-2014
- root@jacob-System-Product-Name:/home/jacob/Desktop/android/Lucidian_4-9-2014# ls
- GT.lok LucidDreamTest4.zip LucidDreamTest5.zip META-INF
- root@jacob-System-Product-Name:/home/jacob/Desktop/android/Lucidian_4-9-2014# fastboot boot GT.lok
- downloading 'boot.img'...
- OKAY [ 0.700s]
- booting...
- OKAY [ 0.025s]
- finished. total time: 0.725s
- root@jacob-System-Product-Name:/home/jacob/Desktop/android/Lucidian_4-9-2014# fastboot flash boot GT.lok
- sending 'boot' (8948 KB)...
- OKAY [ 0.701s]
- writing 'boot'...
- OKAY [ 2.642s]
- finished. total time: 3.343s
- root@jacob-System-Product-Name:/home/jacob/Desktop/android/Lucidian_4-9-2014# fastboot reboot
- rebooting...
- finished. total time: 0.001s
- root@jacob-System-Product-Name:/home/jacob/Desktop/android/Lucidian_4-9-2014#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement