yashsingh1/xdaforums huggingface dataset:
[Captivate Q&A, Help & Troubleshooting] jahanz:
BATTERY

I see some people are wondering abt battery life, here is what i found.

after the recent |1.5.13| update MIUI battery has been pretty good,

i got about 20 hours life, which is pretty good considering:I had display on for 3.5 hours. im using the platypus quorra 8 kernel

...before i was getting around 12 hours with same usage.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Correct
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Thank you! I will be back to report the news after all is done! :)
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Ok so I'm at

4. Reboot into Recovery using the 3 button method. Next, choose, Install from SD card, and flash the Captive CM7 Initial kernel zip. Pull the battery and put it back in and go back into Recovery.

I think I have a problem. I put the files on the on the external sd :mad:

Right now I'm in recovery do I select "Reboot System now"? and then put the 3 files on the phone then repeat?
[Captivate Q&A, Help & Troubleshooting] mcord11758:
No

Mounts and storage or advanced I forget which

Mount sd to pc copy files over
[Captivate Q&A, Help & Troubleshooting] 10Stars:
ok I'm in mounts and storage. Can't find mount sd to pc? there is mount /sd-ext a bunch of unmount and format stuff and mount usb storage

edit

-----------------------------

unmount /system

unmount/data

unmount/ cache

unmount /mntsdcard

mount /sd-ext

format boot

format system

format data

format cache

format sdcard

format sd-ext

mount USB storage
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Mount usb

Sorry hope you caught my edit
[Captivate Q&A, Help & Troubleshooting] 10Stars:
plug in usb first or just choose usb "mount USB storage"?
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Plug in mount usb
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Ok I get options to unmount or go back. My pc isn't detecting the external sd :(

really sorry about this
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Don't worry bout that now. Do you have the files on your pc, if not download again transfer to internal
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Yeah I have the files on my pc. So do I just exit out of this USB mass storage device? cause I can't seem to transfer anything over while in this option
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Confused you mounted your phone as usb mass storage which should make it a f our g drive on your pc. You can't open them and copy files over?
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Yeah for some reason I can't It's like forever trying to install a driver(till now) and when I got to my computer it isn't recognizing it at all

EDIT!!!!!!!!!!!!!!!!!!!

-----------------------------------------------------------

Ok re did it by unmounting then mounting and now it shows up
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Do you have sdk on your pc?

How did you manage to put the initial zip on your internal sd and the rest to your external

You can odin stock start over
[Captivate Q&A, Help & Troubleshooting] 10Stars:
edited my post haha thanks man I got it copied now! so now just continue the process? Unmount USB, Install from sd, yada yada?
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Yes
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Stuck at

6. Power off your phone. Go into Recovery using the 3 button method. Select Mounts and Storage, Format System, Format Cache, Format Data. Go back and select Install from Zip, Install from SD Card and select the latest Miui zip. Reboot phone.

I did format system, format cache, and format data, but I can't choose Install zip from sd card, nothing happens, just blank then I have to press power again. HELP! :(

EDIT

_____________________________________

btw the bottom says

Clockwork mod recovery v3.0.0.5

E: no misc partition

E: no misc partition

E: no misc partition

Formattting / system...

done.

formatting /cache...

done

formatting /data...

done

back menu disabled.

E:no misc partition
[Captivate Q&A, Help & Troubleshooting] agarp:
What is the best kernel to use with MIUI

any suggestions guys
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Dont worry non issue
[Captivate Q&A, Help & Troubleshooting] mcord11758:
So you can not install a zip from sd?
[Captivate Q&A, Help & Troubleshooting] 10Stars:
yeah I choose >install zip from sdcard>power button> all I get is a background with the arrow with the hat. I can't install the latest miui zip like it says in step 6.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Mounts and storage

Make sure sd card is mounted
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Did you flash rc2?
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Ok I selected mounts and storage...nothing exact same problem background with only hat and arrow.
[Captivate Q&A, Help & Troubleshooting] 10Stars:
yes I believe I did I chose all the files from the first page
[Captivate Q&A, Help & Troubleshooting] mcord11758:
What was the last thing you flashed
[Captivate Q&A, Help & Troubleshooting] 10Stars:
miui-rc2cap followed step 5 now I'm on 6 but can't select latest miui zip(1.5.13)
[Captivate Q&A, Help & Troubleshooting] Prototype159:
Turn off your phone, and go back into recovery. I had that happen to me before.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
If you cannot select anything in recovery and you do not know what you flashed last going val to stock and starting over may be best bet. I really can not tell you what is going on, on your end
[Captivate Q&A, Help & Troubleshooting] 10Stars:
how? like pull the battery?
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Ok so lemme pull the battery, go back into recovery and see if I can install 1.5.13. If i can do i have to go through mount and storage again? or do I just choose install zip. That is in case this all works
[Captivate Q&A, Help & Troubleshooting] mcord11758:
format system and cache

Install zip from sd
[Captivate Q&A, Help & Troubleshooting] 10Stars:
wow it worked I was finally able to select 1.5.13.

Installation Complete! :)

Please reboot your phone!

So choose -reboot system now from recovery correct? I'm so excited!
[Captivate Q&A, Help & Troubleshooting] mcord11758:
yes
[Captivate Q&A, Help & Troubleshooting] 10Stars:
My 3g icon is gone. Already inputted apn settings still a no go :(
[Captivate Q&A, Help & Troubleshooting] mcord11758:
lock unlock screen a couple,times
[Captivate Q&A, Help & Troubleshooting] 10Stars:
Still nothing. i'm pretty sure the apn settings are correct

also my date and time were wrong but I was able to fix that.
[XPERIA X1 Android Development] josip-k:
I've been testing androids lately,and I've spotted some things that really aren't good for further developing.

that things are:

1.charger connecting.it would be great if the phone could charge when android is booted.

2.battery draining.

you boot the android,and you can't charge him,bla bla...anyway,its the second main problem.

3.keyboard.its not such a big problem,just good to mention.

ok,im sure that developers will work it out.its ok,cuz xperia x1 android is still work in progress.we should all say a big THANK YOU to developers!

cheers,joe
[XPERIA X1 Android Development] bruno_123:
patience my friend

vrijeme će ti odgovoriti xD
[XPERIA X1 Android Development] Medulla_Oblongata:
Call me a pessimist but I don't think there will ever be a stable, fully working build (charging, keyboard, wifi, bluetooth, camera, bug free). Sure we can use Android on the X1 but it never is going to be a permanent WM6 replacement due to problems.
[XPERIA X1 Android Development] josip-k:
Well,I'm not shure either...I believe in it...because I think that neopeek will find the way...we should let him to do it in peace...I believe in him.
[XPERIA X1 Android Development] n00b3r:
It's mostly up to the kernel developers to fix the charging issues. sp3dev stated somewhere that in his 2.6.35 branch, he has fixed up the battery drivers to be less "hackish". If YGGE/duckly could somehow backport it back to the 2.6.29 kernel, then charging should work better.
[XPERIA X1 Android Development] Medulla_Oblongata:
In all fairness and respect to the kernel devs and those who work on Android for X1 but they all work on different things. Instead of combining their knowledge and efforts to release a fully stable/functional, they work on different releases (newest android versions). But who what difference does it make if your android has 2.2 or 2.3.

What i'm trying to say is: the devs need to pick one version that is best suitable for the X1 and try to get it 100 percent working.

That is my point of view anyway.
[XPERIA X1 Android Development] dkn00b:
Well said my friend.. I agree on this aswell..

Seeing that same android build reacts differently on all X1 models, what the devs need to do is take only one android build and work on it till the major issue are sorted out.

With android the problem is that a new version comes out every couple of months and it is annoying trying to keep up with soo many changes.. People should really slow down on the new versions and perfect the one which is already out..
[XPERIA X1 Android Development] josip-k:
Yeah,thats really true...if developers join their powers,we would have daily use rom in no time...but no,they just develop new versions,2.2 and 2.3...and they could easly improove cyanogenmod version to work 100%.if they would do that,then nand boot would completely evolve,cuz everyone would focus just on that,they wouldnt have to think about rom developing.AND WE WOULD HAVE ANDROID PERAMENTLY INSTALLED ON OUR XPERIA X1!

And isnt that true?
[XPERIA X1 Android Development] dkn00b:
Just a thought.. even if all the devs do work on one rom,seeing that they live away from each other I'm not too sure if it would be that efficient..

I really should get myself in to rom development in the long run :)
[Epic 4G General] bigdreco:
Is anyone getting the Screen of Death.. (or whatever its being called).. on EC05??

im on EB13 and I have to pull my battery out at least 8 to 10 times a day because the screen wont come back on...

is anyone getting this on EC05 or has the issue been fixed??
[Epic 4G General] k0nane:
Sounds like you need to Odin.
[Epic 4G General] cpcormier3:
I got that on EB as well. It's weird because it didn't start as soon as I flashed it. It was maybe about a week later when it started doing that. When it happened to me my phone would vibrate sporadically and then the screen would finally go "black" or turn off. The odd thing is the bottom four buttons would stay lit. I would have to pull the battery. It started happening more and more frequently. I've since flashed to EC and am rooted but that's it. I've been flashing back and forth between different set ups, so I haven't been on this current set up for more than 2 days. I did however have the same problem today at lunch. I had to pull the battery to get it to reset. I was playing a video I recorded on my phone before the screen went black. I don't know if it was media related. I will play some more videos and see if it does it again.
[Epic 4G General] cpcormier3:
I Odined a fresh EB a couple of times and it would eventually come back. Not sure if it was a program I was using that triggered it on EB. I don't know if it might be a media issue. I use my camera and video pretty frequently, so that's the only thing I can think of at this point. It's the only thing I really use, even on EC, on a regular basis except my XDA app. I hope it's not that!... :)
[Epic 4G General] k0nane:
Have you tried formatting your SD card yet?
[Epic 4G General] cpcormier3:
I haven't with EC, but I did with EB and I still had those problems. Today was the first day that it's happened to me. I've only been on this set up for the last couple of days, because I flashed a couple of things and hoping that I would have better luck with stock. I will try re-formatting when I get home. I tried playing a coulpe of videos (the same ones as before) to see if I could replicate the problem, but haven't been able to yet. Hopefully that was just a situation to where the phone just needed to reboot....
[Epic 4G General] aleph23:
!!! Y E S !!!

It happened to me four times today!

Does anyone know a way to get logs to continuously write to disk? Otherwise I have no idea how to troubleshoot this.

I'm running, midNIGHT EC05 with minimal apps installed. I use SetCPU, and I've just changed the settings. I'm thinking this may have started after trying to use 100MHz and "startass" setting. My profiles are now set to 200Mhz minimum and "ondemand." I'll let you know how that goes.

Having to use my old BlackBerry Bold as an alarm clock now, just in case!:(

EDIT: I did not format SD with this install but have formatted less than 2 weeks ago.
[Epic 4G General] aleph23:
Happened again after setCPU settings were changed. :(
[Epic 4G General] ichefae85:
That happened to me but what's weird isnit only happened when I was on di18 kept having to pull the battery and once I updated to eb13 it all stopped
[Epic 4G General] alfiej:
Do you have Beautiful Widgets installed? Is one of their widgets on your HS? o_O.. Had this problem on DK28..
[Epic 4G General] nicholishen:
Same here. Like the term sod, btw. Happening when I use flash. I'm on stock ec coming from fresh odin, and formatted sd.
[Epic 4G General] aleph23:
No Beautiful Widgets here.

I am running Go Launcher, which is new to me. Will likely eliminate that tomorrow. Oh yeah, the only other widget new to me is "Android System Info" (which is great, btw).

I run Pure Grid calendar and Sense Analog Clock widgets, but I've been running those without trouble for months.

Does anyone know how to change logging levels?
[Epic 4G General] mommasboy:
The only rom I was able to use without the SOD was myfrankenstein DK28. While on

EB13 it did it contstanly and much hasnt changed while running EC05. I formatted my sd card and only installed minimal apps. I tried not restoring from Titanium or Astro. Fresh install from market and it still happens. I've stopped using SetCPU, that didnt help either. I do have Beautiful widgets running on my home screen, but I aslo had that while running DK28. I have no idea what the problem is. It is a complete pain having to check my phone every couple of mins to make sure that its still on. Over night forget about it, every morning the phone is dead. Can anybody help me please.
[Epic 4G General] bigdreco:
I just Odin to EC05 last night.. and installed the new syndicate frozen rom... and my screen just went blank today.. so far it has done it twice in less then 5 minutes....

but I have noticed that if the phone is plugged into the charger that it wont do it.. no matter how long goes past.. thats the only way I know my alarm is gonna go off in the morning.. is to have it plugged in..

do anyone know if its doing it on plain Stock untouched modem and stock rom??

because if not imma flash over to that.. I cant take this crap too much longer..
[Epic 4G General] KOYHOY:
I have had this so called SOD for almost 3-4 months and as a matter of fact I just ordered a replacement 10 minutes ago. My SOD involves the phone either rebooting or completely going black except for the bottom cap buttons, then vibrating in order once, then 3 times, then once, and so on until a battery pull. This has happened on the charger as well for some roms. I can tell you it does it on a stock rom. I just did a full reset, stock eb13, updated to ec05 OTA, wiped sdcard and everything except contacts. The problem exists, so I am almost 100% that it is a hardware flaw somewhere. I even did the ##786# reset. I'll let you know if a new phone fixes the issue :]
[Epic 4G General] bigdreco:
damn.. even on the stock rom huh???

well do anyone know if it might have something to do with rather journaling is on or off??

other wise.. i have not a clue of what could be causing it..
[Epic 4G General] cpcormier3:
I have EC stock rom, but am rooted. It happens to my phone. It doesn't happen quite that often like you guys, but it happens maybe about once a day. It happened more frequently when I was on EB. It would happen at least 5 or 6 times a day. It's strange cause it never happened right when I flashed EB or EC. I was fine for a couple of days before it happened. Not sure why....?
[Epic 4G General] sultan.of.swing:
I had to pull the battery 20 or more times today, same issue. Mine started doing it right after I added the news and weather widget to the homescreen. If it does it tonight im thinking of takin it back to stock and getting a replacement.

EB13 btw, flashed EC05 a few minutes ago and will try it out.
[Epic 4G General] aleph23:
I had about six today. I'm flashing stock and running untouched starting tomorrow. If that doesn't fix it, it's replacement time for me too.

Sad, because a stress test on my phone at 1.4ghz ran fine.

Btw, I still use set cpu, but only in known safe configurations, no OC.
[Epic 4G General] KOYHOY:
I just received my replacement. Brand new phone, I installed a formatted sdcard and synced contacts... within 10 minutes it seemed to be happening again. The phone was stock di18, then it updated to stock EB05... I have no idea what the problem could be now, since this phone is brand new.
[Vibrant General] gamikzone:
I noticed there hasnt been a new modem since 2/1, did they stop making modems? i think the current modems are great but im just curious :confused:
[Vibrant General] Bernardos70:
They don't release Modems by themselves. When there is a new leaked ROM by Samsung, some devs here rip out the modem part of it and post them separately from the ROM itself. There hasn't been a leaked ROM for the Vibrant in a long time, so there are no new modems.
[Android Software Development] ryanmcdonald:
I have searched, read, and tested my butt off on this so, I'm not posting without doing my own homework. I promise.

I'm looking for CURRENT documentation on how to create a standard update.zip file that simply copies a file into /system/foo/bar and chmods it.

All the links I've looked at seem to have old deprecated syntax on the update-script file, or the examples given simply do not work.

I do NOT want to download someone else's script-pak, windows app, or any other such thing that makes it for me.

As for signing, I'm completely comfortable signing using the SDK, although I'll probably take the easy route with ZipSigner/Signapktic running on the phone/tab now that I've discovered those.

Can someone please post a very simple howto?
[Android Software Development] cj chitwood:
Thanks for posting this -- I'm with you, I'm not a script-kiddie using someone else's tools, I want to learn it for myself, but like you, I've searched, and what I've found -- while probably correct and accurate -- isn't working the way they say it should. I've even followed the directions on android.com itself and they fail, so I'm starting to suspect my recovery or my ROM is at fault, not the signing itself.

I have a bunch of files I want to place in /system/foo/bar and chmod, as you say, and the error I'm getting is "No signature (172 files) Verification Failed". I do indeed have signatures in the file, as when I open them I see CERT.RSA and others that weren't there before signing, so IDK what the deal is with the error I'm getting (obviously something's missing -- maybe a public key verification from a trusted authority like Thawte or VeriSign).

I see you, too, are getting as much help as I am seeing others get. They start threads, get all sorts of praise from script kiddies who have no clue and just see a point-click solution, and then someone asks for real help and everyone shuts up for months until the thread eventually dies.

But kudos to you, sir, for being in the same boat as I! :)
[Android Software Development] Gene Poole:
See my other reply to you in a similar topic.
[Android Software Development] killersnowman:
I may be wrong but dont you have to sign system apps with the same key that the rom was signed with.

You can compile and sign from source and then add system apps or data

From something awesome
[Android Software Development] Gene Poole:
System apps must be signed using the same key that is used to sign the platform. This has nothing to do with the ZIP signature that may or may not be present on a recovery update. The actual platform public key is stored within the ROM and gets extracted just like any other file in the system image.

If you compile from source, you use the platform key provided in the source; typically: build/target/product/security/platform.x509.pem. If you are an OEM like say HTC, you'll use your own key to compile the platform and sign the system apps.
[Android Software Development] cj chitwood:
So in order to put ringtones in the appropriate system folder, I have to sign the update.zip with the same key that e.g. Roalex uses to sign the ROM? Of course that won't work, as I don't have his key, and then there are kernels and themes that other people make that work, and surely they don't have Roalex's key.

So I think I'm misunderstanding this still.

But if I compile from source, I sign with the key that's in the source, so if I know Roalex compiles from source, if he signs with the source key, I can sign an update.zip with that key and it will work?

Also, Recovery says there is NO signature in the file, but does that not necessarily mean really what it says?
[Android Software Development] Gene Poole:
I don't know who Roalex is. I don't know anything about your device per se. I don't know anything about Amon-Ra recovery. I was hoping some others would jump into this thread to help out with these unknowns. I've always used clockworkmod recovery so that's all I can speak for, but I did D/L an Amon-Ra recovery to analyze it.

As far as custom ROMs go, most are based on some OEM ROM and still contain system files signed by the OEM and the OEM certs are still included with the ROM so no modifications are necessary.

If you have a simple update.zip with just some files to be written to the system partition, then signing the update.zip file is unnecessary. A signed update.zip is only useful when it is distributed by an OEM with an official OEM update since the stock recovery will refuse anything not signed by the OEM. One of the reasons for using a custom recovery on rooted devices is that it gets around this security check to allow you to install custom stuff written by someone other than the OEM.

If you are having trouble installing an update.zip that contains an otherwise valid working "amend" or "edify" script, then I don't know what the issue might be. Clockworkmod recovery (at least all the versions I've run) has an option to toggle signature checks in the "apply update from SD card" sub-menu, but I don't know of any good reason that it is there since it only has one key and it is the same "test" key distributed in official source distributions, and the toggle is off by default.
[Android Software Development] Gene Poole:
I've been poking around github and grabbed the current source for amon-ra recovery (https://github.com/packetlss/amonra_bootable_recovery) and interestingly, amon-ra has a signature verifyer that is missing from clockworkmod recovery. It actually parses the zip file for the META information and ensures that the included signing key for the zip is consistent with the manifest and each file's signature.

So, it would seem that your update.zip should be signed the same way an APK is signed, using jarsigner.

Do you have a valid signing certificate and are you signing your update.zip correctly?
[Android Software Development] socksfelloff:
After learning to compile cm from source I found it easiest just to edit the .zip and then resigning the zip. I have added a few programs into /system and never had an issue. Perhaps this is because it's cm?
[Android Software Development] killersnowman:
i was just going to conjecture that perhaps the amon-ra recovery is verifying sigs. you however have found proof. thank you

the only way someone would have the valid sig is for it to either be public, or for them to have signed the platform themselves and have there own private key. i ran into this same problem when investigating the android.intent.action.REBOOT intent which can only be broadcast by system apps signed with the same sig as the platform.