yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] bingo99:
for those who dont know, a bug in fbmem.c is how motochopper works.

basically it was able to allocate all the memory on the device to itself (a lowly normal user), including kernel memory.

and once that occured, it could simply change itself to be root or the usual things you can do once you have kernel memory control.

a fascinating technical description of this can by found by googling:

"android hackers handbook" and going to the google books result for that book. it starts at page 357.

my question is this:

its not like this is the very first time a memory allocation bug like this has been used to compromise a kernel and gain root in the history of linux (or the history of kernels for that matter)

I would think it would be possible to automatically search the kernel source for all locations which allocate memory and then inspect those locations manually for weaknesses.

So has someone done a systematic check like this?

Could we attempt it like this:

1) using standard source code tools, make a list of all the locations in the kernel source that allow user land code to allocate memory. (like fbmem.c) this should be done at the CODE level, i.e. if there is something that sets the size of an array or variable or pointer which resides in kernel space then that counts as a hit. I'm not talking about high level "kernel.c accesses kernel memory" I mean down to the individual line of code.

2) using standard text search tools (i.e. grep), select 1 or 2 pages of text before and after the "hit". so now you have a big pile of pages which all have the hit and the code around them.

3) create a simple way of distributing these pages to the "mailing list" of people out there for review. maybe people can be trained to recognize simple things like memory pointers being set with integers in a way that can rollover.

4) cross your fingers that someone out there has the "golden ticket" of both an actual weakness in their pages and the ability to see that weakness.

I know its a long shot that there enough people out there that know what they are looking at to find an exploit even if handed the relevant code.

But then the question still remains:

6) Has a systematic search of all userland kernel memory allocating code been attempted, and if not, is it possible to attempt somehow, and how?

7) RAY OF HOPE: remember that the fbmem.c bug that motochopper uses had been around for YEARS (If I am reading the timeline correctly) so its not like its out of the question another similar bug could exist. It went undetected by all the usual billion dollar companies and government agencies, not to mention all the other people involved in linux kernel development. Or if it is out of the question Id really like to hear why!
[Verizon Galaxy S 5 General] bingo99:
okay so I guess what I am suggesting is just distributed source auditing, which may or may not have any merit and/or even be realistically possible with non programmers or inexperienced programmers...or even advanced programmers

but heres another way to look at it:

lets say there IS another memory leak similar to the fbmem.c weakness. just for arguments sake.

its somewhere in the kernel source code.

in fact, to make the point, lets say its EXACTLY the same kind of leak as the fbmem.c leak.

what sort of method would we need to locate it?

if we can come up with a method that would locate the fbmem.c weakness, then it would probably find other weaknesses too.

im not talking about a text find to locate the exact source code. I mean something a little more fuzzy than that..something which finds memory being allocated and there is chain going back to userland and we can find the weak link in that chain and allocate critical kernel memory.
[Verizon Galaxy S 5 General] micmars:
Ideas for rooting the device should go in the thread entitled "Ideas for rooting our phones." Thread closed.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] zuberx3:
Hey guys,

Sorry if this is posted anywhere, I searched, and went back 5 pages. But I am having a few issues with my S4 on 4.4.2.

There is times where the phone works fine.. I can send/receive calls and texts. But at random times, I will notice I am not getting either for a long time. If I pull the battery, and reboot.. after startup I will see missed calls and missed text come through. In regards to the call portion, people will say it rings through to my VM, but it never rings for me, and I will not get the VM notification until after I reset.

I have googled, and XDA'd it up but to no avail. Please help!!

Thanks,

Jordan
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] daniel4653:
Welcome to the Sprint Network. This has been happening to be for years. Where friends call me and ask why don't I answer. It never shows on the dialer that I missed a call. Until later when I get a notification for a voice mail.

---------- Post added at 08:31 AM ---------- Previous post was at 08:28 AM ----------

You could try resetting the activation on the phone with ##72786# in the dialer. It will reboot twice in the process.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] snahaw0:
Have you updated the PRL and profile? Stock or custom ROM?
[Moto E Themes and Apps] SD_2007:
Suggest me the best optimizer and security app for Moto E in terms of efficiency and most importantly ram usage.

I used Clean master and AVG before on my Canvas Lite, both are good but consume large amount of ram. Some of my friend suggest me Android assistant and CM Security.

Or is it better to avoid any optimizer and security app?
[Moto E Themes and Apps] simplyanin:
I heard 360 Security is great

Sent from my Nexus 5
[Moto E Themes and Apps] Nandha005:
360 is Best
[T-Mobile Samsung Galaxy Note 3] samklee:
Anyone running this on an aosp rom on a note 3?
[T-Mobile Samsung Galaxy Note 3] samklee:
Nm. Works great. Just be aware that there is a specific cm11 modded Dalvik zip. Very snappy and does indeed seem faster than art, but that could be placebo.
[Galaxy S 4 Q&A, Help & Troubleshooting] andyjg247:
Hi,

The CM builds have a privacy option in settings. Is this something that is available in the google edition roms at all? I've tried running the new 4.4.3 but this doesn't appear to exist which is a shame for me. Is there somethign that can be used to replicate it (if it isn't available)?

thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] :
Re:

This feature is build into every Android. On stock and many other ROMs, this feature is hidden. the cyanogenmod "Privacy" settings tab only brings app the "vanilla" AppOps interface that is hidden by default. If you run an Android version UNDER 4.4 you can access the Privacy menu on your device without root. But you say you updated to 4.4.3, so I bet you'll have to root to bring up the menu. With or without root, you should try this "App Ops" app. I used it before sticking to Cyanogenmod. App Ops by Lars Team (can not post link to store - low rep)

But just as a recommendation, if you want true privacy on Android, you need to ditch the Samsung and Google stock bloatware and get some clean and true Android like Cyanogen. My device is more secure than ever and boots almost instantly (set device to performance mode) with CM11. Anyway, if you have plans to root, (... and void your warranty...) do it with Cyanogenmod. For i9505 devices, there is Cyanogenmod Installer which automatically roots your device and loads recovery and Cyanogen, without any risk, except the risk of voiding your warranty and having the device display "Warranty Bit 0" when entering recovery.
[Galaxy S 4 Q&A, Help & Troubleshooting] andyjg247:
Thanks for the reply, I appreciate it.

I've been running the nightlies for CM for quite a while now but fancied trying the GE ROM that danvd brought out with 4.4.3 (already supersu). I looked in settings and couldn't see the option though so wondered if it was CM only or something. Didn't realise it was just hidden (as I've just gone back to CM backup after going through it all (including having to go back to ext format too). WIll definitely look for the app ops in play. Thank you
[HTC One Max] sriszone:
Hi

Today i recieve OTA Sense 6 Update for my HTC One MAX (International). Ny device i already rooted and S-off... In order to install OTA update i need to get My Stock recovery. I download Stock recovery Stock recovery 2.61.401.3 and install it on fastboot. After i download update i select install now . It take back to recovery and start installing.... after few mins it turns to red triangle. Please help. What i need to do... S-Off is the problem for OTA Update? or what else

After i try manual update .... i receive this error

/system/framework/core.odex has unexpected contents . Installation aborted. Write host_mode:0 done
[HTC One Max] pradeepvizz:
is your device T6UL? what is your CID / MID? i just checked for update, don't think we have received it for the international max.

Run fastboot getvar all and post the output here, we can identify your device.
[HTC One Max] sriszone:
Yes my device is T6UL , This is the sense 6 update file i receieve. File name is OTA_T6_UL_K44_SENSE60_MR_BrightstarUS_WWE_3.15.1540.1-2.61.1540.1_release_37792582crfen5tm68z2g6

Need help how to install. I am getting this error /system/framework/core.odex has unexpected contents . Installation aborted
[HTC One Max] pradeepvizz:
Your device is a developer one and not EURO .. *1540* indicates developer version.. Your tried to install *401* and also an de-odexed one. That will not work..

if you are soff, you can search for the RUU lying somewhere, else you will have to find the dump [MENTION=5345690]Wonders_Never_Cease[/MENTION] posted for 4.4.2
[HTC One Max] sriszone:
what i have to do now.... I dont get u. /system/framework/core.odex has unexpected contents this is the error i got... can i flash the OTA update using TWRP
[HTC One Max] cstrife999:
Ruu back to stock I believe is what he's telling you to do. In other words you changed something and need to be totally stock.
[HTC One Max] sriszone:
Where can i get RUU file....
[HTC One Max] cstrife999:
Check the dev section for your variants ruu file. Android development not original android development.
[HTC One Max] sriszone:
One more

can i flash OTA update via custom recovery
[HTC One Max] Wonders_Never_Cease:
You have to have a stock original build for your device and stock recovery installed to accept an ota.
[HTC One Max] cstrife999:
I don't think so. Not 100% sure but I'd say just ruu
[HTC One Max] sriszone:
I found this RUU RUU_T6_UL_JB43_SENSE55_BrightstarUS_WWE_1.23.1540.1_Radio_4T.21.3218.04_10.15.1718.01_release_337609_signed_2.exe

can i use it
[HTC One Max] cstrife999:
If that's the variant of the one max you have yes. That's the unlocked version.
[HTC One Max] sriszone:
hi

I download the RUU file... When i double click it i receive Installscript Launcher has Stopped Working, I also tried run as administrator but no use. Please help...
[HTC One Max] cstrife999:
Perhaps try compatability mode. Other than that no clue.
[iPAQ rw6828, XDA Atom General] tom dunne:
Anyone else having problems with the FM radio volume? I have my Atom Pure about a month now, I have updated to the latest ROM and can play music and sounds at full volume.

However, the FM Radio is barely audible. I have tried soft-reset, ensured the equaliser is off, gone into the FM radio application directly (as opposed to via the O2 plus media), every thing. I have also Googled for an answer and can't seem to find any reference to this problem. I have increased the volume in the FM radio application, but it doesn't appear to have any effect.

To really top things off, I recorded the FM radio to a file, played it back and it was at normal volume!

Any ideas?
[iPAQ rw6828, XDA Atom General] pauliu:
Go to "Settings->Headset Volume Limiter" and move the level to right most.
[iPAQ rw6828, XDA Atom General] tom dunne:
I don't have that in Start->Settings (or anywhere else I can see).

Am I looking in the wrong place?
[iPAQ rw6828, XDA Atom General] pauliu:
Did you ever apply Volume Limiter Patch?

Did you ever tried to adjust the volume control on the headset?
[iPAQ rw6828, XDA Atom General] tom dunne:
No.

Don't I feel the complete and utter plonker? I have only now noticed that there is a volume control on the headset itself. :oops:

Problem solved. Doh! And mega-DOH!
[iPAQ rw6828, XDA Atom General] spadival:
Is there a way to increase the volume coming out through the "stereo" speakers on the phone itself?

I find the speaker volume for FM Radio is very low
[iPAQ rw6828, XDA Atom General] mitsucolt:
i have an atom exec and similar problem. setting the headset volume does not help at all.

but there is no issue when playing mp3. looks like the problem is inherent with the fm radio.
[One (M8) Q&A, Help & Troubleshooting] :
Guys i need some help beofre I pull my hair out.

I Have S-off. Stock rom (With out Root) and Recovery and I stupidly relocked my boot loader. How can i unlock the bootloader again.

I have tried to flash back the Unlock Token but it fails. Try OEM unlock to. Any ideas would be great ??
[One (M8) Q&A, Help & Troubleshooting] :
Ok I can officially i am say am stupid.

In fastboot used

fastboot oem unlock. This sorted the issue.

Admins can you please lock this or delete it thanks
[G2 Q&A, Help & Troubleshooting] Poke_N_PDA:
I need a temporary phone till the Moto X+1 comes out. I'm debating between the G2 and ght S4. I know I can get a GPE rom for the S4 so that is nice, but I prefer the camera and bigger screen of the G2.

So my question is, how good is an AOSP rom on the G2? Are there performance issues? How well can xposed make the stock rom look like AOSP?
[Galaxy S 4 Q&A, Help & Troubleshooting] itm:
I have both Switfkey and Swiftkey Beta installed, and I have lost "flow" functionality with both of them (it is enabled in the Swiftkey settings, and has been working fine up to now). I did accept the Swiftkey update not long ago, but don't know for sure whether the problem existed prior to the update.

I'm running Phoenix ROM 8.0

Has anyone else had this problem?
[Galaxy S 4 Q&A, Help & Troubleshooting] :
Re:

I had this problem on my i9505 under Cyanogenmod 11 (4.4.2). I don't know if you tried this already, I uninstalled both apps and put only SwiftKey (didn't actually liked the beta so much) back, and normal swiftkey started "swiping" again. Haven't tried with the beta. Also, between the uninstalls and installs, rebooted the phone and set default input to AOSP.
[Galaxy S 4 Q&A, Help & Troubleshooting] itm:
I just tried uninstalling the beta and I got predictions back on the normal Swiftkey release. But I really like the numeric keys on the Beta so tried to install it again from the Swiftkey beta site. For some reason this version expired on June 5th - i.e. it'll download and install but it's an expired version.

Does anyone know where to get a Beta that hasn't expired?
[Galaxy S 4 Q&A, Help & Troubleshooting] :
Tried googling for New update for SwiftKey emoji beta out today 2 june (2 june is the latest beta release I think). Hit the first result. Link working, apk working, does not seem like expired to me. Isn't this the beta you were talking about?
[Galaxy S 4 Q&A, Help & Troubleshooting] itm:
It turns out that the link I had to the beta (from Google) was a link to an out-of-date beta. On this occasion Google was not my friend :0(
[Galaxy S 4 Q&A, Help & Troubleshooting] :
So it's all OK now? Swiping works? (if it turned out OK for you I'd put up the beta again as default keyboard.. to give it another try).
[Galaxy S 4 Q&A, Help & Troubleshooting] itm:
Yep swiping is back too. It seems that expiry of the beta had also crippled the mainstream release. All was resolved when I found the correct version of the beta.
[General Questions and Answers] nilesh1286:
Dear all,

I want to Install Hindi font Htc willdfire Buzz.:confused:
[One (M7) Q&A, Help & Troubleshooting] Anshumanabhishek:
By mistake i did Relock my device .

What command is use to unlock again my fastboot.

Now my device doesn't have any recovery and rom after i flashed hboot 2.49 in my device
[One (M7) Q&A, Help & Troubleshooting] admax30:
When it is in fastboot type fastboot oem unlock in cmd
[One (M7) Q&A, Help & Troubleshooting] Anshumanabhishek:
it gives error in this command

and when i type fastboot oem lock it tells already locked
[One (M7) Q&A, Help & Troubleshooting] admax30:
if you want it unlocked type fastboot oem unlock
[Galaxy Note 3 Q&A, Help & Troubleshooting] sajjjjjjad:
hi

How to Downgrade Baseband nd4 to ne3???????????????????????????????????????/

PLEASE HELP (us)!!!!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Misterjunky:
re: baseband

If your baseband is NB4/ND4/NE6 then you cannot downgrade however you can

upgrade if when any updates are available.

Looks like you are in the WRONG forum and do not have a Tmobile N900T phone.

Good luck!
[Galaxy Note 3 Q&A, Help & Troubleshooting] sajjjjjjad:
no i use ne3 baseband
[General Questions and Answers] prashant13b:
I want to start building android apps which tool you suggest

me a beginner and i have never made an app just bought abook to learn android apps and its wriiten for eclipse so i want to know can that same book that made for building apps in eclipse will help to bulid on androis studio and which tool you suggest to me please help :(
[Transformer TF300T Q&A, Help & Troubleshooting] funny1313:
hello,

i have a big problem with my TF300T, I have cyanogenmod with JB 4.3.2.

After a update from cyanogenmod, my tablet reboot only in TWRP and aks for a Password. With adb reboot-fastboot can i see the three icons, and boot in my old system. But when i reboot or start the tablet again, TWRP startet again an ask for password.

How can i remove the TWRP 2.6.30 an install CWM? fastboot -i 0x0B05 flash recovery twrp.blob dont install a other version. I have still 2.6.30.

I can boot in my system if i boot TWRP, open CMD and write adb reboot-bootloader.

sorry for my english, I hope it is understandable.

funny
[Transformer TF300T Q&A, Help & Troubleshooting] titeloo:
You don't need to tap password just tap continu
[Transformer TF300T Q&A, Help & Troubleshooting] cmendonc2:
What bootloader do you have installed on the tablet? You can flash a new TWRP version that corresponds to that bootloader from within Android using Terminal Emulator.
[Transformer TF300T Q&A, Help & Troubleshooting] AVIMPEG:
Try It

fastboot -i 0x0b05 erase system

fastboot -i 0x0b05 erase recovery

fastboot -i 0x0B05 erase userdata

fastboot -i 0x0B05 erase boot

fastboot -i 0x0B05 erase misc

fastboot -i 0x0B05 erase cache

fastboot -i 0x0B05 flash system blob

fastboot -i 0x0B05 reboot
[One (M7) Q&A, Help & Troubleshooting] Anshumanabhishek:
By mistake i did Relock my device .

What command is use to unlock again my fastboot.

Now my device doesn't have any recovery and rom after i flashed hboot 2.49 in my device

help!!
[One (M7) Q&A, Help & Troubleshooting] digitalism:
You need to have your original Unlock Token with HTC, at which point you type this into command prompt:

fastboot flash unlocktoken <Unlock_code.img> <--- this may be different if you happen to change the name of the .img file

If you don't have your Unlock_code.bin file, follow the steps on the original HTC Unlock site:

http://www.htcdev.com/bootloader
[One (M7) Q&A, Help & Troubleshooting] Anshumanabhishek:
not works

C:\adb>fastboot flash unlocktoken Unlock_code.img

error: cannot load 'Unlock_code.img'
[One (M7) Q&A, Help & Troubleshooting] digitalism:
Do you have the Unlock_token.img file within your platform-tools Android SDK folder?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
First: error: cannot load = MyFileNameIsWrong or doesn't even exist

Second get a new unlocktoken using HTCdev

Third, please stop cross-posting and multi-threading:

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

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

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

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

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

(not to mention the individual posts)

this will not help

you

in any way, it actually makes it harder to help because the information is splattered across different threads & posts, making it much more difficult for members to help you.

Thank you and good luck
[One (M7) Q&A, Help & Troubleshooting] digitalism:
I agree, you should be searching for how to unlock your bootloader within the forums as there are more than a few threads already. I was just being nice, but you should always search before posting.

Good luck.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Sorry, I wasn't trying to imply you/we shouldn't help the OP, but keeping things in one thread makes it simpler. If I'm not mistaken, to OP has a Dual-SIM variant, so keeping all the information in one thread is best, imho.
[JAMin, XDA Neo, S200 General] thegios:
My S200 takes minutes to boot after a soft reset: first it stays on the first screen for 5 or 6 minures, then on the Windows mobile screen for a couple of minutes.

Any suggestion?
[JAMin, XDA Neo, S200 General] thegios:
cmon, no1 with such a long boot time?
[JAMin, XDA Neo, S200 General] nighty:
do have a lot of software installed?

nighty
[JAMin, XDA Neo, S200 General] thegios:
3 namco games (SD CARD)

Tweaks2k2 (MAIN MEM)

Total Commander (MAIN MEM)

Macromedia Flash Player Acticex (?)

TCPMP (SD CARD)

SKYPE (SD)

In Windows\Startup i have...

...Init_Tray

...poutlook
[JAMin, XDA Neo, S200 General] nighty:
is this a branded S200 or not?

nighty
[JAMin, XDA Neo, S200 General] thegios:
No , it's a QTEK S200, not branded

ROM VERSION: 2.9.7.24 WWE

ROM DATE: 2/9/06 (which I guess is 9 sept 2006, since I bought it in March 2006)

RADIO VERSION: 02.07.20

PROTOCOL VERSION: 413.1.03

ExtROM VERSION: 2.9.7.106

It was not like this at the beginning, evn with tweks2K installed and many hack applied, since I used to turn it off completely at night. Then all of a sudden it started behaving like this.

Here are the boot times without the SD inserted:

first QTEK screen: a little bit more than 4 minutes

seconf WM screen: a little bit less than 1 minute

so in total around 5 minutes!!!!! Too much I guess...
[JAMin, XDA Neo, S200 General] J.Walker:
Hardreset will help...
[JAMin, XDA Neo, S200 General] thegios:
that's what I want to avoid... Don't want to reapply all tweaks again
[JAMin, XDA Neo, S200 General] nighty:
use Spb backup for a TOTAL backup with all your tweaks and settings.

http://www.spbsoftwarehouse.com/products/backup/?en

then make a hardreset and feel free to work without any tewaks. then make one per one and look which tewak this SLOW Motion caused.

nighty
[JAMin, XDA Neo, S200 General] m1ll3n1um:
Upgrade to Aku2.3 Rom. Boot time become really fast.
[JAMin, XDA Neo, S200 General] J.Walker:
May you supply the details, which ROM is AKU2.3?
[JAMin, XDA Neo, S200 General] thegios:
isn't the aku3.0 out?
[JAMin, XDA Neo, S200 General] m1ll3n1um:
Here's the link: http://xdaforums.com/viewtopic.php?t=62800
[Android Q&A, Help & Troubleshooting] xanderdrax:
I have some sources of mediatek 6577 base kernel also boot.img of kernel 3.4, but not able to build the, maybe because i m noob, or maybe there is not a perfect guide to start making kernel from source of mediatek, i m wanted to make kernel 3.4 for lenovo a390, because i want to run reall jellybean on that phone, i also have jellybean for mtk6577 (from ZTE) but whenever i installed that rom they could not boot, on boot screen the boot logo looks like mirrored, i m try my best, but no success, if someone please help me, so i m done any work for him, like (i m webmaster, now just entering in the android development)

THANKS in ADVANCE
[Android Q&A, Help & Troubleshooting] abhoysm69:
did you used 4.6.x toolchains sir?
[Android Q&A, Help & Troubleshooting] xanderdrax:
No i m not, because i dnt know about toolchains, whenever i tried to build kernels commands said (makefile command not found) and many more makefile error, /usr/bin error.

So i dnt know what shud i do.

If you are able to do this, this is very helpfull to me, because i want to make a rom that really 4.1.1 / 4.2.2 / 4.4.3 based for lenovo A390

THANKS for REPLY