Building your own ROM

Don't know how it worked on Bob's, but it seems that you are not rebooting after chmod a+x ~/bin/repo

You need to

I've never been told to and never had to reboot after downloading and marking executable any script. Ever.
 
I've never been told to and never had to reboot after downloading and marking executable any script. Ever.

Sigh...
JerryScript said:
9) Setup repo (note- you may need to reboot after chmod the repo file, to insure it sticks)
Note- repo is the program that will download the needed files to your computer
Code:
curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo 
chmod a+x ~/bin/repo

I can tell you I've forgotten to reboot and it gave me random errors before
 
I even tried using a different repo file, and nothing. However, I tried Backside, and it also works. Go figure. It seems to be just IHO.

Sent from my LG-VM670 using Tapatalk
 
I even tried using a different repo file, and nothing. However, I tried Backside, and it also works. Go figure. It seems to be just IHO.

Sent from my LG-VM670 using Tapatalk

It is indeed weird that it's working for others, but when I rebooted I always just started clean, and redid the whole thing. But I'm sure if you sync with Bob's it will get you the same results
 
Only init with the one repository you want to track, and, yes, even with the IHO stuff you should use the gingerbread branch. You only really need to sync once unless there are a bunch of changes being committed while you're syncing the first time... and syncing with the CM repo first will leave you with a bunch of junk you don't need, slowing down the build and download process.

You don't need to reboot after chmod

It seems sometimes you have to sometimes you don't I guess.


Sent from my LG-VM670 using Tapatalk
 
I added the ability to install previous versions of the ROM to the BacksideUpdater, as well as the ability to flash a recovery all inside the app.

Once a previous version is selected, all variables are updated with it's details, so all functions will run appropriately.

The flash_recovery binary returns strange messages, but the functionality is there. At this time, I don't know how to verify the installation beyond booting into it, but I'm working on it. ;)

I also removed the dependency on OI File manager, and switched to a generic intent. It's not as customizeable, but it works with most file managers now.

Changes pushed to my github.
 
Last edited:
So, today, it worked. Not sure why, but I'm running the IHO that I just built, and it's working perfect. Thanks again to everyone that contributed to this thread, now the real fun begins!

Sent from my LG-VM670 using Tapatalk
 
So, I've been digging around all the files in IHO, just trying to familiarize myself with the content, when I happened upon the following file:
Code:
frameworks/base/core/res/res/xml/power_profile.xml
So it looks to me like all the battery consumption increment values for drawing the battery graph and determining the remaining battery percentage. I could be wrong, but that's what it looks like. But then I get down to the bottom, and I see this line:
Code:
<!-- This is the battery capacity in mAh -->
<item name="battery.capacity">1000</item>
Now I don't know about the rest of you, but my stock battery is 1500 mAh, not 1000. Is it set to 1000 for a reason, like say, to prevent the battery from draining too low? Or is it just a convenient but inaccurate way to estimate remaining power? Anyone have any insight?
 
Yeah I noticed that too. This would normally be overridden in an overlay but it doesn't seem to be. Probably should check with blarf to see if it was an oversight.
 
Yeah I noticed that too. This would normally be overridden in an overlay but it doesn't seem to be. Probably should check with blarf to see if it was an oversight.

What's an overlay? Actually, if you could name one, I could dig in and figure it out for myself.

Sent from my LG-VM670 using Tapatalk
 
Just curious why nobody builds roms with golauncher? I really like it and can use titanium backup to make it a system app anyway. But just wondered if there was a reason

Sent from my LG-VM670 using Tapatalk
 
Just curious why nobody builds roms with golauncher? I really like it and can use titanium backup to make it a system app anyway. But just wondered if there was a reason

Sent from my LG-VM670 using Tapatalk

Because golauncher is not open source, but ADW is open source. ;)
 
Bummer.. So there's not a way to add a prebuilt apk to /system/app/ in the make process?

Sent from my LG-VM670 using Tapatalk
 
Add to the zip before you flash;)

That gets a little annoying after a while.. lol

Trying to repo sync and keep getting this error. It seems that git REALLY doesn't like me..
Code:
gannon@gannon-HP-G56-Notebook-PC:~/android/system$ repo sync
Fetching projects:  68% (159/233)  fatal: remote error: 
  Could not find Gist android_hardware_msm7k
error: Cannot fetch android_hardware_msm7k
 
Last edited:

Trending Posts

Forum statistics

Threads
956,627
Messages
6,969,230
Members
3,163,590
Latest member
Antoine-Henry