yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] WandersonGD:
Well it's quite simple, password for recovery and download mode. You can't flash any ROM or wipe without this password. Simple, very simple to understand... AND make total sense.

Man, sucks buy a smartphone then came someone steals, flashes another ROM and bye bye...

If you have a password in theses boatloaders this will never happen.

But its totally understandable that its impossible work in something like that.

That is what i maybe want to heard from developers.
[Galaxy S II General] marcellocord:
the difference between someone stealing your phone with/without password on recovery/download:

without: the guy will wipe data/flash rom

with: the guy will throw your phone away in the toilet
[Galaxy S II General] WandersonGD:
For me the real difference is:

With password: I have a chance to recover my phone, I don't care if its big or not, and don't give profit for nobody.

Without: I loss my phone, money, get angry... And for somebody give money for a bastard if they don't block IMEI with operator.

I think this would be a real goal for safety, privacy, and It kinda desmotivate stealing, at least stealing for money.

I don't know if developers know about that, probably yes, but I want to know why is not possible, why such a skepticism for everyone here.
[Galaxy S II General] marcellocord:
and if the guy take out your sim card? no data, no wifi, not traceable until he wipe data/connect to internet
[Galaxy S II General] WandersonGD:
all right man, sometime the guy will use the phone... and then you just need Cerberus or Avast anti-thief ROOT instaled and send few SMSs

And like I said, even if he throw the phone in the garbage, at least he did not won nothing.
[Acer Iconia Tab A100] dragynbane222:
Ok, a bit of backstory for context: I had the bootloader unlocked, CWM and lgcmn and ZeroNull's rom installed, few days later, ran the wrong script on my hard disk whilst experimenting, and installed the A10x bootloader over my A200 bootloader, essentially bricking it.

is there someway I can fix it myself? or is Acer needed for this?
[Acer Iconia Tab A100] pio_masaki:
Has to go to Acer sorry to say.

Tapatalked from my Galaxy S II.
[Acer Iconia Tab A100] dragynbane222:
Alright, thanks for the quick reply.
[Galaxy S III Q&A, Help & Troubleshooting] garethclement2009:
ever since i flashed the latest version of the Jb leak i have no wifi, any ideas on how to fix this?
[Galaxy S III Q&A, Help & Troubleshooting] jonathanyong:
It's impossible to fix I'm afraid. Your phone is now practically bricked.

Just kidding, flash a stock based sammy ics rom and you'll be good to go.
[Galaxy S III Q&A, Help & Troubleshooting] garethclement2009:
i had my arse in my mouth then, is it a known issue, or have i done anything wrong?
[Galaxy S III Q&A, Help & Troubleshooting] jason11:
Me too, no WiFi in cm 9 or cm 10.

It works only in stock Rom. (4.0.4 or in leaked Rom)
[Galaxy S III Q&A, Help & Troubleshooting] dkotoric:
i flashed cm10 from stock 4.0.4 and wifi is perfectly fine

Sent from my GT-I9300
[Galaxy S III Q&A, Help & Troubleshooting] jason11:
I used cm 10 without problem.

It happened after flashed the leaked Rom
[Galaxy S III Q&A, Help & Troubleshooting] jonathanyong:
Yes its a known issue. Flashing the leaked sammy JB rom seems to kill wifi in a funny way. Flash a sammy stock ics rom (or custom rom eg. wanam or omega) and your wifi will be fixed. You can then proceed to install JB AOSP or CM10 or whatever.
[Galaxy S III Q&A, Help & Troubleshooting] garethclement2009:
i have no idea what any of them are lol
[Galaxy S III Q&A, Help & Troubleshooting] jason11:
i flashed a JB Modem it's fine now.

http://xdaforums.com/showpost.php?p=27354250&postcount=309
[Galaxy S III Q&A, Help & Troubleshooting] garethclement2009:
Would i need root for this?
[Galaxy S III Q&A, Help & Troubleshooting] jason11:
if you don't have root or cwm revovery.

better flash your country official stock rom via odin

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

or you can flash only modem (find correct modem)

http://xdaforums.com/showthread.php?p=28033515#post28033515
[Galaxy S III Q&A, Help & Troubleshooting] Linnyuk:
Hi,

Please see here to see if this works for you.

http://xdaforums.com/showthread.php?t=1847441
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] El_Gal0:
i have been tested about 10 ROMs and now I found an error in one but I have less than 10 post and I can't tell about the bug what can i do?

I am a student in ninth semester of IT specialty networks I'm not exactly a n00b but I've never programmed in andorid but it's my intention to do it

there is a way to comment errors in the forums?

PD excuse my bad English I do not usually write in English and thanks for all.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] FrankyDoodle:
You could PM the dev :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] El_Gal0:
ok thanks I'll try that
[Verizon Samsung Galaxy S III] droidrev71:
figured it out.:D
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] qnfauf:
I use Colemak for English layout and standard Korean layout. If I were to use Qwerty and Korean, it works out of the box. I can switch between layouts by pressing Shift+Space with the default Samsung keyboard.

So I basically followed this thread's instruction to get Colemak to work.

My keyboard (HP bluetooth keyboard), however, does not generate a separate .kl file in the keylayout folder. So I tried editing Generic.kl. It worked, and the keyboard is now Colemak. Korean keyboard, however, is now messed up. Keys are moved around because I changed the layout from Qwerty to Colemak. It seems that Korean keyboard relies on layout being Qwerty.

I appreciate any help.
[HTC Sensation] 9ja Droid boy:
Hi guys please I need help here urgent I was running on GB before I rooted my phone then gain S-OFF try flashing a custom rom which are viperS and ARHD all failed to work rather than stock on beat audio logo and I have flash the firmware to 3.33 but still yet no progress. And I don't have the backup of the current rom so am in real mess now I really need your help please.
[HTC Sensation] Jonny:
fastboot getvar all

copy the output of this command excluding IMEI and Serial No. into a post. Also what does your hboot say?
[HTC Sensation] 9ja Droid boy:
How can I get the fastboot getvar all of a thing I don't know how to obtain it. Mean while my hboot was formerly 1.18. Then I now updated it to 1.27.1100
[HTC Sensation] Jonny:
edit your post to remove IMEI and serial no, I dont need them and you should not give then away lightly - I did say EXCLUDING those (meaning dont post them)

for fastboot commands you need to download the adb and fastboot files, they are available from the all in one S-OFF (hboot 1.1x.xxxx), SuperCID etc guide thread in the dev section
[HTC Sensation] 9ja Droid boy:
I already have fastboot what I meant was that I don't know how to do the fastboot getvar all please can you tell me how.
[HTC Sensation] 9ja Droid boy:
I will post the fastboot getvar commands later please were am now my system is not with me.
[HTC Sensation] Jonny:
Instructions when you get to a pc:

open command prompt, type:

cd C:\path_to_folder_with_fastboot_files

hit enter (eg for me it is cd C:\adb) then put phone into bootloader, connect it to pc and select fastboot usb mode on the phone, then type into command prompt:

fastboot getvar all

hit enter
[Galaxy S II Q&A, Help & Troubleshooting] itchetrigr:
Im on stock XWLPG and there is a OTA Update available... about 117.85mb in file size

Im rooted with custom kernel Siyah 4.1rc1, Im not sure about this update has anyone applied this to thier GS2 with success?
[Galaxy S II Q&A, Help & Troubleshooting] UltimateAnas:
If your on a custom ROM then don't do updates, you'll end up in a boot loop, if you want the update, flash via Odin, for a custom kernel I'm not sure it'll work but you can try!
[Milestone 2 General] czechop:
Here is a port of 2ndboot to milestone2. It successfully boots new kernel, radio(as expected) is not working... but who uses smartphone as a phone anyway? ;)

If you wish to try it:

1) extract attachment onto your sdcard

2) copy /sdcard/2ndboot_gb/hbootuser to /system/bin

3) chmod +x /system/bin/hbootuser

4) turn off lcd panel(otherwise the new kernel will not initialize display correctly)

5) in one console invoke adb shell cat /proc/kmsg (so that the processor does not sleep to deep... otherwise it can take time before it starts to boot :))

5) from another console invoke adb shell /sdcard/2ndboot_gb/2ndboot_gb.sh... and cross your fingers(as it sometimes crashes:D)

Here is a source code:

hxxp://bitbucket.org/czechop/mils2_2ndboot

NOTE1: it is compiled against froyo kernel, so probably wont work with gb. I've tested it with froyo kernel(MILS2_U6_2.4.24) and tezet's CM10 system(btw really nice rom... and very handy that the same system image can work with both froyo and gb kernels :) ).

NOTE2: it takes quite a lot of time to boot(if it boots at all), so be patient :)

NOTE3: if you connect serial(ttl 3.3V) <=> usb converter to micro usb port you can grap early console output from the new kernel(speed 115200)
[Milestone 2 General] Lean946:
I'm about to test this over CM10 and GB kernel, will it work anyways?

Another question, if I boot this kernel, and then reboot, will I be back in Moto's kernel with radio?

Nice work, btw :good:
[Milestone 2 General] Lean946:
OK, I tried this 3 times, with no success, everytime the screen remained turned on but completely black, for about 10-15 seconds, then rebooted to Moto logo.

After the second try, my status bar and navigation buttons were gone, had to wipe dalvik cache to solve it.

Hope it helps you :good:
[Milestone 2 General] czechop:
Did you turn off the screen before invoking the script? Without this the new kernel spends a lot of time tryinig to reinitialize it, and eventually watchdog will reboot the phone.

Have you got to the place where blue and green leds turn on?
[Milestone 2 General] tezet:
Welcome to XDA and thanks for sharing this! Could you also please share the sources?

It would be cool to have working kexec, Droid 3 guys managed to have it working with radio. Maybe you could look at this and try to port it to our M2? :)
[Milestone 2 General] czechop:
Just added link to source code(should have done that straightaway:o)

As far as I know D3 has a different radio, so the chances are not so high it will work with M2... but probably it's worth to try anyway:)
[Milestone 2 General] dangpzanco:
Hey, nice work you have done! Maybe you should take a look at this repository: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-kexec

From the same guy who made the MS2Debounce app, he tried some hacking with kexec but he failed, maybe you can find a way out in the code?
[Milestone 2 General] czechop:
Thanks :)

I've seen this repository. I've send the author PM with info regarding enabling console output(he gave up his work as without debugging info he was not able to progress), so I hope that he will get back to it :)

In the meantime I've tried 2ndboot to start mbm(milestone1 devs have tried it without success, but I hoped that maybe our mbm is better then the one milestone1 has:D), but mbm stucks at resetting BP:( Will try to dig this out(for some time)... and if this does not work(which is almost sure), will try(if my phone survive constant reboots:D) to look at possibility of passing usb context from the old kernel to the new one, so that to skip enumeration in the new kernel.
[Milestone 2 General] Ashareth:
Great to see someone (else) working on that and making some progress (even small ones is better than none).

Hope you'll reach something working someday. ;)
[Milestone 2 General] mimitech:
i have successfully test this on CM10 with GB kernel. one issue is the adb lost link after the new kernel launched, and un-recognized USB device found.

GREAT jobs! thanks

would you please post a kernel with swap support? it's a good reason for a custom kernel.
[Milestone 2 General] czechop:
Good to know that it works for someone else :)

Regarding adb, you lost link because micro-usb port is switched to serve as an UART to get console output. If you wish micro-usb to preserve its functionality, replace 2ndboot.ko with the one from the attachement, and in the 2ndboot.sh script add "emu_uart=0" parameter at the end of insmod command. Another option is to use adb over wifi.

Regarding swap support... I attach kernel version compiled with CONFIG_SWAP flag... this should I guess enable swap support(haven't tested that:D). Please let me know if it works:)
[Milestone 2 General] mimitech:
test progress

I have tested this. both the ADB over USB and swap work OK, thank you very much.

another minor issue is, after reboot into the new kernel, the CPU load is 100% high, all occurred in kernel. the process "khubd" has very high CPU time, and the dmesg show repeated messages:

"

<3>[ 2388.578765] hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad?

<3>[ 2388.584167] hub 1-0:1.0: unable to enumerate USB device on port 3

<4>[ 2388.588867] czecho: hub_port_reset: skipping reset of port 3

<4>[ 2388.593536] czecho: hub_port_reset: skipping reset of port 3

<4>[ 2388.598144] czecho: hub_port_reset: skipping reset of port 3

<4>[ 2388.602752] czecho: hub_port_reset: skipping reset of port 3

<4>[ 2388.607391] czecho: hub_port_reset: skipping reset of port 3

"

i have tried switch the 2ndboot.ko to original one, the issue still exists.

this issue should be related with OMPA3 usb hub? please help fix this, after then i guess this custom kernel should be very useful. thanks.

---------- Post added at 03:38 AM ---------- Previous post was at 03:28 AM ----------

post some more information for debug:

vmstat =>

procs memory system cpu

r b free mapped anon slab in cs flt us ni sy id wa ir

1 0 8600 120912 246264 13260 211 431 0 1 0 93 0 0 7

1 0 8600 120916 246264 13260 166 143 0 1 0 96 0 0 3

1 0 8600 120916 246264 13260 222 463 0 2 0 87 0 0 9

2 1 11204 120916 243632 13260 195 104 0 0 0 97 0 0 3

============================================

ps =>

R 0 289 2 0 0 0:0 09:55 00:34:00 [khubd]

============================================

in official kernel, there is a hub with 3 port:

<6>[ 7.889923] usbcore: registered new interface driver hub

<6>[ 8.063293] hub 1-0:1.0: USB hub found

<6>[ 8.063415] hub 1-0:1.0: 3 ports detected
[Milestone 2 General] czechop:
The CPU load is probably due to my recent modifications to disable usb reset in new kernel(so that to preserver link with BP)... which of course does not work as expected :D

Anyway, I guess I could prepare a "clean" kernel with swap support, but maybe it would be better if you do it yourself(so that in the future you could enable other features in the kernel)?

You would need(probably there is many other ways to do it):

1. ubuntu. I personally use 10.04 x64. In my system it cowork with windows xp(actually ubuntu is installed on the windows partition, so it could be easly deleted if space is required):)

2. prepare a cross compiler(I use one made with crosstool-ng, but it took me realy loooong time to make it). I guess that the easiest option would be to use cross compiler from android ndk(it should work just fine). So that download ndk

3. find the path to the crosscompiler in extracted ndk(it would be something like android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin; should contain gcc and other tools) and add it to PATH

4. download motorola kernel source for milestone 2 from hxxp://sourceforge.net/projects/milestone.motorola/files/. I use version MILS2_U6_4.1-22(kernel is in file kernel_omap3.tgz)

5. extract kernel

6. cd to kernel root

7.edit configuration file(arch/arm/configs/mapphone_defconfig)... enable SWAP etc...

8. being in kernel root dir, invoke: make CROSS_COMPILE='prefix of your crosscompiler, e.g. arm-linux-androideabi-' ARCH=arm mapphone_defconfig

9. being in kernel root dir, invoke: make CROSS_COMPILE='prefix of your crosscompiler, e.g. arm-linux-androideabi-' ARCH=arm bzImage

10. if everything goes fine, your kernel should reside in arch/arm/boot/zImage... copy it over kern in 2ndboot

Let me know how do you feel about building your own custom kernel :)
[Milestone 2 General] mimitech:
Thanks for very detailed instruction. it should not be a problem for me, i have some experience with Linux kernel compiling, i need some time for environment setup and getting familiar with android SDK and cross-compiling tools.

thanks again. I'll let you know if any progress.
[Milestone 2 General] tezet:
I think you could have more luck with radio when starting new kernel from bootmenu, just like 2nd-init.

You may bind it to bootmenu's 2nd-boot option, however I suggest to use all init scripts from 2nd-init as a base, 2nd-boot is not mantained at all.
[Milestone 2 General] czechop:
Thanks for this tip:)

BTW, do you know if there is some way to restart then into 2nd-boot via bootmenu automatically(so that I don't need to choose 2nd-boot from the bootmenu list... this would speed booting up a little bit), but preserving 2nd-init as the default bootmenu option?
[Milestone 2 General] czechop:
That was really quick.... I've spend almost a week configuring environment :)

The logs from the org kernel are ok. And the kernel is larger then mine probably due to a fact that I use slightly different compiler. But I guess that should not be a problem. Could you post your kernel? I would check if there is "uncompressing linux..." console output from the new kernel over micro-usb.
[Milestone 2 General] mimitech:
i have trouble with upload attachment in this forum. please download my kernel from here: "www . mimitech . net / zImage1" (please delete all space in it)

thanks
[Milestone 2 General] tezet:
No, there's no such feature. But simple modification of init scripts will do the job. You could just create file before restart and check it's presence in one of init scripts, e.g. 2nd-init.sh. Depending on file presence proceed with regular 2nd-init contents or run 2nd-boot.

That's the quickest I can think of.
[Milestone 2 General] czechop:
Your kernel passes "uncompressing linux...", but it crashes afterwards(unfortunatelly there is no more console output after uncompress). Could not imagine what's wrong with it. Maybe the compiler? Which version of gcc did you use? Mine is 4.4.6

Anyway, I attach "clean" version with SWAP enabled. It seems that it boots less frequently then the previous one(it crashes quite offen at the JB logo, but ocassionally it boots:D), but once it boots it seems it does not consume so much CPU :)
[Milestone 2 General] mimitech:
thanks. that's kernel is really fine.

i'll try compile my kernel using difference gcc version.
[Milestone 2 General] czechop:
Thanks. Have to figure out how to disable lcd programatically yet, but It seems that it should work this way :)

BTW, is there something on the system partition in your CM10 rom(I have one dated 20120904 at the time) that is not particularly necessary and could be deleted(I would need about 10MB)? My system partition is almost full, so that I had to move 2ndboot stuff to /data partion, while it probably would be better to have everything in one place.
[Milestone 2 General] mimitech:
i have try compile a kernel using gcc 4.6, same result, not working...

would please post your .config file for "clean" kernel with SWAP enabled. I'm suspecting the moto logo splash screen maybe the cause.

thanks
[Milestone 2 General] czechop:
I attach kernel config I used to build that kernel. But I think it will be exactly the same as yours(I only enabled swap in it).

As I mentioned, I tought that the easiest option would be to use cross-compiler from android ndk, but perpaps it's not so good. I personally use cross-compiler made by crosstool-ng v1.15.2. You could try it. Here is a guide how to build it:

http://www.droid-developers.org/wiki/Toolchain

You could use my config for it(instead of the one from the link above). Only replace my paths inside with yours.
[Milestone 2 General] mimitech:
I have successfully build a crosstool-ng toolchain, the kernel build with it is very close to success, i can see blue and green led blink when new kernel boot, but still can't run into desktop. as the kernel provide by you also has high fail rate, I'm not sure if the toolchain i build has issue.

thanks for you help.
[Milestone 2 General] tezet:
Some of apps can be safely removed. Ring tones and wallpapers as well.
[Milestone 2 General] czechop:
Thanks. Could not find wallpapers, but removing ringtones should be enough :)

BTW: in your github sources I can find bootmenu v1.3.0(android_external_bootmenu repo), while the one in JB says it's version 2.0-Beta... is there somewhere sources of it?
[Milestone 2 General] czechop:
Good to know that it work a little bit better:)

Yes, I also suffer from high fail rate. Will try to dig this up once I succeed in starting custom kernel from bootmenu(currently it crashes in some yet another way at JB animation).

Anyway, my suspition is that the watchdog kills it. You could try to change watchdog timeout to 120 secs(instead of default 60). To do this you would need to edit drivers/watchdog/omap_wdt.h(I've seen there something called DEFAULT). If you do, let me know if it helped:)
[Milestone 2 General] tezet:
It's being compiled from this repo:

https://github.com/tpruvot/android_external_bootmenu/tree/jellybean
[Milestone 2 General] mimitech:
i have test with 120 secs watchdog, and the situation was not changed.

maybe you have made some change to MILS2_U6_4.1-22 kernel source? and if you can make a diff tree for me? or you can post your vmlinux file, I'll try to disassemble it and compare with mine. anyway, my kernel size is very close to yours, just 4 byte smaller.

thanks
[Milestone 2 General] czechop:
The only midification to the source in the last image I provided you was the change in mapphone_defconfig(CONFIG_SWAP=y), beside that, I haven't changed anything more. Those 4 bytes difference probably will be due to the kernel version string(mine is czecho_something, yours I guess is different).

In the evening(currently I'm in work) I can post you vmlinux, however it's quite huge(about 70MB I guess), so I don't think it will fit on xda. Do you have some place where I can store it?

And how far your kernel is getting? Can you get to the JB animation?
[Milestone 2 General] czechop:
Thanks :)
[Milestone 2 General] mimitech:
my kernel stopped before JB animation.

yeah, i just notice the vmlinux is very huge compared to zimage, I'm curious what additional data is in vmlinux than zimage, as the vmlinux after bzip2 still have 29MB!

i think you can send the bzip2ed vmlinux to my email (my ID here at gmail.com). if needed, you can split it into 2 files using dd.

btw, the size of my vmlinux is 67957209, hope it's not much differed with yours.

thanks
[Milestone 2 General] mimitech:
thanks for your mail. i've compared the two vmlinux, after disassemble, these two kernel are almost identical except some time-stamp strings. but the file size is different, my kernel is smaller by 24680 bytes.

something strange.
[Milestone 2 General] czechop:
That's indeed strange. Have no idea why it's that much smaller, and why it does not work.

Regarding my kernels, it seems that they do not start quite frequently due to some kernel panic(unfortunately it does not dump anything on console, so it's hard to debug it:(.

Will try to enable ftrace during boot, to see where it crashes.
[Milestone 2 General] czechop:
I was able too boot kernel compiled using official gcc 4.4.3 provied by google for jb-release(from here: https://android.googlesource.com/platform/prebuilt/). Could you try it? If this does not work, then I guess you will need to buy a new computer;)
[Milestone 2 General] benitoxu:
I hopr I can help,but I cant.

so nice job and good luck,dude
[Milestone 2 General] mimitech:
yes, I've tried the official pre-built 4.4.3 toolchain, it produced the same result as the crosstool-ng (not booting). and I run these toolchain on a virtual-box ubuntu installation.

thanks for you help.