Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,676 Members 52,029 Now Online
XDA Developers Android and Mobile Development Forum

di11i kernel beta .01 (unsecure boot.img- root shell, adb remount) ext4 tweaks/init.d

Tip us?
 
di11igaf
Old
(Last edited by di11igaf; 3rd March 2012 at 02:39 AM.)
#1  
di11igaf's Avatar
Recognized Developer - OP
Thanks Meter 666
Posts: 1,760
Join Date: Sep 2010
Location: East Coast

 
DONATE TO ME
Default di11i kernel beta .01 (unsecure boot.img- root shell, adb remount) ext4 tweaks/init.d

This basically (for right now) the stock kernel image with some tweaks to init.
-unsecure boot.img-(perma- rooted adb shell)
-adb remount(mount /system r/w)
-init.d support added in for init scripts(survive after reboot)
-ext4 filesystem mount tweaks-/system/data/cache(faster I/O)
(Actually have a full ext2 version for,****s and giggles, but it boots into the encryption error screen, so cant release that. May have a fix though)
-mem and cache tweaks coming soon

still working on the actual kernel, will release that next, still have lots of work to do

boot.img MD5- fca41dba8f4699b67fd461a1632b65cf

MAKE BACKUP FIRST

You will not have issues if you wipe data, chances are youll be fine if you dont, but if anything starts acting up just wipe data, then install boot.img
This is the actual boot.img and for now has to be flashed with adb with these EXACT commands--
Code:
Select Code
adb push boot.img /sdcard/
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0 seek=3968 bs=4096 count=2048
reboot


#Thanks Diamondback and friends for offsets



This is not the ideal way to flash this, but i can not get the blob file to staging partition to actually write the image. Im pretty sure its an issue with the signature of the blob file, so if someone wants to pack this into a blob id be glad test it and then update the OP.
My primes been using this boot.img for a few days, along with one other. Flash at your own risk.
NOT COMPATIBLE WITH CM-9
Attached Files
File Type: img boot.img - [Click for QR Code] (4.13 MB, 92 views)
The Following 7 Users Say Thank You to di11igaf For This Useful Post: [ Click to Expand ]
 
MasterZen88
Old
#2  
MasterZen88's Avatar
Senior Member
Thanks Meter 754
Posts: 454
Join Date: Feb 2012

 
DONATE TO ME
Quote:
Originally Posted by di11igaf View Post
This basically (for right now) the stock kernel image with some tweaks to init.
-unsecure boot.img-(perma- rooted adb shell)
-adb remount(mount /system r/w)
-init.d support added in for init scripts(survive after reboot)
-ext4 filesystem mount tweaks-/system/data/cache(faster I/O)
(Actually have a full ext2 version for,****s and giggles, but it boots into the encryption error screen, so cant release that. May have a fix though)
-mem and cache tweaks coming soon

still working on the actual kernel, will release that next, still have lots of work to do

boot.img MD5- fca41dba8f4699b67fd461a1632b65cf

MAKE BACKUP FIRST

You will not have issues if you wipe data, chances are youll be fine if you dont, but if anything starts acting up just wipe data, then install boot.img
This is the actual boot.img and for now has to be flashed with adb with these EXACT commands--
Code:
Select Code
adb push boot.img /sdcard/
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0 seek=3968 bs=4096 count=2048
reboot


#Thanks Diamondback and friends for offsets



This is not the ideal way to flash this, but i can not get the blob file to staging partition to actually write the image. Im pretty sure its an issue with the signature of the blob file, so if someone wants to pack this into a blob id be glad test it and then update the OP.
My primes been using this boot.img for a few days, along with one other. Flash at your own risk.
Great! I'm not the only one who as this problem. For what ever reason I too cannot get the blob to write.


I've tried running the blobpack -s to sign the blob but after trying to write it to the staging partition its a no go.....

EDIT: how are you working on the kernel if it has not been released yet?? JW, not trying to say your not but it would be cool if someone found a way to edit a compiled kernel.
 
Doktaphex
Old
#3  
Doktaphex's Avatar
Senior Member
Thanks Meter 424
Posts: 1,418
Join Date: Oct 2010
Location: London
Quote:
Originally Posted by MasterZen88 View Post
Great! I'm not the only one who as this problem. For what ever reason I too cannot get the blob to write.


I've tried running the blobpack -s to sign the blob but after trying to write it to the staging partition its a no go.....

EDIT: how are you working on the kernel if it has not been released yet?? JW, not trying to say your not but it would be cool if someone found a way to edit a compiled kernel.
ICS kernel source is on the global download site.
TRANSFORMER prime . desire HD
NEXUS 7 . galaxy S3
 
MasterZen88
Old
#4  
MasterZen88's Avatar
Senior Member
Thanks Meter 754
Posts: 454
Join Date: Feb 2012

 
DONATE TO ME
Quote:
Originally Posted by Doktaphex View Post
ICS kernel source is on the global download site.
Correct but thats an older source code V9.4.2.7 right?
 
Doktaphex
Old
#5  
Doktaphex's Avatar
Senior Member
Thanks Meter 424
Posts: 1,418
Join Date: Oct 2010
Location: London
Quote:
Originally Posted by MasterZen88 View Post
Correct but thats an older source code V9.4.2.7 right?
True, I don't know how much they have changed since then. Surely they need to be releasing new source pretty quickly to be in compliance with the license. I don't know enough about that side of things though.
TRANSFORMER prime . desire HD
NEXUS 7 . galaxy S3
 
Dexter_nlb
Old
#6  
Dexter_nlb's Avatar
Senior Member
Thanks Meter 4480
Posts: 5,336
Join Date: Feb 2009

 
DONATE TO ME
prime has a BLOBSIGN signature in the first 28 bytes of the blob files for prime.
you just need to copy those 28bytes from an existing blob file that works.

this is of course only working on a unlocked prime. then the BLOBSIGN signature is not checked, so anything can be pasted in front of it.

Rayman will update the packblob to include the signature later on.
Remember to press THANKS, if you liked my help or builds.
Hardware: Galaxy Note II * LG Optimus 4X * Elocity A7 * HTC Flyer/Wifi * ASUS TF201/Prime
LG Optimus 4X HD - 4X ClockWorkMod - O4X CustoNexus - O4X Sense4
HTC Flyer - ICSSense OneXXL -Flyer JellyBean * Tattoo - TatFroyoSense * Elocity A7 - ElocityMod
 
jermaine151
Old
#7  
jermaine151's Avatar
Senior Member
Thanks Meter 3281
Posts: 3,952
Join Date: Jun 2010
Location: Columbus, Ohio

 
DONATE TO ME
Quote:
Originally Posted by MasterZen88 View Post
Great! I'm not the only one who as this problem. For what ever reason I too cannot get the blob to write.


I've tried running the blobpack -s to sign the blob but after trying to write it to the staging partition its a no go.....

EDIT: how are you working on the kernel if it has not been released yet?? JW, not trying to say your not but it would be cool if someone found a way to edit a compiled kernel.
I'm confused. I thought after our PMs you had it flashing just fine?


Sent from my Galaxy Nexus using Tapatalk
You can find me @jdlogan151
 
MasterZen88
Old
#8  
MasterZen88's Avatar
Senior Member
Thanks Meter 754
Posts: 454
Join Date: Feb 2012

 
DONATE TO ME
Quote:
Originally Posted by jermaine151 View Post
I'm confused. I thought after our PMs you had it flashing just fine?


Sent from my Galaxy Nexus using Tapatalk
Yes it flashed but later I realize non of my settings/changes took effect.

When I stated it work, I had took the stock kernel/initramfs from asus blob, extracted, made no changes at all, recompile like we talked about in our PM's then flashed it. It work but then after I made changes, recompiled. Non of my changes took effect.


Again Jermaine you have been a BIG help. and can only hope one day I can return the favor!!!
 
Diamondback
Old
#9  
Diamondback's Avatar
Developer Committee / Senior Moderator / Recognized Developer
Thanks Meter 6297
Posts: 4,367
Join Date: Jan 2010
Quote:
Originally Posted by jermaine151 View Post
I'm confused. I thought after our PMs you had it flashing just fine?


Sent from my Galaxy Nexus using Tapatalk
Quote:
Originally Posted by MasterZen88 View Post
Yes it flashed but later I realize non of my settings/changes took effect.

When I stated it work, I had took the stock kernel/initramfs from asus blob, extracted, made no changes at all, recompile like we talked about in our PM's then flashed it. It work but then after I made changes, recompiled. Non of my changes took effect.


Again Jermaine you have been a BIG help. and can only hope one day I can return the favor!!!
Flashing blobs does NOT always work. No idea why yet. Directly dd'ing the boot.img to the right place works BETTER than flashing a blob in some cases...

Asus really screwed up with this Unlocker thing....

Contact the Developer Committee with any questions or concerns regarding
the Recognized Developer program.
Mention my name with @Diamondback in any post to easily get my attention.
Please use BB Codes to format your posts.
 
jermaine151
Old
(Last edited by jermaine151; 2nd March 2012 at 02:38 PM.)
#10  
jermaine151's Avatar
Senior Member
Thanks Meter 3281
Posts: 3,952
Join Date: Jun 2010
Location: Columbus, Ohio

 
DONATE TO ME
Quote:
Originally Posted by MasterZen88 View Post
Yes it flashed but later I realize non of my settings/changes took effect.

When I stated it work, I had took the stock kernel/initramfs from asus blob, extracted, made no changes at all, recompile like we talked about in our PM's then flashed it. It work but then after I made changes, recompiled. Non of my changes took effect.


Again Jermaine you have been a BIG help. and can only hope one day I can return the favor!!!
No problem. I'm surprised it didn't work for you after you made changes.

Quote:
Originally Posted by Diamondback View Post
Flashing blobs does NOT always work. No idea why yet. Directly dd'ing the boot.img to the right place works BETTER than flashing a blob in some cases...

Asus really screwed up with this Unlocker thing....
Flashing them to staging seems to work perfectly for me. That's how I made my insecure boot.blob and flashed it. It doesn't matter whether you're on unofficial CWM or Official since if you start your updater-script with unmounting staging, it doesn't hurt anything if staging wasn't mounted. Then you can either dd the blob to mmcblk0p4 or you can directly flash it via:
Code:
Select Code
package_extract_file("boot.blob", "/dev/block/mmcblk0p4");
I have not found an occasion where this didn't work. You need to make sure that you don't add any --cmdline parameters when you mkbootimg or you will get a bootloop. Staging is definitely the safest way to flash to any partitions on the Prime.

Quote:
Originally Posted by MasterZen88 View Post
Correct but thats an older source code V9.4.2.7 right?
The kernel versions seem to be the same with the latest .15 build as the previous one. I wonder if they just recompiled the same source and that's why the host name changed to Mercury.

EDIT: I'm going to pack this kernel into a flashable blob and attach it here.
You can find me @jdlogan151

The Following User Says Thank You to jermaine151 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes