[Android Software Development] 1982Strand:
Hey guys. Just wanted to ask, anyone got some pointers on where to look and what to edit, when i get a bootloop and this logcat:

--------- beginning of /dev/log/system
I/Vold ( 1894): Vold 2.1 (the revenge) firing up
E/Vold ( 1894): created DirEncryptionManager
D/Vold ( 1894): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sda state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sdb state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sdc state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sdd state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sde state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1894): Volume sdf state changing -1 (Initializing) -> 0 (No-Media)
D/DirectVolume( 1894): DirectVolume::readId -> path '/sys/devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:e624/block/mmcblk1/device/cid'
D/DirectVolume( 1894): DirectVolume::readId -> id '0353445355363447801b5c14ac00c800'
D/DirectVolume( 1894): DirectVolume::handleDiskAdded -> mDiskMajor 179, mDiskMinor 16, NPARTS:1
D/Vold ( 1894): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1894): DirectVolume::handlePartitionAdded -> major 179, minor 17, PARTN 1
D/Vold ( 1894): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/NetlinkEvent( 1897): Unexpected netlink message. type=0x11
D/NetlinkEvent( 1897): Unexpected netlink message. type=0x11
I/SystemServer( 2824): Entered the Android system server!
I/SystemServer( 2824): Entropy Mixer
W/EntropyMixer( 2824): unable to load initial entropy (first boot?)
W/EntropyMixer( 2824): java.io.FileNotFoundException: /data/system/entropy.dat: open failed: ENOENT (No such file or directory)
W/EntropyMixer( 2824):	at libcore.io.IoBridge.open(IoBridge.java:416)
W/EntropyMixer( 2824):	at java.io.FileInputStream.<init>(FileInputStream.java:78)
W/EntropyMixer( 2824):	at java.io.FileInputStream.<init>(FileInputStream.java:105)
W/EntropyMixer( 2824):	at com.android.server.RandomBlock.fromFile(RandomBlock.java:45)
W/EntropyMixer( 2824):	at com.android.server.EntropyMixer.loadInitialEntropy(EntropyMixer.java:99)
W/EntropyMixer( 2824):	at com.android.server.EntropyMixer.<init>(EntropyMixer.java:86)
W/EntropyMixer( 2824):	at com.android.server.EntropyMixer.<init>(EntropyMixer.java:76)
W/EntropyMixer( 2824):	at com.android.server.ServerThread.run(SystemServer.java:356)
W/EntropyMixer( 2824): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
W/EntropyMixer( 2824):	at libcore.io.Posix.open(Native Method)
W/EntropyMixer( 2824):	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
W/EntropyMixer( 2824):	at libcore.io.IoBridge.open(IoBridge.java:400)
W/EntropyMixer( 2824):	... 7 more
I/SystemServer( 2824): Power Manager
I/SystemServer( 2824): Activity Manager
I/ActivityManager( 2824): Memory class: 64
E/AndroidRuntime( 2824): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 2824): java.lang.NoSuchMethodError: miui.os.Environment.init
E/AndroidRuntime( 2824):	at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:1643)
E/AndroidRuntime( 2824):	at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:194)
E/AndroidRuntime( 2824):	at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1524)
D/VoldCmdListener( 1894): asec list
E/AndroidRuntime( 2824): Error reporting crash
E/AndroidRuntime( 2824): java.lang.NullPointerException
E/AndroidRuntime( 2824):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:78)
E/AndroidRuntime( 2824):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 2824):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/SystemServer( 3454): Entered the Android system server!
I/SystemServer( 3454): Entropy Mixer
I/SystemServer( 3454): Power Manager
I/SystemServer( 3454): Activity Manager
I/ActivityManager( 3454): Memory class: 64

(Shortened..)

I'm using patchrom for i9300, 4.1.1 jellybean, my device won't boot...

Looks to me it's services.jar - com/android/server/am/Activitymanager.smali, but if that's the case, then it's a mess. TONS of differences.. I think i'm not approaching this right..?

Thanks.

Here's the jars if needed:

The patched i9300 jars:

http://dl.dropbox.com/u/29239599/i9300_patched.zip

The original miui jars:

http://dl.dropbox.com/u/29239599/miui_src.zip