yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] OfficerJimLahey:
Building a ROM is (relatively) easy. There, you are working with kernels, device trees and vendor blobs already tailored to the appropriate Android API. Run some standard commands (make clean && repo sync -f && . build/envsetup.sh && lunch && make carbon -j3), wait several hours, and then you have an installable zip.

What this device needs is development, to bring the device identity (kernel, device tree, vendor blobs) up to the Lollipop standard / API. That is a difficult job to say the least - I wouldn't even know where to start. :eek:

But, if you want to get your feet wet, my May 27th post in this thread contains the local manifest for the purpose of passing on the torch. I would suggest making another KitKat build, as it seems that the StageFright vulnerabilities were patched upstream very recently (assuming that CarbonROM was using those project files directly in their ROM's and not forking them)[1].

That will get you comfortable with building for a device, it also gives you an idea of the code that is involved to "bring up to speed" for Lollipop.

Hope this helps.

[1] I looked into it, the project that contains stagefright (including the vulnerabilities) appears to be android_frameworks_av and CarbonROM maintains their own version. That shouldn't stop you from getting your feet wet, though.
[Samsung Infuse 4G] Ainz_Ooal_Gown:
Yes most devs and helpers have moved on and since the SGS1 has lollipop now I know that the infuse can handle it...you just need some more devs or for the current users to step up
[Samsung Infuse 4G] josh.1001:
For anyone still using this phone as a daily driver and isn't satisfied by the small /system and /data partitions, theres a way to increase them so as to install more apps, but at the expense of the internal sd card space....

eg:
[Samsung Infuse 4G] OfficerJimLahey:
Stagefright fixes and SF2.0

Hello, :cowboy:

Thought I'd drop in on the way to my mirror/dropbox thread.

Earlier this week, I made a successful build of CarbonROM 4.4.4 with the stagefright (1.0) bugs fixed for another device.

Now, I said that my unofficial build for this device was a one-shot deal, and that's not going to change, but I don't want to leave people hanging if there are still users of this device out there.

Which is why I am willing to give assistance and advice to anyone (@GIL0802 I am throwing you under the bus for this example, since you've expressed interest before with LP ;)) who has access to the device and is interested in updating their ROM to patch those vulnerabilities. :D

If interested, just reply in this thread regarding any questions, whatever. I try to discourage PM's, and besides, I am subscribed to this thread, so I get the notification anyway.

Technical end of the fixes (once you have your build environment set up), is to fork CarbonDev's android_frameworks_av project into your own github, and apply the following patches from CM11 (in the following order, copying and pasting the code into your GitHub worked fine for me, albeit tedious since careful is key):

https://github.com/CyanogenMod/android_frameworks_av/commit/743caa87a8dd393f96c2d3daeaa557d0a60bf252

https://github.com/CyanogenMod/android_frameworks_av/commit/c6fc7695a46606c353ed0ba1be38ad940b9d88d6

https://github.com/CyanogenMod/android_frameworks_av/commit/96bd564fc55671bd881caf94584da58b5dfd4bf7

https://github.com/CyanogenMod/android_frameworks_av/commit/b5738ab014d916b071e66857a1546fc6b4813f09

https://github.com/CyanogenMod/android_frameworks_av/commit/18b7e3cfda64697e803755df64081619f7d44cc5

https://github.com/CyanogenMod/android_frameworks_av/commit/9f65a14df51a7fde1eae2819b93654b1bee73da1

https://github.com/CyanogenMod/android_frameworks_av/commit/c086b29ee1353fe85e3c08cb2ea4ce1f5dd462d7

https://github.com/CyanogenMod/android_frameworks_av/commit/42903f874543a255d6d7136767b6146fe3086fdd

https://github.com/CyanogenMod/android_frameworks_av/commit/49fa7b75b65c3047f55efb4cd2b25261f4289799

https://github.com/CyanogenMod/android_frameworks_av/commit/a5dd546165cf89e946dc8e463ab632c5370bdedc

https://github.com/CyanogenMod/android_frameworks_av/commit/8fd5331eccc3b18a228e02a044a1863374d25044

This will take care of StageFright 1.0 issues. As for 2.0, AOSP has yet to officially release their fix (not until October 5th), so I doubt it will be long before CyanogenMod trickles it down to CM11. At that point, I will update this post.

Stay safe out there in the meantime! :cool:
[Samsung Infuse 4G] xc-racer99:
Ok, so I see there's a bit of a talk about Lollipop for the Infuse...

Let me start with the fact that I don't have an Infuse, nor have I ever had one. What I do have is a Telus Galaxy S Fascinate 4G (SGH-T959P). Long name, but its basically a cross between an Infuse and the i9000. It has the same GPS Chipset and the same modem as the Infuse, but looks like an i9000. Its very similar to the T959V, which where a bunch of your modems came from.

If someone were wanting to bring Lollipop to the Infuse, I would start by going backwards... Currently, the kernel for the Infuse is 2.6.35 based. However, it would be very difficult trying to get Lollipop to work with a kernel that old. However, a 3.0 kernel, like the one the other Galaxy S devices use works fairly well...

If I had an Infuse, I would try to get a build of booting with kernel version 3.0 (doesn't matter what Android version, try anywhere from CM9 to CM11), and then merge those changes into the OmniRom kernel for the i9000 et al Note that device tree changes would be necessary as well.

Given a couple of weeks, I could probably have a kernel and a device tree with initial changes for the Infuse that would be a blind build. However, given as I have no way of testing, it might/probably would brick your phone. If there's interest, I'll try my best to have such a build. Note that the things most likely to be broken would be those that differ from the i9000/T959P - namely the camera, sound, softkeys, sensors, and, of course, the screen...

So, let me know what you guys think!
[Samsung Infuse 4G] GIL0802:
Yes, i'm here!

I would like to install a new build because lately i having random reboot, heating problems and so on. I'm still using the Infuse daily. My camera is broken so i don't care if the LP ROM, the camera doesn't run well or at all.

I'm available to test but carefully to not brick the device because as i said upthere, it's my daily driver right now.

Cheers!
[Samsung Infuse 4G] OfficerJimLahey:
Sorry, I guess I made a critical omission. My assistance would be to build an updated KK version, not LP (as that one is out of the realm of my knowledge).

Hope that clarifies. :)
[Samsung Infuse 4G] GIL0802:
Oh i'm sorry. [MENTION=5414656]xc-racer99[/MENTION] said the LP thing.

I'm OK with KK. Waiting for it. :)
[Samsung Infuse 4G] OfficerJimLahey:
Okay!

So, for now, reading material, and to get your build environment set up. Since you will be compiling Kitkat, you will need Java 6, not 7:

http://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763

If already running Linux, you can install the older java and then create a spare user account (for building) that calls for the downgraded version. Can bug me for that later, if needed.

Local Manifests:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote name="gh"
fetch="git://github.com/"/>

<remote name="joelmaxuel"
fetch="git://github.com/joelmaxuel/"/>

<project path="device/samsung/infuse4g" name="android_device_samsung_infuse4g" remote="joelmaxuel" revision="kk" />
<project path="device/samsung/aries-common" name="CyanogenMod/android_device_samsung_aries-common" remote="gh" revision="cm-11.0" />
<project path="vendor/samsung" name="TheThunderbirds/proprietary_vendor_samsung" remote="gh" revision="kk" />
<project path="kernel/samsung/dempsey" name="scotthartbti/cm_samsung_kernel_dempsey" remote="gh" revision="kk44" />

<remove-project name="CarbonDev/android_frameworks_base" />
<remove-project name="CarbonDev/android_vendor_carbon" />
<project name="android_frameworks_base-kk" path="frameworks/base" revision="kk" remote="joelmaxuel" />
<project name="android_vendor_carbon" path="vendor/carbon" revision="kk" remote="joelmaxuel" />

</manifest>

(This is pretty much like that of the last build, you may want to organize them into a github organization, since the projects are scattered and you will need to pull in frameworks av as well.)

That's all for now, got to prepare for tomorrow!
[Samsung Infuse 4G] GIL0802:
I'm not running Linux. I'm a Windows user. I thought you will give me the build updated because right now i don't know how to Github. (I'm learning the basic throught FreeCodeCamp. http://http://freecodecamp.com/ )

If you understand my issue. When you patched, i will flash the new build on my Infuse.
[Samsung Infuse 4G] OfficerJimLahey:
Sorry for the delay, I've been quite busy.

Yeah, I won't be providing a compiled build, since it would be a blind build. I disliked doing it before, and my code of ethics have shifted since then to the point of it's something I won't do (unfortunately). But empowering someone else falls within the realm of doable.

With VirtualBox, you'll be set. :) Here's how to set it up (includes other aspects of the build - think I mentioned this already, but set up for Java 6 instead of Java 7).

The revised manifest. Note I have already patched frameworks_av, so just need to save as infuse.xml, save in .repo/local_manifests/, repo sync, lunch (use the -userdebug option in the menu that pops up) and make (I have a dual core processor so I "make carbon -j3"):

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote name="gh"
fetch="git://github.com/"/>

<remote name="joelmaxuel"
fetch="git://github.com/carbon-infuse/"/>

<project path="device/samsung/infuse4g" name="android_device_samsung_infuse4g" remote="joelmaxuel" revision="kk" />
<project path="device/samsung/aries-common" name="android_device_samsung_aries-common" remote="joelmaxuel" revision="cm-11.0" />
<project path="vendor/samsung" name="proprietary_vendor_samsung" remote="joelmaxuel" revision="kk" />
<project path="kernel/samsung/dempsey" name="cm_samsung_kernel_dempsey" remote="joelmaxuel" revision="kk44" />

<remove-project name="CarbonDev/android_frameworks_base" />
<remove-project name="CarbonDev/android_frameworks_av" />
<remove-project name="CarbonDev/android_vendor_carbon" />
<remove-project name="CarbonDev/android_system_core" />
<remove-project name="CarbonDev/android_bionic" />
<project name="android_frameworks_base-kk" path="frameworks/base" revision="kk" remote="joelmaxuel" />
<project name="android_frameworks_av" path="frameworks/av" revision="kk" remote="joelmaxuel" />
<project name="android_vendor_carbon" path="vendor/carbon" revision="kk" remote="joelmaxuel" />
<project name="android_system_core" path="system/core" revision="kk" remote="joelmaxuel" />
<project name="android_bionic" path="bionic" revision="kk" remote="joelmaxuel" />

</manifest>

The github: https://github.com/carbon-infuse

Carbon's build instructions: https://github.com/CarbonDev/android/blob/kk/README.mkdn

I think that's all to know! And if you want to get more access than just read to the carbon-infuse github (in case you want ot apply commits later on down the road), shoot me a PM of your github ID.
[Samsung Infuse 4G] PoXFreak:
I would be interested in figuring this out myself, because lollipop with a proper gapps install requires up to 3gb of space. There's actually not enough room on the infuse for lollipop with even a micro or pico gapps package since lp now uses ART runtime.

I would have to sacrifice 2gb more SD space to/system before I could even try to flash lp on the infuse.

---------- Post added at 08:26 AM ---------- Previous post was at 08:17 AM ----------

There is a build environment already custom tailored to building android called "builduntu" (sp) that can be burned to a CD (I wouldn't), or installed to a bootable flash drive. It requires a 64 bit processor though, and the more cores the better.

http://xdaforums.com/showthread.php?t=2585828
[Samsung Infuse 4G] josh.1001:
The infuse 4g uses the mmcblk0 as the system storage+ SD card.

mmcblk0p1 is the SD card and mmcblk0p2 is where the system+ data partitions are located. By using parted, I managed to repartition my old infuse and resized this partition from around 1.8gb to 5.0gb.(mmcblk0 to ~10gb ).

I then used lvm to create new system and userdata partitions. eg. mine is currently at 1.5g system and 3.5g user data.(as long as its less than the 5g partition size)

note, you ought to have flashed at least cm11 4.4 or any kitkat ROM before this procedure.

any mistake during partitioning will also brick the device.
[Samsung Infuse 4G] bigbob_ftw:
Re: [ROM][JB][4.2.2] CarbonRom [Infuse4g] » Mar 4

Is this thread so quiet because this ROM is so steady?
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom [Infuse4g] » Mar 4

This ROM is awesome. Super stable, the only bug I have is the well documented notification bar glitch, which is a bug in JB as a whole. So I guess the answer is that is likely the reason for a quiet thread :)
[Samsung Infuse 4G] andros11:
I'm glad you are all enjoying it!

I'm currently flashing the first Carbon nightly on the Infuse4g! :victory: :D

Should be up on goo in a few hours
[Samsung Infuse 4G] andros11:
Voila, the first of many CarbonRom nightlies! :)

The team has been able to set a few slaved PCs in order to host a Nightlies system, all thanks to our users donations.

A couple of new things here, plus the USB bug now seems fixed

CarbonRom Nightly [8/Mar]

Have fun!
[Samsung Infuse 4G] ShadyWTT:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

What's the difference between the original rom and the nighlies version?

Sent from my Samsung Infuse running CM10.1
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Nightlies have the latest source code available at the time they are compiled, so they have the latest features and fixes, but may also have issues since they are experimental.

So if you ever feel the urge to flash and something hasnt been released for a while, you can grab a nightly and have the latest of android.

This nightly is running super smooth for me. Better than the latest stable
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Sweet! I'll definitely give the nightly a go later today when I have the time :)
[Samsung Infuse 4G] 2Sancho:
This Carbon Rom esta bien Cabron

I just wanted to say thanks for your work. This rom rocks! smooth like a virgin.:angel:

P.S. I think i broke your thanks meter
[Samsung Infuse 4G] Bryhindir:
sorry for being a major noob here but

does Jelly bean block game hacks such as game cih? or games are harder to hack these days? does anyone know a working hack for games? if i would like to hack games should i go back to ICS?

Edit: Step by step guide on installing please?
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Don't know anything about hacking games, sorry.

Usual JB Rom installation:

-cwm: factory reset & /system format is recommended

- flash rom & gapps

- reboot
[Samsung Infuse 4G] Bryhindir:
even from stock GB?
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

No, that's a whole different story.

Take a look a this guide: http://xdaforums.com/showthread.php?t=1878458
[Samsung Infuse 4G] Connor Baker:
I just downloaded the latest nightly (MAR09) and noticed that it's around 60mb. It's not a bad download either. Did they do some massive slimming down or something?

Connor Baker
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

You must have grabbed it while it was still uploading.. It's 128.29mb

Redownload :)
[Samsung Infuse 4G] foundsoul80:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Im getting following with 3-9 nightly
[Samsung Infuse 4G] Antomir:
Hey Andros. I know bothered you a lot the other day but I finally put jb. I went with paranoid android but it lacks customization so I'm going to go with carbon. Since I am already on 4.2.2 what are the instructions for going to another jb rom. Thanks
[Samsung Infuse 4G] eZdubzitmk4:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Factory reset format system then flash rom and gapps
[Samsung Infuse 4G] Antomir:
Thanks. Have you tried paranoid android? If you have would you recommend carbon over it. Also, will I have to redownload all my apps?
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

It's been a long time since I tried it.. Latest pa is a lot different now that it is Aosp based.

Just try it :) you can always move on to something else

Backup your apps with titanium or mybackup root
[Samsung Infuse 4G] Antomir:
Thanks. Does this build have photosphere

And can you give me a little more detailed instructions to go to carbon rom
[Samsung Infuse 4G] andros11:
For those having issues flashing today's nightly (10/Mar), please add the modem.bin to the root of the zip file.

I'm working on finding a solution to this ..

You can download the modem here

No photosphere. look around for a zip that flashes a gallery.apk that has it

Now that you are on JB, your phone is partitioned in MTD filesystem, meaning you can move between JB roms at will.

on cwm:

- wipe data (factory reset)

- flash rom, then gapps

- reboot
[Samsung Infuse 4G] eZdubzitmk4:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

PM me of you want photo sphere ill upload my gallery. Apk

---------- Post added at 09:04 PM ---------- Previous post was at 09:01 PM ----------

I like carbon a lot. I'm currently running my own port, Avatar. Literally every jb rom here is great man. I just had a few reboots with earlier carbon.. I'm sure it's fine now. Pa is great to.. But I added Xposed to my port so I can change dpi settings like PA
[Samsung Infuse 4G] ~wolverine~:
Am I missing something? When I pull down the notification bar it use to show tiles when there was no new notifications. I see it can be setup to do that from the right or left side, but it use to do it no matter where I pulled from. Is that gone now? Thanks.
[Samsung Infuse 4G] psal217050:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Seems like a bug in 4.2.2, and it has been reported in several threads. Change theme or reboot and it works for awhile, then might stop again.
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

It is enabled by pressing the tile icon on the top right side of the notification bar when it is pulled down. The tile options are in the settings menu
[Samsung Infuse 4G] ~wolverine~:
Past builds it would default to tiles if there was no new notifications.
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

I have no clue if there's a way to do that, as I don't use the tiles myself.
[Samsung Infuse 4G] Antomir:
Is Goo.im down?
[Samsung Infuse 4G] ~wolverine~:
Seems to be.
[Samsung Infuse 4G] zaghy2zy:
No Network

I just flashed the most recent stable version, and somehow... I don't get any signal at all... SIM card is ok, wifi is ok... I don't know why... not even emergency calls... Going into settings, and mobile networks, it can't even find any networks at all!

bad flash or I need particular modem?

EDIT: I did factory reset (wipe data&cache), same story...

EDIT2: whoopsie, I got it figured... IMEI was wiped... luckily, I got it backed up previously :)
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Has anyone tried the new nightly? I'm wondering if the new graphite mode is in this build. I didn't get to see the preview photos, but it sounds sweet. I can't wait to try it out :D
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Seems it doesn't .. The nightly was built before graphite mode was pushed :/

It's a pity.. I also was anxious to try it.
[Samsung Infuse 4G] the_KEV:
what is this new graphite mode? google search isn't cooperating
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Maybe today's will have it :)

---------- Post added at 12:04 PM ---------- Previous post was at 11:47 AM ----------

Basically a built in gapp inversion option. No need to install a separate package anymore
[Samsung Infuse 4G] foundsoul80:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Save the confusion of which gapp to flash and a extra download or upload...
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

New nightly is up, has a new gapp package to go with it. Downloading now, will report back after flashing and short test.
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

I've had a few random reboots, nothing major though. Build is stable aside from a couple of my apps not reinstalling through titanium or the play store. Dark carbon mode is really nice, so the upgrade was worth it :)
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

The reboots became more severe, and are still present in the new nightly, so I've had to return to the last stable version. Does anyone have an idea of what I can do to get rid of them? I'm dirty flashing them over the last release, since a fresh install doesn't allow the play store to function. When I flash them, I add the modem file to the zip and flash it, then the other new package from the 15th, then finish with the latest gapps. I really like the improvements, but I have run out of ideas as to what is causing the issue. 1.5 release runs like a dream, so I must be missing something. Any help is appreciated, and my highest regards to the carbon team for their hard work and awesome ROM.
[Samsung Infuse 4G] andros11:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

It's really strange cause the last build I compiled for me on my box is running perfectly..

so i'm guessing the issues are related to jenkins or maybe they are somehow being built differently

I'll see what I can do about it
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Any help is appreciated. I'm not going to give up though, I'll keep trying until I get it lol
[Samsung Infuse 4G] Connor Baker:
Hey everyone! Just a quick question... Does this ROM have Bionic optimizations?

What are Bionic optimizations?

Also, is this ROM compiled with Google's 4.7 tool chain, or Linaro's 4.7 tool chain?

What is Linaro?

Many thanks for your time,

Connor Baker
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Is it possible that i am borking the zip file when i add the modem.bin file? Since i rely on a different modem to be able to edit my APN (i run on straight talk), do i even need to add the modem file?

Not sure about the tool chain, but it doesn't have the bionic stuff. From what I read in that link, bionic is mainly for low end devices. Since the infuse is basically an S2 skyrocket with a single core processor I don't see why we would need the bionic optimization, though I didn't read the entire wiki, so it is possible that I missed something.
[Samsung Infuse 4G] Connor Baker:
I was wondering mainly about the Bionic stuff becasue it provides a MASSIVE speed boost on my Nexus 4. It's included in almost every ROM now. See this for more of an explanation: http://xdaforums.com/showpost.php?p=37283653&postcount=853

Connor Baker
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Then it may be in there, I haven't seen it mentioned in any documentation though. Only way to know would be to ask a member of Team Carbon. Just curious though, if you are in a Nexus 4, why are you looking at Infuse ROMs?
[Samsung Infuse 4G] Connor Baker:
'Cause my Infuse is still my favorite smartphone. It has a lot of sentimental value, and was my first smartphone. Also, I like Carbon :P

Connor Baker
[Samsung Infuse 4G] InsaneDDay69:
Re: [ROM][JB][4.2.2] CarbonRom » [Infuse4g] [Nightlies]

Lol, I was just curious :) the Infuse is a great phone, and Carbon is a great ROM for it as well.