rom building - Android

Is there an easy way to build a rom such as using a program to do most of the work? like with adb you can use droid explorer to set up and use adb which is far easier than setting it up by yourself.
In essence I guess I'm asking if there's any shortcuts you can take.
Thanks in advance.
Sent from my overclocked EzHero using XDA App

ozydious said:
Is there an easy way to build a rom such as using a program to do most of the work? like with adb you can use droid explorer to set up and use adb which is far easier than setting it up by yourself.
In essence I guess I'm asking if there's any shortcuts you can take.
Thanks in advance.
Sent from my overclocked EzHero using XDA App
Click to expand...
Click to collapse
Well, if you want to take an existing ROM and use that as a base, then dsixda's kitchen (http://forum.xda-developers.com/showpost.php?p=5626292&postcount=1) is really helpful. If you want to start from 'scratch' (source code), then I haven't seen a good solution yet. However, progress is being made on my Android Builder (see sig) and another similar project that has yet to be announced.
There are other tools to help with other things like -
http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1
http://forum.xda-developers.com/showthread.php?t=598026
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=514412
I have yet to use any of these, but they might be useful. There is no dran 'n drop GUI to do this stuff yet, no. And even with these tools, you'll still have a learning curve. It does take some time.

Related

[Tool] Themer's helper

I created a basic tool for swapping icons(Windows/DOS only right now). Real easy to use. You can either double click the .bat file or run it command line. Either way it works for swapping icons in/out of com.htc.resources.apk, framework-res.apk, and SystemUI.apk.
Only gotcha is that it is case sensitive providing the APK name. I'd love to hear feedback if you give it a try. I'll revise this again in a bit after I get some feedback. If there's interest I'll build one that allows XML swaps as well.
Directions.
Copy the apk file to the directory with this script.
Run the script either from command line or windows
Follow the prompts
Just that easy
MrSmith317 said:
I created a basic tool for swapping icons(Windows/DOS only right now). Real easy to use. You can either double click the .bat file or run it command line. Either way it works for swapping icons in/out of com.htc.resources.apk, framework-res.apk, and SystemUI.apk.
Only gotcha is that it is case sensitive providing the APK name. I'd love to hear feedback if you give it a try. I'll revise this again in a bit after I get some feedback. If there's interest I'll build one that allows XML swaps as well.
Directions.
Copy the apk file to the directory with this script.
Run the script either from command line or windows
Follow the prompts
Just that easy
Click to expand...
Click to collapse
Good idea bro
Sent from my ADR6425LVW using xda premium
Okay, you used to be a helpful guy, now you are an enabler!
I was thinking maybe I should learn to theme a bit so I can make everything exactly to my liking but I have already spent way too much time learning all the root stuff and setting up my phone and now I find this post. Ay-ay-ay...
MrSmith317 said:
I created a basic tool for swapping icons(Windows/DOS only right now). Real easy to use. You can either double click the .bat file or run it command line. Either way it works for swapping icons in/out of com.htc.resources.apk, framework-res.apk, and SystemUI.apk.
Only gotcha is that it is case sensitive providing the APK name. I'd love to hear feedback if you give it a try. I'll revise this again in a bit after I get some feedback. If there's interest I'll build one that allows XML swaps as well.
Directions.
Copy the apk file to the directory with this script.
Run the script either from command line or windows
Follow the prompts
Just that easy
Click to expand...
Click to collapse
can't wait to try it.
feralicious said:
Okay, you used to be a helpful guy, now you are an enabler!
I was thinking maybe I should learn to theme a bit so I can make everything exactly to my liking but I have already spent way too much time learning all the root stuff and setting up my phone and now I find this post. Ay-ay-ay...
Click to expand...
Click to collapse
That's the point..enabling us to be nutty with our phones.
Sent from my ADR6425LVW using Tapatalk
thanks for this man
Awesome! Going to try this tonight!
any reason you could think that this wouldn't work for the Tbolt?
rayjr13 said:
any reason you could think that this wouldn't work for the Tbolt?
Click to expand...
Click to collapse
I don't know how the framework is laid out, but in theory it should work for any HTC phone that uses com.htc.resources. Only problem is that some icons may belong in different places. But that part is on the user anyway...
You made xda News with this. Nice work
Sent from my ADR6425LVW using xda premium
That's friggin awesome
Sent from my ADR6425LVW using Tapatalk

(App) Androidsuite 2012 v114 (13/03/2012)

Thought this might help, some users. No guarantees, just wanted to share. Looks like an ODIN tool.
(App) Androidsuite 2012 v114 (13/03/2012)
skimmed thru the link,couldnt really grasp what it was
so can somebody summarize?:
um, is this for devs or programmers? or avg user just go with it
what are the best things that can be done with with suite?
For devs...
Sent from my SAMSUNG-SGH-I717 using XDA
Well I should have given my take on what it was. Yes for devs. And those who wish to have alternate means to load or flash.
Sent from my SAMSUNG-SGH-I717 using xda premium
Best thing its for is decompiling apk files (Android apps) so you can edit and theme them, as well as apk signing. Other features are .dex file decompiling. ADB support for flashing kernels and update.zip's. It also can reboot phones into fastboot mode. I hope that clears up any confusion don't have to be a dev to theme

[Q] Possible way to Root phone via app?

I was over looking the z4root app made a while ago. The app used "rageagainstthecage" to root devices. Now, thats pretty old. So maybe for all the newer devices we can simply replace the "rageagainstthecage" file with something like "ZergRush" and edit the apk's XML files to fit its needs. Would we be able to root devices up to 2.3.5 using this?
Link to z4root: http://forum.xda-developers.com/showthread.php?t=833953
TheGioDoodlesII said:
It is possible, but to do it the traditional way is easier!!! And better!:beer:
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
It may be easier for the designer, but wouldnt downloading an app and hitting a button on it be easier than connecting your device to your comp, downloading SuperOneClick, and running it?
I think it would be about the same, just consumes less time.
Also, thanks for giving me somewhat of help.(telling me it can work)

How To - Load full desktop websites permanently in Chrome for Android Mobile

Hey guys, I wrote an article over on our site that shows a quick walkthrough on how to display full desktop websites permanently on Chrome for Android Mobile so that you don't have to visit the mobile site, then hit "request desktop site" button any more. Considering Chrome is an awesome browser with full sync, and works very well on Jelly Bean, this might be of use to all of you. I know I was sick of having to constantly click the button.
Article: How To – Permanently Have Desktop Mode on Chrome Mobile for Android
Rooted device Instructions:
Copy the chrome-command-line.txt file attached to the post, then paste it into /data/local/ making sure to set the permissions to 755 and to remove the '.txt' file extension.
Flashable .zip, for the lazy:
You should know how to use this by now. Grab the attached ChromeDE.zip provided by XDA user djmcnz and flash away! (Thanks!) You can also drop him a thanks by visiting a post of his later in this thread.
ADB Instructions (for non-rooted devices):
Place the chrome-command-line.txt file in the root directory of your PC and rename it to 'chrome-command-line', then make sure your device is connected to your computer. When connected, issue this command:
Code:
adb push /chrome-command-line /data/local/chrome-command-line
You can also set the path on your computer where the file is located by replacing the first '/chrome-command-line' with the file location.
Cheers! Hopefully we'll see a better implementation of this in the upcoming 4.2 release.
Very useful. Instructions were clear and precise, Nice one!
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
b3ava said:
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
Click to expand...
Click to collapse
Thanks guys, glad I could help. Wish I knew how to make it more stable! It seems that it runs much better on Jelly Bean, but us ICS users are still stuck with it being really slow and buggy
Sent from my GT-N7000 using XDA Premium HD app
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
bunnybash said:
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
Click to expand...
Click to collapse
I'm using solid explorer off of the market (a free file manager) which allows you to set the permissions of a file. In solid explorer, they are set by ticking the correct boxes, whereas in other applications they are typed in by number..
Sent from my GT-N7000 using XDA Premium HD app
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
rockky said:
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
Click to expand...
Click to collapse
You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app[/QUOTE]
rockky said:
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
Don't think it works that way mate. That one was built into Chrome, just enabled by the file.
Sent from my GT-N7000 using XDA Premium HD app
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
zionwolf said:
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
Click to expand...
Click to collapse
Exactly! Glad I could help!
Sent from my Transformer Prime TF201 using XDA Premium HD app
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
djmcnz said:
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
Click to expand...
Click to collapse
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
omac_ranger said:
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
Click to expand...
Click to collapse
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
djmcnz said:
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
Click to expand...
Click to collapse
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
omac_ranger said:
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
does what is says on the tin
well spotted and thanks for posting
djmcnz said:
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
Click to expand...
Click to collapse
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
tony_man said:
well spotted and thanks for posting
Click to expand...
Click to collapse
No problem. Mind dropping a thanks? Waiting at 99 is a huge pain the arse.
omac_ranger said:
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
Click to expand...
Click to collapse
No worries, I can whip one up in a few minutes when I get home.
In the meantime you can have a look at some here: http://djmcnz.batteryboss.org/GNexus/mods/StockLauncher/v4/
If you want to have a play and look at the script. It will need to be different for you of course, least of all because we'll be mounting /data instead.
I'll send you a PM later on once I'm home (I'm in Europe/CET).
PS - 100

[KITCHEN-MOD][HTC]Plug-ins and etc for dsixda's kitchen[UPDATED: 10/7/2012]

So, I've been running this on a personal level for a while now, and figured it's time to share. . .
At any rate, I would like to thank:
dsixda for his Android Kitchen (found here: http://forum.xda-developers.com/showthread.php?t=633246)
Chainfire for SuperSU (found here: http://forum.xda-developers.com/showthread.php?t=1538053)
eLucas for the script his extract-RUU script used on HTC development (found here: http://forum.xda-developers.com/showthread.php?t=1729898)
tommytomatoe for the Android utility (found here: http://forum.xda-developers.com/showthread.php?t=1167623.)
Pof for his nbimg package (found here. . . http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/)
I did nothing fancy here. I wrote a few plug-in scripts to adapt the actions. Everything seems to work fine and has been tested on other environments. . . although all linux-based.
The extract-RUU plug-in takes the full RUU.exe through "the ringer" and places the rom.zip in the original update folder that we are all used to. You'll need Wine to implement. . . sudo apt-get install wine
Adding SuperSU to your rom is done with a plug-in. I didn't separate the detection of Superuser and SuperSU when running option 10, though. The kitchen isn't mine to modify, so you'll have to pay attention to that part as you build.
The HTC Splash Screen creator plug-in will auto-detect the dimensions of your .bmp when running the script. This means you MUST know what they should be for your specific device!!!! I goofed up a few and they made my phone look possessed for that period of time. . . Do yourself a solid, and research it before attempting. Even better. . . report with the specs if not mentioned below!!!
EVO 4G LTE - 720 X 1280 | 24 bit
EVO 4G (OG) - 480 X 800 | 24 bit
INSTRUCTIONS
1. Choose the zip that corresponds to your current setup and download.
2. Unzip the folder
3a. stupid_kitchen version - Drag the folder named "kitchen" to the folder that contains Dsixda's original Android Kitchen
3b. stupid_android-utility version - Drag the folder named "android-utility" to the folder that contains tommytomatoe's original Android Utility
4. Play!!!
Beyond all that, please let me know what you think. . . pointers, etc. Otherwise, I hope everyone enjoys!
UPDATE - 10/7/2012
Reconfigured all mods as plug-ins
Cleaned up some scripting
Added a really lame "signature" the beginning of my plug-ins. . .
UPDATE - 9/29/2012
Added HTC Splash Screen creator plug-in
got a link error.
Link broken
Sent from my PG86100 using Tapatalk 2
Psionfenix said:
got a link error.
Click to expand...
Click to collapse
Flashalot said:
Link broken
Sent from my PG86100 using Tapatalk 2
Click to expand...
Click to collapse
Should be good now. . . sorry about that.
stupidjerkheadface said:
Should be good now. . . sorry about that.
Click to expand...
Click to collapse
Going to use tomorrow
Sent from my PG86100 using Tapatalk 2
stupidjerkheadface said:
tried to get in touch with dsixda but never got a response. .
Click to expand...
Click to collapse
I never got a message because I don't have private messaging enabled...
There's a reason I don't have PM's enabled, but you can either reach me via Twitter (as I mentioned in the Kitchen thread) or through the email address that is in every single kitchen script file -- in the top header that says not to distribute unauthorized copies without the author's permission.
If you want to add a plugin then let me know and I can gladly add it to the kitchen (or you can post the plugin as a separate thread), but please do not distribute alternate copies of my work.
Not a problem. Had no intent to offend as I stated. I sent a friend request... you hate pm's and I hate Twitter... go figure. I really don't know HOW I missed the email address in the scripts, though! Haha, I even went to your project homepage looking for that! Anyways, taking down now.
Sent from my EVO using xda app-developers app
No worries, send me your plugin and/or include it in post #1, and I can add it to the kitchen. I don't mean to hijack this thread
dsixda said:
No worries, send me your plugin and/or include it in post #1, and I can add it to the kitchen. I don't mean to hijack this thread
Click to expand...
Click to collapse
Is this going in the original 1 you made or staying here
Sent from my PG86100 using Tapatalk 2
dsixda said:
No worries, send me your plugin and/or include it in post #1, and I can add it to the kitchen. I don't mean to hijack this thread
Click to expand...
Click to collapse
Haha. well, it really was made for you to do so. I'm going to provide a link a little later of the plugin alone... which is what I should have done in the first place. My sincere apologies for that.
Anyways, stay tuned... I have another in the works, as well.
Sent from my EVO using xda app-developers app
Updated the Kitchen-Mod to include a splash screen creator for HTC devices. It uses Pof's NBIMG package which can be found here. . . http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/
Let me know if there's anything that needs to be changed. . .
Going yo use this again the last one was good for me no bugs going to try the splash screen maker do you have to put in commands like for the screen radius or is it a list
Sent from my HTCEVOV4G using Tapatalk 2
Your .bmp needs to match exactly what your phone's splash screen should be.
On my phone now. Going to update the op later.
Sent from my EVO using xda app-developers app
stupidjerkheadface said:
Your .bmp needs to match exactly what your phone's splash screen should be.
On my phone now. Going to update the op later.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Got it
Sent from my PG86100 using Tapatalk 2
updated the OP with new files
All scripts are plug-ins, now. This is done to preserve the scripting in the kitchen. As an after-thought, this saves a lot of headache in the case of a kitchen update being so different that everything I've done has to be redone.
Enjoy!!!
can someone post or PM everything this does? I would like to know because Ive heard it is good, and might add it later.
Linked to my Android kitchen thread, thanks!
http://forum.xda-developers.com/showpost.php?p=5626351&postcount=5
Wine Alternative
Hi There!
Just a quick one for you, Obviously some people might consider wine as a bit overkill for extracting ruu's, I don't know whether your aware of this little native linux utility https://github.com/kmdm/unruu which does the job nicely and is under 100K rather than a 28MB download,
Anyway Nice Work! :good: Get those kids Hooked!

Categories

Resources