yashsingh1/xdaforums huggingface dataset:
[HTC One X] TToivanen:
Install adb wireless (needs root), launch it and type on your PC's adb cmd prompt:

adb connect xxx.xxx.xx.xx (example: 192.168.0.10, the app tells you the exact ip)

adb logcat -v long > C:\log.txt

Now do the action that causes it to freeze and wait a moment

then press ctrl+c to terminate and take a look at the log file.
[HTC One X] AcoQ:
Okay so I tested around a bit and enabled every kind of tracer and debugging stuff I could find in the options and I think I found something interesting in the log.

[ 03-26 16:17:28.787 438: 505 D/PowerManagerService ]
ALG=2, lsvalue=225(4th)->320(5th), last_level=5, lValue=142->142, bValue=0, kValue=0, mPowerState=0x3, mSkippedScreenOn=false, mInitialAnimation=false, immediate=false

[ 03-26 16:17:29.992 995: 995 W/Rosie ]
closeFolder() -- Folder is null , AnimateClose? false

[ 03-26 16:17:30.267 438: 537 D/StateMachine ]
handleMessage: E msg.what=131155

[ 03-26 16:17:30.267 438: 537 D/StateMachine ]
processMsg: ConnectedState

[ 03-26 16:17:30.267 438: 537 D/WifiStateMachine ]
ConnectedState{ what=131155 when=-3ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {41aaab78} arg1=5 }

[ 03-26 16:17:30.267 438: 537 D/StateMachine ]
processMsg: L2ConnectedState

[ 03-26 16:17:30.267 438: 537 D/WifiStateMachine ]
L2ConnectedState{ what=131155 when=-3ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {41aaab78} arg1=5 }

[ 03-26 16:17:30.267 561: 561 D/wpa_supplicant ]
wpa_s 0x40de36a8 cmd SIGNAL_POLL

[ 03-26 16:17:30.267 561: 561 D/wpa_supplicant ]
RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c

[ 03-26 16:17:30.267 561: 561 D/wpa_supplicant ]
ctrl_iface: SIGNAL_POLL

[ 03-26 16:17:30.267 561: 561 D/wpa_supplicant ]
nl80211: survey data missing!

[ 03-26 16:17:30.267 438: 537 D/WifiStateMachine ]
fetchRssiAndLinkSpeedNative RSSI = -58

[ 03-26 16:17:30.267 438: 537 D/StateMachine ]
handleMessage: X

[ 03-26 16:17:30.477 995: 995 D/WakeLockManager ]
releaseWakeLock(com.htc.launcher.Workspace@414bdbb8) tag=RosieScroll_2

[ 03-26 16:17:30.482 438: 722 D/PowerManagerService ]
releaseWakeLock(41a460a0): CPU_MIN_NUM , tag=RosieScroll_2, flags=0x400

[ 03-26 16:17:30.482 438: 647 D/PowerManagerService ]
releaseWakeLock(41b1e900): CPU_MIN_FREQ , tag=RosieScroll_2, flags=0x100

[ 03-26 16:17:30.487 995: 995 W/dalvikvm ]
disableGcForExternalAlloc: false

Unfortunately I have absolutely no idea what the flags and commands mean so I think I'll have to hit up a kernel dev who does. Another thing I tried was a complete rollback including stock recovery and bootloader relock, which also had no effect.

At this point I think my aping around in the CPU governor and min/max freq may have caused irreparable damage to the CPU and/or power control, considering how flashing different kernels has zero effect on the issue I don't think it's a software problem anymore and I'm beginning to lose hope that it's fixable through software. If a One X has a BIOS I'd love to reset it, but I don't think it does. FYI, I also tried to disconnect the battery but HTC glued the battery onto the rest of the hardware (not just the back cover) and I will not take the risk of breaking anything any further.

Guess I'll have to upgrade to the One soon...
[HTC One X] Alex240188:
Clearly your phone is having difficulty setting the amount of active CPU's and assigning them a min frequency. It would imagine that you are going to get a lot more info from the kernel log.

You can acquire this by doing the following.

Unplug your phone causing it to crash.

Let it force reboot itself then plug it on to your PC.

Once booted do

Adb shell cat /proc/last_kmsg > last_kmsg.txt

This should point where the kernel is unable to continue
[HTC One X] AcoQ:
I did what you said and the full last_kmsg is available here: http://pastebin.com/3AD6KLgT

Here's the last part, and it looks like you're right. The cores come on- and offline a couple of times (I think "1111", "1011" etc. describe which cores are online), going from 3 cores to 2 cores to 3 to 2 to 3 to 2 to 3 to 2... to 1 and ultimately just shuts the entire thing off.

I find it interesting that the cores are apparently trying to come back online but get send into NOHz mode (probably an intermediary state that gives them the "Go to bed, man!" signal), but I have no idea what to do with these information.

[ 296.343325] [CPUHP] current online: 1011
[ 296.344689] Switched to NOHz mode on CPU #2
[ 296.600621] CPU2: shutdown
[ 296.605225] [CPUHP] current online: 1001
[ 297.019427] [CPUHP] current online: 1011
[ 297.019752] Switched to NOHz mode on CPU #2
[ 297.297223] CPU3: shutdown
[ 297.300166] [CPUHP] current online: 1010
[ 298.184764] Switched to NOHz mode on CPU #3
[ 298.185364] [CPUHP] current online: 1011
[ 298.346157] CPU3: shutdown
[ 298.347751] [CPUHP] current online: 1010
[ 299.722376] [CPUHP] current online: 1011
[ 299.724604] Switched to NOHz mode on CPU #3
[ 299.896705] CPU3: shutdown
[ 299.897922] [CPUHP] current online: 1010
[ 300.629810] Switched to NOHz mode on CPU #3
[ 300.630288] [CPUHP] current online: 1011
[ 300.779935] CPU3: shutdown
[ 300.783137] [CPUHP] current online: 1010
[ 300.993123] CPU2: shutdown
[ 300.995116] [CPUHP] current online: 1000
[ 301.078096] [CPUHP] current online: 1001
[ 301.079767] Switched to NOHz mode on CPU #3
[ 302.165272] CPU3: shutdown
[ 302.166795] [CPUHP] current online: 1000
[ 302.449805] touch watchdog
[ 302.562689] cpu-tegra: force EDP limit 1400000 kHz
[ 302.563972] [CPUHP] current online: 1001
[ 302.564749] Switched to NOHz mode on CPU #3
[ 302.846416] [TMS] cpu temp = 52.50, local temp = 44
[ 303.330406] CPU3: shutdown
[ 303.333548] [CPUHP] current online: 1000
[ 303.678344] [CPUHP] current online: 1001
[ 303.679764] Switched to NOHz mode on CPU #3
[ 303.779515] CPU3: shutdown
[ 303.782713] [CPUHP] current online: 1000

7308 Corrected bytes, 8 unrecoverable blocks
Boot info:
start_on_event=none, last_off_event=pmu_poweroff
[HTC One X] Alex240188:
NoHZ Mode Is Normal

I done see anything that screams failure, but again im no expert with kernel debugging

there is no Kernel Panic which you would expect with a forced reboot
[HTC One X] TToivanen:
I think pmu stands for Power Management Unit. Is this a normal event?
[HTC One X] AcoQ:
Too bad...

Just flashed the stable version of xmister's kernel, same issue (fast kernel though :D), then used trickster mod to change the I/O scheduler to the regular ROW mode (no effect), changed the min. freq to 1200mhz and PRAISE OUR DEEP SEA OVERLORD it keeps running without needing a cable or the touch of my finger.

Apparently the 51mhz min freq was too slow. Can't keep the phone running at this speed of course, so I'll spend the next hour or so finetuning the lowest setting that doesn't crash the phone.

Sweet jesus I'm so happy :victory:
[HTC One X] TToivanen:
Try increasing the running voltages as well like 5-10mV. Might increase stability on lower freqs too.
[HTC One X] Alex240188:
Its not advisable to leave the minclock at 1.2ghz as you will soon find yourself with a constantly hot device.

As said previously by ttoivanen checking voltages might be a good step.

Have you messed with undervolting previously? As that could cause the symptoms you are describing

In trickster mod under specific settings there is mpu voltages

Care to post your values just for double checking
[HTC One X] AcoQ:
Morning,

here are the MPU voltages

1 - 780
520 - 830
700 - 880
860 - 930
1050 - 1005
1150 - 1030
1200 - 1055
1280 - 1080
1300 - 1105
1340 - 1130
1380 - 1155
1500 - 1180

It seems like 475mhz is the lowest I can go, as soon as I set the minimum frequency lower than that, the phone freezes and hard reboots.

I already tried to change the MPU voltage offset to +5, +10 and +15 with no effect, but I don't know if the voltages are okay in the first place.
[HTC One X] Alex240188:
Very odd indeed. them values look like stock+30mv so voltages look ok
[LG Optimus L9 P760, P765, P768, P769] ShinPad:
hey all, i understand that there have been heaps of other rooting threads for the L9, but all of them i have come to no success... Honestly it is getting extremely annoying so i'd like some help here to try and get my phone rooted once and for all... For starters is an Australian L9 if that means anything. Software android 4.0.4 kernal 3.0.21 and software version P768f10e-AUS-XX. Any help on this would be greatly appreciated. I've made another post and that didnt get any responses, so i hope that this one will prevail a little bit more successful. Thanks in advance, your fellow android user.
[LG Optimus L9 P760, P765, P768, P769] artit:
The first thing to learn before root your phone is flash KDZ in this thread http://xdaforums.com/showthread.php?t=2085344.

After you understand how to flash KDZ and successfully flash LG stock P768f v10e on your phone, you can root you phone with http://xdaforums.com/showthread.php?t=2173465

The hard part is hex edit .bin file. If you understand how to edit it other steps just run script and replace edited file while KDZ tool flash .bin to your phone.

If your phone isn't root after doing all steps, it may happen from a little mistake in some step. Lelus' root method also work on new ROM update (V20?) so if you understand it you can root P768f JB rom that will come in our next update.
[LG Optimus L9 P760, P765, P768, P769] ShinPad:
Uhh... that is EXTREMELY confusing seeing as i have no history with android rooting and things like that. Thank you for the response none the less :)
[LG Optimus L9 P760, P765, P768, P769] artit:
I see. For now, there is no one click solution for rooting L9. If You want to root your phone you must follow those guide and if you don't understand some steps you can ask in the forum. In most case you will not brick your phone just because you flashing KDZ.
[LG Optimus L9 P760, P765, P768, P769] :
The guide may seem intimidating at first due to it's length, but once you get a general idea of what you are doing it is actually pretty simple.

If it helps I will try to explain it in layman terms so you can get a better idea of what is happening:

As far as I know, the Australian P768F still has ICS, so you will be using this guide: http://xdaforums.com/showthread.php?t=2173465

What's Happening (General Idea; Doesn't include the small details of setting it up):

Essentially what you are doing is tricking the LG Update Tool to 'update' your phone. Instead of the LG Update Tool connecting to a LG server and applying an update , we create a 'small server' on our computer so we can instead redirect the Update tool to install files that we have on our computer (which you will download as you follow the guide).

In the actual installation process, the LG Update tool will apply the KDZ (think of it as the phone's OS I guess) and then install some files. At some point in the process, you will also see the Update tool install some bin files that are numbered. It is here that we will replace one of the bin files with a 'modified' bin file that allows us root access.

Note: Since I can't seem to find an edited bin file (why we need this is explained above) for the P768F, you will have to create your own following this: http://xdaforums.com/showpost.php?p=38750385&postcount=47
[LG Optimus L9 P760, P765, P768, P769] ShinPad:
Cheers for all your help guys, ill either give it a go or wait till one click comes out. Also the Australian S3 currently has a one click, correct? ill probably root my brothers for him.
[LG Optimus L9 P760, P765, P768, P769] cmahendra:
if u go through the guide with interest, you will actually find it easy.
[Android Software/Hacking General [Developers Only]] ShilohDaniel:
So, porting a rom isn't overly complicated (or easy), but doable. So here's the scenario. You're porting a rom to a device, but the bluetooth stack was lacking in its abilities. How would you go about improving it? Would you get the stack from a known rom that can do what you want or is there some place that the stack can be retrieved from?

Sorry for all the questions, but I'm really trying to learn more about developing for Android and would be eternally grateful for advice from the experienced devs to get me on the long and complicated road.
[Android Software/Hacking General [Developers Only]] ShilohDaniel:
To add to the original post, I've tried a few "fixes" I found with no luck. Going to try to bake in a few of those fixes to try them that way. Doubtful of success.
[Galaxy Note II Android Development] Boris71:
EDIT: Apologies, I've just noticed I've posted this in the wrong section - though not sure how to move it!?!

Hi all, I’m in need of some help!

I recently rooted my N7100, using CF Auto root – great instructions, easy to follow, and it rooted perfectly

All was good, except that it would not of course, run SkyGo. After downloading voodoo and superuser, I managed to get the phone to temporarily disable root, but Sky Go still wouldn’t work. So, I un rooted, and Sky Go worked - and then re-rooted, with the aim of trying to temporarily disable root again.

Noooooow, my binary su counter has gone to 3, root checker says it’s not properly rooted, Sky Go won’t work because it says it IS rooted, Titanium Backup and Triangle Away won’t work because they say it’s not rooted – and I’m stuck!

Tried re-rooting yet again, via the same method, and it seems to work, but again, root checker says it’s not rooted ‘properly’, and no apps requiring root will work. Also, in spite of supersuer and superSU not being installed (as far as I can see anyway), superSU doesn’t get installed during the root process, as it did the first time I did it.

I seem to be stuck on some sort of root limbo – does anyone have any ideas?

Thanks for reading.
[Galaxy Note II Android Development] steijn0:
You might want to try the megawipe option from zoot's wipe script you will need to flash clockworkmod though. Hope I helped you out! Good luck
[Galaxy Note II Android Development] nyvang101:
Flash a rooted recovery using Odin. then flash a rooted rom. good set of instructions can be found here along with a video

http://galaxynote2root.com/galaxy-note-2-root/how-to-root-galaxy-note-2-easiest-method/
[MDA, XDA, 1010 Software Upgrading] cuzmarc:
I was able to flash my rom successfuly for my t-mobile phone using the links I found on one of these forums. However after installing batterypack the system froze. I did a hard reset and now it only sits at the Rom Kitchen boot screen. Any Ideas on what I can do from here besides taking it somewhere to get fixxed :( ... Any help would be appreciated. Thanks in advance.

Marc
[MDA, XDA, 1010 Software Upgrading] valheru:
Can always reload your ROM using the SD card method. See the OS Toolset forum. It is easy.
[Sony Xperia P, U, Sola, Go] XerSOn:
Hey guys, I'm trying to unlock my bootloader, and I'd be glad if you could tell me some of the steps in the process, or where I could find a guide to the subject. Thank you. :confused:
[Sony Xperia P, U, Sola, Go] toshal_tambave:
Follow steps in d following link

http://xdaforums.com/showthread.php?p=23188260
[Galaxy Note II Q&A, Help & Troubleshooting] Renecek:
Hello, yesterday I downloaded and installed Battery Monitor Widget (for mA monitoring). I went to bed, my phone was 100% charged. Today I checked log and I found, something started fast drain my battery at 7:42:06 AM.

Is there any way how to find that app?

Have 4.1.2 without root and my device automatically starts airplane mod from 03:00 - 07:00.

Thank you
[Galaxy Note II Q&A, Help & Troubleshooting] UtkarshGupta:
Try better battery stats.

this is XXXDDDAAA
[Galaxy Note II Q&A, Help & Troubleshooting] Renecek:
just bought Better Battery Stats so I hope I'll find a problem
[Galaxy Note II Q&A, Help & Troubleshooting] Renecek:
OK, so I charged my device to 100%. Here is log from Battery Monitor Widget and screens from Better Battery Stats.

At 16:52:06 I started GPS navigation Waze for 10-15 minutes.

Battery Monitor Widget
[Galaxy Note II Q&A, Help & Troubleshooting] UtkarshGupta:
Sorry but I can't seem to figure out what is eating your battery. Maybe leave it for a longer time to make it more clear.

this is XXXDDDAAA
[Galaxy Note II Q&A, Help & Troubleshooting] Renecek:
OK, so yesterday I flashed my device again with stock rom and all wipes. Now statistics are good I think.
[Galaxy Note II Q&A, Help & Troubleshooting] UtkarshGupta:
Yep can say.

this is XXXDDDAAA
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] I.am.zahid:
It is a long story. I bought a galaxy note n7000 from London with Gingerbread 2.3.5. After coming to my home country I informed that it is updated to ICS 4.0.3. As I was very new in smart world I did a very big mistake I had a super brick but spending 7 days I somehow revive it losing almost 5 GB internal memory.

I used this thread to do that:

http://xdaforums.com/showthread.php?p=26285877#post26285877

After that I was using ICS indian official rom for 5 to six month.

In the process that I did I removed the 12 number hidden partition maybe called preload like:

Number Start End Size File system Name Flags

1 4194kB 25.2MB 21.0MB ext4 EFS

2 25.2MB 26.5MB 1311kB SBL1

3 27.3MB 28.6MB 1311kB SBL2

4 29.4MB 37.7MB 8389kB PARAM

5 37.7MB 46.1MB 8389kB KERNEL

6 46.1MB 54.5MB 8389kB RECOVERY

7 54.5MB 264MB 210MB ext4 CACHE

8 264MB 281MB 16.8MB MODEM

9 281MB 1174MB 893MB ext4 FACTORYFS

10 1174MB 3322MB 2147MB ext4 DATAFS

11 3322MB 15.2GB 11.9GB fat32 UMS

12 15.2GB 15.8GB 537MB ext4 HIDDEN

As the author of the thread said that:

It is also known that the hidden partition (partition 12) is not needed for normal use and install of roms. So you can delete it and enlarge the UMS partition (to 15800mb) and you will have a larger sdcard to use.

But I think the above information is wrong as I never find Snote application in my rom as it need this hidden part. But apart I did not find any problem.

Now when I got jelly bean 4.1.2 update over kies I did that and got in a big problem. I tried 50 times 10 different roms but got bootloop every time. After searching a lot I came to know that the hidden preload is essential for jelly bean so I started the ADB program and use the Samsung official pit files and got back the hidden preload part.

Then I load jelly bean rom by odin a well it started good.

Now everything is fine but I got a problem that I never get before.

If I turn on the wifi my phone stuck, it freeze completely unlit I reboot it, I Thought it is jelly bean roam problem but no I got the same problem in ICS also the rom I used 4 month without any problem.

Yah I got some experience in last one year, and I revive my phone from super brick alone so I have some knowledge a I used all in this problem but no luck.

I can inform U that I have tried all general solutions for that

So please is there any kind person who knows this problem specifically and give the right solution.

I am in very big trouble, Please help me bro………………
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] nokiamodeln91:
the problem could be:

when you get a brick, portion of the system partition gets corrupted. so you used a workaround to bypass this portion using the modified PIT files. then you used an original PIT file which may have activated these again and now then system is reading these bad blocks and getting errors. so you may need to use the scanners again and use a modified PIT .. if doing this manually this time, donot remove the hidden partition.. As the guide was written when ICS and it didnot use preload.. but JB is too huge to accommodate in the System partition so uses preload for a lot of apps..
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ThaiDai:
Repartition is a "workaround" with these limitations. You should really consider a mainboard replacement seriously now.

---------- Post added at 01:05 PM ---------- Previous post was at 12:37 PM ----------

Hey, stop posting this now everywhere in Custom Rom threads. It is enough if you make a thread in Q&A, no need to spam the development forum!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] I.am.zahid:
Thnaks Brother

I did the repartition and every partition is checked by ADB and formatted with no error and my phone is running on ICS now everything owrking fine but once I turn on wifi the phone become bit hot and hang right away
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] nokiamodeln91:
did you try installing a different kernel like speedmod
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] I.am.zahid:
Problem Identified but not solution

The problem is in internal memory, I already lost 6 gb internal memory, rest of them checked by adb and no problem but it has some probllem , there is some bad sectors that adb could not identifi so whenever my phone wants to read or write something in internal memory it hangs,

solution is to change the 16GB internal memory, but the question is it possible to do so, if I change the mother board will it chane the full memory also?????????????
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] nokiamodeln91:
Yeah. Changing the motherboard will do
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] jaycm1130:
i also encountered same problem..

i even used repartitioning

i think the work around solution is not a long term one..

replacing the motherboard is the main solution but its like buying a mid range phone

so now my phone is in my closet..

i wonder after replacing the mainboard, would the emmc bug still exist?..
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] I.am.zahid:
Thnaks Brother

Dear Bro,

Sorry to say I don not have warranty. After three days working what I understand that the main problem is the DATAFS partition just that is all, but It is impossible to find out that in the 16GB memory where this DATAFS will be fine, after a long work I reduced the DATAFS to 900MB and upto now phone is working fine. But I know that It is not the final solution, I will some how try to change the EMMC disk or the full mother board as soon as possible.

Thanks again for ur reply
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] jaycm1130:
yes.. were facing same problem.. i feel you..

right now i'll try to look for a JTAG service..

just to see my GNOTE bring back to life..

the repartition thing destroyed boot..

not even download mode can be accessed.. hard bricked..
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] I.am.zahid:
Sad

Your your one is more complicated than mine. I can use my note now but unstable and 10GB memory loss
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] jaycm1130:
my trouble began after flashing the leak version of android 4.1.2 DBT..

phone hangs and needed to reboot just like your case..

i tried to repartition to see that, if i skip the bad sectors of the internal storage.. i could see good results..

unfortunately odin hands, and after i unplug the phone.. it never turned on..

deadboot..
[Vibrant Q&A, Help & Troubleshooting] eranshani2:
Hello everyone .

I don't know what to do . I am sitting a lot , trying to update my version (4.0.3) to 4.2.1. Also, i am looking for a stable Rom with working GPS.

Do i have to update my version in oder to put a Rom that based on a newer Version?

I got Ics Passion v13 with 3.1.10-ICS Passion Kernel.

I tried to update from Kies but it doesn't recognize my Phone (There is no option in the ICS ROM to put the USB connection in Kies mode )

I really need help - how to update the version and what Kind of Rom and Kernel are the bests in your opinion ?

Thanks for helping =]

.