[Q - Development] Testing ROM in Emulator - G Tablet Q&A, Help & Troubleshooting

I would like to work on my own ROM and I am starting to get the hang of moding the boot.img and stuff so I would like to start testing. I don't wish to run everything on my GTab all the time. Is there a way to get a custom ROM to run in an emulator? I have read a few threads on this, creating an AVD and swapping out the system.img, but I haven't gotten it to work. My guess is that it could be related to the kernel, but who knows. Anyone have any advice for this?

Honestly, the emulator is for testing App development and does a poor job even at that.
You'll need an actual device to do ROM development.
Most devs use their own device or have a second device to test their builds on.

Thanks T. Thats what I was afraid of.

When I built/compiled SnkBitten ROM for the Motorola Droid I know I locked up my phone hard plenty of times until I finally had everything working properly. Thank goodness for clockworkmod recovery and .sbf files for it. Have a nvflash ready to go if testing on your own device.
I eventually bought a second Droid to make things more convenient....but a phone is a bit more necessary to be functioning than a tablet too.....
Sent from my Viewsonic 10" GTab...GTabComb

Related

[Q] Dual Booting The Thunderbolt

I guess the question im asking is it possible to dual boot if it was devved up ??
I guess that would be a clockwork recovery option and partitioning scheme??
maybe im totally lost but it would be nice to dual boot instead of having to flash back and forth from your daily driver ROM to a experimental ROM that has bugs that need to be corrected and flashing back to your daily driver ROM
I like to toy around but once you get your everyday ROM tweaked in not much changes on it
Can someone give me insight on this maybe a break down of why it would or would not work
I know its a noob question but i would like to learn
Well I'm a n00b also and I found myself with backups I made with rom manager and I would hop back and forth between 2 or 3 setups I had. I found nothing wrong with booting into recovery to restore another rom I had then doing the same thing to a different rom the next day. It's probably a good idea to do it when you battery is at 100% though so you don't kill your battery stats.
yea but wouldnt it be cool to have three or even four booting slots pre setup when the devs really come around to where when you have the chance and time you could install this boot order 1=AOSP 2=MUUI 3=CM7 4=SENSE
and instead of flashing back and forth you could just select from boot menu and boot up to which ever flavor you feel like running that day
or maybe even a script that could run that could maybe flip through ROMS like flipping through themes and instead of rebooting it would just change boot images,system files, and apks in memory like a emulator then you could install one ROM and have the best of many devs work
LOL just thinking stupid stuff but is it possible ??? would love to hear Adrynalynes thoughts or some of these devs around here
LOL just tell me im stupid and it cant happen and ill move on
I am not a dev, but look up dual booting on the Nook color, and you can see that it is possible for Android system. Whether or not it can be done on the TB is another question.
The inc has dual booting. It's possible but will take some time. Only crazy talented devs such as r2doesinc can do stuff like this.
Sent from my thunderbolt
Yeah and the dual booting on the Inc was pretty recent. I had it basically since release and rooted about a week after root was available. Im pretty sure dual booting was just done within the past 2 months...

[Q] Trying to boot into Clockwork Mod

I am Trying to boot into Clockwork Mod and when the Birds screen comes up and the the recovery key detected in the upper left corner it gets stuck there. Is there anything I can do to get Clockwork working? Also I do not know how to NVFlash on a Macintosh Thanks
You used the wrong version of CWM. Go to my website and read. It's designed for beginners. All necessary files are available for download.
http://viewsonic-gtablet-for-dummies.webs.com/clockworkmod.htm
Your website is wonderful and easy to understand and I did use the right CMW v8 with the right folder ect. I think I have it in now but I also have TNT Lite 4.4 and it boots up ok but will not reinstall the Clockwork Mod and the one that is in there I have used for a couple of weeks and it worked well. I think I need to NVFlash it but I do not have a PC I am on a Mac. Love you Site it is great.
Unfornately, I know nothing about mac. Let me contact someone who knows a mac inside out. Let see what he's got to say about it.
You are awesome!
Nvflash is not possible on a mac. There isn't even a driver for adb.
You have 2 options. Either use chloroform to knock out a friend and then use his PC or tell us exactly what you did and then we can work something out.
So, you say you have TNT lite on there. That would make it 1.1 branch. I'm guessing you tried to get the CWM for 1.2 in there before and that bricked it. You really do need to nvflash either the stock rom or the cwm v8 in there. Unless you can tell us something else...
Here is what I did I installed Rom manager and went into it and from within I was able to flash a different version of Clockwork Mod and it worked and now I just started in Clockwork. Thank you so much for your help. By the way do you recommend in stayiing with 1.1 bl or going to 1.2 and trying the newer stuff? Again I will joined your new site and will be watching close and I am going to get a pc just so I can work on my Gtab. Thanks again Tom
You also have a great sense of Humor Thanks again Tom
Mac users can use Linux running in a virtual environment (like VirtualBox) to use nvflash. No drivers required.
I'm glad you found a solution.
The most stable and smoothest rom is the calkulin+clemsyn combo. The most popular is vegan-tab ginger. Look at my list on my site for the appropriate bl.
PS - I didn't know ROM manager works now. Early on, there were people reporting some horror stories about rom manager killing their gtabs. That's why I didn't recommend it. Hm... I'll take a look at it now.
Thank you I never thought of that I have VM ware on this Mac with Windows XP so I guess I could run it on that. Thanks so Much
Hey I read some bad things as well but I was desperate and thought might as well try it and hurrah it worked
You're welcome. Goodintentions is correct in bringing up the ROM manager issue though. Flashing ROMs or CWM with ROM manager can result in APX looping that requires more than a simple nvflash to correct. I've had several people send me their tablets for recovery after having used ROM manager.
+1. Rom manager is no touchey! There are at least a few new posts a week from people borkifying there tabs from using that app. Not saying it happens every time just that it can happen. Its not worth loosing all your data because you wanted to save 5 seconds.
Glad you got it worked out. Try nvflash from from your vm next time

[Q] CWM/nvflash bootloader questions

I'm trying to do my very first mod to my gtab. I've posted some questions already but have more before I proceed. I'm running bootloader 1.2-4349. Do need to set up nvflash before I attempt flashing to a different ROM? Is there a CWM that is specific for my bootloader? I've searched for these answers on the forums but was unable to find them. I found many posts about these subject but no one answred them directly. Any help is much appreciated.
NVFlash is never needed to flash a rom. It's a tool typically used to recover from a "softbrick." It CAN be used to flash a rom, but there are much safer alternatives. In fact, NVFlash is considered to BE the alternative to the regular methods.
starting with 4349, 1.2 bootlaoder, you can use the stock recovery to flash just about any of the 1.2 roms.
Which Rom are you interested in? The only roms that do not have a 1.2 equal are the gingerbread type roms. For instance, if you wanted Vegan 5.1.1, then Brilliant Corners is the 1.2 alternative. That's what I'm running. It's got to be one of, if not THEE, most complete rom available right now.
most 1.2 rom information is located at Slatedroid, not here.
I suggest that you check out the new website created by a user here (GoodIntentions). It's a "G-Tablet for Dummies" website. It contains a ton of useful information for beginners like yourself.
There IS a CWM that is specific to the 1.2 bootloader, but becuase the recovery on stock 1.2 has more options than the stock recovery used on 1.1 bootloader, it's not absolutely necessary. It's a good tool to have, but not necessary.
Your basic flashign technique for a 1.2 rom is as follows...download the .rar file the coincides with the rom you want. Unzip it to the root of your G-Tablet's memory. Restart the G-Tablet while holding down the volume up key. The tablet will boot into the stock recovery, and use the files you unzipped to flash the new rom. The rar file will contain to objects, a file called update.zip, and a recovery folder with a "command" file in it. What will happen when booting into recovery is that the tablet will first check to see if there is a recovery folder present. Think of this as a PC checking the floppy drive for a boot image before booting from the hard disk. If it sees the recovery folder, it will, by default, run the command file within it. The command file will unpack and install (flash) the rom image from the update.zip file.
With most of his roms, Roebeet has included the 1.2 CWM image in the package. It will not install automatically. There are threads available (on slatedroid) that contain instructions on how to activate the 1.2 CWM. There are various methods, if one doesn't work the first time.
If you are dead set on flashing a 1.1 rom, you'll first need to downgrade back to firmware 3588, which is a 1.1 bootloader firmware. Gojimi has posted instructions on XDA on how that is done.
So, your first step, is research the roms on XDA, Slatedroid, and other Android Tablet forums to find which one would best suit your needs.
As a beginner, I highly suggest that you steer away from the honeycomb roms, as they are still in alpha status and mainly used for testing and troubleshooting. In other words, they won't work perfectly, so to save yourself headaches, wait until your more comfortable with a more polished rom. ALL HC ROMS ARE 1.2 BOOTLOADER ROMS
The gingerbread roms are pretty stable, and from what I hear, pretty fast, but they lack a few things, namely full hardware acceleration. At the same time, if your heart is set on streaming netflix movies, then these might be the best choice for you. THE MOST POPULAR GB ROMS ARE 1.1 BOOTLOADER ROMS
The Froyo roms, while the most prehistoric are the most stable, most complete, and less "buggy" of all the roms. There are many varieties, based on various tablet user interfaces. FROYO ROMS CAN BE EITHER 1.1 OR 1.2 BOOTLOADER ROMS...BUT, the 1.2 branch has more of them, and there are 1.2 equalivents to just about all of them, so sticking with 1.2 for a Froyo rom is the best option because you'll still have the advanced stock recovery if you decide to stick with it.
That being said...why not mess around with the stock 4349 firmware to get a feel for the tablet a bit more? Check some things out. Get Titanium Backup and practice a bit with backup up apps and restoring them (you'll use this a LOT, especially if you rom jump trying to find the best one for you). Find out what you want the tablet to do, based on the stock firmware limitations. Some people are still using stock and not finding it too horrible. Spend a week with it, see what else you want it to do, and ask again when you know what you want out of your G-Tablet. And above all, ENJOY...you just entered a whole new world of personal computing...don't rush into anything and end up regretting your purchase.
P.S...I highly recommend you check out "G-Tablet for Dummies"
DarkHorse281 said:
I'm trying to do my very first mod to my gtab. I've posted some questions already but have more before I proceed. I'm running bootloader 1.2-4349. Do need to set up nvflash before I attempt flashing to a different ROM? Is there a CWM that is specific for my bootloader? I've searched for these answers on the forums but was unable to find them. I found many posts about these subject but no one answred them directly. Any help is much appreciated.
Click to expand...
Click to collapse
Check out my website written for beginners. It will explain everything you need to know.
http://viewsonic-gtablet-for-dummies.webs.com/
Added by edit.
Make sure you read my page on flashing a rom.
http://viewsonic-gtablet-for-dummies.webs.com/rom.htm
Also, check out my page on CWM.
http://viewsonic-gtablet-for-dummies.webs.com/clockworkmod.htm
Much appreciated...awesome!
You guys are both awesome and a credit to the anroid community. I can't tell you how much I appreciate you help. I didn't go into much depth on this thread because I had already written one earlier in the day that shared my background and future intentions for my gtab. I didn't want to sound repetative plus I realize people don't care to read a novel in these forums. So I figured short and sweet I might get a better response, and I was right. Anyway, I hear what you're saying about messing around with the stock firmware TJ. The truth is I've had the tablet now for 3 weeks and I've played with it constantly. I have to say it's not as bad as I thought it would be but it lacks so many things that I've come to love about my Samsung Galaxy Indulge. Many people make fun of or pick on Metropcs and make fun of them as a company, but I have to say here in Florida they're great. I love my phone even though its not the top of the line galaxy phone. And their 4g service is fast in my neck of the woods. Having had such a great experience with that android device, I would really like to make something awesome out of my gtab. I want to use the 4g on my phone to connect to the internet and turn this tablet into a completely mobile multimedia device (Xvid, Avi, Mp3, Netflix, Hulu). I would also like to get the gps software put on it so that I can put my google maps app from my phone on it. Once I am be to get the phone rooted and the wifi or usb tethering up I can use it for navigation as well. I also miss the Android Market. I would love to get that back up and running on my tablet so that I can download some of the apps that I'm familiar with. I really like the dolphin browser on my Indulge and would love to have it on my tablet. I had it for a while on the gtab but had to do a factory reset because of something my kids did and now that I'm back to having nothing on my tablet I thought now would be a good time to try a different ROM. Besides it seemed a little glitchy anyway. Sorry about the novel guys, but now that you know a bit about me and what I want to use my tab for, which ROM do you think will suit my needs? Do you still think that Brilliant Corners is going to cover what I'm wanting out of my gtab? I'm going to check out GoodIntentions' web site and maybe I will get a clue. Thanks for your help guys. I hope to hear back soon.
P.S. One additional question. What's up with the bluetooth pairing? I can't get this thing to pair with any phones. I've tried mine and my gf's and it absolutely will not work.

[Q] LG Recovery Rom/Rom Making from source code for LG Phoenix P505

I was wondering I'm looking to get into android development and I have a few questions that I was hoping someone could point me in the right direction?
I'm looking to make custom roms for the LG Phoenix P505 from scratch or use someones to learn how to? Tutorials or books or something would help, I'm not familiar with the code but I wanna learn so any help would be great, I'll be going into Computer Engineering Technology at a local college so I'm looking for a little head start in some areas.
I understand that a recovery menu or something around those guide lines is needed to use those custom roms? Is there one out for the P505 or is there a compatible one made from a previous rom?
I have the source code for the P505 its up on the LG open source website, can someone tell me what my next step would be?
url for LG Open Source: " lg.com/global/support/opensource/opensource.jsp"
I have the same phone but i cant find any support for recovery or roms! Can we get any help on that?
It would be nice, yeah... seeings how theres a fair amount of developers here,
even tellings us if someone is trying would be nice. I wouldn't mind
customizing my phone a bit more than what stock can do. So a shout
out to the developers, please let us know if anything is going on?
Or is everyone ditching this phone and going for the Thrive?
Any update on this?
I bought a Pheonix as my first android phone and would like to learn how to develop roms for it.
Unfortunately not that I know of, I haven't done any recent searching but yeah like you, the phoenix was my first phone too. Guess perhaps the devs don't wanna do anything for this phone?
Same here. There seems to be progress being made in this thread with the prepaid counterpart but this forum's pesky 10 post minimum doesn't allow me to post in that thread to glean some more information.
rom will be coming for this phone soon I'll make one. But how to you deodex a rom.
giandeli said:
rom will be coming for this phone soon I'll make one. But how to you deodex a rom.
Click to expand...
Click to collapse
you can deodex files using this kitchen:
http://forum.xda-developers.com/showthread.php?t=633246
instructions can be found here (i believe for your scenario you only need to do steps 3 and 5 and your ready to go):
http://forum.xda-developers.com/showthread.php?t=901417
Well, considering I already subscribed to this thread, I'll keep standing by.
yea giandeli we are all here by u! but please keep us updated! but shouldnt we first work on getting a kernel though n then a rom?
Well if its a modification of the original rom, can't you still use
the standard kernel? Or does it need some modification to it first?
i think the most important thing we need for ours is overclock cuz they are a bit slow but i think we need a kernel for that.
This guy is in agreement. Still waiting for something before I up and get another phone with support.
Well, its been two weeks. Is there any progress?
well it seems there is a rom made it isnt much but it is something heres a url:
forum.xda-developers.com/showthread.php?t=1215542
Sweet. Going to check it out when I get home.
however i dont see any instructions to flash it or use it as an update,
so if you have any pointers that'd be great.
I'm in the same boat dude. I've been doing a ton of reading just haven't had the time to act on any of it.
So i have an easy way to get clockworkmod recovery on, however heres my dellema, will and At&T rom work on a rogers phone if it is not unlocked? So is it pointless then for me to install the Carlos rom for phoenix?
** as a note,
A: backups are great
B: AT&T roms on rogers stay stuck at the AT&T logo in a loop of sorts
C: so that means i guess i need help in cooking a rogers rom for my Phoenix... (any pointers/help)
For those that are willing to give it a shot, i sort of had a P500
rom working perfectly, display wise, on a P505....
This is what i did:
1. Installed ClockWorkMod for optimus one through android
market app "Rom Manager"
2. Downloaded the final release of "Devoid"
url: forum.xda-developers.com/showthread.php?t=887281
3. ***MAKE A NANDROID BACKUP***
4. Wiped data, cache, and Dalvik, as well as battery stats
5. install from sd the "devoid" rom zip
Now theres 2 possible routes here....
1. Reboot now, you get the funky cyan messed up video screen
2.... Advanced restore in CWM of your boot partition...
the second route fixed the display, but upon boot, it said the battery
was over heating... and did a shutdown... i have yet to do a boot
up with ac power only, to see if that effects it.
**If anyone can point this at some devs, this may be a possible
work around for some roms?
The rom was a Froyo 2.2 and my boot was for a rooted 2.2.2,
what implications does this have?
So yeah thought i'd post my finding and if anyone knows anything
to add onto this, i don't have 10 posts yet, so I cant put this in
the develop area
***As an update
The "Devoid" Final rom was working full on the P505 from the method above
only if it was plugged in to a power source... It gave 2 errors,
1. When it was plugged in, it said "heat sensor detected high
temps, remove battery and place in cool dry place"
2. When not plugged in, "Battery overheateing, shutting down for safety"

[Q] Couple of quick questions!

Ok, so I'm going to start by saying that I am the furthest thing away from being an android noob, but this is my first Moto android device. I can see right away in terms of rom and kernel flashing it's a bit different than all the other android devices I've owned. I Picked up a RAZR for a really good price and it came loaded with Safestrap and had a 4.2.2 AOKP nightly loaded already on it. KI'm completely unfamiliar with bootstrap and how it works (I plan on reading up and learning everything today), but the guy that gave it to me said he accidently deleted the stock rom. To me, coming from all htc devices, I didn't think that was a big deal because who wants stock anyways? So, I'm not sure if it's critical to get that stock rom loaded back on in one of the slots or not.
I guess the point of this post is to see if anyone would care to share a couple helpful pointers for a first time moto user and hopefully make this learning process a bit easier.
Thanks to anyone who takes the time to reply with something other than "Read the stickies"
If you are happy with the AOKP, no need to install stock ROM. Stock ROM probably have less bugs, working 1080 camcoder, but lack options, that AOKP has.
localceleb said:
Ok, so I'm going to start by saying that I am the furthest thing away from being an android noob, but this is my first Moto android device. I can see right away in terms of rom and kernel flashing it's a bit different than all the other android devices I've owned. I Picked up a RAZR for a really good price and it came loaded with Safestrap and had a 4.2.2 AOKP nightly loaded already on it. KI'm completely unfamiliar with bootstrap and how it works (I plan on reading up and learning everything today), but the guy that gave it to me said he accidently deleted the stock rom. To me, coming from all htc devices, I didn't think that was a big deal because who wants stock anyways? So, I'm not sure if it's critical to get that stock rom loaded back on in one of the slots or not.
I guess the point of this post is to see if anyone would care to share a couple helpful pointers for a first time moto user and hopefully make this learning process a bit easier.
Thanks to anyone who takes the time to reply with something other than "Read the stickies"
Click to expand...
Click to collapse
Next time, make sure dont to delete the stock ROM, you can install other custom ROM on other ROM slots, make your stock rom as a backup if anything happens.
If you want to go back to stock ROM, or if your razr is bricked, i suggest you to download the fastboot file and flash the xml.zip you downloaded using RSD lite from the PC. Its just the same as 'Odin' if youre Samsung user. Download the fastboot file in the link given and also download rsd lite,you can google for it
http://sbf.droid-developers.org/umts_spyder/list.php
Sent from my GT-I9300 using xda app-developers app

Categories

Resources