Friday, December 6, 2013
Find, xargs, split2flac split everything in a directory.
find ./ -maxdepth 1 -type d | xargs -I{} split2flac {}
Thursday, December 5, 2013
How I updated my rooted nexus 5 with a custom kernel to kitkat 4.4.1
- Download the 4.4.1 image (7ed504f678cea49ecf0974e8cd956e2974e3f943.signed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip)
- Download the stock image (hammerhead-krt16m-factory-bd9c39de.tgz).
- Copy the updated image to the phone
$ adb push ~/Downloads/7ed504f678cea49ecf0974e8cd956e2974e3f943.signed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip /mnt/sdcard/ - Reboot into fastboot (power and volume down when booting).
- Extract the stock image.
$ tar zxvf hammerhead-krt16m-factory-bd9c39de.tgz - Unzip the image
$ unzip image-hammerhead-krt16m.zip - Flash the boot img
$ fastboot flash boot boot.img - Reboot into bootloader
$ fastboot reboot-bootloader - Flash the system img.
$ fastboot flash system system.img - Go into recovery (TWRP for me) and flash the 4.4.1 update copied over earlier.
- Flash custom kernel on sdcard.
- Let twrp install supersu and reboot.
- Not rooted - download the latest twrp (openrecovery-twrp-2.6.3.4-hammerhead.img)
- Reboot into fastboot mode again.
- Flash the twrp image
$ openrecovery-twrp-2.6.3.4-hammerhead.img - Boot into recovery mode.
- Download latest supersu (UPDATE-SuperSU-v1.80.zip)
- Copy supersu over to card.
$ adb push UPDATE-SuperSU-v1.80.zip /sdcard/update-supersu-v1.80.zip - Install it from TWRP.
- Done.
Tuesday, December 3, 2013
Android 4.4 trying to resolve local domains with dhcp server on server 2003.
My android 4.4 device would not resolve local domains.
Ex:
sv00004 - could not resolve
sv00004.blah.com - resolved.
Solution:
* start->-run-> mmc
* Add/remove snap in-> DHCP
* Right click DHCP "Add server"
* Select the DHCP server.
* Expand to server options.
* Right click server options
I added my two DNS servers to "006 DNS Servers" and my domain blah.com to "015 DNS Domain Name".
Seems to resolve fine now - at least from chrome.
Ex:
sv00004 - could not resolve
sv00004.blah.com - resolved.
Solution:
* start->-run-> mmc
* Add/remove snap in-> DHCP
* Right click DHCP "Add server"
* Select the DHCP server.
* Expand to server options.
* Right click server options
I added my two DNS servers to "006 DNS Servers" and my domain blah.com to "015 DNS Domain Name".
Seems to resolve fine now - at least from chrome.
Subscribe to:
Posts (Atom)