yashsingh1/xdaforums huggingface dataset:
[Droid Eris Q&A, Help & Troubleshooting] dpiddy14:
This is an great concept for a ROM. I have also been thinking about this, because shortly I will be retiring this little guy. I was going to give it to my wife because she refuses to get a smartphone and has an mp3 player from like 8 years ago that she refuses to upgrade! The Eris keeps my kids busy when we are out also. This way I wouldn't have to worry about my kids (or my wife) doing something stupid!
[Droid Eris Q&A, Help & Troubleshooting] wildstang83:
True.

Powered By: GSB CM7 2.1
[Droid Eris Q&A, Help & Troubleshooting] dreed75:
Does it work better to remove the line from init.d or whatever? Or do errors finding files not matter?
[Droid Eris Q&A, Help & Troubleshooting] Randull:
There is a project underway to do this very thing, keep an eye on these forums and they'll be posting it when its ready for the world.
[Droid Eris Q&A, Help & Troubleshooting] onelegofthestool:
that sounds awesome can't wait to put it on my eris when i get the Thunderbolt!
[Droid Eris Q&A, Help & Troubleshooting] dreed75:
and my next phone will have mobile hotspot so whenever I am in my car and away from my home wifi, my "carputer" will have internet access for maps. sweet
[Droid Eris Q&A, Help & Troubleshooting] dreed75:
Do you know who is going to post it?
[Droid Eris Q&A, Help & Troubleshooting] bftb0:
That's a very good question, and probably has a less-obvious answer than you might think at first glance.

The fact is, that due to US law relating to 911 calling, all cell phones have a GPS unit in them (even "dumb phones" where the phone software does not allow you to take advantage of it). I would suspect that those GPS modules are all "A-GPS" (Assisted GPS : approximate location is provided by the cell phone network).

Because it appears that 911 calls can be completed even on un-activated phones, it may also be true that A-GPS assistance data can be transferred to a phone which is no longer activated on your plan's service.

If that is true, turning the radio completely off might not get you the best possible GPS behavior. OTOH, that assistance data might only be provided to an un-activated phone if a 911 call is in progress.

(The Qualcomm MSM7600 has a "gpsOne" core that is supposed to be able to do "unassisted" GPS; but even if it will work that way, the time to fix will be slow-ish)

Interesting question; I'm gonna experiment a little bit. Check this post later for an update.

bftb0
[Droid Eris Q&A, Help & Troubleshooting] bftb0:
So, I ran the following experiment:

- Wipe /data, /cache

- Flashed the March 2011 OTA ROM

- before booting for the first time, moved /system/bin/rild to /system/bin/rild.saved

- booted

- Manually set the time/date (not set from network as usual)

- side-loaded a file manager, GPS Status, WiFi Analyzer, AnyCut

- started GPS Status app - first fix: 3 seconds. Cleared A-GPS state; same result (3 second fix)

- attempted voice call (note phone is still activated on service): failed

- tried toggling Airplane Mode: unsuccessful

- tried EPST and *#*#PROGRAM#*#* (+ 000000 password) : no gui appeared & logcat inconclusive

- tried "turn radio off" (via "Phone info" activity shortcut created by AnyCut): failed

- turned on WiFi: success

- started WiFi Analyzer: found networks

- added WPA+PSK network & browsed the web using WiFi

- Authenticated to Market (gmail account cred setup & check; gmail & contact syncs started)

- Attempted to use Market app - failed

So - the short strokes are that removing "rild" did interfere with:

- Airplane Mode widgets, EPST, "Mobile Network" widget, "turning off the phone", using the Market

What it did not interfere with was:

- GPS

- WiFi

- Google account credentials, contacts, email

The only rub in this that I can see are two things:

(1) The GUI controls for toggling "Airplane Mode" obviously depend on having "rild" present. Whether or not the radio is on or off (drawing juice) is an open question not answered by this short experiment.

(2) The Market app did not seem to work, despite successful Google creds being present on the phone. This might be a deal breaker for this particular hack, and might not. Obviously, apps can be side-loaded. If you wanted a WiFi toy to let the kids use with a fixed set of apps (that you side-load), no big deal - this will work.

I'm not sure why the Market app did not work; I certainly have used it on other ROMs with the Mobile data turned off. I took a quick peek at the interface status(es) with

ip link ls

and all the rmnetN interfaces (Mobile data) were marked down.
[Droid Eris Q&A, Help & Troubleshooting] dpiddy14:
bftb0 You're a cyborg or something aren't you?!?! :D
[Droid Eris Q&A, Help & Troubleshooting] strongergravity:
Perhaps we can learn from the non-Google approved tablets like the Archos or Viewsonic Gtablet, or even the old Gentouch. It seems like they had to spoof a radio in order to get the Market to work.
[Droid Eris Q&A, Help & Troubleshooting] dreed75:
Well, we can just NOT delete the daemon and still have all functionality with the market and just delete the "phone.apk" if we want to be sure of no accidental 911 calls.

We can also turn off the mobile network to save power and still have wifi "enableable". Maybe the ROM could actually have the mobile network off and not enableable since the whole purpose of this new ROM is for an unactivated eris.

I wonder if it would be easier to make a list of the things that we for sure do not need/want and then just pick an existing stable ROM and make a flashable .zip that removes/disables all the things in our list. That way, we could just flash the ROM and the zip right after and be done with it...no ported or brand new ROM that has bugs at first to mess with. There probably isn't too many things that would be in this list anyway.

Thanks for the experiment bftb0! We are becoming more knowledgeable thanks to you and not just blind flashers that can only follow step by step tutorials like I was a year ago :)
[Droid Eris Q&A, Help & Troubleshooting] bftb0:
The odd thing was - I booted the phone back into recovery, and restored the "rild" daemon, and then rebooted. The Market was still complaining about "server reset" (or something like that), even though everything else (voice/SMS/voicemails/browsing via mobile network, etc) was normal on the phone.

So I went in to Settings -> Applications -> Manage applications -> Market, and cleared the cache. (No data appeared to be in use). Despite doing this, the problem still continued. (Now, in re-writing this, I realized that I should have tried rebooting the phone before I took the next step... but, hey; you can't test everything)

So, just to be sure it wasn't a "bad flash" or something, I did a factory reset, and booted the phone with all it's facilities intact, and everything went smoothly, including Market access.

So, there was something cached in /data somewhere that was causing the odd behavior; so it certainly is not conclusive that "the Market can't be used this way". I think it is just a bug of some sort.
[Droid Eris Q&A, Help & Troubleshooting] wally19:
It is going to be based on "THERom". Look for it to be released soon. It is in testing. We got some bugs to work on, but it is running ATM. ;)

Walter
[Droid Eris Q&A, Help & Troubleshooting] drakko1980:
Gotta name for it ... that way we know what to look for?

Gingerbread on Eris.....what Verizon/HTC *****es!?
[Droid Eris Q&A, Help & Troubleshooting] dreed75:
It's called TheMP3ROM
[Droid Eris Q&A, Help & Troubleshooting] wally19:
http://xdaforums.com/showthread.php?t=979808

Here Ya Go.
[Droid Eris Q&A, Help & Troubleshooting] ecs1984:
i found one piece of information, maybe this is old news to people. i am hoping it is helpful to someone more knowledgeable than me.

you can enable/disable cell and 3G function through Terminal Emulator with no effect on wi-fi. this is accomplished by typing "su" followed by "stop ril-daemon". to reverse this, type "su" and "start ril-daemon". or rebooting will bring you back to normal.

is the "stop ril-daemon" command something that could be written as a script that runs at boot up? i feel like this would be an easy way to turn any ROM into what we are all looking for.

i am very excited for TheMP3ROM... with an upgrade on the horizon i will definitely be trying that out.
[Droid Eris Q&A, Help & Troubleshooting] roirraW "edor" ehT:
That IS useful information. Thanks! I would be interested in a way to get that to run at every bootup, as well, so I can use it with any ROM I want.
[Droid Eris Q&A, Help & Troubleshooting] bftb0:
I started to write a reply, but as I did a little bit of research, it turned out that there were plenty of complications.

For instance, the "obvious" techniques to do what you want are to:

(A) try to leverage any "import" directive in /etc/init.rc in order to run a customization that is stored in the /system partition. e.g., GSB v1.6 has:

# Include extra init file
[B][COLOR=green]import /system/etc/init.local.rc[/COLOR][/B]

unfortunately, this technique is hindered by (*1)

(B) try to use an app which runs your "stop" script after receiving the "BOOT_COMPLETED" broadcast.

unfortunately, this technique is hindered by (*2)

(*1) In GSBv1.6 (for instance), the "import" directive occurs prior to the start of the "default" class of services. This means that your "stop" script will run before the service even starts. :( The Android docs seem to imply that "/sbin/init" blocks while it waits for child processes to complete, so it might not even be possible to launch a script with an "exec" that has a sleep in it - "init" will just wait for it to finish.

(*2) Depending on what kind of crap is loaded on the phone, it might take minutes after the lock screen appears before a "BOOT_COMPLETED" receiver runs

There is a way to delay the stop - but it's kind of ridiculous: in /init.rc, you define a "oneshot" service in a non-default class, and start that class after you start the "default" class. Your oneshot service would just be a script that performed the stop command, perhaps after doing a sleep. (/sbin/init does not wait on services, since they are intended to be long-lived). The reason that this is ridiculous is that it requires you to customize /init.rc and repack your own boot image... and as long as you are doing that, you might as well just delete the rild-daemon service definition.

Finally, I will point out that when "/sbin/init" parses its' init script ( /init.rc ), if it finds a service definition where the underlying file (script or executable program) does not exist, it simply ignores that service definition. So, merely deleting the "rild" daemon is almost the same thing as stopping the rild-daemon service: the difference is that when it is present, it runs for some length of time. Whether or not anything important happens the first time it runs after a boot occurs is sort of unknown - it might do nothing important at all (from the point of view of putting the phone's radio in a known state, such as OFF).

bftb0
[Droid Eris Q&A, Help & Troubleshooting] roirraW "edor" ehT:
As always, thanks for the very informative post!
[Droid Eris Q&A, Help & Troubleshooting] ecs1984:
yes, thanks bftb0. i was hoping that might get some wheels turning in some brains smarter than mine.

would it be rude or a breach of the developer "code" (pun intended?) to ask CPCookieMan and/or wally19 how they accomplished this in their TheMP3ROM which has the radio disabled? i am still rather new around here and don't want to ruffle any feathers.
[Droid Eris Q&A, Help & Troubleshooting] bftb0:
I'm hardly in any "insider circle" here, but I can't see how a technical question would be offensive.

Having said that, though, you are more likely to gain people's respect - and therefore energize their willingness to respond to you - by demonstrating that you can at least start to pick apart someone else's ROM to figure out what they did... or at least meet them halfway in that effort.

If you want to unpack boot images, have a look at this tutorial. Doing this will allow you to compare boot images between a dev ROM and a stock ROM. Also, do a search about the "unyaffs" utility - it will allow you to unpack "system.img" files from HTC PB00IMG.zip ROMs, if you want to compare the "system/" mount point between an HTC ROM and the (unpacked) system/ folder of a ROM file. (For the latter, you can also do a recursive pull with "adb pull /system/ foo/" if you want to just pull it off a booted phone - this will work so long as the adb shell is root-privileged, but won't work on a stock ROM because of a privilege issue. Either that, or just "unizp" the ROM file.).

cheers

bftb0
[Droid Eris Q&A, Help & Troubleshooting] ecs1984:
you described my thought process perfectly... which is why i figured it was a little more courteous to ask here rather than busting into CPCookieMan's thread and demanding answers to technical questions like that :o ... i am hoping that i can start meeting people halfway (or even further hopefully soon). i've made a lot of progress in recent weeks, i am now able to confidently create and flash my own ZIP updates... very basic stuff but it's a start!

thanks a lot for the pointers, i have been reading a lot of the tutorials around here recently and poking around in various ROM's to see if i could notice anything different, but since i wasn't always sure what to look for, i never quite found the answer (or maybe i DID find the answer but didn't know that it was staring me in the face!)

i will look thru the links you gave and see what else i can figure out. i hadn't come across these particular unpacking tutorials yet, so i am sure i will learn something new regardless.
[Droid Eris Q&A, Help & Troubleshooting] dragon1018:
Awesome will check out tomorrow. Thanks
[Hero CDMA Q&A, Help & Troubleshooting] jworley02:
My little siblings hero went through the washer and it didn't work for a while but now it will start but its stuck and the HTC screen. Any fixes for it?
[Hero CDMA Q&A, Help & Troubleshooting] andythegreenguy:
Send it through the dryer, may be :D :p ;)
[Hero CDMA Q&A, Help & Troubleshooting] oohaylima:
It still able to even turn on after that? Impressive. So by not booting at all, does that also mean you tried going into the recovery console with no luck?
[Hero CDMA Q&A, Help & Troubleshooting] jworley02:
I was able to get into the recovery thingy using the power button + up volume. I tried using the htc restore but it couldn't find the device because its stuck at the loading screen and it is unrooted.
[Hero CDMA Q&A, Help & Troubleshooting] TJinWV:
If it's unrooted, just try to run the Sprint RUU.

BTW, stick it in a bag of rice for a few days - it'll help draw out the moisture.
[Hero CDMA Q&A, Help & Troubleshooting] jworley02:
Sprint ruu can't find it.
[Hero CDMA Q&A, Help & Troubleshooting] pstevep:
seriously try the bag of rice.. supposed to do wonders, i have friends that have similar issues (toilet).. and once the rice dried out the phone it worked like new.. but it smelled like butt ;)
[Hero CDMA Q&A, Help & Troubleshooting] jworley02:
It's been like a month so I'll see if I have any rice but I have a feeling it won't make a difference since its been so long.
[Hero CDMA Q&A, Help & Troubleshooting] aqualls:
Make sure HTC sync is installed on pc. Drivers need to be installed probably.
[HTC Inspire 4G] Chad_Petree:
I'm officially jealous, the thunderbolt is the best variation of the evo/desire hd it has:

1400 mah battery vs the 1230 mah battery on the Inspire

8GB internal memory + 32 gb sd card! vs 4 gb internal memory + 8 gb sd card on the Inspire 4g

A kickstand

I know you'll say get a thunderbolt! but i use gsm phones :( i just wanted to let my frustration out
[HTC Inspire 4G] tmt64:
Verizon's selling it for $249.. I wouldn't pay an extra $150 just for those features you mentioned..
[HTC Inspire 4G] dsterner:
i agree.

a kickstand? lol.

so, i definitely wouldnt pay an extra 150$ for more memory.
[HTC Inspire 4G] ronan_zj:
because ATT network sucks, and Verizon 4G network rocks
[HTC Inspire 4G] mudknot2005:
don't care to much about the kick stand and battery life isn't really a problem with me. The only thing I would really want from it is the lte capability...
[HTC Inspire 4G] Chad_Petree:
a bigger battery is MUCH needed on the inspire 4g ! is ridiculous to put out a "4g phone" with a 1230 mah battery :mad:
[HTC Inspire 4G] id10terrordfw:
Not where I live. Verizon can't get signal in my office at all, AT&T is at full bars... Same at home.

I'll stick with the Death Star.
[HTC Inspire 4G] mudknot2005:
I get around a day- day and a half with mine. That is about how long my blackberry bold lasted so I really can't complain about battery life..
[HTC Inspire 4G] gtg465x:
The Thunderbolt has a bigger battery because it has an LTE radio. LTE radios use so much more juice than HSPA+ radios that the Thunderbolt will likely get worse battery life than the Inspire despite the larger battery.
[HTC Inspire 4G] mrpiggae:
That's what I read too, that HTC couldn't get the thing to stay alive for more than like three hours with the LTE radio in it. Hence all of the delays and push backs.
[HTC Inspire 4G] Cobra302:
i get pretty decent battery on mine, about what i had on my droid x, internal memory doesnt bother me too much as i just use the sd card for the most part. the kickstand means nothing to me as i would never use it, i think it looks silly. i think all in all the inspire is pretty solid!:D
[HTC Inspire 4G] EvoKnvl:
My guess is price point. Once you go to the $200 price point, you're going to be directly compared to the iPhone... At $250, you're more than the iPhone. Like it or not, that's what people are going to view it as. At $100 price point, the device looks a lot more attractive to prospective buyers. And to hit that price point, you're going to have to remove some features...

I'll admit, if the price was $200, I would probably have just stayed with my iP4. But at $100 PP, I figured I could play with it until Jun and see what the iP5 has to offer. If it's nothing new, I'll stick w/ my Inspire. If the OS offers some real changes, I may switch back...
[HTC Inspire 4G] Thrashavich:
Why don't we just put the thunderbolt bettery in the inspire?

Aren't they all the same size?
[HTC Inspire 4G] Chad_Petree:
thats exactly what i tought but it seems the battery on the thunderbolt is not compatible with the inspire 4g, im waiting for someone to confirm it :confused:
[HTC Inspire 4G] jdk2:
The dimensions of the battery in the Thunderbolt probably won't allow it to fit in the Inspire.
[HTC Inspire 4G] Maedhros:
It would be great if the battery fit.

However... if the battery life was originally only for 3 hours with the LTE radio on, and HTC somehow managed to improve that using some sort of software mods it would be interesting to see what was done, and if it is applicable to the Inspire.
[Android Software/Hacking General [Developers Only]] sahiba202:
I am working on a project on Augmented Reality with Android. The code captures the camera video, finds the marker and displays a cube on top of it. After this a motion vector (in the form of pixels moved in the x and y direction) is found. What I need to do is read the pixels from the GL layer and draw them again after moving them by the distance specified by the motion vector.

The GL layer is specified using the GLSurfaceView class which is a transparent layer. The problem I am facing is that when I use glReadPixels() to read the pixels and convert it into a 480x800 array (nexus one screen resolution), I get 3 different portions of the cube instead of one.

I intend to move the pixels by the motion vector after this and use glDrawPixels() to put the pixels back into the frame buffer

Please help me with the interpretation of the same. Is there something I am missing while using glReadPixels and also if there is some other function that will help me achieve the same. I was thinking of using glBlitFrameBuffer() but this is not supported by the android GL10 class.

I have attached the part of the code where I am reading the pixels and changing them to a 2D matrix along with the image of the pixels I reconstructed using MatLab.

Any help will be greatly appreciated.

gl.glPixelStorei(GL10.GL_PACK_ALIGNMENT, 1);
IntBuffer pixels = IntBuffer.allocate(384000);

gl.glReadPixels(0, 0, 800, 480, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE ,pixels);

File f = new File ("./mnt/sdcard/Sahiba_PixelData_" + flag + ".txt");

if(!f.exists())
f.createNewFile();
FileWriter fw = new FileWriter(f);

int pixelsArr [][] = new int [480][800];
//int temp[] = pixels.array();
int n=0;
for(int i=0; i<480; i++){
for(int j=0; j<800; j++){
pixelsArr[i][j] = pixels.get(n);
//temp[n + pixels.arrayOffset()];
fw.write(pixelsArr[i][j] + " ");
//fw.write(pixels.get(n) + " ");
n++;
}
//fw.write("\n");
}

Log.i("GLLayer", "Pixels reading and storing finished !!!");
}catch(Exception e){
Log.i("GLLayer","Exception = " +e);
}
[HD2 Android Q&A, Help & Troubleshooting and Genera] zolom:
Currently I have a NAND DESIRE HD CWM ROM with 400MB RECOVERY.

I want to experiment with a NAND GINGERBRED CWM ROM requiering 135 MB HE and DALVIK, not to touch the DATA and then install the new rom zip file from SD card (all under AD RECOVERY)

Few questions:

1. Can I use the new ROM with the 400MB recovery?

2. or Do I have to apply RECOVEY 135MB?

3. Will the older DATA map with the new rom?

4. Will I be able to return to the older (desire HD) rom with no problems and data integrity?

Please advice.

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] rikardo1979:
u can use 400mb for all ROMs cos its the biggest, so obviously 135mb fitt in this ;)

!!! Just be careful and read your ROM thread carefully cos sometimes u need to edit flash.cfg inside CWR before u flash it into the phone !!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] akapaul26:
You need to make a backup in CWM of the old ROM if you wish to go back to it later with all settings/data still the same etc. Also if you try and move data from one build to another it probabally wont work unless you backup with titanium backup. CWM will only work on similar build base.
[Desire Q&A, Help & Troubleshooting] ehalai:
hello everybody...

a friend of mine just gave me his desire, he bought a used one and tried something to update its rom, but now its bricked and its in my hand to be fixed.

the problem is that it doesnt boot at all... i mean when i press power button to make it on, the htc logo appears and starts again and again with a little VIBRATE. so i can say that its in a boot loop.

ok when i press vol down and power button it goes into the boot loader, where it is written that its S-ON with boot loader .93, and when i click on recovery it goes into the boot loop like i wrote above.

i also have a Desire HTC and it is rooted using unrevoked and i m running an HD rom over it. its a complete packaged phone...

i have a knowlege how to root and etc. but in this bricked desire case i dont know what to do. coz it never happened to me... i also searched the forum for a solution, didnt got any.

please help me in this matter... ask me question and please give me a solution,/

i tried to install the rom by downloading this RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00. 32U_5.11.05.27_release

i think it is working, but it says while installing that from image 2.33..... to imrage 2.29.... and then it tries to push everyting i mean tryies to run its setup and within 2 min it says Customer ID error, try someother package...

edit 1: i itried your way also by copying that zip file and then pasting it on the sd card... i sucessfully loaded in fastboot but i think the same error as above,,, CID error...

now what can i do?

edit 2: Have also tried unrevoked in fastboot mode... power on fastboot usb and then starting unrevoked, but unrevoked keep saying to connect device and enable usb debugging mode. nothing happens

thanks Hassan