yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Rick_1995:
If you look closely, It should work already and NOT require any of chainfire's work. cLK is open source, Linux is open source, Android is open source (atleast the part related to this). The only issue you might think of is that the core will be in wfi state instead of pc, unless kokotas has fixed pc in clk.

Don't you think it should be

unsigned code = simple_strtoul(cmd + 1, 0, 16) & 0x00FFFFFF;

:p
[HD2 Android NAND Development] ogonzuhnina:
That's a good point.

I think booting into android to have a ring might be an issue in some cases

(bootloop, long time to boot android itself)

Using a recovery mode to quickly boot into and initiate an alarm that would be more reliable.

... at least I think :)

nerveless, good job and keep up the good work
[HD2 Android NAND Development] Warren87:
Very nice work, seems like more and more people are learning to dev.
[HD2 Android NAND Development] tb-killa:
I think we doesnt have sources of charging deamon for the HD2 right?

If we checked different threads we could read that htc doesnt public sources for Desire, others!

I agree that C(LK) could also do the Same job!
[HD2 Android NAND Development] Rick_1995:
code for charging daemon is not needed....

@kokotas, Why aren't you entering WFI state ?

You should do something like this:

Create a suspend thread and ensure there is no other thread with a higher (or the same) priority.

Inside the thread handle, there should be an infinite loop with something like this:

int suspend_task(void *args) {
int timeout_ms = (uint32_t) args;

htcleo_panel_bkl_pwr(0);

while( ! (key_pressed(KEY_POWER) && (timeout_ms <= 0)) ) {
if(usb_is_connected())
charge_device();
else
arch_idle(); // WFI
timeout_ms -= 10;
}

reboot();

return 0;
}

#define MARK_ALARM_TAG	0x53000000

void board_init(void) {

.........

uint32_t MinutesToSuspend = target_check_reboot_mode();

if((MinutesToSuspend & 0xFF000000) == MARK_ALARM_TAG) {
MinutesToSuspend &= 0x00FFFFFF;

if (MinutesToSuspend > 3)
MinutesToSuspend -= 2;

thread_create("suspend", suspend_task, (void *) (MinutesToSuspend * 60000) , HIGHEST_PRIORITY, DEFAULT_STACK_SIZE)
}

.........

}
[HD2 Android NAND Development] kokotas:
Honestly, never thought of Wait For Interrupt state:o

I'll rewrite the code based on your example and I'm thinking of creating a new branch in git in order to upload the complete source of latest cLK.

Regards!
[HD2 Android NAND Development] Rick_1995:
Thanks, was wanting to update too. Just remember to create a new branch instead of an entirely new repository.

Regards :)
[HD2 Android NAND Development] tytung:
FYI.

Kernel patch arch\arm\mach-msm\pm.c in the first post has already added into my git.

It was included in my latest ICS kernel r3.6.

https://github.com/tytung/android_k...mmit/23357b2a9d64a076f1b9ac664dae209748fd5ece
[HD2 Android NAND Development] kokotas:
Thank you tytung:good:

I changed the relevant source in the application (also updated git repo) and tested successfully.

This also gave me the chance to try something else. Since it makes "oem-" prefix available to be used for other purposes, I've written another application which uses that prefix in reboot_reason for rebooting directly to any extra boot partition, with no need to press any buttons during boot-up.

Will post more info in a separate thread.

EDIT1

:

Link

EDIT2:

Just created new branch here.

Regards!
[HD2 Android NAND Development] clio94:
Thank you for your great work.I am trying to make offmode alarm work in clk 1.5.1.5 and nand rom nexushd2 v2.8

After i press set alarm device reboots but then it gives message "error:boot selection not found.an irrecoverable error found" and it boot in clk menu and stays there.I have boot,sboot partition and i select from default kernel the boot partition
[HD2 Android NAND Development] kokotas:
Hi clio94,

Did you download the SysAlarm2.apk or you're still using the first one (SysAlarm.apk)?

Now that I think of it, I should remove the first one cause it will not work as expected with the last cLK.

Regards!
[HD2 Android NAND Development] clio94:
I tried the first version.The second version work ok.Thank you
[HD2 Android NAND Development] g.andy:
Have you try in nand rom or nativesd ROM?

Thanks!!

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] clio94:
Ι tried in nand version.Question: When phone charges it uses another kernel or "system" than the one it use when it get suspended after we use the app? I am asking because i connect the charger,set alarm clk,phone closed but it didnt open automatically.I tried both charging methods that clk have
[HD2 Android NAND Development] g.andy:
thanks for the reply. but you just need to put the application in system / app and set the permissions, or you have to do some particular setting in CLK? And then how to use the application, just open it and then ......?

sorry for the stupid questions.

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] clio94:
You put application in /system/app then set permissions,open application,set alarm time and everything else will be done automatically
[HD2 Android NAND Development] g.andy:
I did as you said, but after setting the alarm time the phone restarts, and the time set plays (but always with phone on). now I wonder, but it should work phone is turned off or I've forgotten something?

more in my app drawer there are two applications, a call AlarmClk (that works) and a call HD2_Alarm_CLK (which sounds only when I open it and if I try to do other things goes on FC)

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] kikisp:
^ have you installed patched kernel?
[HD2 Android NAND Development] g.andy:
Noooo!!!!

how do I?? help please, step by step, are noob.

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] clio94:
Yes that is the way it works.You run alarmclk,set the time you want and then the phone goes to suspend mode.When the time comes,it will reboot to os and after a little time it will play alarm tone

The patched kernel is tytung v3.6 kernel which is pre-installed in nexushd2 v2.8 ics rom
[HD2 Android NAND Development] kokotas:
You nailed it man!:good:

I was hoping someone would notice it and say something.

Yes, it is a known (to me) bug of the latest cLK - nothing to do with the app itself.

I'm trying to figure it out, it's hard to de-bug cLK, but it's even harder to do so when the device is in suspend mode.:(

Solution:

As far as I know only tytung merged the proposed patch to his ICS kernel.

EDIT:

clio94 beat me to it.Check above post^

Just a reminder: 10 days ago I didn't know what java is. So I'm sorry in advance for any rookie mistakes...

I forgot to remove

<category android:name="android.intent.category.LAUNCHER" />

from the second activity's intent-filter.:eek:

Anyway, I'll update the code and the apk later today.

Regards!
[HD2 Android NAND Development] g.andy:
I have pacman v1.2a in nativesd with kernel jellybean r1 without patch.

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] clio94:
Also unfortunatelly battery drains quickly.I set alarm for 0830am at 0300am with 100% battery and at 0830am it opened with battery 5%.I thought that i did something wrong and i tried again today afternoon.I set alarm for 1 hour later and battery from 96% went to 84% when phone came up.
[HD2 Android NAND Development] Rick_1995:
lk doesn't support power collapse as far as i know, while linux does. I will be adding power management to clk-2 from the linux driver, Although it shouldn't be hard to add it to current branch. Also as far as i can see, it doesn't gate a lot of clocks which are still left running in the system.
[HD2 Android NAND Development] ogonzuhnina:
Sorry for OT:

@zeusk, any hints on how's the progress with clk-2?

My heart started beating twice as fast when I saw you mentioned this name :D

back to topic:

Wouldn't it be beneficial to have an option to boot to recovery for the alarm?

My understanding is that booting into recovery would be much more reliable than booting into full android - but that's just my guess.

Besides, recovery would have to be supplied with alarm functionality :/
[HD2 Android NAND Development] Rick_1995:
No, android with screen off will save MUCH more power than recovery (if there aren't wierd apps running in background).
[HD2 Android NAND Development] kokotas:
No, the application will work like this:

if (cLK_version == 1.5.1.4) {

//Don't expect patched kernel.

//AlarmTime is limited to 255min.

}

else if (cLK_version > 1.5.1.4) {

//Expect patched kernel.

//No time limit.

}

Regards!
[HD2 Android NAND Development] Nixda99:
Test with Nexus 1.4a

Have test off mode alarm with NexusHD2-JellyBean-CM10 V1.4a (NativeSD), because tytung has added support for it in his newest kernel.

The app from the link in the first post reboot into the CLK suspend mode correctly, clk wakes up correctly and boot the rom, but it ringes only when I push a hardware button.

Thank you kokotas for your excellent work!
[HD2 Android NAND Development] Daekin:
so marc's and my kernels should work too :)
[HD2 Android NAND Development] Nixda99:
And it ringes without pressing a button with your kernel?

When I sleep, I can't press a button. The phone should wake me, not I wake the phone.:D
[HD2 Android NAND Development] Daekin:
I have not tested this..

but remember this is work-in-progress so that limitation will surely be fixed in the future
[AT&T Samsung Galaxy Note II] okashira:
I want to switch from an iPhone 4S to the note II (international or at&t) by swapping sim cards. Can this be done with data working? I tried it with a galaxy sII skyrocket LTE, and data did not work at all. I expected at least 3G and HSDPA+.

Talked to AT&T and they said I have to change the data plan. But google searches have revealed that I should be able to switch without calling them and at least get 3G/HSDPA data.

Anyone have any insight?
[AT&T Samsung Galaxy Note II] Cheeze[iT]:
you can get 3g but you won't get lte since the 4S isn't LTE. You just need the correct APNs. Try wap.cingular, or phone. I stopped changing my plan cause I switched too often and hated all the stupid prorations
[AT&T Samsung Galaxy Note II] ZedZardoz:
I'm not understanding your goal. I had an unlimited data plan for my iPhone $30/mo. When I upgraded my phone to SGN2, I now have the data plan for LTE unlimited at $30/mo as a grandfathered data plan.

Of couse this plan is acually throttled now (after 5GB?), but it is, what it is. Same Family phone plan, same price, similar data plan, same price.
[AT&T Samsung Galaxy Note II] okashira:
I need to do it without changing the plan. I think we have the answer though... change the APN. I will update when I get a chance to try it,
[AT&T Samsung Galaxy Note II] okashira:
Changing the APN worked. Got HSDPA+. AT&T lied to me, not suprisingly.

Guess I might as well buy the international note II, since I wont be using LTE, unless there is some other advantage to the AT&T note II?
[AT&T Samsung Galaxy Note II] Cheeze[iT]:
Not really. Just an fyi, if you switch off ios make sure to turn off I message or your friends will see blue before green ;)
[AT&T Samsung Galaxy Note II] drksilenc:
also even though u are on an unlimited plan my understanding is they will throttle u after a certain ammount.
[AT&T Samsung Galaxy Note II] okashira:
If it was my money, I wouldn't be using AT&T.
[AT&T Samsung Galaxy Note II] cryptoknight:
As you've already experienced, AT&T reps are under no obligation to tell you the truth, time and time again. I've swapped my sim between many 3g phones with nary a phone call over the years.

I think the only advantage to getting an AT&T Note 2 is when you migrate to an unlimited LTE plan, you get throttled at 5 gigs instead of 3.

Otherwise, stick with what ya got and stick it to the man!
[AT&T Samsung Galaxy Note II] Sledgehammer70:
Not sure if my work around means much to you... but I had a iPhone 4S and got into a Note II and was able to keep my Grandfathered Data plan.

How I did it...

My phone being a 4S was not eligible for an upgrade but my wife's iPhone 4 was. So I used her upgrade to get the Note II and had AT&T do a crossover on the lines. So now my wife has my 4S and I have the Note 2 with the same data packages.

The downside at first was the swap caused our texting plans to dissolve, but in the end AT&T was able to offer me a better deal with unlimited texting and cell calls for $20 less a month. Not sure if it was just the tech guy who was able to swing the offer as they have a bit more power to make the customer happy over sales.

I had found out I had no texting after the fact and support hooked me up with all sorts of goodies and was the one who highlighted how I could save some cash.
[AT&T Samsung Galaxy Note II] Cheeze[iT]:
Reps like to lie. They can't force you off the grandfathered data... I just upgraded again and kept my data ;) No need to jump through hoops. Just double check after they are done .
[AT&T Samsung Galaxy Note II] MaStA819:
I also was able to keep my unlimited data plan from my iPhone when I upgraded to the Note 2 (which will be here tomorrow, woot!).
[AT&T Samsung Galaxy Note II] Gary02468:
I don't understand why AT&T doesn't just declare an end to grandfathered unlimited data, rather than officially continuing to support it while often denying it unless the customer puts up a fight. Is AT&T legally forced for some reason to continue the grandfathered plans?
[AT&T Samsung Galaxy Note II] MaStA819:
Well once you sign a contract I don't think they can change your plan without giving you an early out option. When you aren't under contract anymore I guess they figure you may leave if they don't let you keep it so they grandfather you into another two years with unlimited data...just a guess and I could be wrong.
[AT&T Samsung Galaxy Note II] douggrif:
I have transferred my AT&T Unlimited Data Plan from several phones. Sometimes I was told I could not keep the unlimited plan if I wanted LTE, but I asked to speak with a supervisor and it always got resolved. Most recently I transferred my SIM card from an international Galaxy S3 to the Galaxy Note 2 (AT&T version) and beforehand checked to be sure I could keep my unlimited data plan. I was and the transfer was uneventful and everything continues to work great.
[AT&T Samsung Galaxy Note II] Alaris:
I did exactly what you want with no problems. You probably just talked to a bad representative.

Sent from my SAMSUNG-SGH-I317
[AT&T Samsung Galaxy Note II] funnycreature:
Thank-you to all of you who shared your experience. I can hardly control my urge to dump my iPhone 4S in favor of the Note II. Obviously, I am in the same boat like many of you. I was thinking about the wife-phone-switcheroo but she got her phone just about a year ago... I'll keep an eye on this thread an share my experience whenever I made the move!
[AT&T Samsung Galaxy Note II] meatlocker:
I made this exact switch, and had zero problems whatsoever. In fact, my eyes widened when the rep told me that I would keep my unlimited plan, and she laughed and told me that that is the policy. I thought for sure that I was going to lose it.
[Galaxy S III Q&A, Help & Troubleshooting] TheFaixy:
I don't know but I ran triangle away only after I rooted the phone for once only and after flashing a modem for my country and a csc package my device status is normal my phone is still rooted and running custom ROM

Telegraphed from a Galaxy far Away
[Galaxy S III Q&A, Help & Troubleshooting] mannyvzla:
Mine experience was a bit different I rooted the phone and got the status set modified , ran triangle away and it did not come out as "normal" until some reboots later

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Q&A, Help & Troubleshooting] kevinarjun:
I am on wanamlite 4.3 it also shows status normal..
[Galaxy S III Q&A, Help & Troubleshooting] RoadXY:
I'm on WanamLite 4.2 and have status normal.

P.s. how did you get the Jellybean AOSP stock look?
[Galaxy S III Q&A, Help & Troubleshooting] TheFaixy:
jb domination link in my signature

Telegraphed from a Galaxy far Away
[Galaxy S III Q&A, Help & Troubleshooting] speedyjay:
WanamLite is just stock ROM that's been rooted; and by the way, why have you scribbled out your kernel version?? Everyone on the same ROM as you, has the same kernel version (except those who wish to change) but no personal information can be obtained from a kernel version lol not needed dude lol
[Galaxy S III Q&A, Help & Troubleshooting] TheFaixy:
saw once somewhere it was blacked out

Telegraphed from a Galaxy far Away
[Galaxy S III Q&A, Help & Troubleshooting] TheFaixy:
its again set to modified after I got a black screen and only option was to reset by pulling out battery

Telegraphed from a Galaxy far Away
[HTC One X] viizx:
Hi everyone,

This is not a question but this is the answer. I saw that someone asked is the battery life good with ncx kernel and cm9 on our HOX.

I flashed it yesterday and my first impression was the smoothnes of the ROM with the kernel. Let me just say that I am using max CPU 1200Hz and on interactive governor.

Battery has never been so great on my HOX. Before it sucked, i could not get trough the day with it. But now I came home with 40%.

I had 2 screen ours today and 3 hours of music. Brightnes was on Automatic. I think you should try that combo too.

- I am not an expert this is my honest opinon - :good: :good:
[T-Mobile, Samsung Galaxy SIII] bardhi92:
2nd time this has happened. Had to do a full system reset to fix it.

Is there any other methods you know about to fix this?
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
I woul odin flash the stock fw. Rewrites the system in case something is corrupt.

---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------

Firmware and instructions here

http://xdaforums.com/showthread.php?t=1949687
[T-Mobile, Samsung Galaxy SIII] bardhi92:
Thanks. I did it.

Working for now. Any possibility that Chrome is causing this problem?
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
I really dont know. Its never happened to me a single time. If it starts up again then all I could figure is its either another app causing it, or some sort of hw problem.
[Android Q&A, Help & Troubleshooting] CurtisAndroid5:
Hello there,

I was wondering if it's possible for me to do the following, and if so how?

1st)

I've just flashed from an ICS Rom back to a GB (Not Cyanogenmod based) one so everything is working, just wondering if it's possible for me to move the signal/wifi/clock closer together so it's more like ICS?

2)

Is there anyway to customize the lock screen pattern dots so they are skinnier and more simplistic like the stock ICS ones?

3)

Can I apply *ANY* Metamorph/ZipThemer mods onto my device or do only mods made for my device work?

4)

How can I put 'swipe to remove notification' onto my ROM?

Try and keep things simple for me.

Thanks
[Samsung Galaxy Nexus] KillermenBE:
Hey,

I want to update to 4.2, but therefor I need to reflash the original kernel of 4.1.2., can anybody upload it?

Thank You!!!!
[Samsung Galaxy Nexus] beekay201:
nop, you don't need original kernel to update through ota.

please read the stickies

http://xdaforums.com/showthread.php?t=1419170
[Samsung Galaxy Nexus] Khizar:
re-flash 4.1.2 and you will get the stock kernel
[Samsung Galaxy Nexus] argonick:
Hello,

I know I'm being lazy but I have the same question. I don't want to have to backup and restore everything after re-flash the stock 4.1.2.

I'm on stock rooted rom but with the franco.kernel.

Does anyone have a backup made by the franco.lernel updater of the stock kernel for the yakju i9250.

I would be grateful
[Samsung Galaxy Nexus] marky9074:
You mean the very same stickie that says:

So anybody have the stock kernel (I am on Trinity at the moment..)

---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------

Reflashing 4.1.2 update will go through the same checks as the 4.2 update and fail... and it would be pointless to flash the 4.1.2 images as you might as well just flash 4.2 images instead..
[Samsung Galaxy Nexus] Petrovski80:
Stock 4.1.2 kernel for maguro is right here: https://developers.google.com/android/nexus/images#yakjujzo54k

Just extract it from the zip file inside the .tgz. It's the file 'boot.img'.
[Samsung Galaxy Nexus] marky9074:
That kinda defeats the object though of trying to fix the current install to patch update to 4.2 if I have to flash the images I might as well just flash the 4.2 ones....
[Samsung Galaxy Nexus] Petrovski80:
Just flash the kernel. That will allow ota update.
[Samsung Galaxy Nexus] freezer2000:
You could flash the 4.2 directly using the factory images from Google without loosing your apps/data. Follow the steps from here

Note: You can download either Takju or Yakju factory image and flash as per your requirement.

Hit Thanks, if this helps.
[Samsung Galaxy Nexus] marky9074:
I think you have missed the point. To do this I have to download the images, extract the kernel, flash the kernel, then do the OTA update. If I have gone to the bother of downloading the images, installing drivers and a toolkit/SDK etc it is just quicker just to flash 4.2
[Samsung Galaxy Nexus] Petrovski80:
You can flash the kernel with fastboot. The entire operation including download & extract takes less than 5 minutes.

If you call that a bother, then indeed I don't get your point.
[Samsung Galaxy Nexus] marky9074:
My point is, if you are going to the bother of flashing, then just flash 4.2. There is no logic in flashing 4.1.2 (boot or otherwise) to get the OTA to 4.2. I was just looking for a packaged CMW kernel for 4.1.2 so I could have done the patch update to 4.2 which would have taken less time, than downloading and extracting the images (seen as I already had the patch update downloaded).

I've spent more time debating the subject, than doing the flashing...
[Samsung Galaxy Nexus] ipernexus:
http://xdaforums.com/showpost.php?p=28014747&postcount=772

stock kernel 4.1.2 :)
[Galaxy Tab 2 Q&A, Help & Troubleshooting] scropion86:
please help me to get Jelly bean on my Galaxy tab 2 7.0

and after get it is it possible to return the device back to the same out of box

status with the original Boot and andorid 4.0.4

thanks in advance :)
[Galaxy Tab 2 Q&A, Help & Troubleshooting] scropion86:
76 view without any comment or answer!!!

is it XDA ??or iam in Wrong place
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Ottonet:
Probably many of us just believe that this is not a customer care service and that you could at least browse through the many topics that cover your issue before posting for help... ;)
[Galaxy Tab 2 Q&A, Help & Troubleshooting] zero26800:
There are multiple threads that contain everything you need to know.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Droidlover123:
Yes buddy pls try to use that search option first.and even if you don't find answer to your query then post.

:)
[Samsung Galaxy Nexus] andrewNY:
Does anyone have a link to the official Gmail 4.2? It doesn't appear to be on Google Play yet. I'm on AOKP and don't really want to upgrade to the stock 4.2, but I'd love to have a non-leak version of pinch-to-zoom Gmail.
[Samsung Galaxy Nexus] Mikey:
The official is the same as the one in this thread, scroll too the gmail.zip
[Samsung Galaxy Nexus] rmcsc:
That was quite... Um... What? You didn't share a link.
[Samsung Galaxy Nexus] endigo85:
http://xdaforums.com/showthread.php?t=1969209&highlight=google+wallet
[Samsung Galaxy Nexus] andrewNY:
The earlier Gmail leak had a different signature.
[Samsung Galaxy Nexus] mvmacd:
There's no gmail.zip on here.. at least not on the first page.

I pulled Gmail2.apk, deodexed and zipaligned it, and signed it with my own key so you can install it without being a system app:

http://www.mediafire.com/?lpayd7q8thdqxdf

Successfully tested on 4.0.4 cm9
[Samsung Galaxy Nexus] demon2112:
Oke so thebfirst members are having 4.2

....so...wheres thebofficial system app dump of gapps :) that wil work on jellybean ofcourse ;)