Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Entropy512
Old
(Last edited by Entropy512; 11th February 2012 at 07:37 PM.) Reason: Alpha 0.3.1
#1  
Elite Recognized Developer - OP
Thanks Meter 20789
Posts: 11,488
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Default [MOD] I9100 ROM Hellraiser for I777 (Alpha 0.3.1, 12/3/2011) [BUGS/DEV ONLY]

This thread is now for bug reports/development only. Do not post in this thread any more until you have fully read the first four posts of this thread, and the first two posts of the Q&A Thread. If you post in this thread and it is clear that you have not read the posts indicated above, your post will be reported. For other discussion and "Is this a bug?" type questions, go to the Q&A Thread

Heeeeere we go! As LinuxBozo, one of the most talented developers in the Infuse community said, "Welcome to a new and sick, twisted world!"

Over in the Infuse community, we had an oddball device that had little in common with anything else. As a result, it was not easy to port ROMs from the I9000/Captivate. However, after LOTS of work, LinuxBozo pulled it off and came up with an automatic porting package that could get most I9000/Captivate ROMs running on the Infuse. As a result, it opened the Infuse community up to a massive variety of ROMs.

For the month since the I777 came out, people keep asking about I9100 ROMs. In general, the answer has been, "It should be possible, but no one other than designgears has done it yet." - I didn't have the time as I had too much kernel work to do. However, as the kernel is at a fairly mature and stable state, when someone asked for SensatioN to be ported, I figured it was time for a challenge.

I was successful, but encountered a few glitches. Tethering was broken, fortunately the Infuse community had the same issue and the same fix worked. Mic in calls was broken, just like CM7 - I finally got atinm's list of the blobs to swap out. As a result, nearly all of the challenges in porting an I9100 ROM to the I777 have been identified.

This is a package that should automatically port most I9100 ROMs to the I777. It has been tested by myself as follows:
  • SensatioN 1.8 by Crysis21 has been manually "Hellraised", and was the basis on which this package was developed. Do note that the author of this ROM tends to be unresponsive to porters. I asked for permission to release a ported ROM but never heard back.
  • VillainROM 3.0 was the first ROM to be tested with the attached package - it seems to work, if there are any problems, it is likely because I missed something in the permissions settings of the updater script. - Also, I have tested JKay's Deluxe Themes on VillainROM successfully - his thread is at http://forum.xda-developers.com/show....php?t=1154278 - You need to use the XXKI3 theme packages.
In general, XXKI3-based ROMs work. XXKI4-based ROMs may have issues with WiFi (see Known Issues below). I am working on compiling a more complete list in the Q&A Thread.

Please don't report bugs with ROMs to the upstream author of the ROM in the event that the bug was caused by Hellraising - unfortunately, it is going to be very difficult to identify when Hellraising caused a bug and when the ROM itself has a bug.

Instructions for the package:
  1. Download an I9100 ROM to be Hellraised - must be CWM-flashable Gingerbread (ICS will NOT happen until after kernel source code becomes available, and if you spam me with 10000 "did you see this" links when it does I'll just go watch some TV. You have been warned.), and must be Samsung-derived (not CM7/MIUI/AOSP-based), ROMs distributed as Odin .tar files like Litening won't work. (I've tried...)
  2. Download the package above
  3. Unzip the ROM, check to make sure it does not have bootloaders. If it has Sbl.bin or param.lfs in it, RUN AWAY. No ROM developer should EVER include a bootloader without explicit warnings of this, if a ROM includes a bootloader it's a sign that it'll be **** in almost all cases. Similarly, param.lfs corruption can lead to a device that won't boot and I believe it can even break download mode. ROMs shouldn't be messing with this either without warning users.
  4. Once you've done your safety check, put the ROM zip and the Hellraiser zip onto your SD card
  5. Enter CWM
  6. You should probably do a Nandroid backup here...
  7. Wipe Data/Factory Reset - Some ROMs write apps to /data and you'll lose these if you wipe afterwards
  8. Flash the ROM, DO NOT REBOOT, STAY IN CWM
  9. Flash the Hellraiser package
  10. Reboot and enjoy!

Known issues:
  1. NFC files are included, but enabling NFC requires smali modifications to Settings.apk on some ROMs. (Starting to look like this is only for I777 stock-derived ROMs - VillainROM doesn't actually need any smali.)
  2. Touching an NFC tag containing NDEF data will cause the NFC service to crash due to being unable to obtain STOP_APP_SWITCH permissions
  3. Wifi tethering settings are not persistent and keep resetting themselves (At least on SensatioN and VillainROM) - Workaround for now: Enable tethering, THEN set the SSID and password, OR see http://forum.xda-developers.com/show...335377&page=24
  4. When initially setting up the ROM, it claims that network time is not available, and takes you to Settings - where you can check it to enable it and it works fine... Infuse Hellraiser had the same issue. Happens only once per flash so it's a very low priority.
  5. When flashing other ROMs that do device compatibility checks (such as CM7), they will think you have an I9100 instead of I777. You need to flash an I777 ROM first.

Download links have been moved to the ChangeLog post (Post #2 below)!
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 57 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
(Last edited by Entropy512; 12th February 2012 at 08:11 PM.)
#2  
Elite Recognized Developer - OP
Thanks Meter 20789
Posts: 11,488
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Alpha 0.3.1 Release, 12/3/2011:
Download: http://www.multiupload.com/NUV8KDF9OZ or http://dev-host.org/4up if MultiUpload never comes back
Changes:
Only one - actually include Daily Driver 12/1/2011. People who flashed 0.3.0 only need to reflash Daily Driver from my kernel thread, no need for a full flash of Hellraiser.

Alpha 0.3.0 Release, 12/1/2011:
Download: PULLED, BAD RELEASE: Use 0.3.1 instead. If you already flashed 0.3.0, flash the 12/1 release of Daily Driver
Changes:
  • Update to some random kernel pulled from the wrong location on my hard drive
  • Overwrite /system/etc/apns-conf.xml with a "known good" one
  • Overwrite the CSC with a "known good" one
  • Home button haptic fix, courtesy of LinuxBozo of Infuse Hellraiser. Thanks to amtrakcn for pointing out that LinuxBozo's fix works on our device

Alpha 0.2.2 Release, 11/10/2011:
Download: http://www.multiupload.com/C1W5S6XW0R
Changes: Update to Daily Driver 11/10/2011 kernel (disables autoroot which broke root for a bunch of people), tiny installer script cleanups.
  • If root is working well for you, it is not worth flashing this
  • If root is broken for you, I recommend installing Daily Driver 11/10 and flashing ChainsDD's latest su package (linked from the DD thread's first post now). If you flash this it will remain broken, this only fixes new installs

Alpha 0.2.1 Release, 11/08/2011:
Download http://www.multiupload.com/ORQESFHVBT
Changes: Only one, replace Nfc.apk with the correct one. Fixes NFC service force closes.

Alpha 0.2 Release, 11/07/2011:
Download - PULLED due to excessive fail. Use 0.2.1 instead!
Changes:
  1. Should now flash without the mount workaround trick after ROMs that unmount /system
  2. Added NFC files from the I777 and one permissions XML - These combined with a small mod to Settings.apk will allow NFC to work. Will post details for ROM devs on making these mods soon. NOTE: Right now this only supports reading tags! Google Wallet support requires a LOT more work, if even possible! (Edit: I'm fairly certain it'll only be possible in CM7 - but I think I also know what's needed for the CM7 guys to get the rest of the way there.

Initial release, 11/06/2011:
Version - Alpha 0.1
Download - http://www.multiupload.com/9RJKKSBFZ0
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 15 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
(Last edited by Entropy512; 6th November 2011 at 08:05 PM.)
#3  
Elite Recognized Developer - OP
Thanks Meter 20789
Posts: 11,488
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Default How it works

Here's the details of how this package works.

1) This package replaces the modem with a known good I777 modem
2) It also replaces the kernel with an I777 kernel (Right now, Daily Driver 11/03 release) - This is half of the keymap fix. Also, DD 11/3 contains a fix that allows wifi tethering to work on both I777-derived ROMs and I9100-derived ROMs
3) It replaces two of the keymap files in /system/usr/keylayout/ - see http://forum.xda-developers.com/show...313050&page=56 for details - thanks to MikeyMike01 and Dungeon47 for this one
4) It replaces most of the audio library files to fix the issue with outgoing mic audio in calls - this is the same fix used by Cyanogenmod 7 - see https://github.com/koush/proprietary...a24bab#diff-28 for details, thank atinm for this one
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 11 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
(Last edited by Entropy512; 9th November 2011 at 05:33 AM.)
#4  
Elite Recognized Developer - OP
Thanks Meter 20789
Posts: 11,488
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Attached:
  1. Hacked settings APK for VillainROM 3.0 - This, along with Alpha 0.2.1, should allow you to turn on NFC. May work on other XXKI3-based ROMs

For ROM Authors:
To get NFC to show in Settings, baksmali the Settings APK and open WirelessSettings.smali
Look for the line below:
Code:
invoke-static {p0}, Landroid/nfc/NfcAdapter;->getDefaultAdapter(Landroid/content/Context;)Landroid/nfc/NfcAdapter;
Delete the next two instances of lines that contain the word removePreference

NFC should then show in Wireless settings
Attached Files
File Type: apk Settings.apk - [Click for QR Code] (5.58 MB, 89 views)
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 8 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
wonner
Old
#5  
wonner's Avatar
Senior Member
Thanks Meter 144
Posts: 481
Join Date: Dec 2010
Location: Hayward, CA
Great work! I can't wait to try this out when I have some free time.
The Following User Says Thank You to wonner For This Useful Post: [ Click to Expand ]
 
task650
Old
#6  
task650's Avatar
Recognized Developer
Thanks Meter 38187
Posts: 19,084
Join Date: Sep 2010
Location: Portland, Oregon

 
DONATE TO ME
well aren't you awesome bro. Thanks a lot. This opens the door to a lot of good things.
The Following User Says Thank You to task650 For This Useful Post: [ Click to Expand ]
 
Nick281051
Old
#7  
Nick281051's Avatar
Senior Member
Thanks Meter 1151
Posts: 3,921
Join Date: May 2010
Location: Northport, NY
this looks awesome i have to find a rom i want to try from their forums though since lite'ening doesnt work
Current Phone: Samsung Galaxy S II SGH-I777

HTC Inspire 4g collecting dust

Old Phone: Samsung Captivate (At&t)- Returned
HTC Tilt 2 (AT&T)- Sold

Quote:
Originally Posted by Phalanx7621 View Post
Nice job bro! Not only have you insulted the dev of the rom thread you're posting in , but you also took offense to an internet forum post which has no bearing on your life! This is the internet bro. You've got to have a thick skin.
 
jgrimberg1979
Old
#8  
jgrimberg1979's Avatar
Senior Member
Thanks Meter 192
Posts: 883
Join Date: May 2010
Location: D.C
Dude you freaking rock! Thanks so much for this! What is your donate link?

Sent from my SAMSUNG-SGH-I777 using xda premium
 
wonner
Old
#9  
wonner's Avatar
Senior Member
Thanks Meter 144
Posts: 481
Join Date: Dec 2010
Location: Hayward, CA
Quote:
Originally Posted by jgrimberg1979 View Post
What is your donate link?
Under his Thanks Meter.
 
craigbailey1986
Old
#10  
craigbailey1986's Avatar
Senior Member
Thanks Meter 212
Posts: 1,576
Join Date: Apr 2010
Location: Conley
THANKS!!!
about to test it out with the sensation rom! Really appreciate the effort you have been putting in lately!

 
Post Reply+
Tags
i777, i9100, port, rom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...