[Q] Help meh! Aroma UD script - Sprint Samsung Galaxy Note II

Can I get some help?? I don't know why this isn't running:
Code:
run_program("/sbin/mount", "/dev/block/mmcblk0p13", "/system", "/data");
if
file_getprop("/tmp/aroma-data/modems.prop","selected.1") == "1"
then
ui_print("@ Flashing stock.modem.LJ1");
show_progress(0.100000,0);
ui_print("Flashing...");
show_progress(0.100000,5);
assert(package_extract_file("AROMA/WINDOW1/stock.modem.LJ1/modem.bin", "/tmp/modem.bin"),
write_raw_image("/tmp/modem.bin", "/dev/block/mmcblk0p9"),
delete("/tmp/modem.bin"));
endif;
This is my shotgunning effort as you can see. I ask perm from all over and flash 2x. It doesn't need to, I just have no idea how to nail it down.
I've gotten loads of help from volunteers in the aroma thread but I don't wish to further annoy them, as they've pretty much held my hand this entire build so far.

Tools.
Not a single reply? That's brutal. Well the code is ALL WRONG.
Here is the answer. I had to immerse myself and force my brain to make sense of the information.
Code:
if file_getprop("/tmp/aroma/modem.prop","selected.1") == "1"
then
ui_print("@ Flashing LJ1");
package_extract_file("Modem/modem LJ1/flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
assert(package_extract_file("Modem/modem LJ1/modem.bin", "/tmp/modem.bin"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p10", "/tmp/modem.bin"),
delete("/tmp/modem.bin"));
delete("/tmp/flash_image");
endif;
It's unfortunate that in ten days this thread got buried and no local help even tried. However it's awesome I got to learn & now have confidence & tools to help me learn even more. Anyway, I'm sure everyone who reads this already seen my second edition finished tool.

Sorry I did aroma for one of my EVO 3d builds and could have helped. Unfortunately with all the stupid repetitive questions about mk4 and updating that could have been answered by a simple Google search this got buried in them.
As you said having to search and learn how to do it yourself gave you a better understanding of aroma itself.
If only the lazy users would do the same these sections would provide a real help for questions that have not been asked dozens of times in dozens of threads throughout the sprint note 2 forum.
Sent from my SPH-L900 using XDA Premium 4 mobile app

&Breathe out........&In...
jlmancuso said:
Sorry I did aroma for one of my EVO 3d builds and could have helped. Unfortunately with all the stupid repetitive questions about mk4 and updating that could have been answered by a simple Google search this got buried in them.
As you said having to search and learn how to do it yourself gave you a better understanding of aroma itself.
If only the lazy users would do the same these sections would provide a real help for questions that have not been asked dozens of times in dozens of threads throughout the sprint note 2 forum.
Sent from my SPH-L900 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No stress just needed to vent. I agree w you though, l-i-n-e-a-r. up-dn-l- r and then its all 3-dementia chaos! = NONSENSE!
lol

Related

Creating roms

Let me disclaimer myself first by saying if I say something that anyone feels warrents flaming, I'd appreciate a short blurb about how what i said has affected you enough to post something unhelpful, as opposed to a drawn out speech that would take more time to write than to just direct me to any helpful links
....... But moving on, I'd like to start getting into the development of different roms and kernels and found slot of stuff around the net but don't feel like using general kernel compiling tuts to try on my phone. And as far as roms go...not much info out there other than some sdk info.....any help appreciated.
Sent from my PC36100 using XDA App

htc clock widget

ok so im trying to figure out how to edit the htc clock widget to open a different clock like desk clock. can this be done?
def's uncommon rom is the only one that i know of that does it. good luck getting him to tell you how. def is one of my favorite dev, i'm not calling him out. all the dev keep there findings to them selves really.
question... how come people don't share there tweeks and hacks anymore?
i remember full threads on reg edits, tweeks, and hacks, that people would share with the world. I actually had threads where i would take requests, and cab them up for people to be able to install easily.
big difference between the WM day to the current droid days.
cody
^be very nice if this were the case. As fully customisable, unique rom, suited to your needs.
Sent from my Droid Incredible using XDA App
i sent a pm to the owner of the rom and i am awaiting a reply back. im not trying to take credit for something i just dont want to have to run beautiful widgets when i spent all the time on making custom flip clocks.
codyppc said:
def's uncommon rom is the only one that i know of that does it. good luck getting him to tell you how. def is one of my favorite dev, i'm not calling him out. all the dev keep there findings to them selves really.
question... how come people don't share there tweeks and hacks anymore?
i remember full threads on reg edits, tweeks, and hacks, that people would share with the world. I actually had threads where i would take requests, and cab them up for people to be able to install easily.
big difference between the WM day to the current droid days.
cody
Click to expand...
Click to collapse
That is a very ****-headed thing to say. I am MORE than willing to help anyone out with reproducing ANY of my mods. I keep nothing secret, and I literally JUST replied to the OP's PM, just before reading your completely asinine comment. My PM box is FULL of questions AND answers with guidance on duplicating mods. Truth be told, I do not POST these modifications and how-to in their own threads for one reason only. I do not have the time to support them.
ok so i can find where the activity is and change it but when i push to the phone nothing changes...
deficitism said:
That is a very ****-headed thing to say. I am MORE than willing to help anyone out with reproducing ANY of my mods. I keep nothing secret, and I literally JUST replied to the OP's PM, just before reading your completely asinine comment. My PM box is FULL of questions AND answers with guidance on duplicating mods. Truth be told, I do not POST these modifications and how-to in their own threads for one reason only. I do not have the time to support them.
Click to expand...
Click to collapse
Def, I was not trying to be a **** head and don't see that my post directed anything negative towards you. I was iust stating that a few years ago, members in the Windows mobile forums shared everything. Infact, there were http://forum.ppcgeeks.com/windows-mobile-hacks-tweaks/ forums just for regedits and hacks. I don't find that on the 2010 Android forums.
I didnt mention the guy who posted a zip file that was able to put the 6 bar signal meter in the task bar. He clearly stated that he pulled it out of your Rom. http://forum.xda-developers.com/showpost.php?p=8758884&postcount=22 Then your reply saying something about you not liking what he did. To me that said the Android developers didn't want the secret out of the bag. It's not just you. I have ran quite a few roms and really liked certain parts, but didn't keep it for the fact that I didn't like other parts. I have searched for ways to get just the good hacks and tweeks, but there just not there.
For the record..... I am sorry Def. I was not saying that your bad for not posting everything you do. I was just trying to say that there's a good chance he will not get the information he seeks. That's just the way Android forums are going these days.
here is a couple thing i would like to add to my roms, but cant find information on them. correct me if i'm wrong, but people just dont share this stuff.
1. 6 bar signal
2. htc clock widget launching vanilla clock
3. app drawer 5 icons wide,
4. battery percentage in battery icon
yes, def's roms have all of these. that is why i run his rom. at least until he bans me from his roms due to this thread.
Sent from my ADR6300 using XDA App
codyppc said:
Def, I was not trying to be a **** head and don't see that my post directed anything negative towards you. I was iust stating that a few years ago, members in the Windows mobile forums shared everything. Infact, there were forums just for regedits and hacks. I don't find that on the 2010 Android forums.
I didnt mention the guy who posted a zip file that was able to put the 6 bar signal meter in the task bar. He clearly stated that he pulled it out of your Rom. Then your reply saying something about you not liking what he did. To me that said the Android developers didn't want the secret out of the bag. It's not just you. I have ran quite a few roms and really liked certain parts, but didn't keep it for the fact that I didn't like other parts. I have searched for ways to get just the good hacks and tweeks, but there just not there.
For the record..... I am sorry Def. I was not saying that your bad for not posting everything you do. I was just trying to say that there's a good chance he will not get the information he seeks. That's just the way Android forums are going these days.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Well I would like to say he got me started and I found where the attribute is for opening world clock and I have changed it to deskclock but I think I'm doing something wrong with the apk tool because when I push it to the phone and launch it still opens world clock but in the files its self it says deskclock. I wish I knew more about the Android language but sadly I don't and I'm going to keep trying.
synisterwolf said:
Well I would like to say he got me started and I found where the attribute is for opening world clock and I have changed it to deskclock but I think I'm doing something wrong with the apk tool because when I push it to the phone and launch it still opens world clock but in the files its self it says deskclock. I wish I knew more about the Android language but sadly I don't and I'm going to keep trying.
Click to expand...
Click to collapse
i am am really glad to see people like def who is trying to help others instead of just posting there roms.
I am 38 years old, married with 4 kids. i have been on the forums for a long time and know what and how they work. i was not trying to start anything, i love helping people and learning. that is why i like the forums.
i have made 2 apps for windows mobile and never thought of charging for them. one of the apps had over 20,000 downloads. my favorite thing to do was help people learn to make there own.
back on topic....
i would really like to have a zip to flash this htc clock mod. it is one of my favorite parts of def's uncommon rom. i dont have the time anymore to learn a lot of coding. at least i don't think so. kind of new to android so i dont know if it's easy or not. flashing zip files is easy. lol.
^ That would be pretty sweet! Wish everything was easy as flashing a zip.
Sent from my ADR6300 using XDA App
KGBxxx said:
^ That would be pretty sweet! Wish everything was easy as flashing a zip.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
i use to cab up rededits for easy installs. i dont know if you know what red edits are or not, but many people wouldnt do them because they were tough. cab files were just like apk for android. zip files are just as easy really. maybe someday.
http://forum.ppcgeeks.com/windows-m...e-regedits-get-em-here-requests-welcomed.html

[Q] need helps

i want to know how do i do to build a kernel for my htc desire, and ov/uc please thx
Try the Q&A section, where this should've been posted. Maybe you shouldn't be cooking kernels when you can't even manage to read forumpolicies
lol everyone learns and i want to learn how to make it just it
Alkan2 said:
lol everyone learns and i want to learn how to make it just it
Click to expand...
Click to collapse
There is a q&a section on this forum, try there. This thread will probably soon be locked down once mods found out about it and most importantly, you won't get any help here.
hello noob!
http://www.youtube.com/watch?v=JmvCpR45LKA&
Someone needs to take that ****e video off YouTube as it's harsh. How are we meant to build a community if people just shoot n00bs down before they know anything??
EddyOS said:
Someone needs to take that ****e video off YouTube as it's harsh. How are we meant to build a community if people just shoot n00bs down before they know anything??
Click to expand...
Click to collapse
Don't wanna b adding too much to this thread but agree 1000 times with this comment...if it wasn't for noob threads I'd still be stuck with stock rubbish
Sent from my HTC Desire using XDA App
This thread -> LOL
bailz2506 said:
Don't wanna b adding too much to this thread but agree 1000 times with this comment...if it wasn't for noob threads I'd still be stuck with stock rubbish
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
I agree noob threads are great, they helped me immensely.. but the android development thread is there for a specific reason and so is the q&a thread
Sent from my HTC Desire using XDA App
I've been noticing the increase of stupid questions for a while but more importantly, I am getting fed up with the aggressive nature of some of the users. So people post in the wrong section, move post with warning, end of.
Also if the ROMS were cross posted to FAQ by default then more people would end up there instead of using the search to find the ROM title and ending up at the DEV thread.
xda is getting a bad rep for their mods and i'm not surprised. . . .
Alkan2 said:
i want to know how do i do to build a kernel for my htc desire, and ov/uc please thx
Click to expand...
Click to collapse
Returning to the original question.
The prerequisites for rolling your own kernel are:
- A linux system
- Terminal Know-how
- A synched GIT (such as the Bravo CM7 branch)
- Patience
That is just for building the stock kernel.
The additional prerequisites for changing stuff:
- A text editor
- A set of OC/UV values (such as Eviolett's)
- Experience in the linux terminal - more than for just compiling the stock kernel.
It doesn't seem like a lot of work - Sync the GIT, chuck in a few values, and build it. In reality, however, there is a stack of other stuff to do. I have a fairly good knowledge of the linux terminal, but still spent a stack more time getting everything ready than I wanted to (hours, in fact).
As motivated as you may be, it ain't a walk in the park, even with a detailed set of instructions. Stuff is going to go wrong, and a lot of the time, problems differ from those prescribed in the instructions.
Having been there, done that (or more accurately, failed to do that), this is just my two cents.
EDIT: Just to clarify, I failed miserably.
Bradshort said:
Also if the ROMS were cross posted to FAQ by default then more people would end up there instead of using the search to find the ROM title and ending up at the DEV thread.
Click to expand...
Click to collapse
Nice idea but look at Robo's "RCMix S v2.0 Evolutionary Sense" thread" it has a separate RCMix Guide/Tutorial/FAQ + 2 irc channels now have a look through the 12000 odd posts in that thread maybe 50% are total spam by people who don't understand how a forum works, fail to do any independent research but expect someone to hold their hand and explain everything slowly to them. I don't condone it but i fully understand the reaction a lot of "dumb" superfluous posts get
This. Simple fact is most people are incredibly lazy and thinking that devs are here to answer their every stupid question.
Terepin said:
This. Simple fact is most people are incredibly lazy and thinking that devs are here to answer their every stupid question.
Click to expand...
Click to collapse
Must agree.. I spent probably 10+ hours researching before I flashed my first ROM..
Sent from my HTC Desire using XDA App
I totally agree with fllash. It looks easy, but it certainly isn't.
Just start with downloading a copy of Ubuntu, version 10.04 and up will do just fine.
Why Ubuntu? Well, if you're only starting out with Linux and the more advanced topics such as compiling your own kernel, you'll need all the help you can get. XDA is a great community with a lot of information to be found, but it sure won't cover all the questions you'll have, so you might want to search trough the Ubuntu forums etc., as they might have more specific answers to your questions. There are also numerous books about starting with Linux, so you might want to check those out as well.
When you got a nice grip on working in Linux and the terminal, it's time to get busy programming!
If you're not a programmer already, you might want to start with Java. (Maybe write a little Android program? That way you'll also learn how Android works)
The Linux kernel is written in C and that might be a bit harsh to start out with. However, if you feel confident enough (or if you have programming skills already), go get yourself a book about programming in C, search some tutorials and start off writing some easy and silly programs, just to get a good grip on the language.
When you feel like you got a good grip on programming in C, feel free to download a kernel which is already compatible with the HTC Desire, one from CM or one from Thalamus (from Oxygen ROM) and take a look at the source code. Try to understand what makes it tick. Please note, that these kenels are for AOSP ROM's only! If you want a HTC Sense compatible kernel, go get the source from HTC which you can find here: http://developer.htc.com
By the time you got this far, it's only a piece of cake to compile and install. (Compiling and installing really isn't the hardest part about all this, so you'll manage to find your way out of this one)
Right now, you're probably thinking: "Is this all necessary? I just want my own kernel.." Well, yeah, it kinda is. You just can't follow a tutorial and end up with a kernel which is going to be great. There are going to be bugs, you're going to have problems, nothing will work from the first try.
Maintaining a kernel is hard work and requires a lot of knowledge in order to do a proper job.
Also, take a look at http://developer.android.com/. Knowing how Android works is kinda a requirement as well (at least, I consider it to be a requirement).
Oh, and for the record, please post in the correct forums next time. There's a Q&A section where you can search for, or ask questions. I understand that this is a dev-related question and you might have figured that the dev section would do fine, but unfortunately, it doesn't.
Okay? Well, happy learning! Don't let other forum members or some tough luck get you down.

[Q] Location Icon remove from Sense 3.0?

Has anyone figured out how to remove the location icon from sense 3.0 based roms?
I decompiled the services.jar and searched for the htccdmastatusbar.smali but its not included there.
I also checked in systemui.apk and found the htccdmastatusbar.smali but was unable to locate line:
Code:
invoke-virtual {v0, v1, v4}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
Here is the thread for REF: http://forum.xda-developers.com/showthread.php?t=780324 NOTE: This thread is froyo based mods not GB.
If anyone has any info on this please share and thank you in advanced.
Regards
+ 1
I have been searching everywhere for how to do this.
I have an evo 3d and this is one of the only threads I could find about it on sense 3.0
From what I have read it is in services.jar what Smali to edit and what edits to make are what I am trying to figure out.
There are a few guys that have done it but with no real explanation of how.
I guess my next step is to pm one of the devs and ask directly because comparing files isn't giving me what I need.
+1 on this, I would LOVE it if this icon could be hidden.
Couldn't you just do it by way of theming and create a crystal clear .PNG that shows up instead of the location thingy? Its always at the very end of the icons up there anyways, might as well just trick the phone into thinking it's displaying something.
I think I read somewhere jermaine had accidentally done it and was figuring out how he did it. There's a thread in the development section.
Sent from my ADR6300 using XDA App
pwned3 said:
I think I read somewhere jermaine had accidentally done it and was figuring out how he did it. There's a thread in the development section.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Correct, he did figure it out, and twenty minutes later I was able to figure it out. I actually asked him to review what I'd found, crazy coincidence there. There's a couple of ways to do it, here's the way I did it.
Link

[Q] How to port WIMAX??

I've searched and searched and searched and can't find this info. anywhere. I found lots of post where people say they have fixed wimax in their ports, but of course they never share how. I assume that all the dev help was done in PM. All the PMing of dev info. around here makes it very hard to search for help or "how tos" on issues. I'm hoping that someone will be willing to take the time to help me out here.
I've been working on a Speedy port. I know it's old software at this point, but since this is my first port, I figured I'd start out with something easier than 3.5.
Because Speedy is a Sprint phone and naturally has 4g capability, I assume that all the needed files are already in there. I further assume that I must just need to edit the correct file/files in order to get it to work on an EVO. Just for ****es and giggles I've replaced all the Speedy wimax files with Supersonic wimax files, but still a no go.
These are all the files I've switched out so far:
From system/bin:
dhcpcd
sequansd
setWiMAXPropDaemond
getWiMaxPropDeamond
wimax_mtd
wimax_uart
wimaxAddRoute
wimaxConfigInterface
wimaxDhcpRelease
wimaxDhcpRenew
wimaxDumpKmsg
wimaxDumpLastKmsg
wimaxDumpLogcat
from system/etc:
the entire "wimax" directory
from system/lib/modules:
sequans_sdio.ko
wimaxdbg.ko
wimaxuart.ko
I think that's all of them. I read somewhere that it involves changing some code in a few files, but of course, again, they didn't mention which files to look at to make these changes.
Can anyone tell me where I should be looking? I've done lots and lots of comparisons on different files between my ROM and a couple other ROMs that have wimax working, but I'm just missing it somewhere.
I don't think I need someone to explain it detail, I just need someone to tell me where exactly I should be looking.
Many thanks in advance for anyone will to help me out on this.
Alot more to it then the files. Alot of its hardcoded into framework and jar files. If it was easy enough it would be done. A few of us have been trying to get into 3.5 but no luck has really been made yet. In time we will figure it out.
Sent from my PC36100 using xda premium
Yes, I realize that it's a lot more than just replacing files. I only mentioned that because I assumed somebody was going to mention those files. I could also list everything else I've looked into, but I figured I probably wouldn't get any help anyway so why bother.
I'm not a noob to this. As I stated I'm working on a speedy port in which most everything works except for 4g. That in and of itself should be enough to show that I would at least realize it's not going to be as easy as replacing files. I've had to open things like framework.jar many times and mess with smalis and what not. This why I didn't ask for a detailed explanantion but more of a where should I start looking.
As stated, I'm not using Sense 3.5 at the moment, but Sense 2.1. There are many 2.1 ROMs with working 4g, so the answer has already been discovered. It's not in any public forums or anything that I can find.
If I need to post a link to my ROM here so that someone will take me seriously, I'd be more than happy to.
Sorry I wasted your time then by answering your question.
Sent from my PC36100 using xda premium
dropzeroc said:
Sorry I wasted your time then by answering your question.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
What is with all these people getting pissy when people answer questions? You asked. You got answer. No need to try and artfully flame someone.
Boo
If you're talking to me, there was nothing remotely close to an answer to be found in his reply.
WIMAX incorporation
Couldnt this be done by downloading the source from HTCDEV and just porting over the wimax driver?

Categories

Resources