[Q] Creating A Custom ROM? - Samsung Infuse 4G

I heard its fairly easy to customize a stock ROM with little to no coding (I don't know anything but visual basic). Even though i have heard this i have no idea on how to do it. Could someone point me to instructions or explain to me how its done? Youtube has not helped be either. The ROM would be based off of the Infuse 4G Stock (at least for my first one).

noahk11 said:
I heard its fairly easy to customize a stock ROM with little to no coding (I don't know anything but visual basic). Even though i have heard this i have no idea on how to do it. Could someone point me to instructions or explain to me how its done? Youtube has not helped be either. The ROM would be based off of the Infuse 4G Stock (at least for my first one).
Click to expand...
Click to collapse
depends on what you need to do, porting from device to device may need some coding (unless it is from a galaxy s to an infuse or other similar devices where you can swap samsung libs) app editing is java and can sometimes be done with smali/baksmali or apk tool but you can still theme with nothing but an archive type program (7zip or similar) also you can move apps around or delete bloat. there are different ways to go about it certain things.
the best way i think is to setup adb with the phone functional. then you can root and adb into the phone and pull apps, theme/edit and then push the apps back to the phone. this makes it much easier to find problems and debug since ther eis no flashing and you do changes one at a time. you could also ssh into the phone over wifi.
do you just want to do this for personal use or share what you have done? cwm packages will need some scripting skills and you will possibly have to make new simlinks and fix permissions.
basically the perminant apps are all in /system/app. the framework apps are in /system/framework
/system/app/systemUI.apk is the app responsible for the notification bar and most of the other themeing is in /system/framework/framework-res.apk and /system/framework/twframework-res.apk all i can say is google around and if you see something you want to do look for a tutorial on the subject.

Dani897 said:
depends on what you need to do, porting from device to device may need some coding (unless it is from a galaxy s to an infuse or other similar devices where you can swap samsung libs) app editing is java and can sometimes be done with smali/baksmali or apk tool but you can still theme with nothing but an archive type program (7zip or similar) also you can move apps around or delete bloat. there are different ways to go about it certain things.
the best way i think is to setup adb with the phone functional. then you can root and adb into the phone and pull apps, theme/edit and then push the apps back to the phone. this makes it much easier to find problems and debug since ther eis no flashing and you do changes one at a time. you could also ssh into the phone over wifi.
do you just want to do this for personal use or share what you have done? cwm packages will need some scripting skills and you will possibly have to make new simlinks and fix permissions.
basically the perminant apps are all in /system/app. the framework apps are in /system/framework
/system/app/systemUI.apk is the app responsible for the notification bar and most of the other themeing is in /system/framework/framework-res.apk and /system/framework/twframework-res.apk all i can say is google around and if you see something you want to do look for a tutorial on the subject.
Click to expand...
Click to collapse
Id prefer to share what i've done. Id like to go into simple rom development.

Related

[APP] MyDroid - Progress Report

I am working on an application, akin to Droid Explorer, with my own tweaks and such.
Based on the idea of Droid Explorer, My Droid allows you to update your ROM, install/uninstall applications (APKs), take screen shots, view/interact with a screencast, input commands directly into the android command line, edit the file systems, browse files, etc.
UPDATE: It seems that AndoridSpin has changed their website layout for everything, which has caused me to need to rewrite the way I am parsing their page to be able to get the Download links for the ROMs. I will be working on getting this updated within the next few days.
Currently Working:
Install Single APK
Install Multiple APKs (Batch)
Backup (nandroid/nandroid+ext/bart (including backup name for bart)
Rebooting Phone (into recovery, or plain reboot)
Powering off phone
Partially Working/In Progress:
File and Directory Explorer
AndroidSpin Integration
Currently reads the ROM Database RSS Feed. Working on implementingthat data into the application.
Needed to be done:
Uninstalling APKs
Backing Up APKs (might remove due to 'theft' of paid apps)
Installing custom ROMs
The installation of Custom ROMs is going to be the big hurdle. Not because of the steps involved in the process though, thats fairly easy. But, I am going to include updating from the AndroidSpin ROM Database (as you can see in the menus). That will parse the RSS and Summary feeds of the ROM Datbase, and you can pick/choose the ROM of your liking. It will download it, and do the installation for you, including wiping the appropriate partitions and such.
As I progress further into development, I will also include things such as "screencast", to control your phone completely from the computer, as well as screenshots, debugging, etc.
I am hoping for an initial 'pre-pre-alpha' release shortly
Download: Not Yet Available
Any questions/comments/ideas/etc would be greatly appreciated!
Pre-requisites for installing?
Will there need to be anything installed prior to this package? Will this be a seamless process from download to altering system files? I have had issues with Droid Explorer and Windows Vista, and i could never get adb to work right.
It would be very nice to have an app like this while keeping it simple. For the people who cant figure out multiple installations/drivers and such.
This would (does) require that ADB be installed (with the correct drivers) for your system. ADB should also be in your %PATH% so that the application can utilize it. I will also add an option to specify the path for ADB so that you do not have to put it into your %PATH%
Looks great! If you'd like any help testing, I'd be glad to help.
Also, keep the ability to backup. If some users choose to use it for the wrong reasons, then that's a problem with their own morality. For the rest of us, constantly cooking roms and playing with new builds, being able to easily backup and restore all of our apps is a god-send.
It's nice to have a tool that does everything you need, not just some
Again, looks great so far
Hopefully yours will work with Vista 64bit. I have adb installed and working but Droid Explorer still doesnt work currently.
Joe333x said:
Hopefully yours will work with Vista 64bit. I have adb installed and working but Droid Explorer still doesnt work currently.
Click to expand...
Click to collapse
I do not have a 64 bit machine to test this on, but seeing as it is being written strictly in .Net, and not using any 3rd party libraries, I do not see why it should be an issue.
If anyone knows of any complications that the .Net framework has with any certain functions on a 64 bit system, let me know, so I can attempt to program in appropriate work-arounds for the 64 bit crowd.
[email protected] said:
I have had issues with Droid Explorer and Windows Vista, and i could never get adb to work right.
Click to expand...
Click to collapse
I had these issues as well. My ADB was working just fine in Vista, then I installed Droid Explorer and ADB stopped working, it stopped recognizing that my device was there. Yet, ADB works just fine in my laptop.
It looks interesting I'm waiting for download link
jmhecker said:
I am working on an application, akin to Droid Explorer, with my own tweaks and such.
Features:
snip snip
Backing Up APKs (might remove due to 'theft' of paid apps)
Click to expand...
Click to collapse
if you disable this feature...people will just find another way to steal paid apps(its not the hardest task).... just sayin
i say you keep it
PanPiotr said:
It looks interesting I'm waiting for download link
Click to expand...
Click to collapse
That might be a while. I have a long way to go to even consider an alpha release, heh.
jamezelle said:
if you disable this feature...people will just find another way to steal paid apps(its not the hardest task).... just sayin
i say you keep it
Click to expand...
Click to collapse
Okay, y'all twisted my arm, I'll add that feature
Hmmm looks pretty promising, wouldnt mind tryin it, n am I the only 1 who thinks this is the wrong section? This should be in the Apps section
i also thought creating such app, i wanted to start working at it these days but it seems someone else already doing it, keep the good works, cheers
AsaSpades said:
Hmmm looks pretty promising, wouldnt mind tryin it, n am I the only 1 who thinks this is the wrong section? This should be in the Apps section
Click to expand...
Click to collapse
No you're not only one, I'm also think this is wrong section.
Just a quick update:
Progress is coming along nicely. A lot of features are implemented as of now, but not enough to constitute an alpha or beta release.
What I am currently working on is the parsing of the AndroidSpin database (using their RSS feed). That progress is coming along great, just a few hiccups.
Any other feature requests besides what I have listed in the OP?
And for those complaining that this is in the wrong section, please clarify as to where you think it should be, so I can be sure that future posts go to there.
Okay, time is coming close for a Beta.
I have finished the AndroidSpin RSS portion. I have successfully used my application to browse the ROMs (categorized by phone) from the AndroidSpin RSS feed, selected a rom, downloaded it, copied it to the SD card, rebooted into recovery, performed a nandroid and bart backup, wiped all 3 items(system/dalvik/ext), installed the new ROM, and rebooted, without ever having to touch my phone.
I need to do some code cleanup in that area to streamline the process, but at least I know it works
After I streamline the ROM upgrade process, I am going to work on getting things like screenshots, screencasting, etc, working as they should. Nothing really difficult with any of that, but just time consuming to get it all pieced together properly.
I am hoping for a beta release sometime soon.
any progress?
looks good.. now will this be open source?

What's the most straightforward means to remove the bloat?

In the developer forum for the Sensation I see a bazillion different threads for temporarily rooting the phone and getting rid of bloat, but none of it is permenant. I never had a problem simply deleting .apks through ADB to remove the lesser amount of bloat that was on my Nexus One and I'm assuming the process wouldn't be much different here, but I'm not sure what method to use.
Has anyone successfully DELETED the bloatware apps on their Sensation? I don't want to kill stuff like the launcher or the Sense UI, but I'd like to remove all the T-Mobile garbage (minus the Wifi calling), the games, the extra HTC stuff, and the social networking apps.
I tried searching throughout the Sensation forums and didn't really find any concise threads, but if this specific topic has been covered, feel free to point me in the right direction and close this thread.
If you actually read anything over there you would know that you can't delete anything with temp root. You can only disable the bloat (known as "freezing" with Titanium Backup). Use the adb commands to disable the packages you want or use the Viper tool to disable a ton of bloat easily.
the bloatware cant really be removed till full root is achieved
And now that perm root has been achieved...
...delete the apk files from the system/app directory to get rid of bloat.
doesnt work that way. you can royally screw your phone doing so. please do research before moving forward.
http://forum.xda-developers.com/showthread.php?t=1167420
&
http://forum.xda-developers.com/showthread.php?t=1162116
RiverCity.45 said:
...delete the apk files from the system/app directory to get rid of bloat.
Click to expand...
Click to collapse
If anything, I just rename files I don't want anymore. eg - system.apk = system.apk1
They don't run and don't show up in the apps anymore and if it messes something up, I can just rename them back.

[Q] Evo Shift Remove Bloatware on 2.3.3?

I am brand new to the Android stuff and the learning curve is rather large. I am pretty well versed in modding iPhones and RIM devices. From what I have read thus far and am trying to confrim.
2.3.3 Just recently has been temp rooted on this device?
Temp or Full rooting is required to remove the bloatware crap?
SDK is installed and ADB is working. I followed the temp rooting method and was able to get SU #.
With that being done is that enough to start removing the junk?
What app should I used to delete the apk's? or should it be done in ADB Shell?
Is there anything that I should backup while I'm at this?
ounvme said:
I am brand new to the Android stuff and the learning curve is rather large. I am pretty well versed in modding iPhones and RIM devices. From what I have read thus far and am trying to confrim.
2.3.3 Just recently has been temp rooted on this device?
Temp or Full rooting is required to remove the bloatware crap?
SDK is installed and ADB is working. I followed the temp rooting method and was able to get SU #.
With that being done is that enough to start removing the junk?
What app should I used to delete the apk's? or should it be done in ADB Shell?
Is there anything that I should backup while I'm at this?
Click to expand...
Click to collapse
You can delete the apk's in system/app
I normally use the Root Explorer app, but you can use adb shell as well
just cd into /system/app and do rm Twitter.apk for example
Root will disappear on reboot, and the bloatware will return unfortunately =/
Stuke00 said:
You can delete the apk's in system/app
I normally use the Root Explorer app, but you can use adb shell as well
just cd into /system/app and do rm Twitter.apk for example
Root will disappear on reboot, and the bloatware will return unfortunately =/
Click to expand...
Click to collapse
Thank you for the reply. I will wait for a more permanent solution. Are the apps reinstalled on reboot or are they never truely removed? It's annoying to have programs forced on a device that I paid for. If I didn't install it then I dont want or use it. I'm a big fan of simple and clean. I am sure something will be out soon to allow this. Thanks again!!!
This reminds me of buying a laptop that has all kinds of junk on it and looking for drivers to make it work with a clean install.....Such a pain in the ass.
ounvme said:
Thank you for the reply. I will wait for a more permanent solution. Are the apps reinstalled on reboot or are they never truely removed? It's annoying to have programs forced on a device that I paid for. If I didn't install it then I dont want or use it. I'm a big fan of simple and clean. I am sure something will be out soon to allow this. Thanks again!!!
This reminds me of buying a laptop that has all kinds of junk on it and looking for drivers to make it work with a clean install.....Such a pain in the ass.
Click to expand...
Click to collapse
I tried it with the temp root, I didn't even have to reboot before the apps reappeared. :S We gotta wait for either permanent root or S-OFF (not really too different in this case I think) to remove the apps, and by that time we can just go and install a custom ROM with the apps removed already.
I'm looking forward to permanent root at the moment, this being my first Android phone. And with recent developments, like the temp root and Revolutionary being tested on the Shift, I'd say the future looks good. So keep an eye out.
Racer_X_NFS said:
I tried it with the temp root, I didn't even have to reboot before the apps reappeared. :S We gotta wait for either permanent root or S-OFF (not really too different in this case I think) to remove the apps, and by that time we can just go and install a custom ROM with the apps removed already.
I'm looking forward to permanent root at the moment, this being my first Android phone. And with recent developments, like the temp root and Revolutionary being tested on the Shift, I'd say the future looks good. So keep an eye out.
Click to expand...
Click to collapse
lol that sucks. Yeah... need to get S-OFF!
I am gaining much interest in the custom rom idea. I however have the time and the drive to want to read up and learn to do it myself. If full device customization is available I would like to be able to do so.
I have done some reading here and some google searching but is there any 1 place where I can find full info on cooking my own rom?
The main things that I want to change is disable the side button to not control ringer volume. Add native volume control for all audible things. Remove bloatware and add certin apps.
I know there are apps to control all of this, but if its possible to have it funcion at the system level...why not learn how to do it. Things like this are fun to me and I like mind challenging tasks.
Like I stated I have the time I just need to be schooled where the proper most current place to start is.
Obviously this will just be practice and learning until a full root/backup is available.
Thanks

[Q] Disabling camera(s) in Android via file deletion

I'm a father of three now...a new baby girl, a 7 yo boy, and an 8 yo girl going on 14. Now that my upgrade time has come for my phone i'm figuring out exactly what i want to do with my Droid Eris. I'm pretty sure i'll be running the wifi only script to turn off the cell radio, but i'm also interested in disabling the camera on it.
i'm not familiar with the interworkings of android but i was good enough to do the early days root working with adb and the sdk. of course, that was all step by step, without much understanding what every command did. i won't necessarily need a step by step for this - i'm sure i can find the commands i need, but if it's right off the top of your head i'd appreciate them.
i'm looking for which files i can either delete or rename to disable the camera(s), most likely force closing any camera app that may be opened. i'll be removing the stock app (i can search xda/wiki/google on how to simply remove an app...easy) but i need to know what files are used to access camera functions for the OS.
If the files are specific for the phone, please let me know so i don't attempt it on anything else, but if they're for the android OS that would be ideal - so i can use it on whatever device i give my kids (AndyPad, android phones, other tablets). thanks everyone in advance.

Development question

Hi,
I am slowly getting through the basics of apk decompiling, Editing, Debugging & recompiling.
Using tools like Apk Tool, Winrar, Notepad++ Winmerge, Adb .
First time I have touched an android or even done any kind of stuff like this was Early August 2012. So not long at all, Someone might even remember I asked what should I do with my phone after I root it,, haha previous Iphone user.Thank God I changed! I have definately seen the light! Anyways now i have a question to the more experienced Devs. Eg; Lets just say I dont want increasing ringtone How do you pin point where in the apk to start editing i mean there are heaps of files its like looking for a needle in a haystack. One way I came close and pin pointed it is using a previous made mod and then used Winmerge to compare the differences, Problem is the differences in these to Apks is not just the Increasing ringtone, so when I winmerged them it picked out out the other differences Now this deffinatley narrowed it down. I have a feeling it has something to do with the Callnotifier.xml is this the only Xml?
Also Lets just say you dont have another apk to compare it to , how to you find out this stuff..
Another thing is I want to cook up a rom, but the way I want to do it is modding my own rom untill I am happy with it and then creating something like a nandroid without my personal data. then making it flashable for people. What tools is best used for this? I was thinking editing my nandroid and adding it to a cwm flash. but I think there is an easier way.
PS: You can have a look at my signature for my current device i am using
Thanks for you help

Categories

Resources