yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] /\/(_)777233:
SGT7 Install

I installed it a few days ago and it is working fine for me for the most part. It does go to black screen on occasion but it seems to be when I leave the WIFI on. Also, since I do use it primarily as a reader with Moon+ Reader I have noticed that the CM10 is not as smooth as CM7 when doing page turns for instance. There seems to be more stuttering with this version than the nice, smooth flow of CM7.

I like the look and extras that come with Jelly Bean though so will continue to use it for now and wait on update and keep trying.
[General Questions and Answers] CallMeVictor:
Hi, I'm trying to do a simple login with Facebook in my app but I'm having trouble with Shared Preferences.

The idea is to start the app, it opens Activity A, checks if it's logged, and if it isn't, it sends you to activity B, you login and then go back to A.

My problem is that I can't get the SharedPreferences. I can save it, but I can't get it in the other activity.

So, it gets in a loop: A can't get the SP, so thinks it's not logged in, so send you to B, but B is logged on, and sends you to A...

That's my code in B:

public void onComplete(Bundle values) {
// TODO Auto-generated method stub
Editor edit = fbSP.edit();
edit.putString("access_token", fb.getAccessToken());
edit.putLong("access_expires", fb.getAccessExpires());
edit.commit();
aIMG();
ir();
}

And that's my code in A, where the problem is:

private SharedPreferences prefs;
public static String TOKEN = null;
public static final String FACEBOOK_DATA = "FacebookStuff";
long EXPIRES = 0;

...

private void SharedP() {
// TODO Auto-generated method stub
prefs = getSharedPreferences(FACEBOOK_DATA, MODE_PRIVATE);
TOKEN = prefs.getString("access_token", null);
EXPIRES = prefs.getLong("access_expires", 0);
if (TOKEN == null && EXPIRES == 0) { //If it's not logged in...
Intent login = new Intent("android.intent.action.FACELOGIN");
startActivity(login);
}
}

Edit: I got it. I was iniciating fbSP with getPreferences, not getSharedPreferences.
[General Topics] calbo22:
hi to all ineed some,help, on hoy to uupdate my galaxy,s.

my phone ...is running eclair..UBJI 1

BASE..VERT.. TUBJH1

GT-I9000T

FIRM 2.1

MY,question is whats the best upgrade, i can use for my phopne. and where.

can i get the update from,

do i need 1 file, are i ineed to use all3 file ,,/via ODIN,,TO upgrade it ,thanks,

for any help
[General Topics] Syrusoo:
Since you didn't post the carrier of your phone I can't directly link you to the proper forum listing instructions for your request. But if you do want to change your operating system and root the device you will need to do a couple things for that to happen including installing and backing up files in case you want to return the phone to stock. My recommendation is to click the forum button at the top left of the site and click on all button on the next page then scroll to your phone/carrier threads and check the general section for you phone they should have all the information on what your looking for. Make sure you select the carrier and the the phone generic thread which will not include the roms/rooting info.
[HTC Flyer, EVO View 4G] saneem:
hi all

i just saw clips of the much talked about galaxy note 10.1 with a s pen.

well my flyer can do the same tricks except the part where i think htc forgot to put some pen compatible handwriting recognition apps in it. one engineer may have been booted due to this, but i dont know.

what interests me is the S Note app that samsung specially made for the note. i humbly request the devs and the gurus to see if it can be ported to the flier. would really want to use it as my flier currently runs on the other notes app from the lenovo tablet but i cant export entire notes from it.

would be willing to donate to the worthy cause.

regards

saneem
[HTC Flyer, EVO View 4G] Dexter_nlb:
i doubt it.

the app seems highly integrated into the multiframe based desktop. and functions part of that is required for the app and its binaries to work. so this is probably not going to be ported as standalone.
[HTC Flyer, EVO View 4G] Dexter_nlb:
the Photoshop touch app does work, so i tested right now while playing with the rom.

crayon physics work too (childrens game)
[HTC Flyer, EVO View 4G] saneem:
Thank you very much for the infor...

I am using the flyer for my daily diary and work related stuff and since it can fit right into my Coat pocket, the IPAD owners dont really feel comfortable around me. the Best thing is the pen, but the lenovo app ported has its limitations in exporting the text and so i sometimes feel discouraged.

I remember WM2003, the notes app and the word app in my IPAQ both converted to handwriting to text and that allowed me to do substantial documents in my hand. Wish the IPAQs lasted.

i am still offering to contribute to any person who can build such an app...

Appreciate your replies...
[HTC Flyer, EVO View 4G] Synergi:
I was wondering about S-note myself. I have the Galaxy Note 10.1 and I'm actually leary of using it because it probably can't be ported off the Note. Samsung doesn't have a good track record of keeping their devices updated and I'm afraid to put my notes in it and be trapped to one device or even one platform.

I'm looking for something more universal, that would work on any Android tablet, not just the Note.
[HTC Flyer, EVO View 4G] blue blue man:
If you want to use handwriting recognition for Flyer/Android, there is an app called WritePad. It's ok.
[Atrix 4G Q&A, Help & Troubleshooting] monose1:
hello xda forum i love how everyone is awesome, thanks for this awesome forum :p

Look i have this problem, my battery really isn't lasting for no more than 3 hours a day, until it gets to 1%, then it gets stuck in 1% and i use it for like 2 hours and no problem, then it dies, but it is like all the power is concentrated on the 1% what can i do to fix that?

Or to show the right battery tats/Percent?
[Atrix 4G Q&A, Help & Troubleshooting] MaxK47:
Calibrating your battery stats may help. Is your phone rooted?

If it is, install 'Battery Calibration' from the Play Store, let your phone charge to 100% (I usually let my phone charging overnight), open the app, select the 'calibrate battery' button and reboot afterwards.

Then let your phone discharge until it turns itself off, and you're good to go.
[Atrix 4G Q&A, Help & Troubleshooting] monose1:
Thanks I'll try that.

Will tell if it worked.
[Atrix 4G Q&A, Help & Troubleshooting] sikkijazz:
if the problem continue ....try to install new official rom...this may help u a lot....
[HTC One S] klin1344:
Fusion Ultimate Kernel for all JellyBean 4.2 AOSP-based ROMs (AOKP, CM10, etc.)

Latest Version: v4.1 (2/2/13)​

Disclaimer:

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. :P
* blah blah blah you get the point.
*/

**This kernel is now obsolete. I do not own a One S, and this blind development has dragged on too long without going anywhere. If I ever get enough money to buy a One S, I will no longer be working on or supporting these kernels. Source is, as always, available on my Github so if anyone has the time and skill and the device they can fork my project and fix it up. Thanks for all the support everyone. See ya around~ **

Post #1: Release, Features, and Downloads

Post #2: Changelog

Post #3: How to compile from source

Post #4: Frequently Asked Questions

Features

For AOSP Jellybean 4.2 version (FusionUlt-AOSP-MR1):

versions 4.1 and up

For AOSP Jellybean 4.1 version (FusionUlt-AOSP):

versions 1.0 to 4.0

Downloads

Flash the zip in recovery.

All Downloads are HERE

Versions 1.0 through 4.0 are for AOSP Jellybean 4.1. Versions 4.1 and up are for AOSP Jellybean 4.2.

How to Install

For hboot 1.09 and below:

Just flash the zip in TWRP recovery. It will automatically flash the boot.img for you.

For hboot 1.13 and up:

you have two options

Option #1

Use TWRP's HTC Dumlock feature. It is a pretty neat workaround that allows you to flash boot.imgs in recovery even on a higher hboot.

Look here for instructions from TeamWin. After flash the zip package then wipe cache/dalvik cache before rebooting. If you are not comfortable with this method, then follow option #2 to manually flash in fastboot.

Option #2

In addition to flashing the zip, you will have to extract the boot.img from the package and flash it manually with fastboot. Blame HTC for the half-assed 'unlock bootloader' offering they give us. Hopefully we will get S-OFF soon...

adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot

Look here for a guide.

Sources

My Github

Special Thanks

intervigilium

xkonni

Zarboz

showp1984

if I forgot you...please let me know

Enjoy :)
[HTC One S] klin1344:
Changelog
[HTC One S] klin1344:
How to build from source

How to build this kernel from source:

This is assuming you already have your Linux environment setup and installed the required packages for compiling a kernel.

1. Clone my kernel sources.

git clone git://github.com/klin1344/android_kernel_htc_msm8960.git

2. Compress your ramdisk into a gzipped archive.

find . | cpio -o -H newc | gzip > ../ramdisk.gz

3. Grab the toolchain from DoomLord's handy repo:

git clone git://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains

4. I have created an easy build script. Modify the top four lines to be applicable to your setup. Make sure CROSS_COMPILE is set to the directory of the toolchain we just downloaded earlier (there are two; not the Linaro one). And change INITRAMFS_DIR to the directory of the ramdisk.gz you created earlier.

5. Build. First navigate to the android_kernel_htc_msm8960 directory.

./build.sh ville_defconfig

for the stock option or

./build.sh ville_oc_defconfig

if you want overclocked option.

The script will detect the number of cores of your CPU and automatically make with the optimal -j#.

6. If all goes well you should end up with a boot.img in the android_kernel_htc_msm8960 directory.
[HTC One S] klin1344:
FAQ.... Please read this before posting questions!!!

FAQ

​

What ROMs is this kernel compatible with?

As stated in the OP, this kernel is compatible with all S4 devices running CM10. It is NOT compatible with Sense based ROMs. If that's what you're looking for then I have another Fusion Kernel Sense based.

What is the best governor for me to use?

It really depends on what you're looking for. If you want performance, go with Lionheart or Ondemand. If you want battery life, go with Conservative. And if you are looking for a balance between battery life and performance, then use either SmartassV2, Interactive, or LagFree. These are just my opinions. Look here for a great reference of all the CPU governors. Test them out and decide which works best for you.

Which I/O scheduler is the best?

I personally use SIO, but you can test and decide which is the best for you. Read here to find the pros and cons of each one.

How do I overclock?

The kernel should default at 192Mhz 1.5Ghz CPU clocks. To change CPU speeds, just use "Performance Settings" in the Settings. It is a handy feature that is integrated into Cyanogenmod.

How do I undervolt?

Right now, the only app that works for voltage control is System Tuner. Both the Lite and Pro versions allow you to change the voltages. Do not use SetCPU or other apps as they doesn't work.

Here is the voltage table I am currently using:

1890mhz: 1250 mV
1809mhz: 1225 mV
1728mhz: 1200 mV
1674mhz: 1175 mV
1512mhz: 1150 mV
1458mhz: 1137 mV
1404mhz: 1125 mV
1350mhz: 1125 mV
1296mhz: 1100 mV
1242mhz: 1100 mV
1188mhz: 1075 mV
1134mhz: 1075 mV
1080mhz: 1025 mV
1026mhz: 1000 mV
972mhz: 1000 mV
918mhz: 975 mV
864mhz: 975 mV
810mhz: 950 mV
756mhz: 950 mV
702mhz: 900 mV
648mhz: 900 mV
594mhz: 875 mV
540mhz: 850 mV
486mhz: 800 mV
384mhz: 725 mV
192mhz: 650 mV

Please just take these as a grain of salt; not all chips are created equal! Some devices can become an ass when it comes to undervolting, while others can starve the CPU to death and still run fine. Experiment little by little until you find your perfect voltages.

What is zRam and how does it work?
[HTC One S] itsmikeramsay:
Wait....is this...is this what I think it is? Flashing this right now!
[HTC One S] klin1344:
Yup. A custom kernel for cm10. I flashed cm10 2 days ago and fell in love with it, but the only thing that was missing was a custom kernel :)
[HTC One S] itsmikeramsay:
Couldn't agree more bro. This kernel matches it perfectly. Already set up and good to go.
[HTC One S] invasion2:
Thanks for the kernel. I'll use it in a day or two when I finally get around to flashing CM10 :p

Sent from my HTC One S using Xparent Blue Tapatalk 2
[HTC One S] dc211:
AWESOME! Thanks, already got it running on my phone.
[HTC One S] Cap3737:
Flashed the over clocked kernel in TWRP, phone froze at lock screen on first boot. Rebooted and seemed good to go then froze again with in minutes.
[HTC One S] klin1344:
Could you get a logcat? I haven't really tested the over clock version thoroughly because I have been using the stock version.
[HTC One S] Cap3737:
please forgive my ignorance here but after i flash the zip in twrp and cm10 boots, it either freezes instantly at lockscreen or barely gives me enough time to bring up power menu to reboot into recovery. if you can tell me how to make a logcat outside of being in the rom itself i'd be happy to. i'm more of the wait till theres a flashable zip kinda guy so if i need to use adb to logcat you'll have to tell me what to do here.
[HTC One S] phoenixita:
Flashed the overclock kernel and set 1512 as max frequency with smartassv2 governor all is working great! Hope battery life will be good :)
[HTC One S] DNS007:
I don't want to change to CM10 from CM9 because it is very unfinished in my mind but with a working custom kernel I can't wait to test it ;)
[HTC One S] klin1344:
Cm10 is actually better and more polished than cm9 in my opinion.
[HTC One S] XXMrHyde:
Thanks klin1344,

working fine with my Build.
[HTC One S] plakers:
Any feedbacks about smoothness/performance and batterylife with this build and latest CM10 ?

Some screenshots/benchmarks/uptime ?

I tried with CM9 few weeks ago but the SmartAss governor was a bit buggy (staying at higher freq. for a while!), I went back to onDemand - and the freq. table was not sticked after reboots and/or randomly goes back to 384-1890 (I wanted 192-1134 with a bit undervolt ;)) - Some of these problems seems to be fixed now, but I wanted to know if some CM10 user(s) with that Kernel can feedback about the overall "stability" and daily use.

I love the StockStyle, but really wanna "optimize" batterylife and user experience with my phone

(I'll find some replacements for the Stock apps/widgets... Or if someone's got a shortlist of weather/notes/state-switchers widgets :))
[HTC One S] DNS007:
I test it with cm9: WiFi works, ICQ and G-Talk --> FC, unmounted SD-card (doesn't exist in FileExplorer), other apps seems to be working fine, very snappy =)

Now I'm testing with cm10...
[HTC One S] LikeaG2root:
Download link will not work on my PC:(

Edit: working now:)
[HTC One S] DNS007:
On cm10, super snappy! I use UV with -50mV for the beginning. So far I coudn't find big bugs. Nice work! Now I'm testing batterylife (with SmartAssV2) and later grater UV.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] muiz15:
The title says it all. I tried doing it on nims kernel but i get stuck on splash screen. With out adrenaline engine, i get slow memory card read, slow phone.. :/
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Shaaan:
Yes. Download the correct version. Slow memory card speed? Get atleast a class 6 sd card!!

___________XDA Premium__________

Don't be a noob. Be a newbie..!!

Details here.

____________________________________
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] muiz15:
I did download 4.2 for stock but its just stuck, i got a class 10 card..
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Shaaan:
Did you mount system before flashing!?

:rolleyes:

___________XDA Premium__________

Don't be a noob. Be a newbie..!!

Details here.

____________________________________
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] muiz15:
Yes i did!! I did everything as told. Im using revolutionary meizu rom. Now im when i install nims kernel, its works only with uninstall of adrenaline engine, but with it, it doesnt go to boot animation.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] abhibnl:
I'm using 4.2 with cf-root b84. Works fine for me. Nims kernel is new, so bugs will be solved with time
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] muiz15:
Its not just nims kernel. I cant install adrenaline engine on any OC kernel.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Ryuinferno:
Does your kernel support init.d? If not, most scripts won't work...:)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] muiz15:
Yeah, nevermind solve it already. It takes around 10 min to boot. Thanks everybody :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Ryuinferno:
Yeah...the long boot can be explained by the zipaligning process...since it's the first time your are using this script, it will zipalign most of your apks...it will skip those that are done on the next boot, so boot will be much faster...:)
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
So my LTE was working fine, then I decided to flash the king kobra rom. I used it for a couple of minutes untill I noticed data wasn't working... So I decided to flash Xi40 rom. Now I noticed I don't have LTE either on this rom... Might KC rom have screwed up something? Or what can I do to fix this???
[AT&T, Rogers HTC One X, Telstra One XL] ethantarheels123:
check apn and also dial *#*#4636#*#* phone info and see if you have lte enabled.
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
I think my problem might just be the APN... What should I do? Sorry not much of a pro here
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
Ok so now data is working again..... wierd as fk and not only that, but randomly stops working and doesnt open any app like fb or xda and doesn't sync anything, but then randomly starts working again and everything is good..... da fk??
[AT&T, Rogers HTC One X, Telstra One XL] Root-Maniac:
If all fails, relock boot loader then 1.85 ruu :)
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
aaaahhhhh i think i wont flash any more roms lolz i hope it doesnt get worse, so far i still have lte... gonna dload the ruu just in case though
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
So I dont know but my APN seems fine, lte turns on but nothing data related opens... I added another APN from youtube and it worked perfectly but I deleted it cause it was kinda slow, then lte started working fine until this morning when it stopped again... So Im guessing flashing the 1.85 ruu is my way out of this? Will I need to root/bl unlock again?
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Yes you'll need to relock BL. Make sure you have superCID before you do that, because once you lock your BL you will be unable to boot the phone unless you flash stock recovery first.
[AT&T, Rogers HTC One X, Telstra One XL] jess.hickey:
I was having the same issue coming from any 4.0.4 sense based rom . I would lose late all together unless I did *#*#4636#*#* and that would only last until I made/received a phone call. I was able to get it back by

1) wipe cache, dalvich catch, wipe system

2) flash cleanrom 4.0 (maybe and pre-4.0.4 sense rom???)

3) wipe cache, dalvich cache, wipe system

4) flash whatever rom you want and you should be good

This is what worked for me but can't promise it will work for you
[AT&T, Rogers HTC One X, Telstra One XL] Luisit0:
well I had flashed a 4.0.3 rom and the problem happened, then i flashed the 2.20 radio and ril and so far its working, but in a near future if it happens (i hope not) u bet thats one of the things ill wanna try before going through the ruu process.. thanks to all who have replied so far!!
[Legend Q&A, Help & Troubleshooting] ranger4740:
Ok, I've just today had the strangest thing happen, out of the blue I can't get service on my phone. I am using the newest nightly, it was working then got cut off and even after reboots nothing.

Here in Australia I'm on "3" and by the end of this month our 3 network is supposed to be getting switched off and were getting connected to vodafone network, not sure how that's going to work.

To cut a long strory short I re flashed cm 7.2 from scratch and now I'm working ok now.

So the question is, does anyone have an explination or idea as to what might be happening here?
[AT&T Samsung Galaxy Note I717] shiltz:
All of a sudden mediastore stopped working on my Note, all the files are there on the card and any program that doesn't require the mediastore database can see stuff fine, but any program that uses mediastore to get it's file data doesn't work, for example all my picture viewers say I have no pictures, though in Quickpic if I change it to explorer mode I can see them fine. Does anyone know how to get it working again? I've tried shutting down and re-starting the phone, un-mounting and re-mounting the card, plugging the phone into my computer, force stoping mediastore and clearing it's data but still nothing works, it simply doesn't even attempt to scan the memory card (and internal phone memory) for media files.

I'm running the stock ICS rom, rooted.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Prcls77:
I have seemingly successfully installed CM10. However, all of the internal SD folders from my prior stock 4.0.4 install are still there. I want a nice, clean and fresh install and want all junk from the previous stock version gone, but I don't know what's new and what's old. If there is a way to formate/wipe everything, then it seems that that would also delete the new system files as well as as the CM10 Rom zip, thereby making it impossible to reinstall.

Insights and suggestions on this matter greatly appreciated. Thank you.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] scottx .:
Make sure you format /system as well as cache and factory reset. Do it twice if it will make you feel better.

You most likely just did a factory reset which leaves a bunch of trash behind.

Format all of that

Flash cm10

Flash gapps
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Prcls77:
:crying:

I seem to have answered the last part of my of my inquiry. In CWM 5.5.0.4, I formatted data, system, cache, emmc, sd card. I can now only access recovery mode or download mode. In recovery mode, I obviously can't flash CM10 from the internal SD because I formatted/deleted it! When I get home, I'll try flashing CWM 6.0.1.0 in Odin and then flashing CM10 through the external SD card. If that doesn't work, then I'll have to flash the stock ROM.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Prcls77:
Tried it the way outlined above and I now have a nice, clean install CM10!
[Galaxy Tab 2 Q&A, Help & Troubleshooting] silentvisitor:
Next time don't format emmc and sdcard.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Mohamedselim:
For me i delete the files manually using Astro file manager or using a computer and use free app called (sd maid) in google play to remove more and do more cleaning of internal sd card it searches for app remains and empty directories etc all that after flashing the rom immediately before restoring my apps

Not bad but if anybody could find a better solution post it
[Sprint Samsung Galaxy S III] soccerboarder43:
im aware this phone doesnt have it..but i installed the drivers and it worked one time for me to move root files over. since then it has device cant be recognized. i have no idea what to do. any help on how to get drivers installed or how to get this to work is greatly appreciated! :confused:
[Sprint Samsung Galaxy S III] joeyhdownsouth:
Try this method for driver install, odin flashing, root, unroot, easiest toolkit ever for noobs:

http://xdaforums.com/showthread.php?t=1746680

this message brought to you by my GalaxyS3 running Phantom's Blazer