Archives

All posts by egingell

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:/ #

On May 12th, 2013, I decided to show my friends how much I appreciate them by hosting a party at my house. I’m a very private person and this was the first time I had ever invited, planned, and hosted my own party. I posted the event, got some Declines from people who had prior engagements, a few Maybes, and a couple Accepts, so I think that even if only one person shows up, it’ll be totally worth it.

I start buying supplies (rum, forks, paper towels, cups, plates, char coal, fruit). Given my medical conditions, I can’t do much physically, but I did what I could to try to make it the best party within my ability.

I post to the event a few times indicating my progress with purchased stuff. Besides those who already declined, I have yet to receive any indication that people won’t be attending.

The big day comes. I finish making the fruit salad and setup the tables around 1:00 PM and I wait… and I wait… and I wait… growing more impatient as the time goes on. Thank God my sister and her family were there or I would have probably gone crazy.

8:40 PM: I post asking where anybody is. Nearly an hour and a half later (9:55 PM), I get a reply from one of the “guests”. Apparently, falling asleep on the couch after doing yard-work means you can’t attend a party that has no definitive ending time.

~10:00 PM: I decide to call it. Nobody’s fucking coming! I go places I’m not comfortable going, if I can, for them and they don’t even have the respect for me to tell me they can’t / won’t be attending?! That’s fucked up! My self-esteem is low enough without people stepping on it. I let down my guard and exposed my soft underbelly only to get kicked.

Now, I am conflicted. Do I continue meeting with them every week for games and pretend this never happened?

I’m not angry towards any of those who I already knew wouldn’t come, predeclined, or messaged me their regrets. I’m just angry toward the group in general.