G1 ROM build server - G1 Android Development

I want to keep the g1 alive, so here's something I'm offering to the community.
I have set up a server dedicated to g1/magic rom and kernel development. It is rather low spec and not the best machine for this, but it's better than nothing and will be upgraded as I get more money and if I get a reasonable amount of users.
if you want to use this, just send me a pm with the following info:
- desired username
- password you want
- project you want to work on
After I receive a pm, I'll set up your account and tell you what server and port to connect to via SSH. You can pull your files of via scp, sftp, and (once I set it up) http
Specs:
Operating system - debian Sid
Pentium 4 - 2.8 ghz, HyperThreading enabled
1gb ram, 6g swap (another gb of ram will be added later)
Hard drives are formatted with ext4 (keeping it simple this time..)
Drive 1 - 80gb (for now)
build stats (from the old box. should be similar. will update later):
Cm7:
Clean build: - 2-3 hours (haven't really timed)
Rebuild - 8-20 minutes, depending on how many changes
Cm9:
Clean build - start at night, check in the morning. a long time
rebuild - around 20 minutes

More info on how the build server will work:
For devs:
-anyone can use it, just send me a pm.
-it is dedicated to building g1 roms, but during downtime i am okay with people using it for other small projects.
-there will be no bandwidth or storage limits (besides the physical 300 + 230 gb limit of my harddrives) unless I'm forced to set them
-no guaranteed uptime. it'll probably be okay, but i like to experiment, so no promises.
-I'll announce here anything about downtime (and try to give an hour or two warning)
-I'm obsessed with security, but that shouldn't matter here (you don't have anything to hide, right?) through the use of simple unix permissions, your work will only be able to be accessed by you (and root obviously, but no one but me has root access)
for regular users with no interest in development:
once there are enough people using this, i will post a link here to a website where you can download users work. still figuring out how I want to implement this. I'm a nerd, i want it fancy and nerdy.
current users:
previous users:
me
dfang123 (idk his xda username.. should know it)
arnold (xda username? Idk..)
Cole2kb
Austrie

Server status: getting set up again

well... there seems to be no interest for this. ~24 hours and i am giving up on the idea.

oh that's too bad I wish the dream would stay a little more active for longer

tvall said:
Server status: online.
any other users? come on guys..
Click to expand...
Click to collapse
Do not get discouraged...!!will continue online?

ROCKO1234 said:
Do not get discouraged...!!will continue online?
Click to expand...
Click to collapse
its still up, but no one is really using it yet. i also havent figured out what its next job will be.. so untill i get users, or think of something else to do, its still online

tvall said:
its still up, but no one is really using it yet. i also havent figured out what its next job will be.. so untill i get users, or think of something else to do, its still online
Click to expand...
Click to collapse
and has not said anything of his work ics..
I'm bad to develop u___u,

raydar670 said:
oh that's too bad I wish the dream would stay a little more active for longer
Click to expand...
Click to collapse
Lol, just because people don't want/need to use a build server does not mean that the HTC Dream is dead LOL.
I think this is a great idea, but I already have a development computer

Infinimint said:
Lol, just because people don't want/need to use a build server does not mean that the HTC Dream is dead LOL.
I think this is a great idea, but I already have a development computer
Click to expand...
Click to collapse
i guess ill keep it ready for a while then

No one in the g1 section seems interested... but I got a user wanting to develop for the LG optimus v! So I guess there is interest in something like this.

well... someone decided it would be a good idea to randomly pull the power cord while the box is running. btrfs doesnt handle sudden reboots too well... well now the box has been wiped and reinstalled. you should re sync your repos and go back to normal life. (todays project= off-site backups [this was also my backup server..])

Well if anyone cares, completed a minor hardware update to the box today.
A few days ago I switched from ext4 to btrfs (yes, I know, I'm insane). Today I added a 230gb hdd to the btrfs pool.
Btrfs is currently set up to mirror metadata and stripe data (raid1 metadata, raid0 data). So now we have a "fast" "530gb" hard drive.
(For those of you who don't know, btrfs is a new filesystem with cool features like snapshots, checksumming, raid, subvolumes, compression... etcetera. Its great, but not considered "stable" yet [but the fedora distro is seriously considering making it default. And the Ubuntu installer makes use of all the cool features out of the box if you select it. Debian.. supports it]. I haven't had issues with it that weren't caused my my stupidity yet)
Also changed the hostname ("debian" is boring, it is now Athena)
Small note: my girlfriend told me I'm not allowed on my computers tomorrow. So.. I won't be making any changes, building anything, or rebooting the box. But if it goes down on its own, I won't be on to fix it.

Another random piece of info: I have 3 Pentium 4 computers all kept in the same spot (they are my only computers...). I compiled the Linux 3.3.4-ck1 kernel on all of them with the same config. This box is fastest.

tvall said:
Small note: my girlfriend told me I'm not allowed on my computers tomorrow. So.. I won't be making any changes, building anything, or rebooting the box. But if it goes down on its own, I won't be on to fix it.
Click to expand...
Click to collapse
tell her she cant dress up or go shopping or w/e shes passionate about then! xD

Shano56 said:
tell her she cant dress up or go shopping or w/e shes passionate about then! xD
Click to expand...
Click to collapse
Well... I'd like to not piss her off. She kinda has a lot of say in some of the activities I really enjoy doing. One day of going to the park or something to keep her happy is definitely worth it
And I like her photography, not going to tell her to stop that

tvall said:
Well... I'd like to not piss her off. She kinda has a lot of say in some of the activities I really enjoy doing. One day of going to the park or something to keep her happy is definitely worth it
Click to expand...
Click to collapse
Happy wife (girlfriend), happy life.
Sent from my HTC PH39100 using Tapatalk 2

I just put a few missing parts in my other p4 box. Should I set it up as a second, separate server, or should I try to set up a cluster? (If I go cluster, that's 3 p4 cores between 2.8 and 3.2 ghz w/ ht and a total of 7.5gb ram [I'd use all 3 boxes I have])
Anyone have experience with clusters?
Also, I'm currently using a Linksys e2000 router. But there are no more open Ethernet ports... anyone know of a reliable wifi router with more than 4 LAN ports, wifi n, and supported by openwrt or tomato? Or should I just take the jump up to a switch an firewall with a wifi router behind it?

tvall said:
I just put a few missing parts in my other p4 box. Should I set it up as a second, separate server, or should I try to set up a cluster? (If I go cluster, that's 3 p4 cores between 2.8 and 3.2 ghz w/ ht and a total of 7.5gb ram [I'd use all 3 boxes I have])
Anyone have experience with clusters?
Click to expand...
Click to collapse
A cluster would be pretty cool and would make for much faster build times, but I myself have never made a cluster nor do I have any experience with making them. However, it looks as if these could be of some help:
http://www.mcsr.olemiss.edu/bookshelf/articles/how_to_build_a_cluster.html
http://byobu.info/wiki/Building_a_simple_Beowulf_Like_Cluster_with_Ubuntu
http://source.android.com/source/downloading.html#using-a-local-mirror

Infinimint said:
A cluster would be pretty cool and would make for much faster build times, but I myself have never made a cluster nor do I have any experience with making them. However, it looks as if these could be of some help:
http://www.mcsr.olemiss.edu/bookshelf/articles/how_to_build_a_cluster.html
http://byobu.info/wiki/Building_a_simple_Beowulf_Like_Cluster_with_Ubuntu
http://source.android.com/source/downloading.html#using-a-local-mirror
Click to expand...
Click to collapse
started working on this today
i can run a helloworld on all 3 boxes i have and get a response from all three. can also run hostname on all 3 and get each hostname back. now i just have to set it up to build android!

Related

HTC/Sapphire Exchange Mail Application

Is it possible to port the Mail/Exchange.apk that's on the "Magic" to the G1?
Not a developer so don't know figured i'd ask
thanks
saul972 said:
Is it possible to port the Mail/Exchange.apk that's on the "Magic" to the G1?
Not a developer so don't know figured i'd ask
thanks
Click to expand...
Click to collapse
It's "possible" but the answer is more detailed then that. Do some research on Android packaging. I good start is by looking what JF has accomplished. If this is too much for you than I suggest you sit back silently and let the hackers play.
Has anyone looked into this at all?
Here's an idiea, run a Haykuro build.
CBowley said:
Here's an idiea, run a Haykuro build.
Click to expand...
Click to collapse
Maybe I would rather run my current JF build instead of go up to the Magic build?
I have tried Haykuro's builds and enjoy them, but there are still some bugs out there and I honestly don't really feel like messing with them.
I was just wondering if anyone has looked into this at all.
That's fun, but I find the bugs in 5.0G to be very minimum
CBowley said:
That's fun, but I find the bugs in 5.0G to be very minimum
Click to expand...
Click to collapse
5.0G doesn't have HTC's Exchange does it?
No, G builds do not have Exchange Sync
CBowley said:
That's fun, but I find the bugs in 5.0G to be very minimum
Click to expand...
Click to collapse
ghoonk said:
No, G builds do not have Exchange Sync
Click to expand...
Click to collapse
Owned! Also, I agree that having the Exchange Sync ported to at least the G builds would be AWESOME. Then again, it'd also probably be fairly difficult since it seems to be built into the system since it shows up under the main settings menu. Would probably require haykuro himself to actually pull this one off.
No g does not, I am sorry for the confusion, but h is also not bad enough where you couldn't use it on a normal basis, as I used it for a couple days as my main device...
I agree. H is stable. I just don't want to commit all the time to redoing the phone just to have cupcake come out on Tmo and me prefer that and have to do the whole process over again.
Other than exchange, there isn't enough on the H and G builds to make it worth flashing for me. That's why I would love to be able to install the exchange support as stand alone.
Minker17 said:
Other than exchange, there isn't enough on the H and G builds to make it worth flashing for me. That's why I would love to be able to install the exchange support as stand alone.
Click to expand...
Click to collapse
Are you joking? There's loads of good reasons to move to the H build over the standard JF build.
Virtual Keyboard throughout
Proper cut/paste
Better battery life
Faster overall performance
New widgets (music, calendar)
Camcorder (for those intimate moments )
HTC Dialer (this is much better than the stock Google one)
Better looking throughout
Stereo Bluetooth (omg this is awesome)
These all rock. The exchange support will come I hope. That's really the only major advantage of winmob right now for professionals (Even though winmob is crap).
I'm flashing mine almost daily right now and can get back to full install in about 15 minutes (trust me, i've done it enough times to do it quick). As soon as the exchange app works I'll stop flashing all the time and just flash when there are important bug fixes or the next coolest thing comes along.
Long live android
clarkee said:
Are you joking? There's loads of good reasons to move to the H build over the standard JF build.
Virtual Keyboard throughout
Proper cut/paste
Better battery life
Faster overall performance
New widgets (music, calendar)
Camcorder (for those intimate moments )
HTC Dialer (this is much better than the stock Google one)
Better looking throughout
Stereo Bluetooth (omg this is awesome)
These all rock. The exchange support will come I hope. That's really the only major advantage of winmob right now for professionals (Even though winmob is crap).
I'm flashing mine almost daily right now and can get back to full install in about 15 minutes (trust me, i've done it enough times to do it quick). As soon as the exchange app works I'll stop flashing all the time and just flash when there are important bug fixes or the next coolest thing comes along.
Long live android
Click to expand...
Click to collapse
I agree, Magic is oh so magic. It's basically cupcake, all it needs is flash . Oh and 15 mins? Pff ameature... jk I flash mine almost once a day as well, still can't decide between g and h, plus once in a while I'll jump back to jf for themes, then miss the camcorder, or soft keyboard. Oh boy this device is amazing. Really is a dream..... come true.
clarkee said:
Are you joking? There's loads of good reasons to move to the H build over the standard JF build.
Virtual Keyboard throughout
Proper cut/paste
Better battery life
Faster overall performance
New widgets (music, calendar)
Camcorder (for those intimate moments )
HTC Dialer (this is much better than the stock Google one)
Better looking throughout
Stereo Bluetooth (omg this is awesome)
These all rock. The exchange support will come I hope. That's really the only major advantage of winmob right now for professionals (Even though winmob is crap).
I'm flashing mine almost daily right now and can get back to full install in about 15 minutes (trust me, i've done it enough times to do it quick). As soon as the exchange app works I'll stop flashing all the time and just flash when there are important bug fixes or the next coolest thing comes along.
Long live android
Click to expand...
Click to collapse
this is the truth....
**********
but exchange support does work...
had to set mine up over wifi, but it worked..
clarkee said:
Are you joking? There's loads of good reasons to move to the H build over the standard JF build.
....
I'm flashing mine almost daily right now and can get back to full install in about 15 minutes (trust me, i've done it enough times to do it quick). As soon as the exchange app works I'll stop flashing all the time and just flash when there are important bug fixes or the next coolest thing comes along.
Long live android
Click to expand...
Click to collapse
How do you do that? I need at least half an hour to set-up the whole device [including installing all the programs..]
Or do you have all your programs on SD [and they dont need installing then?]?
Minker17 said:
That's why I would love to be able to install the exchange support as stand alone.
Click to expand...
Click to collapse
It is emminently possible (probable even) that Exchange support requires API support that isn't available in builds prior to Cupcake. I'm not saying that is definitely the case of course, but I really don't see any developer being particularly interested in checking it out in the older builds when there is new stuff to be played with unless they specifically want it themselves. YMMV of course!
Regards,
Dave
How did people do exchange? I tried and get account cant be created. Im not trying to create an account! Is there any trick to it?
froggymike911 said:
How did people do exchange? I tried and get account cant be created. Im not trying to create an account! Is there any trick to it?
Click to expand...
Click to collapse
There was no trick to it when I used it. I kept reading where people were saying it doesn't work, but I tried it anyway...
I had it up and running in just a couple of minutes, no trouble at all. I was connecting to an Exchange 2007 server.
Another option, for now, is to use the Moxier Mail beta. Right now it's free, so until the Magic ROM bugs get worked out (MMS not working for no reason, microphone too sensitive to background noise) I'm using that for my Exchange needs. It works just as flawlessly as the built-in support in the Magic ROM, so far.
I'm currently getting my work email using POP3 access. It works and I get my emails, but I have one gripe. The phone never notifies me when I have email, I have to open HTC Mail and to find out. I have Mail Notifications on, as well as Vibrate and Sound...Anyone having similar issues?
froggymike911 said:
How did people do exchange? I tried and get account cant be created. Im not trying to create an account! Is there any trick to it?
Click to expand...
Click to collapse
I got the same problems as you. I have tried and tried but keep getting authentication errors saying my username and password arent correct but I know they are correct. I think it might be that my employer uses exchange 2003 and maybe the activesync/exchange cant use exchange2003. I dunno though, just a guess.
I will use touchdown in the meantime.

[Announce] Wing Linux 0.3 Released (CAB INSTALL!) (Linux and Android Development)

Project)
The Wing Linux project is happy to announce our 0.3 release! We're geared towards the development of Linux and Android on the T-Mobile Wing, HTC Herald, and HTC Atlas series of phones. This release features a much easier CAB file based installation! Simply install to Windows Mobile and you're good to go! It's also got a bunch of other goodies, like Android 1.5, fully working touchscreen / keyboard, and a better scaled display for QVGA. Previous problems with white screens on boot have been fixed!
The project is being hosted on Sourceforge at:
http://wing-linux.sf.net
The files can be gotten at:
https://sourceforge.net/project/platformdownload.php?group_id=253356
Discussion for this and future releases can be had at:
https://sourceforge.net/forum/?group_id=253356
See these threads for more info about the development leading up to this release:
Google Android for Herald and Tmobile Wing
Installable Linux Image for HTC Herald / T-Mobile Wing (UPDATED: Android Install)
Thanks to all who have helped in debugging, testing, and developing this release!
I have a question about the Virtual RAM. Does it just borrow some from the devices RAM, or does it use some of the space on the storage card as Virtual RAM?
Also does landscape work yet?
Still can't wait for Wifi and GSM! I love Android, but my contract doesn't expire for a while, so this would be awesome if it could be a viable replacement.
apreichner said:
I have a question about the Virtual RAM. Does it just borrow some from the devices RAM, or does it use some of the space on the storage card as Virtual RAM?
Also does landscape work yet?
Still can't wait for Wifi and GSM! I love Android, but my contract doesn't expire for a while, so this would be awesome if it could be a viable replacement.
Click to expand...
Click to collapse
The virtual RAM uses space on the flash card, kinda like a Windows swap file. Landscape does not yet work, but it's on our list.
We'll probably have GSM working before wifi, so keep tuned for the development releases. We're hoping to get things complete enough to be a viable replacement for WM, but we've still got a ways to go.
- d
darkstar62 said:
The virtual RAM uses space on the flash card, kinda like a Windows swap file. Landscape does not yet work, but it's on our list.
We'll probably have GSM working before wifi, so keep tuned for the development releases. We're hoping to get things complete enough to be a viable replacement for WM, but we've still got a ways to go.
- d
Click to expand...
Click to collapse
That's okay, I use GSM more than WiFi. I assume GPRS and EDGE fall into that category? Will they all come together at once, or will we get one before the other? I'm not much of a developer but I'm still trying to learn these things.
Since it's able to do use RAM from a flash card, in theory, couldn't we push our wings to 1gb of RAM on Android? Or is there some sort of limit?
I haven't been able to test it yet because I don't have a large enough flash drive.
What about overclocking? Are there any problems with overclocking through Windows Mobile and then running Android? Or has that not been really tested yet.
apreichner said:
That's okay, I use GSM more than WiFi. I assume GPRS and EDGE fall into that category? Will they all come together at once, or will we get one before the other? I'm not much of a developer but I'm still trying to learn these things.
Since it's able to do use RAM from a flash card, in theory, couldn't we push our wings to 1gb of RAM on Android? Or is there some sort of limit?
I haven't been able to test it yet because I don't have a large enough flash drive.
What about overclocking? Are there any problems with overclocking through Windows Mobile and then running Android? Or has that not been really tested yet.
Click to expand...
Click to collapse
The 64mb of RAM from the phone is still the main RAM. The swap "file" being used to get more RAM isn't very fast, so it doesn't really make it faster, it just gives it the ability to RUN programs without them being closed due to lack of memory.
There would be no point in having that much memory. As it stands, my G1 has never ran out of memory and I use a lot of third part android apps.
As far as overclocking, I would imagine it wouldn't work the normal way, as WM is kicked out when android loads and along with it the CPU controlling driver that controls the CPU speed.
ivanmmj said:
The 64mb of RAM from the phone is still the main RAM. The swap "file" being used to get more RAM isn't very fast, so it doesn't really make it faster, it just gives it the ability to RUN programs without them being closed due to lack of memory.
There would be no point in having that much memory. As it stands, my G1 has never ran out of memory and I use a lot of third part android apps.
As far as overclocking, I would imagine it wouldn't work the normal way, as WM is kicked out when android loads and along with it the CPU controlling driver that controls the CPU speed.
Click to expand...
Click to collapse
Oh so when you run Linux it isn't like a virtual machine running in Windows? It actually takes full control of the CPU and RAM. So it wouldn't make a difference if I used a more RAM/CPU hungry ROM like JustHome rather than JustStable Micro?
What about the SD card, does Android detect the rest of the data on your SD card?
apreichner said:
Oh so when you run Linux it isn't like a virtual machine running in Windows? It actually takes full control of the CPU and RAM. So it wouldn't make a difference if I used a more RAM/CPU hungry ROM like JustHome rather than JustStable Micro?
What about the SD card, does Android detect the rest of the data on your SD card?
Click to expand...
Click to collapse
That's right, Linux takes over completely. We've gotten testing from people running a wide range of ROMs, and nobody has ever had a problem. So, use what you like
As for the SD card, Linux detects and can use the entirety of the card. We haven't set up Android to be able to do that yet, but it shouldn't be hard.
- d
darkstar62 said:
That's right, Linux takes over completely. We've gotten testing from people running a wide range of ROMs, and nobody has ever had a problem. So, use what you like
As for the SD card, Linux detects and can use the entirety of the card. We haven't set up Android to be able to do that yet, but it shouldn't be hard.
- d
Click to expand...
Click to collapse
Just for curiosity sake... I realized that even if GSM worked, you couldn't really make a phone call without Sound/Microphone drivers. Does the Wizard team have anything that might help us here? I tried looking on the Sourceforge but it isn't listed under any Tasks.
apreichner said:
Just for curiosity sake... I realized that even if GSM worked, you couldn't really make a phone call without Sound/Microphone drivers. Does the Wizard team have anything that might help us here? I tried looking on the Sourceforge but it isn't listed under any Tasks.
Click to expand...
Click to collapse
There is currently a sound driver but when it was originally ported to this build, it had a problem building. I'm not sure if darkstar has had time to look at it, again, yet.
Lol it seems like I'm the only one asking questions here. Has there been any testing of this using SDHC cards? Do they work properly? I'd like to get a 4 or 8gb card soon.
apreichner said:
Lol it seems like I'm the only one asking questions here. Has there been any testing of this using SDHC cards? Do they work properly? I'd like to get a 4 or 8gb card soon.
Click to expand...
Click to collapse
Yes, it works fine with my 8GB SDHC. I am not feeling the idea that Android completely takes over my Windows Mobile. It is still too new at this point for me. Still, it's a really great job by the author. I been skimming through the chronicle thread for months and it has come a long way. From having to install Linux to a simple cab must be a lot of work. I hope this will lead somewhere great in the future. Best of luck.
apreichner said:
Lol it seems like I'm the only one asking questions here. Has there been any testing of this using SDHC cards? Do they work properly? I'd like to get a 4 or 8gb card soon.
Click to expand...
Click to collapse
I run all this stuff on a 16gb card, so I'd say no problems at all.
- d
Alright, sounds good, thanks! Can't wait to give it a try!
very good work. Big thx to all the people involved in the deveolpment.
I thougt android would never run on the Herald but you proof me wrong.
Awesome stuff darkstar and ivan! It works very well, and picks up my lcd settings properly (I used to get a ghost image with the earlier kernel). Anyhow, I did notice a bit of flickering in the screen around the top-edge. Not sure what that is.
Quick question: I remember you saying dark, that it takes you almost a day each time to compile the kernel. Would it make a difference if we used a multi-core machine? Perhaps ssh to a very powerful server and build everything there?
Kernel Jag said:
Awesome stuff darkstar and ivan! It works very well, and picks up my lcd settings properly (I used to get a ghost image with the earlier kernel). Anyhow, I did notice a bit of flickering in the screen around the top-edge. Not sure what that is.
Quick question: I remember you saying dark, that it takes you almost a day each time to compile the kernel. Would it make a difference if we used a multi-core machine? Perhaps ssh to a very powerful server and build everything there?
Click to expand...
Click to collapse
A multi-core machine I think could help...not sure how parallelizable the build is. It isn't the kernel that takes that long, it's the whole Android/Angstrom image. The kernel itself from start to finish takes about 10 minutes. 1 minute for incremental builds.
The server I'm using is a Celeron D 3.33gHz single-core originally designed to be a DVR/home entertainment system. Having a beefier processor would definitely help. Do you have something in mind?
- d
And I haven't done any of the coding. ^_^
It's all darkstar.
darkstar62 said:
A multi-core machine I think could help...not sure how parallelizable the build is. It isn't the kernel that takes that long, it's the whole Android/Angstrom image. The kernel itself from start to finish takes about 10 minutes. 1 minute for incremental builds.
The server I'm using is a Celeron D 3.33gHz single-core originally designed to be a DVR/home entertainment system. Having a beefier processor would definitely help. Do you have something in mind?
- d
Click to expand...
Click to collapse
I'm not sure if I could be of any help... I have some experience with Linux, unfortunately none with rebuilding kernels. My computers a Intel Core2Quad 2.5ghz 4gb RAM.
PM me if you want, I might need a crash course in it first though
apreichner said:
I'm not sure if I could be of any help... I have some experience with Linux, unfortunately none with rebuilding kernels. My computers a Intel Core2Quad 2.5ghz 4gb RAM.
PM me if you want, I might need a crash course in it first though
Click to expand...
Click to collapse
It's not too hard to get into it. The wiki has instructions for downloading and building from source. Haven't tested them though, so you'd be a good guinee pig for that, if you're interested.
- d
darkstar62 said:
It's not too hard to get into it. The wiki has instructions for downloading and building from source. Haven't tested them though, so you'd be a good guinee pig for that, if you're interested.
- d
Click to expand...
Click to collapse
Why not? I'll give it a try. Unfortunately I still have no phone to test it on, so someone else would have to do that. I assume I'll need to install Linux on my PC of course?
Also where on the wiki can I find this? I can't seem to locate the instructions.

Making Hero FASTER project

howdy peeps i have an idea of how maybe we could solve the speed issues with the hero rom but my programming skills have not reached java as of yet, i am learning as we speak, but heres my idea...
im thinking of a program that sits in the background that basically controls the priority of certain programs running on android like rosie.apk.
for instance if the home button is pressed not only is the rosie apk brought to the front but is given more cpu priority over other applications running which in affect should speed up delays. a bit like when you do it in task manager on windows.
i am trying to figure out how to write this with java and the android sdk but wondered what your views are on this and if anyone can actually implement this quicker and better than i will be able to lol
look forward to hearing your views
I'm no programmer but this seems plausible so this would be a program that would prioritize all programs running in the foreground and background or all programs?
dont you think running this program in the background would use up alot of cpu usage also?
even in the background apps of rosie already use up alot of power...this would just take up more space and room and slow stuff down.
if it does get made it would have to be extremely lightweight
good luck
looking forward to what develops
redmdc said:
howdy peeps i have an idea of how maybe we could solve the speed issues with the hero rom but my programming skills have not reached java as of yet, i am learning as we speak, but heres my idea...
im thinking of a program that sits in the background that basically controls the priority of certain programs running on android like rosie.apk.
for instance if the home button is pressed not only is the rosie apk brought to the front but is given more cpu priority over other applications running which in affect should speed up delays. a bit like when you do it in task manager on windows.
i am trying to figure out how to write this with java and the android sdk but wondered what your views are on this and if anyone can actually implement this quicker and better than i will be able to lol
look forward to hearing your views
Click to expand...
Click to collapse
If you can figure out a way to edit the fameworks in /system/framework you'll be fine.
This is called cpgroups - and Cy's ROM and xROM already do this.
The problem with Hero/Mytouch is that the framework is odexed and we have no way to unodex them, edit the files, then remake them.
I love this community. i have confidance that this thread will turn into something good.
im running jaxhero 1.2 and it doesnt lag for me at all. im running compcache with a linux swap
I think this problem is partly due to lack of memory and possibly poor coding.
Hero UI on Dream is slow. Hero UI on Hero is faster, but still not smooth. The extra RAM on the Hero obviously helps since it's the same hardware besides more RAM.
There's a lot of work ahead to get it to run faster. Perhaps work with the NDK instead of the SDK. I assume when an application goes into the background it stops and writes data to memory, the services don't stop. I think to make Hero UI work faster, the code needs to be improved for less memory usage and then optimized more for efficient code. Not a simple task.
I'm not sure if prioritizing tasks will make it faster. It may make it faster to get to Home (once), but once you are there and if you want to start another application it will still need to do what it originally needed to done before it got de-prioritized.
Think of it as cooking, each time you cook something and you want to start something else you can clean up dishes or just leave them in the sink. If you clean up your dishes after each project, you take some time before starting the next one. If you don't clean up the dishes, you can start the new project quickly. However, soon afterward you'll have a sink full of dishes and you can't continue and they need to be cleaned and will take a long time. Thats how I view the problem. Get a bigger sink and more dishes (RAM) or optimize the process so it doesn't use as much dishes or it's quicker to wash them..
Maybe it'll be easily solvable when much fast sd cards are out that we can swap out a lot without slowdowns.
Good luck to anybody who is tackling this.
jad011 said:
im running jaxhero 1.2 and it doesnt lag for me at all. im running compcache with a linux swap
Click to expand...
Click to collapse
compcache is not supported in 1.2
You can remove some of the bloat by reducing the home screen to 5 or even 3 desktops. This should be hex editable, but I don't know enough about HTC ROM to do this.
I also see a lot of improvement in responsiveness of the ROM if I install spare parts from market and turn off window animations as well transition animations. This reduces my battery consumption a lot (passes my overnight standy test: thou shall not use more than 5% battery while on standy overnight for 8 hours) because it seems to be using some sort of graphics hardware accelaration and/or CPU, which makes battery deplete faster.
For my usage, I have been observing the swap usage with swappiness of 30 and I seem to need about 30-35MB most of the time. Now, since this ROM runs slow on Hero also, it seems like the RAM is only a part the problem because Hero does provide more than 35MB RAM on top of Dream. So, the conclusion is that its the inherent bloat in the source code and optimizations which need to be done to reduce the CPU usage. But only HTC can do that.
am i the only one not having any issues w/ the speed? Friend of mine has Cy and im able to keep up with him even though i have 6 big widgets. Only issue is getting in and out of contacts.
imbonez9 said:
am i the only one not having any issues w/ the speed? Friend of mine has Cy and im able to keep up with him even though i have 6 big widgets. Only issue is getting in and out of contacts.
Click to expand...
Click to collapse
YES!
Experienced open source fellow about to chime in here,
Speeding up hero is basically poking around in the dark and hoping that we do the right thing. Unfortunately, because hero (and soon to be raphael and blur as well) are closed source and odexed and whatnot. It's just like windows-vs-linux. At first windows was shinier, but linux eventually caught up because they established a big enough codebase. The problem with hero is that most of it is EXTREMELY hard to "code" or "recode" for the average dev. For this reason the "community" that we have faith in can't do very much, as only one or two people have the knowledge required (not me btw), and they have the sense to promote open source instead of hacking closed source.
Bottom line, and this isn't a flame as much as a lifestyle guide, if you want your phone to be better, and have all the nice hero features, develop for ANDROID. Don't try to hack hero. Dev'ing for android makes things better for EVERYBODY involved.
That's my too sense. As shiny as hero may be....I'm never going to install it.
P.S.
If it explains anything, I'm the kind of person who donates to the FSF. Sorry if that makes me polarized.
[edit]
I apologize for disrupting the purpose of this thread. I'm going to take this to q/a where it belongs. Mostly because I have some questions as to the legality of "hero hacking"
Sorry
sha.goyjo said:
Experienced open source fellow about to chime in here,
Speeding up hero is basically poking around in the dark and hoping that we do the right thing. Unfortunately, because hero (and soon to be raphael and blur as well) are closed source and odexed and whatnot. It's just like windows-vs-linux. At first windows was shinier, but linux eventually caught up because they established a big enough codebase. The problem with hero is that most of it is EXTREMELY hard to "code" or "recode" for the average dev. For this reason the "community" that we have faith in can't do very much, as only one or two people have the knowledge required (not me btw), and they have the sense to promote open source instead of hacking closed source.
Bottom line, and this isn't a flame as much as a lifestyle guide, if you want your phone to be better, and have all the nice hero features, develop for ANDROID. Don't try to hack hero. Dev'ing for android makes things better for EVERYBODY involved.
That's my too sense. As shiny as hero may be....I'm never going to install it.
P.S.
If it explains anything, I'm the kind of person who donates to the FSF. Sorry if that makes me polarized.
[edit]
I apologize for disrupting the purpose of this thread. I'm going to take this to q/a where it belongs. Mostly because I have some questions as to the legality of "hero hacking"
Sorry
Click to expand...
Click to collapse
two important things my momma taught me.
1. Don't say anything if you can't say anything nice
2. Don't do anything you are gonna apologize for later.
I, unlike Mr.Negativity who seems to have some underlying hate for life itself, want a faster Hero rom. Thank you all the dev's that have contributed and will contribute to this cause in the future.
Here's what I have done and seen a good pick up in speed with hero builds, I have an 8 gig cl 4 card but I guess you can do this with a 4 gig card too. make your linux swap partion 128
From what I understand the swap runs kinda like ram. I ordered a 8 gig class 6 card and I will try a linux swap of 256, but I think that will hang bad I'll let you all know in a few days.
But try linux swap set at 128 its much better
sha.goyjo said:
Experienced open source fellow about to chime in here,
Speeding up hero is basically poking around in the dark and hoping that we do the right thing. Unfortunately, because hero (and soon to be raphael and blur as well) are closed source and odexed and whatnot. It's just like windows-vs-linux. At first windows was shinier, but linux eventually caught up because they established a big enough codebase. The problem with hero is that most of it is EXTREMELY hard to "code" or "recode" for the average dev. For this reason the "community" that we have faith in can't do very much, as only one or two people have the knowledge required (not me btw), and they have the sense to promote open source instead of hacking closed source.
Bottom line, and this isn't a flame as much as a lifestyle guide, if you want your phone to be better, and have all the nice hero features, develop for ANDROID. Don't try to hack hero. Dev'ing for android makes things better for EVERYBODY involved.
That's my too sense. As shiny as hero may be....I'm never going to install it.
P.S.
If it explains anything, I'm the kind of person who donates to the FSF. Sorry if that makes me polarized.
[edit]
I apologize for disrupting the purpose of this thread. I'm going to take this to q/a where it belongs. Mostly because I have some questions as to the legality of "hero hacking"
Sorry
Click to expand...
Click to collapse
great advice.....is anyone willin to teach me how to make my own rom??
That_Guy_19033 said:
Here's what I have done and seen a good pick up in speed with hero builds, I have an 8 gig cl 4 card but I guess you can do this with a 4 gig card too. make your linux swap partion 128
From what I understand the swap runs kinda like ram. I ordered a 8 gig class 6 card and I will try a linux swap of 256, but I think that will hang bad I'll let you all know in a few days.
But try linux swap set at 128 its much better
Click to expand...
Click to collapse
Hey guy are you running 128 swap on 1.2? I ran 128 on all the others and they ran super smooth. For whatever reason I had lots of lag with 1.2 and lowered it to 96 which made it run smoother
Naw i got 1.2 but didn't flash it i might skip 1.2 and wait on 1.3 but thanks for the reply and input
ccyrowski said:
If you can figure out a way to edit the fameworks in /system/framework you'll be fine.
This is called cpgroups - and Cy's ROM and xROM already do this.
The problem with Hero/Mytouch is that the framework is odexed and we have no way to unodex them, edit the files, then remake them.
Click to expand...
Click to collapse
wouldn't it be possible to baksmali the odexes, then smali them to a dex and put it inside the apk?
jubeh said:
wouldn't it be possible to baksmali the odexes, then smali them to a dex and put it inside the apk?
Click to expand...
Click to collapse
Sadly only baksmali does not work. There is a way to undex but not as simple to compile as a dex when done.
Seoulboy1 said:
two important things my momma taught me.
1. Don't say anything if you can't say anything nice
2. Don't do anything you are gonna apologize for later.
I, unlike Mr.Negativity who seems to have some underlying hate for life itself, want a faster Hero rom. Thank you all the dev's that have contributed and will contribute to this cause in the future.
Click to expand...
Click to collapse
No one needs to apologize, everything that was said is true. You just don't consider it to be "nice" because you want a faster ROM which you know you probably won't get because of the reasons that were stated. Take the blue pill or the red pill, your choice...

gtablet and google? why google wont fully support this device.

I kinda think now. that this device was over developed for an under developed os platform. think about it, this device has preemo hardware right yet googles apps are half a$$ working and some arent working at all. i think mabe google needs to step up their app development skills a lil then mabe all these new devices will play nice. its been said that apples apps are better quality... i hate apple lol im currently running a moto droid 1 over clocked to 1.2 on pete's bugless beast 2.2 froyo rom and let me add my phone works ten times faster then the galaxy tab this gtablet and the ipad?? how??? i havent a friggin clue. it dont make sense. android is awsome bottom line this device has potential will that potential be wasted?? i hope not for. what do u guys think.
This belongs in General unfortunately.
The true answer to why Google will not support this is that Honeycomb is their OS for tablets. The hardware manufacturers could not wait to release this hardware (to try to get an edge on the competition).
Currently, Google will not support and will not allow Android Market to go onto a device that does not fit certain criteria.
One of these is that the device MUST have a cellular radio.
Since most of these tablets do not, Google cannot and will not allow Android Market on it at this time.
Hope this answers your question.
-h8
h8rift said:
This belongs in General unfortunately.
The true answer to why Google will not support this is that Honeycomb is their OS for tablets. The hardware manufacturers could not wait to release this hardware (to try to get an edge on the competition).
Currently, Google will not support and will not allow Android Market to go onto a device that does not fit certain criteria.
One of these is that the device MUST have a cellular radio.
Since most of these tablets do not, Google cannot and will not allow Android Market on it at this time.
Hope this answers your question.
-h8
Click to expand...
Click to collapse
it does thank you. i still think its a conspiracy lol.
Google doesn't support wifi only devices yet. I think with android 2.3 we will see a change with that, and that is when we will get this device to shine. It will take time for the hackers to work everything out. It took weeks/months for pete to get his rom to where it is today, and as great as he is, he had a lot of help from the huge DROID community. The community for this gtab is small but growing, and will get better with time. What isn't working fo you? I am on CM6 and got most everything working for google apps except ones where the hardware is limited like GPS/Phone. I have video conf, email, contacts, calender, gtalk, angry birds, flash, overclocking, n lots more etc...
what are you using to overclock?
i cant get set cpu to work properly
raydog153 said:
Google doesn't support wifi only devices yet. I think with android 2.3 we will see a change with that, and that is when we will get this device to shine. It will take time for the hackers to work everything out. It took weeks/months for pete to get his rom to where it is today, and as great as he is, he had a lot of help from the huge DROID community. The community for this gtab is small but growing, and will get better with time. What isn't working fo you? I am on CM6 and got most everything working for google apps except ones where the hardware is limited like GPS/Phone. I have video conf, email, contacts, calender, gtalk, angry birds, flash, overclocking, n lots more etc...
Click to expand...
Click to collapse
i havent purchased it yet. but i want one so bad ive looked at a few of the cheaper tabs and this one looks like its got the best quality for its buck. the galaxy tab is over priced and seems to be less snappy, well from the videos ive seen of it in action. im not a 100% TECH SAVOY but ive rooted my droid and updated its build prop. in order to root this device u used the update.zip format or do i need adb shell to do it.
sitnlow4life said:
what are you using to overclock?
i cant get set cpu to work properly
Click to expand...
Click to collapse
i dont use setcpu bc depending on some of the kernels you use in(in my case im using slayhers 1.2 ghz kernel) has and interactive governor built into the kernel.. and im using the compcache.zip . i use terminal emulator to execute the scripts to enable compache. go to peter alfono's main site and u will find all the detailed help you need. good luck man..
sitnlow4life said:
what are you using to overclock?
i cant get set cpu to work properly
Click to expand...
Click to collapse
I'm using overclock widget, I saw it mentioned in another thread...some say it woks some don't, not sure if I notice a difference...I'm just trying to get this stable before I can even think about benchmarks.
howtodoo? said:
in order to root this device u used the update.zip format or do i need adb shell to do it.
Click to expand...
Click to collapse
I used Z4root and rooted my Gtablet with one click. I didn't need an update.zip or adb shell. So don't let the rooting hold you back because if someone like me (no programing or hacking expericence) can do it you surely can.
mmracing said:
I used Z4root and rooted my Gtablet with one click. I didn't need an update.zip or adb shell. So don't let the rooting hold you back because if someone like me (no programing or hacking expericence) can do it you surely can.
Click to expand...
Click to collapse
i didnt know z4root worked on the gtab i saw it used to root the galaxy tab.. thanks man i think im gonna give it a shot. ill post back if i get one for sure.

[[updated]]WORKING MONITOR MODE. Pentest for mytouch 4g

I have no intention for hacking or anything i just want to use it for pentest on my systems.
Okay so i downloaded aircrack for ubuntu and extracted the sbin files and the bin files and pasted them into my system/bin and afterwards i went to terminal emulator and typed
su
aircrack-ng
and to my supprise it loaded. I have posted some screenshots.
So i think with some efforts and the right scripts it would work.
So anyone with the knowledge can help out.
**************UPDATE**************
i just uploaded the aircrack-ng file.
I am Very Sorrry. If you downloaded the first file i posted, that wont work, i have posted the correct one. so please download this one
aircrack-1.1-static.rar (1.90 MB)
Okay so i have found a site on which a group of developers were able to create some files to allow the Nexus one & Galaxy S II run in monitor mode.
here is the website.
[[ http://bcmon.blogspot.com/2012/09/working-monitor-mode-on-nexus-one.html ]]
If we are able to get the mytouch into monitor mode, we would be able to run "Aircrack" ont the packets.
According to the website, we need to Build the KO for our device.
The problem now is, i have no idea of how to create those KO files.
If anyone finds a nice tutorial, pls share it here and i would try and follow it to get the monitor mode working. (that is if possible).
************************************UPDATE***************************************************************************
Guys i have finnally figured out how to put the mytouch 4g in monitor mode.
here are the steps.
Download glacier_Pac_JB_4.2.2-V22.01_20130325-085620.zip
from here : http://d-h.st/5bA
(please flash Gapps)
Then Download this Kernel it was created by coderz ( i have uploaded it so see below.)
Afterwards head towards my other thread here ( http://forum.xda-developers.com/showthread.php?t=2302678 ) and download ubuntu distro the small image.
After the download load open the apk u downloaded from the other thread and select launch and choose ubuntu.
after it has launched, install aircrack.
from this guide ( http://answertohow.blogspot.com/2012/10/how-to-install-aircrack-ng-on-ubuntu.html )
Next head towards here ( http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/iw_3.2-1_i386.deb.html ) for the IW package since its not available
in the ubuntu distro.
Now you are clear to go.
Now type these in the terminal emulator where the image was launched ( please do not open another tab in terminal emulator, use the one that was opened by the ubuntu distro.)
type
Su
Airmon-ng start 6 p2p0
and voila there it is you would see monitor mode started.
Please forgive me if somethings arent clear.
I am so happy to the extent that i cant even type.
What is that?
Sent from my myTouch 4G using xda premium
mymeatb18 said:
What is that?
Sent from my myTouch 4G using xda premium
Click to expand...
Click to collapse
I thinks it's something to hack wifi with.
Sent from my MyTouch 4G using xda app-developers app
N_otori0us_ said:
I thinks it's something to hack wifi with.
Sent from my MyTouch 4G using xda app-developers app
Click to expand...
Click to collapse
Actually its used for penetration testing but when it is used in the wrong way becomes a hacking tool.
So it can be used by someone to gain access to a secured WiFi network?
Sent from my myTouch 4G using xda premium
mymeatb18 said:
So it can be used by someone to gain access to a secured WiFi network?
Sent from my myTouch 4G using xda premium
Click to expand...
Click to collapse
yea i guess so. Dont really know much about it.
Which package did u download I can't find one that has bin and Sbin in it?
Sent from my GT-P3110 using xda app-developers app
I've been building the kernel module, which is what a "KO" as you called it is, into my customized kernel for about a week now. I've also successfully inserted said module into memory and that's about where I end as the binaries that come packaged with the source code aren't linked correctly for the glacier and can't interface correctly and I haven't taken the time to recompile them yet. The plus side is that this may save me having to do that but that also means that if you want the module you have to use my kernel and that is a hazard in and of itself, haha. I lack the post count to post it in the proper forum and I refuse to circumvent that restriction by posting it in the incorrect forum so for the moment I'm hosting it myself.
If you're interested in taking the chance send me a message but I'll tell you now the kernel variation, D3M0N as I've named it, is not for the faint of heart and you could do real damage to your device if you are careless as mine allows overclocking up to 2Ghz and let me tell you it gets hot enough to blister a finger on the metal battery cover. I have it set to run at 1.4 by default so you may want to adjust it to suit your needs and it's designed for 4.2.x ROMs and I can't guarantee it'll work with any other version of Android but I can build the module for any kernel version as long as the source is available as well.
On a final note, the aircrack suite is a hacking tool and hacking is not bad, cracking is the malicious brother of hacking and either way you're responsible for your own actions, not anyone else. That being said, I'm not liable for what you do or don't do. And to clarify, aircrack itself is only useful for WEP secured networks and it is not useful by itself. This isn't directed at anyone in particular but I thought I'd clear up the assumptions I felt were being made because there's no reason for ignorance and the only crime related to ignorance is refusing the ignorant the chance to be educated wherever possible. I hope nobody takes offense to the term ignorant because everyone is ignorant to something and everyone was ignorant at some point.
Sent from my myTouch 4G using xda premium
zygh0st said:
I've been building the kernel module, which is what a "KO" as you called it is, into my customized kernel for about a week now. I've also successfully inserted said module into memory and that's about where I end as the binaries that come packaged with the source code aren't linked correctly for the glacier and can't interface correctly and I haven't taken the time to recompile them yet. The plus side is that this may save me having to do that but that also means that if you want the module you have to use my kernel and that is a hazard in and of itself, haha. I lack the post count to post it in the proper forum and I refuse to circumvent that restriction by posting it in the incorrect forum so for the moment I'm hosting it myself.
If you're interested in taking the chance send me a message but I'll tell you now the kernel variation, D3M0N as I've named it, is not for the faint of heart and you could do real damage to your device if you are careless as mine allows overclocking up to 2Ghz and let me tell you it gets hot enough to blister a finger on the metal battery cover. I have it set to run at 1.4 by default so you may want to adjust it to suit your needs and it's designed for 4.2.x ROMs and I can't guarantee it'll work with any other version of Android but I can build the module for any kernel version as long as the source is available as well.
On a final note, the aircrack suite is a hacking tool and hacking is not bad, cracking is the malicious brother of hacking and either way you're responsible for your own actions, not anyone else. That being said, I'm not liable for what you do or don't do. And to clarify, aircrack itself is only useful for WEP secured networks and it is not useful by itself. This isn't directed at anyone in particular but I thought I'd clear up the assumptions I felt were being made because there's no reason for ignorance and the only crime related to ignorance is refusing the ignorant the chance to be educated wherever possible. I hope nobody takes offense to the term ignorant because everyone is ignorant to something and everyone was ignorant at some point.
Sent from my myTouch 4G using xda premium
Click to expand...
Click to collapse
Thats cool. So have you tried your new kernel with the aircrack suit i have uploaded or have you tried airmon or monitor mode with the zips found at the website i posted.
And thanks also for clarifying the hacking concept.
I just want to help in unleashing the power of the mytouch 4g. As i have seen and tested, there are many things that the mytouch 4g can do that people didnt really know about. Like Fm transmitting, this feature works on the mytouch 4g. I tried it myself. All its needs is the apk(if anyone needs it He or She should free to ask and i would send it to him or her). All it needs to work is the stock 2.2 Glacier rom as thats which i tested it on.
So as i have already said. You could pass by the website and download the packages and who knows, it might be easier than you think.
Thanks again for contributing. :good:
mickeyasamoah said:
Thats cool. So have you tried your new kernel with the aircrack suit i have uploaded or have you tried airmon or monitor mode with the zips found at the website i posted.
And thanks also for clarifying the hacking concept.
I just want to help in unleashing the power of the mytouch 4g. As i have seen and tested, there are many things that the mytouch 4g can do that people didnt really know about. Like Fm transmitting, this feature works on the mytouch 4g. I tried it myself. All its needs is the apk(if anyone needs it He or She should free to ask and i would send it to him or her). All it needs to work is the stock 2.2 Glacier rom as thats which i tested it on.
So as i have already said. You could pass by the website and download the packages and who knows, it might be easier than you think.
Thanks again for contributing. :good:
Click to expand...
Click to collapse
Yes, I did try the binaries from the OP; unfortunately they weren't the solution to my problem. Fortunately they seem to be just fine and my problem was due to an error on my part (I had duplicate binaries in /system/xbin while I was intending to use /system/bin and failed to realize it right away.) I set up an old Netgear router I had lying around and threw a random string in as the WEP key and was able to reverse it in ~12 minutes with the maximum CPU frequency at 1.4Ghz. Not bad at all as far as I'm concerned given that it takes ~5m on my laptop.
I've stabilized the kernel I've been mutilating so it's far safer than I previously alluded to, haven't had a single panic or hard lock in a good 18+ hours and I've been running it to death so my offer still stands for any who'd rather not deal with compiling it themselves. For those that do, my Github is always open: http://github.com/zygh0st/android_kernel_htc_msm7x30-3.0.git
BTW, thanks for starting the discussion; nice to see I'm not the only one who is interested in mobile devices as possible vectors for breaches of security in ways most people wouldn't consider. The next step is to give Reaver a shot, though I think it has a successor at this point but I can't recall the name of it. I doubt it's feasible, at least not on this device since if the time scales in a similar manner you'd be looking at nearly 24 hours but with something like a Note 2 or S4 one would expect to find a significant reduction in time I'd think, but I could be mistaken.
zygh0st said:
Yes, I did try the binaries from the OP; unfortunately they weren't the solution to my problem. Fortunately they seem to be just fine and my problem was due to an error on my part (I had duplicate binaries in /system/xbin while I was intending to use /system/bin and failed to realize it right away.) I set up an old Netgear router I had lying around and threw a random string in as the WEP key and was able to reverse it in ~12 minutes with the maximum CPU frequency at 1.4Ghz. Not bad at all as far as I'm concerned given that it takes ~5m on my laptop.
I've stabilized the kernel I've been mutilating so it's far safer than I previously alluded to, haven't had a single panic or hard lock in a good 18+ hours and I've been running it to death so my offer still stands for any who'd rather not deal with compiling it themselves. For those that do, my Github is always open: http://github.com/zygh0st/android_kernel_htc_msm7x30-3.0.git
BTW, thanks for starting the discussion; nice to see I'm not the only one who is interested in mobile devices as possible vectors for breaches of security in ways most people wouldn't consider. The next step is to give Reaver a shot, though I think it has a successor at this point but I can't recall the name of it. I doubt it's feasible, at least not on this device since if the time scales in a similar manner you'd be looking at nearly 24 hours but with something like a Note 2 or S4 one would expect to find a significant reduction in time I'd think, but I could be mistaken.
Click to expand...
Click to collapse
Wow Hurray!!!!!!!!!!!!!!. My problem now is that i am not using an AOSP Rom but a Sense Rom (Vipertouch) so would this kernel work on it??
Or wait i checked ur github, is that a package for ubuntu?? cause i can see some makefile in it??
Bro if you really want to pen test from your android download dSploit.
It doesn't require custom kernals or anything. Would you like me to find a link?
Sent from my myTouch 4G using xda app-developers app
I already have that, but it doesnt crack wep passwords.
Sent from my HTC myTouch 4g using xda app-developers app
mickeyasamoah said:
Wow Hurray!!!!!!!!!!!!!!. My problem now is that i am not using an AOSP Rom but a Sense Rom (Vipertouch) so would this kernel work on it??
Or wait i checked ur github, is that a package for ubuntu?? cause i can see some makefile in it??
Click to expand...
Click to collapse
Makefiles are generally going to be found anywhere that there is code written in C and as far as I know, or recall for that matter but that may not be saying much given my poor memory, the Linux kernel has been written in C since its inception. I tried flashing the kernel with Vipertouch earlier today but it never made it past the bootlogo so I'm going to say that it doesn't play nice (which is expected.) I've spent a little time hunting around for source code to the kernel that Team Venom used but I haven't come across it yet. As soon as I find the source for an ICS/Sense compatible kernel I'll see if I can't crank something out for you. Shouldn't be too hard, I'm just preoccupied and haven't had a good stretch of time to devote to finding what I need but I'm sure it'll be easy to find because one of the Sense ROMs ought to link to a repository I'd think (I hope so anyway, haha)
If you're familiar with compiling the kernel in Ubuntu then you're pretty much familiar with compiling kernels for Android, you'd just need to set up your build environment properly which is trivial in Ubuntu. If you're interested at all, here are a couple of links, one to a thread that I referenced a few times myself and one to XDA University's Guide to building a kernel from source. I'm no expert by any means, at least not with regard to Android specific issues, but my mind and the contents therein are at your service for what it's worth :good:
zygh0st said:
Makefiles are generally going to be found anywhere that there is code written in C and as far as I know, or recall for that matter but that may not be saying much given my poor memory, the Linux kernel has been written in C since its inception. I tried flashing the kernel with Vipertouch earlier today but it never made it past the bootlogo so I'm going to say that it doesn't play nice (which is expected.) I've spent a little time hunting around for source code to the kernel that Team Venom used but I haven't come across it yet. As soon as I find the source for an ICS/Sense compatible kernel I'll see if I can't crank something out for you. Shouldn't be too hard, I'm just preoccupied and haven't had a good stretch of time to devote to finding what I need but I'm sure it'll be easy to find because one of the Sense ROMs ought to link to a repository I'd think (I hope so anyway, haha)
If you're familiar with compiling the kernel in Ubuntu then you're pretty much familiar with compiling kernels for Android, you'd just need to set up your build environment properly which is trivial in Ubuntu. If you're interested at all, here are a couple of links, one to a thread that I referenced a few times myself and one to XDA University's Guide to building a kernel from source. I'm no expert by any means, at least not with regard to Android specific issues, but my mind and the contents therein are at your service for what it's worth :good:
Click to expand...
Click to collapse
OOOKay. But the only problem is that my pc fell and had developed some kind of fault so at the moment i am PC-less. But i hope to get it repaired soon. but in the meantime can you upload an already compiled version of the kernel so that i and anyone else who is intrested could download?? you know like a flashable zip or something and did you flash the kernel for the vipertouch through the recovery?? If so i dont think it would work. They created the rom in such a way that they change most of the directories so you would have to use thier inbuilt flasher. I guess. last time i tried flashing a bootanimation through recovery but it didnt work. So i guess u use thier inbuilt one.
mickeyasamoah said:
OOOKay. But the only problem is that my pc fell and had developed some kind of fault so at the moment i am PC-less. But i hope to get it repaired soon. but in the meantime can you upload an already compiled version of the kernel so that i and anyone else who is intrested could download?? you know like a flashable zip or something and did you flash the kernel for the vipertouch through the recovery?? If so i dont think it would work. They created the rom in such a way that they change most of the directories so you would have to use thier inbuilt flasher. I guess. last time i tried flashing a bootanimation through recovery but it didnt work. So i guess u use thier inbuilt one.
Click to expand...
Click to collapse
That's cause bootanimations on sense are in a different location then sense. I think
Sent from my myTouch 4G using xda app-developers app
Yea. So i guess the kernel also might be in a different directory. And also i have just remembered that i flashed a different kwrnel from the recovery and after the bootanimation, it failed to continue and got stuck. Reason why am saying all this is because, when i enter the root of my device, i see many folders that u wouldnt see in a normal rom (cyanogen, aosp, aokp,) as far as i know. So i guess he should create a flashable zip of the kernel and maybe steady the directories of the rom and maybe it might work.
Sent from my HTC myTouch 4g using xda app-developers app
mickeyasamoah said:
Yea. So i guess the kernel also might be in a different directory. And also i have just remembered that i flashed a different kwrnel from the recovery and after the bootanimation, it failed to continue and got stuck. Reason why am saying all this is because, when i enter the root of my device, i see many folders that u wouldnt see in a normal rom (cyanogen, aosp, aokp,) as far as i know. So i guess he should create a flashable zip of the kernel and maybe steady the directories of the rom and maybe it might work.
Sent from my HTC myTouch 4g using xda app-developers app
Click to expand...
Click to collapse
Disclaimer: Some of this may come off harsh, it's unintentional I assure you; I've been told by many people I sound like I'm being a jerk when I simply know no other way to present the information than in as simple a form as possible, so reader be warned and do try not to take offense!
Actually, all of the directories you see under / (the root of the filesystem or root for short) DO exist on every Android installation regardless of the version or ROM for the most part. There are a few alterations between major Android versions (think Gingerbread to ICS or ICS to JB) but those are mostly related to the SDCard or external filesystems in general. There are also differences related to specific devices, for example; you won't find /data/media on devices that don't have an internal storage designed to mimic an SDCard (such as the Samsung Galaxy series.)
That being said, the kernel does not reside in a directory at all, it resides on a partition that is mounted as /. The kernel's ramdisk is actually where /init and /init.rc and such actually are and that is why you can't change them and have the changes persist across reboots even if the root partition is remounted as read/write. In addition to this information, one does not simply "move things around" within a deeply rooted filesystem structure like you were rearranging furniture.
And to get to the real information you're after, the reason your device fails to boot when you flash an incompatible kernel is because the kernel and the ROM, for lack of a better example, don't know how to speak to one another and one get's pissed off and they stop talking; or in other cases one gets severe dementia and repeats itself indefinitely (bootloops anyone?). Oh, and the bootanimation.zip is in the same place on every Android device. You don't need to flash it at all, it goes in /system/media/ but you'll have to remount /system as read/write first (which is why flashable zips are convenient, you don't have to mess with it and you're going to have to reboot anyway to see your new animation, right?)
And in closing, the directory structure of Team Venom's ROM and every other ROM that exists is about 99% the same. You may not have seen it before, but there's no need to drag out Shrodinger's poor cat is there? I assure you it's been there lurking in the shadows What I need is the source code to a kernel that is known to work with ICS/Sense ROMs, and as I previously stated in another post I simply haven't looked that hard yet. I have an errand or two to run this early afternoon, but you have my word I'll do my best to try and get a working kernel to you by 0500 GMT, which is midnight for me. That gives me 12 hours from now, too easy And it'll be flashable, I'm a lazy person to be honest so I have a script that compiles the kernel, builds the ramdisk, makes the boot image from the two, creates a flashable zip, uploads said zip to the device, creates a script for recovery (I use TWRP 2.5.0.0 FYI) to flash the zip and reboot, and then reboots the device into recovery. That way I only have to press return once
I hope you found some of that useful and if you'd like any more information I'd be happy to give you all that I have, it's kind of an uncontrollable thing with me so be mindful of what you ask because you will get a wash of info in return and my stop button seems to work sparingly, haha. Have a good day!
zygh0st said:
Disclaimer: Some of this may come off harsh, it's unintentional I assure you; I've been told by many people I sound like I'm being a jerk when I simply know no other way to present the information than in as simple a form as possible, so reader be warned and do try not to take offense!
Actually, all of the directories you see under / (the root of the filesystem or root for short) DO exist on every Android installation regardless of the version or ROM for the most part. There are a few alterations between major Android versions (think Gingerbread to ICS or ICS to JB) but those are mostly related to the SDCard or external filesystems in general. There are also differences related to specific devices, for example; you won't find /data/media on devices that don't have an internal storage designed to mimic an SDCard (such as the Samsung Galaxy series.)
That being said, the kernel does not reside in a directory at all, it resides on a partition that is mounted as /. The kernel's ramdisk is actually where /init and /init.rc and such actually are and that is why you can't change them and have the changes persist across reboots even if the root partition is remounted as read/write. In addition to this information, one does not simply "move things around" within a deeply rooted filesystem structure like you were rearranging furniture.
And to get to the real information you're after, the reason your device fails to boot when you flash an incompatible kernel is because the kernel and the ROM, for lack of a better example, don't know how to speak to one another and one get's pissed off and they stop talking; or in other cases one gets severe dementia and repeats itself indefinitely (bootloops anyone?). Oh, and the bootanimation.zip is in the same place on every Android device. You don't need to flash it at all, it goes in /system/media/ but you'll have to remount /system as read/write first (which is why flashable zips are convenient, you don't have to mess with it and you're going to have to reboot anyway to see your new animation, right?)
And in closing, the directory structure of Team Venom's ROM and every other ROM that exists is about 99% the same. You may not have seen it before, but there's no need to drag out Shrodinger's poor cat is there? I assure you it's been there lurking in the shadows What I need is the source code to a kernel that is known to work with ICS/Sense ROMs, and as I previously stated in another post I simply haven't looked that hard yet. I have an errand or two to run this early afternoon, but you have my word I'll do my best to try and get a working kernel to you by 0500 GMT, which is midnight for me. That gives me 12 hours from now, too easy And it'll be flashable, I'm a lazy person to be honest so I have a script that compiles the kernel, builds the ramdisk, makes the boot image from the two, creates a flashable zip, uploads said zip to the device, creates a script for recovery (I use TWRP 2.5.0.0 FYI) to flash the zip and reboot, and then reboots the device into recovery. That way I only have to press return once
I hope you found some of that useful and if you'd like any more information I'd be happy to give you all that I have, it's kind of an uncontrollable thing with me so be mindful of what you ask because you will get a wash of info in return and my stop button seems to work sparingly, haha. Have a good day!
Click to expand...
Click to collapse
Thanks very much for your contribution. And dont feel bad or anything for your answers. I love to read especially when they are things that have to do with ICT or electronic Gadgets. So am cool with that.
And once again, thanks for your help and time,this could be a break through or a start to a new life for the mytouch 4g.
With this, we [ you (zygh0st), Notorious, me and some other young developers] could come out with a rom which has the necessary drivers and files to run Most Linux/Ubuntu/ Debian Distros and apps without any difficulties, Reason is that, the Linux/Debian?Ubuntu Images Available now lack some drivers and abilities to do certain things. SOme of which is Wireless tools in Ubuntu. ( I tried searching for wireless tools for these images but there wasn't any, the ones available were those for i386 and amd64. But those images needed one for armel.) So as i said this could be the beginning a very big project for a rom that fully supports Distros and has all the drivers for pentesting.
But until then we would be waiting for the kernel.
Thanks Again Buddy.:good:
Alrighty, well I had a little bit of unforeseeable life happen and I had to tend to that. That being said, undoubtedly it hasn't gone unnoticed that my given deadline is well, dead. It's proven a little harder than I anticipated to get the drivers to compile with 2.6.35 than it was with 3.0 and I haven't sorted it out in the short amount of time I've had this weekend. I'll have some time this evening, barring any additional cataclysms of course; so I plan to try and get it knocked out then. For those running JB, I've decided not to release my currently working (and I use the term working loosely) as I've discovered it causes an interesting issue that I'm having trouble tracking down and it may end with me having to start over from scratch unless I can find it. It works in its current state, however, and it may be an issue unrelated to the kernel itself but whenever I switch to a different one it goes away so I'd rather not risk putting something out there that is known to have frustrating issues. Bugs are one thing but when you press unlock and nothing happens for close to 45 seconds, that's just broken. Anyway, I feel like I'm threadjacking so this will be the last mention of it I make here and to get back onto topic, if anyone would like to try and succeed where I haven't yet I'd be glad to lend a hand with integrating the driver especially since I have the changes required to get it to compile cleanly with kernel version 3.0; though it was really only a single section of code that needed to be changed at all. Once again, my apologies for the delays but better to take time and do it right than to smash it together and hope the tape holds.

Categories

Resources