Old coder learning new coding - Introductions

Yo I'm Qiball musician and coder plus much more. I'm an old dog at 49 but still spunky as ever. Just happened to want to get Linux on my phone and realized I need a rooted one. So what do a this old dog start to do grab every kind of phone I can think of and try to root em. So far with no darned success. I have a collection of about 16 now and using everything from the android coding platform to magisk still no darned root yet lmao. But I'm having a blast learning new coding skills as I'm from the era of ddos and basica basic qbasic and all that OLD language. I remember tapes for my hard drive. Hopefully I can figure out how to get TWRP to work with phones not on it's db as most of mine are off the beaten path a little but it can design custom Roms right on the phone trouble is can't back em up oe TWRP them no flash.....

Related

Linux Question

This might sound really odd... but I'm looking to -NOT- use my g1 as a phone... I want to uh... (shoot me if you must) want to remove Android, and install a very light ubuntu install or other gnu/linux derivative like DSL (which cannot be ported to armel probably) to my phone and use it as a mini mini computer...
my question to the DREAM community on XDA here is... can it be done... and for any reason I ever want to go back... do you think it'd be reversible?
My main reasoning is this... I have a nokia 5310, and I work a crappy produce job at a supermarket... I fear my G1 getting broken, and have not used it in the last 2 months. also, I'd be interested in learning how to work stuff out and try to get androided ported over to the new 3g Dash if that was possible, cause that phone looks very nice... IMHO though so... please criticism and responses of all kinds welcome to this question.
The closest I've seen is installing Debian with only terminal =/ sorry. You can look under development for more info.
well actually... with vncviewer you can uh... vnc to it and have x11 running with icewm or lxde
vnc viewer local host
I'm not pro at this. Sorry if my advice was bad. lol
No not bad... but good... thank you. I am looking for "ANY" information... and you fit the requisites. Thanks friend
The reason for running x11 and debian on top of android through vnc is that drivers for the g1 hardware aren't available. Unless you want to write these drivers yourself, I'd forget this one. By the time you get it working, your g1 will be fossilised.
I'd be willing to go and try to learn how to do it.
it'd be a fun project... i mean the thing is just sitting here... I mean... I could always perhaps make a completely stripped down version of android. I only want it to use Wi-Fi... and that's pretty much it... I just want it to be an MID
I want to make sure I understand the situation:
1) You have a cheaper phone so do not use the G1 for fear of damaging it.
2) Since you do not use the G1 you want to:
- tinker with it, most likely destroying it in the process if you succeed at anything.
- install a more conventional Linux distro on the phone, which will require at least some programming knowledge as well as intimate knowledge of Linux. If you want X then it as gone from challenge to an impressive feat.
and finally
3) You want to port android to the Dash 3G.
Your decision making process is a little questionable, but hopefully there is some reasoning I missed or you did not mention.
My advise to you would be: Please learn to walk before you attempt to fly.
A stripped down android would be more feasible. You would not have X, but you should be able to port quite a bit of commandline tools over, to include a more user friendly shell. Then you could try and cross compile X, which will take a lot of patience. If you manage to succeed though. from that point you could do a headless X session and attach to it vian VNC in much the same way as is currently done with debian. Alternatively you could try and port the G1 drivers over to the freerunner project and work from that direction, but this would be much more difficult.
It seems a terrible waste of time in my opinion but if you want to try, go for it. Personally I say sell the G1 and buy a nokia n810. It is a little larger but still small and is a mid.
If however you are set on this course I would suggest hanging out on the IRC channels and getting advice from the ROM cookers, Cyanogen in particular since he rebuilds the linux kernel for the G1, something you will be doing a lot of.
Well most birds learn to fly before they walk. And I think I will go down the trail of a custom Android build. I just wanted to know of it being possible to make it work.
I mainly refer to the fact I didn't want it to break ie the screen or the digitized I assume you mean the xda channel... ... so yes I will choose to jump into the pool before the water is full in it thank you for the advice and knowledge

Running ROM in Emulator

I have installed the SDK and Eclipse. I have created an AVD and run through the little tutorial. I can start the emulator using the (windows) command line. How do I run a "cooked" ROM in the emulator? If there is a better place to post this question, please let me know. I am particularly interested in the Hero (CDMA, Sprint).
The sdk emulator emulates an older ARMv5. I for one don't think it's very practical for developing custom roms on but it has been done before. I remember hearing a couple people saying they had Sense UI running on it. Cool but kind of pointless if you ask me. Anyways:
http://developer.android.com/guide/developing/tools/emulator.html
has just about all the info you'll need to do it.
Speaking of emulators. I merged zen and emulator to get my name zenulator back when I messed around with console emulators for the ps1 and dreamcast. Before android took over
Zenulator,
Thanks for responding. That's exactly the page I was using. Can I simply replace userdata.img with the boot.img from the ROM? I'm just curious to see what the various ROM's will look and act like. (I do not yet have a smartphone; I've got a stupid one. My wife promised my a new phone when she upgrades hers, and the Hero looks really good to me.)
WarpSpeed said:
Zenulator,
Thanks for responding. That's exactly the page I was using. Can I simply replace userdata.img with the boot.img from the ROM? I'm just curious to see what the various ROM's will look and act like. (I do not yet have a smartphone; I've got a stupid one. My wife promised my a new phone when she upgrades hers, and the Hero looks really good to me.)
Click to expand...
Click to collapse
Ah I see. I'd get the evo if your planning on buying a new smart phone.
Also no you cant just swap out parts from the roms postrd in the forums since the emulator runs off a yaffs system image and also it doesn't run a boot.img. It uses a separate kernel and ramdisk.
Zenulator,
Thanks again, particularly for preventing me from wasting my time over an impossible task. One cannot help lusting over the EVO. However, I carry my phone in my pocket, and the EVO might be a bit too big for that. Furthermore, I don't really use a phone all that much, so it's hard to justify the extra expense. I have suggested to my wife that she get one.
Are there any other emulators or virtualization techniques I might use to display a ROM's function on a computer monitor? Do those guys who create the ROMs simply try them out on their own phones, or do they have software which will allow them to first test their creations on the computer? I fiddle with Linux, and have used VMWare under Windows and Linux. Took a stab at Zen once, but didn't have the right hardware.
just an idea.. It wouldnt be hands on but you could youtube the different roms and see what they look like
Furthermore, I don't really use a phone all that much, so it's hard to justify the extra expense.
Click to expand...
Click to collapse
Aw man, you would sooo use your phone 300x more if you had a smart phone of any kind, though I'm partial to Android ; ) . I can't remember what i did before my first BB.... Ahhhhh the memories.
Easily justifiable expense. LOL
-------------------------------------
Sent via the XDA Tapatalk App
I used my phone like 20 minutes total throughout the day when I had a dumbphone.
My Hero gets used and abused hours each day.
You all are preaching to the choir! I want a new phone so bad that I can taste it. I've been scouring the forums, learning as much as I can, and I can hardly wait. The Hero looks just right for me, and I'm really looking forward to using an open file system. It looks like Sprint will be dropping the Hero soon (price is going down) and replacing it with a "Hero 2," apparently essentially the same thing as the htc Legend. We'll see. Anyone heard any other news?
I probably play more on my phone than I text or talk, but don't regret paying $25 more a month than I was with MetroPCS. I can't see myself paying nearly $100 a month just for the Evo as I am on a plan by myself.
This is not completly on topic, but there is the Android OS for computers. You think I could take the kernal and ramdisk, etc from the Hero and swap it out with the ones from the Android OS
http://gadgets.softpedia.com/news/How-To-Run-Google-039-s-Android-OS-On-Your-Windows-PC-3897-01.html
&RoidRage,
Thanks for the link. I followed it out and downloaded the complete iso. I will look inside it and play with it, maybe live, maybe virtualized. It might be fun to see if some components can be swapped out, though I doubt it will work.
Dual processors running at 1.5 GHz seems overkill for a cell phone, but then, that's why we're here.
Hi all
I'm trying to load a ROM into the emulator, how can I do that ?
Kcarpenter said:
Aw man, you would sooo use your phone 300x more if you had a smart phone of any kind, though I'm partial to Android ; ) . I can't remember what i did before my first BB.... Ahhhhh the memories.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
seriously, my dumbphone was on like 20 minutes a day
and my hero is overused easily (especially in class)
how i run roms that dont have the system.img ?

Hero Envy

Just curious, how many of you would be rooting and changing roms if the hero was truly optimized and ran smoothly right out of the box. I've gone from 1.5 to 2.1, tried rom after rom, optimized all data settings, tried different SD cards, OC/UV, all for what!? To get a phone that works like it is supposed to? I love tinkering and experimenting w tech so I probably would be doing this regardless, but it seems odd that a high school kid (Darch), has outdone a company w huge pockets and tons of resources in terms of product quality. Just saying...
Thanks to Darch, Damage, Fresh, and all the other hard working peeps out there in XDA land
PS. Moore's Laws a ***** isn't it?!?!
To be honest, the main idea of root is getting to the root of the phone so that there isnt anything holding you back. The odds of this ever happening realistically with a phone straight out of the box? Never.
kurigowa said:
I love tinkering and experimenting w tech
Click to expand...
Click to collapse
Thats the answer. Right there.
At some point in time the companies employees stopped loving what they did, why they did it and replaced that with how much money they could make, how quickly it could be done.
Also keep in mind, darch does these things without repercussions. If his ROM messes up, oh well. If it fries your phone, you werent supposed to do that to begin with. No liability. It is amazing what can be accomplished by the masses with no consequences compared to the "man" who is worried about litigation and is given by the provider strict guidlines and restraints.
But this whole experience with these ROM's have led me to look up C++, attempt to learn how this whole thing is done (C++ to start, everything else to follow... I know I know), hopefully it is fruitful but considering smartphones are my new addiction, I think considering my last ones were way more expensive (cigarettes, game consoles, online gaming, strip clubs) I have made a good choice =)
kurigowa said:
Just curious, how many of you would be rooting and changing roms if the hero was truly optimized and ran smoothly right out of the box. I've gone from 1.5 to 2.1, tried rom after rom, optimized all data settings, tried different SD cards, OC/UV, all for what!? To get a phone that works like it is supposed to? I love tinkering and experimenting w tech so I probably would be doing this regardless, but it seems odd that a high school kid (Darch), has outdone a company w huge pockets and tons of resources in terms of product quality. Just saying...
Thanks to Darch, Damage, Fresh, and all the other hard working peeps out there in XDA land
PS. Moore's Laws a ***** isn't it?!?!
Click to expand...
Click to collapse
Wow....Darch is just a high school kid?? I'm new to Android so excuse my ignorance not knowing about him. I'm running Darchdroid 2.7 and I have to say it's pretty amazing.
kurigowa said:
... but it seems odd that a high school kid (Darch), has outdone a company w huge pockets and tons of resources in terms of product quality.
Click to expand...
Click to collapse
I remember being a 5 year-old kid and teaching my parents how to set up their VCR. It doesn't seem odd to me at all that Darch would out-perform corporate indentured servants trying to earn a living. Darch does it because he loves it.
blakeatl said:
Wow....Darch is just a high school kid?? I'm new to Android so excuse my ignorance not knowing about him. I'm running Darchdroid 2.7 and I have to say it's pretty amazing.
Click to expand...
Click to collapse
holy ****, hes in highschool! lol, so am i, lol, i wish i can do wat he does. im upgrading to the hero THIS MONTH, so which ROM should i get that has everything working and is good on battery life? (im somewhat familiar with root, ive been messing with my samsung moment)

Want to Root but need some help...

I'm pretty new to this rooting thing and to the Android OS as a whole. I've been searching around the forums trying to find out what all I need to do to root and the different ROMs that are out there. Basically, it's like reading Chinese.
I'm not new to smartphones or anything like that. I've jailbroken my iPod touch multiple times and have run custom ROMs on my old BlackBerry 8330, but it seems like Android is a whole new ballgame for me.
I'm very computer savvy so I can understand most things that are needed to do the whole rooting process, I just need some help, I guess, picking out a good ROM.
What I really want is for my HERO to be wayyyy faster. It seems quite slow right now and I'm not eligible to upgrade to the EVO until December and I don't feel like switching to my BlackBerry again, since the HERO has so many more features that I love.
So, any advice is helpful here, but please give me some input on good rooting methods and ROMs that won't mess my HERO up!
THANKS!
Probably the best way to go right now if you want Sense (The stock Hero UI, that some people swear grinds their phone to a halt) would be either DamageControl or Fresh.
If you don't mind not having sense, then DarchDroid 2.7 is the way to go.
Of course, you should read all of the info in the first post or two so you know exactly what you're getting into.
I'm up to try new things. I don't mind Sense but I know it slows down my phone. I don't mind trying a new UI. Just some guidance towards what ROMs are stable and fast.
I want more control, so to speak, over my phone. It seems like it can just do things whenever it pleases. Whether it be restarting the homescreen or just not recognizing my touches. Less lag.

how did you get into android development?

I am interested in how others have learned the ability to program and manipulate java/android code. I have been using computers since Atari 2600,but never was able to get around to programming. now I am looking to get started, but it looks very daunting. any advice, stories, etc to get me on my way would be most appreciated.
It's a long road but I would start off learning some simple programming concepts using something like the Khan academy's CS programme: khanacademy.org/cs
After that I would then try and learn Java using something like docs.oracle.com/javase/tutorial/java/index.html
And finally I would then move onto the Android Developer Training found here developer.android .com/training/index.html
I too would like to get my feet wet in android development, both in ROM mods and apps. I have worked with Unix and Linux in a business environment in the past. Do you think this experience will help level the learning curve.
Sent from my Galaxy Nexus using xda app-developers app
u need programming knowledge.. just working with linux doesn't give skills to develop app or modify Roms..
rubinscube said:
I am interested in how others have learned the ability to program and manipulate java/android code. I have been using computers since Atari 2600,but never was able to get around to programming. now I am looking to get started, but it looks very daunting. any advice, stories, etc to get me on my way would be most appreciated.
Click to expand...
Click to collapse
http://forum.xda-developers.com/forumdisplay.php?f=613
Moved to Off-topic.
Solid Mercury said:
u need programming knowledge.. just working with linux doesn't give skills to develop app or modify Roms..
Click to expand...
Click to collapse
Right... I don't even know Java and I can build and modify a ROM.
A friend linked me to xda. That was the start of something big......
Sent from my jelly bean
Looooong way. First, I got Xperia X10 mini pro. Thought that phone was not a speed monster, I want it back. I wanted to root it, for overclocking. So, I got here. I registrered as vaderx10minipro and downloaded Super One Click or something. Then, after two months, I got Desire Z (wait, I forgot Wildfire, but I had it in one month). After a half year of f*cking annoying white ''HTC Sense reloading screen'', I got enough. I rooted it. It wasn't easy, but finally I rooted it. I remember my first custom ROM. It was Virtuous Unity. After some time and looking in to flashable .zip's, I made my first ROM. And half year later, I got HTC One X. And I'm here now, with old Samsung, One X and Xperia X1. Enough?
EDIT: And I learned a lot here, both english and development. Thanks XDA.
veeman said:
Right... I don't even know Java and I can build and modify a ROM.
Click to expand...
Click to collapse
^ This...
You can even make Android Apps without using that much Java code. Only web Html Css Javascript.. There are frameworks out there like PhoneGap that help you get started!
Verizon sucked me in a two year contract, had the OG Droid X...never got around to rooting or anything special cuz I ended up swapping out with an X2 for free. My girl has the OC X too and ended swapping for the Droid Incredible 2. Once we both got those I got into reading about rooting, roming, moding and got really interested. Rooted my X2, rooted my girls INC2. Rooted a Droid Charge...now I'm on the Atrix 2 on AT&T...rooted and running the best...I love XDA now...better then dumb ol facebook!
Sent From My Rooted Motorola Atrix 2/MB865 Runing SuperCharged V7-Speed Boosted-OC'd at 1.2 GHz (ICS, 4.0.4)
i wanted to make my own app cause apps before were crappy.. started to make some stuffs for myself

Categories

Resources