This bug is awesome....but how'd it happen...?? - G1 Android Development

So recently i've been getting this bug, where CM6 skips the boot screen entirely and goes directly to the mod (meaning around a 10 second boot for me) Although this is awesome, why is my phone doing this? Should I be worried that this happens?

Call me daft, but this sounds like its soft rebooting?

No he means it's going from the Splash Screen to the Lock Screen. I think that's a good thing. You posting in the wrong section is a bad thing.

YES, I can kind of see how this is a bit .00002% dev related, but yea sorry buddy.

Wait wat
You mean that when you totally turn off your device, press POWER and wait 10 sec you can use your phone?

Kinda makes sense... Sounds to me like the boot animation is none existent...
I wonder if you remove it completely from ones phone, could we duplicate this...
I'd love to have a 10 seconds phone!

This is also happening with mine, just today the phn rebooted and to my surprise in about 15 seconds i was on the lock screen again and was able to make a call without any problem. Sweeet.

ForTehWolf said:
So recently i've been getting this bug, where CM6 skips the boot screen entirely and goes directly to the mod (meaning around a 10 second boot for me) Although this is awesome, why is my phone doing this? Should I be worried that this happens?
Click to expand...
Click to collapse
Can you run a nandroid and upload it? I'd love to recreate this. It sounds like its only a kernel crash though.

yea this has happened to me as well when i was on a nightly that came out after RC2. i just went with it.

how about a logcat after it boots? im sure someone could make sense of it

mejorguille said:
Can you run a nandroid and upload it? I'd love to recreate this. It sounds like its only a kernel crash though.
Click to expand...
Click to collapse
http://tnayeem.co.cc/nandroid.zip

Link not working for me

Very cool if true. Definitely not a soft boot disguised as a hard boot (no link) by CM6 ? I could skip the (boot) fireworks any day.
Regards, PK

I was just doing some poking around inside CM6 and found this inside:
/system/etc/init.goldfish.sh
Code:
# disable boot animation for a faster boot sequence when needed
boot_anim=`getprop ro.kernel.android.bootanim`
case "$boot_anim" in
0) setprop debug.sf.nobootanimation 1
;;
esac
Not sure if relevant, but here you go.

ok....I changed it.....no difference
marlopainter said:
I was just doing some poking around inside CM6 and found this inside:
/system/etc/init.goldfish.sh
Code:
# disable boot animation for a faster boot sequence when needed
boot_anim=`getprop ro.kernel.android.bootanim`
case "$boot_anim" in
0) setprop debug.sf.nobootanimation 1
;;
esac
Click to expand...
Click to collapse
see http://forum.xda-developers.com/archive/index.php/t-581871.html

Alanrocks15 said:
YES, I can kind of see how this is a bit .00002% dev related, but yea sorry buddy.
Click to expand...
Click to collapse
Dev's can choose to have a boot animation or not.
Dev's might be able to find a way to speed up boot.
Dev's might decide to change the boot more.
Yeah...I can see how this is only ".00002%" relevant.
Sent from my HTC Dream using XDA App

Case solved...
It's part of the ROM not a bug..
Surprised don't be!! Just remember how awsome the Dream is before it starts to die out..
Dream 4 LyFe. (G1)

lbcoder said:
I will personally guarantee that it is NOT booting in 10 seconds. What it is happening is this; very low memory error -- either system_server or acore or binder (I forget which one it is....) gets killed, so it goes back to the glowing "X" for a moment while it reloads.
THE KERNEL IS NOT RELOADING!!!!
Click to expand...
Click to collapse
I have a less sophisticated, seat of the pants, take on Icoders declarative… intuition. If it sounds to good to be true… (it is) As neat as it would be if it were true, It seems highly unlikely that with the hundreds of coders spending trillions of hours poring over the code, that this little gem could have been missed.
With that said, what a nice bit of “discovery” and provocation. Bears fruit in my travels sometimes.
Regards, PK

Related

[NO ROOT][DEV] IncredibleTorch

I've been working on a flashlight app for non-rooted phones. I have been able to recreate the one that costs $0.99 (I think? I'm not exactly sure, I don't own it.). Sadly, I have the same flaw. I can't get it to exit correctly, so you have to reboot. I'm still working on it, and haven't quite given up (although I think I have concluded this exploits a higher level bug that I just can't control).
6/17/10 - I think I've concluded there is no way to shut it off. I believe this is a bug in the camera software that allows this to happen. A method just hangs forever. (All of this is I think ) Sorry guys, you probably wont see anything better (w/o root).
Change log:
Alpha rev1 - Initial release
Click to expand...
Click to collapse
Known bugs:
You can't use the camera after running this and can only use it once! (until you've rebooted, it's not permanent )
Click to expand...
Click to collapse
Download APK
Download src.tar.gz because who doesn't love open source?
Wow. Good job dude. I know its finicky but you usually only need the flash light to stay on. Oh well on the reboot to turn off. You'll figure it out. Really good job man.
Honestly77 said:
Wow. Good job dude. I know its finicky but you usually only need the flash light to stay on. Oh well on the reboot to turn off. You'll figure it out. Really good job man.
Click to expand...
Click to collapse
Woo hoo, at least one person likes it! I've only gotten put down or no replies elsewhere. haha
I know this isn't fantastic or anything, but it's better than nothing in my eyes.
anything that helps the community is always appreciated. So ty very mucho
Yea I tried the same thing. Stuck at the exact same problem.
I am by no means an expert Android dev, but I have tons of .NET experience. I used the example in the SDK, then just added the parameters to turn on the LED when taking a picture. Then it freezes and it goes to hell from there.
I tried threading/etc. No luck, I stopped working on it. Plus now there is the root, so why not just do that and use the Lamppu Application.
Thanks for trying anyways
That's exactly where I am! takePicture just freezes after a few pictures I believe. I also tried threading, no luck.
But I don't have .NET experience, I'm just a noob.
Yeah, I know now there's root Lamppu is better, but I'm personally not rooted. I figured I'd just release it because no one else has except the guy who is trying to sell it... which is just rude lol.
werd ~!~ 10 more
thanks for trying on the app though! it just confirms that I need to get root on me phone! I dont know why ppl would bash your for contributing..fail/succeed..we all benefit. It's only from attempts that we learn how things work..im sure anyone in root dev can confirm that!

[Q] insensitive touchscreen in areas

The screen on my tablet becomes insensitive in certain areas, requires hard presses or doesn't respond at all. Funny thing is the problem seems to go away after about 30 min of use but returns if the screen is locked and unlocked. Anyone having similar issues or a fix? Currently running vegantab beta 4 but had same problems with tnt lite.
EDIT: this is the exact issue I have although this is not my video
www DOT youtube DOT com SLASH watch?v=-Uhwpn3buzQ
Search for Calibration Fix in these forums. Depending on which ROM you are running, you can either create an empty file named calibration.ini file and put it at the root of your /sdcard or /sdcard2 and reboot. that seems to fix the issue for many people.
Thanks for the help! That fixed my issue.
im having the same issue. but this fix is not fixing the problem, unless i am doing something wrong. I am using the vegan rom.
I've used astro to create a new zip file called calibration.ini
but not working....am i doing something wrong the way I am making the .ini file? If so what is the correct way. (sorry if I am sounding completly stupid, I'm actually computer literate lol)
Is there another way to calibrate the screen?
I'd create the calibration.ini file on BOTH /sdcard and /sdcard2, then power off/on, not touching the screen, since there's apparently a hacked version of the calibration program, just to be sure.
have already tried that to no avail lol
night_dragon said:
im having the same issue. but this fix is not fixing the problem, unless i am doing something wrong. I am using the vegan rom.
I've used astro to create a new zip file called calibration.ini
but not working....am i doing something wrong the way I am making the .ini file? If so what is the correct way. (sorry if I am sounding completly stupid, I'm actually computer literate lol)
Is there another way to calibrate the screen?
Click to expand...
Click to collapse
Hi,
Sorry, didn't read your post carefuuly enough. Did you say you created a *ZIP* file?
Should be just an empty file, with filename all lowercase.
Jim
ok...not real sure how to do that.
can you give me a step by step?
I'm just now starting to dabble in android so im still low in the learning curve, sorry.
night_dragon said:
ok...not real sure how to do that.
can you give me a step by step?
I'm just now starting to dabble in android so im still low in the learning curve, sorry.
Click to expand...
Click to collapse
You can probably use ES File Explorer. Use that and browse to /sdcard. Click menu icon (the 4 lines icon), then New on bottom, then file, and type the 'calibration.ini' for file name. Do same for /sdcard2.
Power off, then on.
After completely on, use File Explorer again, to delete those files, otherwise it'll try calibrate every boot.
awsome...thank you very much!
night_dragon said:
awsome...thank you very much!
Click to expand...
Click to collapse
Did it work?
worked like a charm!!! thank you very much jimcpl hopefully one day i can return the favor.
night_dragon said:
worked like a charm!!! thank you very much jimcpl hopefully one day i can return the favor.
Click to expand...
Click to collapse
You're very welcome. Was glad I could help . Some payback to the Gtab community from me.
Merry Christmas, and enjoy you Gtab!
Jim
Wow I thought it was just me
Sent from my PC36100 using XDA App
So I did it but it didn't calibrate does it do it automatically or should it prompt me?
Sent from my PC36100 using XDA App
snipestech said:
So I did it but it didn't calibrate does it do it automatically or should it prompt me?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
My understanding is that the calibration apparently runs once when you power up, if it finds that calibration.ini file. No prompts or visible display.
snipestech said:
So I did it but it didn't calibrate does it do it automatically or should it prompt me?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
It doesn't do anything different that you'll see at start-up. Make sure you let it sit for a minute after it starts so you don't mess it up.
M5Ivan said:
It doesn't do anything different that you'll see at start-up. Make sure you let it sit for a minute after it starts so you don't mess it up.
Click to expand...
Click to collapse
How do you calibrate a touchscreen without registering touchpoints? Hmm. Interesting. I guess I should try this since people report it working. I don't have a problem when holding it landscape, but in portrait mode unless I'm reading an e-book, I find myself having to pay attention to touching buttons.
Neoprimal said:
How do you calibrate a touchscreen without registering touchpoints? Hmm. Interesting. I guess I should try this since people report it working. I don't have a problem when holding it landscape, but in portrait mode unless I'm reading an e-book, I find myself having to pay attention to touching buttons.
Click to expand...
Click to collapse
Well, I've certainly seen other touchscreens that do more sophisticated calibrations. Nonetheless, this seems to calibrate the un-touched state and it seems to achieve good enough results that everybody I've seen who's tried it with touchscreen sensitivity issues, issues with pinch-and-zoom, issues with soft keyboard keys in certain areas of the screen and so on, has posted that it fixed the issues for them.
Do not touch the screen while the tablet is booting. Wait for it to completely boot. The calibration process will pick up your touch, and interfere with the calibration process. I noticed today I picked it up and carried it across the room while booting the the screen was totally unresponsive. I have never noticed that problem ever before (I am old fashioned and still running 2.00 with the calibration hack added). When I rebooted it was fine and I remembered the developers for my Odroid T has said the same thing while they were working on a better screen calibration routine on boot.

[ROM][7/4/2011] Liberty S(GingerSense 2.3.3) 4th of July BBQ Special(WildfireS/Salsa)

A direct port of the Wildfire S rom(not using legend or espresso base)
Using my kernel(speed)
WiFi Working
Camera/Accelerometer WORKING
BT NOT WORKING?
FM Radio NOT working on Salsa but WORKING on Wildfire S
HTC hub skins DO NOT download on Wildfire S but DO download on Salsa
I WOULD HIGHLY SUGGEST A FULL WIPE
BBQ Special Wildfire S
http://www.mediafire.com/file/55g7g28kbf01hc5/LibertyS_BBQ_Special.zip
Side of Pico De Gallo Salsa
http://www.mediafire.com/file/m57l7sufq44u7c1/PIcoDeGallo.zip
Going out with a little bang with my last week with the Liberty
post other bugs below
Thanks. Hate to loose you to another phone
Sent from my Intruder running CyanogenMod
if some awesome phone comes out in the coming months, ill have this phone back, i get 2 upgrades this month(mine & my girls) and i'm getting the infuse,she wants it too but i said to wait with the 2nd upgrade
and ill still get to tinker every once & awhile
if i can get camera(right it actually does take pix just BLUE just no preview) & gsensor working it'll be this rom being worked on
I hope you will continue your development in HTC Aria
drowningchild said:
if some awesome phone comes out in the coming months, ill have this phone back, i get 2 upgrades this month(mine & my girls) and i'm getting the infuse,she wants it too but i said to wait with the 2nd upgrade
and ill still get to tinker every once & awhile
if i can get camera(right it actually does take pix just BLUE just no preview) & gsensor working it'll be this rom being worked on
Click to expand...
Click to collapse
Hey drowning... You may want to double check your rom. XD I got no capacitive buttons right now. I can fix myself, but others may not understand. But wifi working is absolutely beautiful.
Nice work ill wait though till it gets most bugs ironed out
Signatures are fancy.
I'll be helping with it until I get my Inspire. No ETA on that though.
darknessrise1234 said:
Hey drowning... You may want to double check your rom. XD I got no capacitive buttons right now. I can fix myself, but others may not understand. But wifi working is absolutely beautiful.
Click to expand...
Click to collapse
sorry about that just popped in the /system
as the one i was using on my device(the nandroid) was corrupted in the transfer to my laptop
how to fix the capacitive buttons??
zhuoyang said:
how to fix the capacitive buttons??
Click to expand...
Click to collapse
take liberty-keypad.kl from a liberty rom and put it in /system/usr/keylayout
my fault for the issue
once i get accelerometer to work again i will re-up
My buttons work but they don't light up. Oh well xD
drowningchild said:
take liberty-keypad.kl from a liberty rom and put it in /system/usr/keylayout
my fault for the issue
once i get accelerometer to work again i will re-up
Click to expand...
Click to collapse
usb mounting doesnt work either
more BS i need help :'(
drowningchild said:
usb mounting doesnt work either
more BS i need help :'(
Click to expand...
Click to collapse
I think I may have a few HW fixes, but not sure yet. Could be a boot loop. Lets find out!
Btw to all who use this: When you hit shutdown, but your going into HBOOT for Recovery, make sure to take the battery out before you try. It tends to try to Hot Restart itself when you dont take the battery out.
mine shutsdown fine
i have hibernate mode off though
drowningchild said:
mine shutsdown fine
i have hibernate mode off though
Click to expand...
Click to collapse
That could be why! No idea how to nail it, but not worried about it. Gotta worry about this HW. Which I just got stuck at splash screen with. Stuck on Flushing Chain part. Gonna try a complete wipe. Nope. That didn't work either. Okkayyyyy... What the heck did I change!
darknessrise1234 said:
I think I may have a few HW fixes, but not sure yet. Could be a boot loop. Lets find out!
Btw to all who use this: When you hit shutdown, but your going into HBOOT for Recovery, make sure to take the battery out before you try. It tends to try to Hot Restart itself when you dont take the battery out.
Click to expand...
Click to collapse
Yeah! I noticed that. Another way to get around that without taking the battery out is to uncheck the Fastboot under the Power settings.
Disk drive mounting works for me. No idea about you guys.
all mine does when i try to is toast with preparing sd card
drowningchild said:
all mine does when i try to is toast with preparing sd card
Click to expand...
Click to collapse
No problems here. But I did a clean wipe as well.
darknessrise1234 said:
No problems here. But I did a clean wipe as well.
Click to expand...
Click to collapse
Gps works!!! Has me almost to a pinpoint.

[REQUEST] LCARS Theme, Boot Anim or Launcher :)

Example...
http://forum.xda-developers.com/showthread.php?t=701574
Would be awesome if we could get some sort of LCARS (Star Trek) Boot animation, theme or full launcher whipped up
Could anybody edit the boot anim linked above to work on our Tab?
This is it at correct size but no audio. Ill see what can be done there so stay tuned...
EDIT: please send full credit to original artist who made this animation as I simply edited their wonderful work and really have not done anything that amazing... the art and care taken making the original on the other hand... fantastic work.
nobleskill said:
This is it at correct size but no audio. Ill see what can be done there so stay tuned...
Click to expand...
Click to collapse
Awesome dude, Wil try this as soon as Tab is charged so I can backup
Would be great if you can get the mp3 to play also
TheATHEiST said:
Awesome dude, Wil try this as soon as Tab is charged so I can backup
Would be great if you can get the mp3 to play also
Click to expand...
Click to collapse
Yeah... haven't had a chance to look at it again as I did that post on the fly and got sidetracked (yes this IS the normal track, everything else is side) about to investigate further.
Ill whip up a flashable zip if i can get it going.... with that though just root explorer into //system/media replacing the old one and setting the permissions to match. Or absolute system tools will get you there too. Just find //sdcard/goodies/bootanimations and place the zip into another folder. Fire up ast and select downloaded boot animations and it will find it and let you install..
Sent from my GT-P1000
nobleskill said:
Yeah... haven't had a chance to look at it again as I did that post on the fly and got sidetracked (yes this IS the normal track, everything else is side) about to investigate further.
Ill whip up a flashable zip if i can get it going.... with that though just root explorer into //system/media replacing the old one and setting the permissions to match. Or absolute system tools will get you there too. Just find //sdcard/goodies/bootanimations and place the zip into another folder. Fire up ast and select downloaded boot animations and it will find it and let you install..
Sent from my GT-P1000
Click to expand...
Click to collapse
Thnx bud, will give it a try tonight
nobleskill said:
This is it at correct size but no audio. Ill see what can be done there so stay tuned...
EDIT: please send full credit to original artist who made this animation as I simply edited their wonderful work and really have not done anything that amazing... the art and care taken making the original on the other hand... fantastic work.
Click to expand...
Click to collapse
the animation ends long before enters its main screen, leaving plenty of black blank space. Maybe it's just my ROM (CM7), probably someone can give this a try an report back...
nobleskill said:
This is it at correct size but no audio. Ill see what can be done there so stay tuned...
EDIT: please send full credit to original artist who made this animation as I simply edited their wonderful work and really have not done anything that amazing... the art and care taken making the original on the other hand... fantastic work.
Click to expand...
Click to collapse
Is there any source or anything that you need from me to get audio? I'm happy to help if there's something you need.
naijaguy said:
the animation ends long before enters its main screen, leaving plenty of black blank space. Maybe it's just my ROM (CM7), probably someone can give this a try an report back...
Click to expand...
Click to collapse
Haven't tried it on my Tab yet, but I did try it on my Nexus and I can confirm the long black screen period.
ZeroXtreme said:
Haven't tried it on my Tab yet, but I did try it on my Nexus and I can confirm the long black screen period.
Click to expand...
Click to collapse
Sorry for the delay guys. Must admit it wasn't till I did a cache wipe I noticed the issue. I'm on to it though and I think I know how to fix. Stay tuned.
@anyone. I can't get the audio to work. Ran a script I found in another animation that puts sound onto cm7 of some variation but it just doesn't work for me on overcome. I've tried a couple things with no joy but I wasn't sure if mp3 would be compatible as the other notifications are all ogg. At any rate ill tweak it to loop till boot is finished but if anyone knows something I don't about getting the audio please don't be shy. Lol. Absolutely no expert or even anything more than a tinkerer with good fortune for the most part so any advice or help is (usually) welcome... ;-)
K this new one loops at least. Will try a couple more things on the audio but no promises sorry.
Maybe the creator can help you out bud, He replied earlier regarding sources.
TheATHEiST said:
Maybe the creator can help you out bud, He replied earlier regarding sources.
Click to expand...
Click to collapse
Sorted. Pop this (Power_on.ogg don't rename or capitalize) in //ect/ and set permissions to rwxr-xr-x and its all good.. oh and may as well update the boot animation in //system/media as iv add a smoother loop and a small delay to get Audio lined up close. Flushable zip if i can get to my pc before midnight...
fingers crossed it works for everyone else too but for reference im on Icarus atm....
EDIT: LOL Its gonna be super hard to to do that though unless i trip and fall through space time back an hour and a half as it 130am now... nighty night then
I could make you the images need to setup a lcars style to use with desktop visualizer, thats probably the best that can happen tho :/
Im also a trekkie lol
The loop is great. Thanks!
Audio is working.
Audio is cool but not at all synced with my animation.
When audio starts, the Samsung logo is still up.
I have overcome on my t-mo t849
natious said:
I could make you the images need to setup a lcars style to use with desktop visualizer, thats probably the best that can happen tho :/
Im also a trekkie lol
Click to expand...
Click to collapse
wah , i thought you busy with making your Game\site\theme\snap pictures of your car
will be cool if you make the pictures , could you ?
k0sh said:
wah , i thought you busy with making your Game\site\theme\snap pictures of your car
will be cool if you make the pictures , could you ?
Click to expand...
Click to collapse
I am busy but I also like startrek alot lol
Sent from my GT-P1000 using XDA Premium App
natious said:
I am busy but I also like startrek alot lol
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
owh yeah who doesn't
Any new news on this?
The bird is the word.....
Sent from my
I dont supose there is any chance of a port of this to the Galaxy Note.

themes=lag?

hey guys, yesterday i bought a new galaxy S6, so far everything is smooth and fast, i heard that applying a theme can cause lag...is this true? because if it does then i dont wanna change my stock theme...
Is it really that hard to apply a theme and test it yourself? Some people are really ridiculous...
BBs19 said:
Is it really that hard to apply a theme and test it yourself? Some people are really ridiculous...
Click to expand...
Click to collapse
no its not hard, but if someone already tried that then they can give some feedback...if you cant help then do not comment
I mean, you have the phone in hand right? You couldnt take the 5 seconds out of your time to try it yourself? Instead you thought it'd be better to be ridiculed as you wait several minutes, even hours or days until someone tells you something you could have confirmed yourself?
Chocolina said:
I mean, you have the phone in hand right? You couldnt take the 5 seconds out of your time to try it yourself? Instead you thought it'd be better to be ridiculed as you wait several minutes, even hours or days until someone tells you something you could have confirmed yourself?
Click to expand...
Click to collapse
Maybe he's afraid once you change themes, even if you go back, the lag will stick.
Why is everyone on xda so damn quick to bash people for asking questions?
ingenious247 said:
Maybe he's afraid once you change themes, even if you go back, the lag will stick.
Why is everyone on xda so damn quick to bash people for asking questions?
Click to expand...
Click to collapse
no kidding , wow way to jump on a fellow xda member reaching out for help , they way I read and took it was yes maybe lag would stick , no reason to jump on someone for asking a Q were all here to help and contribute leave your attitude at the door !
Chocolina said:
I mean, you have the phone in hand right? You couldnt take the 5 seconds out of your time to try it yourself? Instead you thought it'd be better to be ridiculed as you wait several minutes, even hours or days until someone tells you something you could have confirmed yourself?
Click to expand...
Click to collapse
just like the two guys above me said...i have my reasons to ask...and again if you cant help then do not comment...i am not waiting for people like you to help...i am not new here...and every time i ask something they answer....
Installing a theme causes a bunch of lag during the install process itself (under the covers there are like 20 apks getting installed). I've always applied themes right after installing them, so any for any lag after that it's hard to say if it's left over from the install or is from the application. In any case, after a reboot I haven't noticed any lag.
piccit said:
Installing a theme causes a bunch of lag during the install process itself (under the covers there are like 20 apks getting installed). I've always applied themes right after installing them, so any for any lag after that it's hard to say if it's left over from the install or is from the application. In any case, after a reboot I haven't noticed any lag.
Click to expand...
Click to collapse
how long do you have your phone? because on pocketnow.com they said there S6 started lagging after a week with a theme...and they made a poll about this...they think its because of the themes....
yellowish tone white
Did you compare your screen white with an edge . . ! ! Can you test it and tell me about the whites if there is yellow tone
gibrilm said:
Did you compare your screen white with an edge . . ! ! Can you test it and tell me about the whites if there is yellow tone
Click to expand...
Click to collapse
i didnt test the screen whites...the only issue i see for now is the home button...its a bit loose...but its not a big issue...

Categories

Resources