Archives

All posts for the month June, 2013

My SGS4

wpid-2013_10_31_00.29.03.pngwpid-Screenshot_2013-10-18-22-28-33.png

What I’ve done:

  • Flashed a rooted stock ROM – JB 4.2.2-MF9 using an Odin One-Click provided by Rwilco12 at XDA.
  • Enabled custom boot animations.
  • Enabled init.d scripts.

FAQ:

  • Q: Are you going to remount the SanDisk to /sdcard and the internal SD card to /data/sdext2 like I did with my S2?
    A: Assuming the data partition is still severely gimped, you bet! Just as soon as I figure out how JB 4.2.2 mounts the internal SD card… and I will figure it out.
    A: Turns out I don’t need to /data and /sdcard share the same partition.
  • Q: How did you enable custom boot animations?
    A: I replaced /system/bin/bootanimation with one from a custom ROM (Blu Kuban S4) and fixed its user/group (root/shell) and permissions (755).
  • Q: How did you enable init.d scripts.
    A: I added /system/etc/install-recovery.sh that executes the init.d scripts.
  • Q: How did you get an Android Weather widget on your PIN lock screen?
    A: Xposed with the module Samsung Multiple Widgets.

Disclaimer: I don’t have an iPhone, so I can’t confirm whether these work on its version of Draw Something.

drawimg1
Exit the game and start it again for the following:* Get new words without using a bomb. This works even if you’re in the process of drawing something.
* Watch your friend draw from the beginning.
* Hide your guesses if you haven’t guessed correctly, yet.
* Get new letters from which to use to guess the picture.

 

drawimg2

Guessing:

* You can start guessing at any time.
* You get unlimited tries.
* You can shuffle the letters by tapping the crossing double arrow on the right, just above the letters.
* If you are just not getting it, tap “Pass” in the top right corner. This will end your streak.
* You can take back all of your letters by tapping the circular single arrow on the opposite side from shuffle icon.
* You can either tap the letter to place it in the next empty guess slot or drag it to whichever guess slot you want. You can even drag letters from guess slot to guess slot. Tapping guess slot letters puts them back into the tray in the first empty slot.
* If you’re stumped, just make words that fit the available guess slots until you figure it out or accidentally get it right.
* The drawing scrolls vertically (up and down).
* You can watch the whole drawing if you don’t guess correctly until your friend is done drawing, guessing correctly stops the drawing and skips to the end.

 

drawimg4
Drawing:* Don’t be too abstract, the point of the game is for your “opponent” to guess correctly.
* If you need more colors, tap the [+] to the right of the color bar.
* The color bar scrolls horizontally (left and right).

 

drawimg3
Download:* Google Play Store
* iTunes

My SGS2

sgs2locksgs2about

Welcome to egingell’s SGS2 info page

You’re here because you’re curious about what I have done to my phone, otherwise you wouldn’t have clicked. Well, read on.

    • My ROM: Stock Rooted Jelly Bean 4.1.2-GB27 – I’m sticking with stock until Samsung allows one-click toggling of WiMAX.
    • Recovery: Stock GB27 – I have no need or desire to flash a custom Recovery. You can do everything a Recovery can do from a live boot.
      That’s right, kids, one can clear the dalvik cache, clear all app data, clear the cache, and push files to /system or /preload without using
      a custom recovery. You can even flash a modem, recovery, or kernel. I use
      Root Explorer
      . The latest version incorporates a SMB client, so I can get files from my PC easily and paste them directy to whichever
      protected directory I want and set appropriate permissions. I use ADB only when I don’t want to type out shell commands on the phone’s
      tiny keyboard or “oops” emergencies.
    • I have enabled init.d boot up scripts by renaming ‘/system/bin/debuggerd’ to ‘/system/bin/debuggerd.bin’ and I’m using ‘/system/bin/debuggerd’
      as a middle-man script for the debugger daemon to use busybox’s ‘run-parts’ to execute the scripts in ‘/data/local/init.d’
      as well as do the mounting and binding and then execute ‘/system/bin/debuggerd.bin’.
    • I lifted ‘/system/bin/bootanimation’ from rujelus22’s Blu Kuban – JB ROM
      and replaced the original with it to enable custom boot animations.
    • I changed my boot splash screen using Hellcat’s SGS2
      BootScreen Changer
      .
    • My SanDisk 32GB SDHC card is layed out thusly:
      root@android:/ # cat /sdcard/extSdCardInfo.txt
                           Device   Blocks Info
      /dev/block/cyasblkdevblk0p1 30843904 ->/storage/sdcard0
      /dev/block/cyasblkdevblk0p2   320512 x>/storage/extSdCard - not mounted
      root@android:/ #
  • My internal SD card is layed out thisly:
    root@android:/ # cat /sdcard/intSdCardInfo.txt
                   Device   Blocks Info
     /dev/block/mmcblk0p1    20480 EFS
     /dev/block/mmcblk0p2     1280 Boot 1
     /dev/block/mmcblk0p3     1280 Boot 2
     /dev/block/mmcblk0p4     8192 Param
     /dev/block/mmcblk0p5     8192 Kernel
     /dev/block/mmcblk0p6     8192 Recovery
     /dev/block/mmcblk0p7   307200 ->/cache
     /dev/block/mmcblk0p8    16384 Modem
     /dev/block/mmcblk0p9   524288 ->/system
    /dev/block/mmcblk0p10  2097152 ->/data
    /dev/block/mmcblk0p11 12066816 ->/data/sdext2 - reformated as EXT4.
    /dev/block/mmcblk0p12   319488 ->/preload
    root@android:/ #

 

  • I have a bootup script in /data/local/init.d that scans /data/sdext2/data for directories to bind to matching directories in
    ‘/data/data’.
  • My ‘/system/bin/debuggerd’.
    root@android:/ # cat /system/bin/debuggerd
    #!/system/bin/sh
    #added by link2sd
    LOG=/data/link2sd-debuggerd.log
    echo "$(date) mounting..." > $LOG
    
    mount -t ext4 -o rw,noatime,barrier=0,nobh,errors=continue /dev/block/mmcblk0p11 /data/sdext2 1>>$LOG 2>>$LOG
    
    echo "" >> $LOG
    echo "init.d" >> $LOG
    
    /system/xbin/busybox run-parts /data/local/init.d 1>>$LOG 2>>$LOG
    
    echo "" >> $LOG
    
    mount >> $LOG
    echo "$(date) mount finished" >> $LOG
    echo debuggerd.bin launched >> $LOG
    exec /system/bin/debuggerd.bin
    root@android:/ #

 

  • My ‘/system/etc/vold.fstab’.
    root@android:/ # cat /system/etc/vold.fstab
    ## Vold 2.0 Generic fstab
    ## - San Mehat (san@android.com)
    ##
    
    #######################
    ## Regular device mount
    ##
    ## Format: dev_mount 

 

  • My binding script.
    root@android:/ # cat /data/local/init.d/12symlink
    #!/system/bin/sh
    LOG=/data/symlink.log;
    echo "Symlink" > $LOG
    
    busybox mount -o rw,remount /system
    
    cd /data/sdext2/data/
    
    for APP in *; do
            mount -o bind "/data/sdext2/data/$APP" "/data/data/$APP" 1>>$LOG 2>>$LOG;
    done
    
    busybox mount -o ro,remount /system
    root@android:/ #