yashsingh1/xdaforums huggingface dataset:
[AT&T LG Optimus G] ilya39:
A

I may be wrong dut heard that since 4.4+ appears it's much harder to port roms from nexus 4 without major changes, almost impossible...
[AT&T LG Optimus G] Mihiralve:
Well I guess the hard working devs will port it over soon enough, KitKat until then.:(
[AT&T LG Optimus G] ilya39:
At least porting kitkat will be a great progress, and then may be possible L porting :)
[Xperia Play Accessories] TSBroich:
Hi all,

So I have a concern regarding the Trident case for the Xperia Play. I had a black one before, and it was almost perfect except for one flaw: The case actually started peeling.

I got the all black one, and it was perfect for about a week. After that, the top coat literally started peeling off revealing a different shade of black underneath. Is this a common problem for these cases? Tomorrow I will own two Xperia Plays, and I'm thinking of buying these cases since I can't find any better ones, but that peeling issue was really irritating.

Anybody else experience this?
[Xperia Play Accessories] Xperia Player:
It's not 'common' but it can happen, that's the water resistant, grip-like surface coming off. Typically caused by a scratch or scuff.
[Nvidia Tegra Note 7] nielo360:
https://www.youtube.com/watch?v=vlZ2giV3DVI

Using the tegra note 7 with the gameklip and a ps3 controller while testing out game streaming via limelight.
[Galaxy Note II Q&A, Help & Troubleshooting] comatrix:
Hi all,

I have a big problem, i promised i searched before nut i didn't find anything useful about it.

I installed the Ditto Note 3 v5 on my device, and everything was fine, but after I installed agni kernel, the system went crazy, i did follow the exact procedure, or if i made a mistake i didn't on purpose.

Whatever i had a nandroid backup before installing agni kernel, but now i found my device impossible to write on internal storage, meanwhile the external is fine I can do anything i wish, but the the internal storage no way to create even a folder or a simple file.

I have done that with TWRP 2.7.0.2 as a recovery, and I am really in deeply **** (sorry for the word), because I heavily use my device in my work, I am a "soccorritore", that means like paramedic in USA in ambulance, so it is really the truth i am in deeply ****, because I have all my documents in the internal storage in the nandroid backup, but i don't know how to restore them.

The nandroid backup is 4.58GB, but when i install the nandroid backup the internal storage is 7.5GB left, before with all the data was 5.8GB left in internale storage, so it is missing 1.7GB of data.

PLEASE!

I really need help and as soon as possible, I do not care about myself but documents and people schedules
[Galaxy Note II Q&A, Help & Troubleshooting] Eric-Mod:
Hi there, I've also restored one time my Rom through TWRP and couldn't write on the internal Storage anymore. TWRP has a problem with that, use Philz Recovery in future.

So, do you have your documents etc. in some Apps saved or in your internal Storage?
[Galaxy Note II Q&A, Help & Troubleshooting] comatrix:
Yes, i do have documents in backup data. The problem is not the rom, in worst cases I reinstall again a new one, but what about the documents?

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Q&A, Help & Troubleshooting] Eric-Mod:
Well like I said/asked, if your documents are in some Apps, backup them using Titanium Backup on your SD Card. If your files are on the internal storage, you can simply flash a Firmware through Odin and nothing should happen to your data. Or just connect your device to your PC and copy all your files over to your PC.
[Galaxy Note II Q&A, Help & Troubleshooting] comatrix:
The problem are not the backup applications, but the documents as I said, they are not in an application, they are in the nandroid backup created from TWRP recovery and the nandroid backup is an md5 format.

You are telling me that titanium backup can restore nandroid backups?

I even thought to use odin, if it can be useful.
[Galaxy Note II Q&A, Help & Troubleshooting] Eric-Mod:
No Titanium Backup can't restore backups, it just backups all your apps + data.

A Recovery doesn't backup your whole Internal Storage, it just backups your System Partition etc.

So my thought were, just flash a Firmware through Odin and everything should be alright I guess.
[Galaxy Note II Q&A, Help & Troubleshooting] comatrix:
Oh man! I love you :)

I still like women but I think you know what I mean, I used odin and I restored the entire backup to the device, but still not able to write on the internal storage, but who cares I reflash e new rom, the most important is i can transfer the documents and the data to the external storage and to a computer. I learned a lesson today, I can't describe how do I feel now, and there are no words to describe how much I thank you :D
[G2 Q&A, Help & Troubleshooting] tarroyo:
Coming from a Nexus 5 I'm curious about LG's flashing/rooting methods.

With a nexus I had the option of easily unlocking the bootloader, installing a custom recovery, and rooting the device. All of this was done thru adb fastboot after installing the proper drivers. I'm reading a lot about LG's flash tool in g2 and g3 forums, Most zip files such as gapps or flashing a newer radio could be installed thru recovery or adb followed by a reboot on my nexus 5.

For those of you that have G2 T-Mobile devices or a G3 of any region is it as easy as a nexus device to root/install/unlock bootloader or is it more complex? I'm considering getting one in the coming weeks.
[G2 Q&A, Help & Troubleshooting] XxZombiePikachu:
g2:

root is simple just use ioroot(this roots using adb sideload and stock recovery) if on jb(also works on kk but not for t-mo g2) or towelroot(only way to root t-mo g2 on kk)

for recovery on kk we use autorec app while on jb we use adb

we don't have a way to fully unlock bootloader but we have loki patch so we can flash roms and kernels

flash gapps is only necessary when using aosp roms and basebands(radio/modem whatever you want to call it) can be flashed from recovery

g3:

root is simple with ioroot(this roots using adb sideload and stock recovery)

no way for custom recovery yet a few obstacles have to be overcome first(two boot partitions/locked bootloader/etc)

like mentioned above locked bootloader which means no custom kernels for now

no aosp roms and no recovery for flashing baseband

I do know with g3 there are custom roms like 2 or 3 and they use stock recovery to flash and other complicated stuff(have not looked into it)

I don't think it is as simple as doing stuff with nexus but I have never worked with one before so I can't compare
[Windows Mobile Development and Hacking General] Houser:
I want to know if there is a way to get notified from windows pocket pc

system when a process is started or a new window is created.

Is there an API call that will manage this?

Thanks.

Houser
[Windows Mobile Development and Hacking General] dotfred:
Nope.

The only thing available is using the toolhelp library, by getting the current process list and update it, you can determine if a process started or stopped.

For the windows, it's the same, there isn't any notification mechanism to do that.

Cheers,

.Fred
[Windows Mobile Development and Hacking General] Lurker0:
On the BB Windows, you can install a system-wide hook and catch WM_CREATE notifications. Probably there is something similar for Mobile...
[Windows Mobile Development and Hacking General] dotfred:
In coredll.dll, the SetWindowsHookEx function is defined but is undocumented. Maybe the declaration is the same that the one under Windows, you can have try.

I found in PB5 header pwinuser.h the following declarations:

typedef LRESULT (CALLBACK* HOOKPROC)(int code, WPARAM wParam, LPARAM lParam);

HHOOK
WINAPI
SetWindowsHookExW(
int idHook,
HOOKPROC lpfn,
HINSTANCE hmod,
DWORD dwThreadId);
#define SetWindowsHookEx SetWindowsHookExW

BOOL
WINAPI
UnhookWindowsHookEx(
HHOOK hhk);

LRESULT
WINAPI
CallNextHookEx(
HHOOK hhk,
int nCode,
WPARAM wParam,
LPARAM lParam);

Cheers,

.Fred
[Windows Mobile Development and Hacking General] dotfred:
The idHook you're interested in is WH_CBT and it seems to work in WINCE5.

Cheers,

.Fred
[Windows Mobile Development and Hacking General] Houser:
Hey that sounds good. Thanks so far.

I will try this now with SetWindowsHookExW().

Currently I am polling the process list with toolhelp library.

But this is not so good for performance and battery.

Houser
[Windows Mobile Development and Hacking General] Houser:
So I have tried this and have written a Dll where I hook

the WH_CBT with SetWindowsHookExW.

I have loaded the function pointers from the coredll.dll with LoadLibrary()

which is ok. But when I call SetWindowsHookExW() in my hook Dll

theh I get always error 87 back.

This is my code in the hook dll to install the hook.

Any ideas what is wrong here?

BOOL __declspec(dllexport)__stdcall InstallHook()
{
log(( TEXT("InstallHook") ));

g_hDll = LoadLibrary( TEXT("\\windows\\coredll.dll") );

if( g_hDll == NULL )
{
err(( TEXT("LoadLibrary") ));
return FALSE;
}

fpSetWindowHookEx = (SETWINDOWHOOKEX) GetProcAddress( g_hDll, TEXT("SetWindowsHookExW") );
if( fpSetWindowHookEx == NULL )
{
MessageBox( NULL, TEXT("SetWindowsHookExW"), TEXT(""), MB_OK );
}

fpUnhook = (UNHOOKWINDOWHOOKEX) GetProcAddress( g_hDll, TEXT("UnhookWindowsHookEx") );
if( fpUnhook == NULL )
{
MessageBox( NULL, TEXT("UnhookWindowsHookEx"), TEXT(""), MB_OK );
}

fpCallNextHook = (CALLNEXTHOOKEX) GetProcAddress( g_hDll, TEXT("CallNextHookEx") );
if( fpCallNextHook == NULL )
{
MessageBox( NULL, TEXT("CallNextHookEx"), TEXT(""), MB_OK );
}

g_hHook = fpSetWindowHookEx( WH_CBT, (HOOKPROC) CBTProc, g_hInstanceDll, 0 );
if( g_hHook == NULL )
{
err(( TEXT("fpSetWindowHookEx failed <%d>!"), GetLastError() ));

MessageBox( NULL, TEXT("fpSetWindowHookEx failed!"), TEXT(""), MB_OK );
return FALSE;
}

return TRUE;
}
[Windows Mobile Development and Hacking General] dotfred:
87 means invalid parameter:

I think I know why!

Here read this:

hMod

[in] Handle to the DLL containing the hook procedure pointed to by the lpfn parameter. The hMod parameter must be set to NULL if the dwThreadId parameter specifies a thread created by the current process and if the hook procedure is within the code associated with the current process.

dwThreadId

[in] Specifies the identifier of the thread with which the hook procedure is to be associated. If this parameter is zero, the hook procedure is associated with all existing threads running in the same desktop as the calling thread.

So I would change your call by this one:

g_hHook = fpSetWindowHookEx( WH_CBT, (HOOKPROC) CBTProc, NULL, ::GetCurrentThreadId() );

or

g_hHook = fpSetWindowHookEx( WH_CBT, (HOOKPROC) CBTProc, NULL, 0 );

Cheers,

.Fred
[Windows Mobile Development and Hacking General] Houser:
I have tries both suggestions from you, but always error 87.

Have tried this in a dll and in an exe but same error.

Here is my callback function code:

LRESULT __declspec(dllexport)__stdcall CALLBACK CBTProc( int nCode, WPARAM wParam, LPARAM lParam )
{
if( nCode == HCBT_CREATEWND )
{
log(( TEXT("----> Window created") ));
}

LRESULT RetVal = fpCallNextHook( g_hHook, nCode, wParam, lParam );

return RetVal;
}

Houser
[Windows Mobile Development and Hacking General] dotfred:
Why are you exporting the CALLBACK function ? :confused:
[Windows Mobile Development and Hacking General] Houser:
Thanks for your quick answers.

Hmm I have seen this in a desktop sample hook dll project

and have copied this.

Tried the dll without exporting the callback function but same error.

I am really confused what param is invalid.

Have defined this in my dll:

typedef LRESULT (CALLBACK* HOOKPROC)(int code, WPARAM wParam, LPARAM lParam);

#define WH_CBT 5

I think this is correct.

Have you ever calles SetWindowsHookExW() successfully on pocket pc?

Houser
[Windows Mobile Development and Hacking General] dotfred:
I didn't try yet. Let me test! Give some feedback in a few minutes...
[Windows Mobile Development and Hacking General] Houser:
Got it now.

The problem was the first param WH_CBT (5) which is not supported.

Have now taken 20 for a try and it works.

The question is now is WH_CBT not supported or is 5 the wrong ID.

I will check this in PB header files.

Houser
[Windows Mobile Development and Hacking General] dotfred:
Well it doesn't work, and I took the declarations from PB5.

So my guess is it simply doesn't work under WM5. Because it works under WCE5.

I think a little bit of disassembling is required here!

Cheers,

.Fred
[Windows Mobile Development and Hacking General] Houser:
So you have tried it with Hook ID 5 under CE5 and NOT under

WM5 (Pocket PC)?

And under CE5 it works? :-(

I have get it with Hook ID 20 and the function call was ok.

Houser
[Windows Mobile Development and Hacking General] dotfred:
In fact, the only one I tested under WM5 is WH_KEYBOARD_LL (20) as you did!

I never tried the others because I never needed it!

And I never tested it under WINCE5 but I found some code of MFC controls classes implementation under PB5 like the CCommandBarCtrl that use the WH_CBT.
[T-Mobile Samsung Galaxy S 4] som1lku:
I unlocked my tmobile m919 and some how loaded firmware for att i337 and i can't get tmobile firmware to load help please!!!!!!
[T-Mobile Samsung Galaxy S 4] som1lku:
i was just now able to get a tmobile firmware to download i guess the one i was using was not complete but i appriciate the help.
[XDA Assist] willyb3:
would someone please post a list of safestrap compatible roms for the verizon note 2. i found some for the s4. nothing is clear as to which ones will work
[XDA Assist] Darth:
Hi!

I suggest you ask in your devices Q&A section, found here.....

http://xdaforums.com/note-2-verizon/help

Or perhaps just read the opening posts in some of the ROM threads in the development section and original development sections, here....

http://xdaforums.com/note-2-verizon

Good luck! :)
[XDA Assist] willyb3:
Thanks
[Android Q&A, Help & Troubleshooting] NJC_430:
I am developing a new Bluetooth Low Energy (BLE) app for interfacing with a standalone product. I am interested in using the new Intel Atom based Android tablets, but I cannot find if they support the Android BLE APIs. Are any of you aware of these Intel based tablets not supporting certain hardware interfaces (such as BLE)?

Thanks for the help!

NJC
[Android Q&A, Help & Troubleshooting] JohnnyInBriz:
A lot of these tablets are running 4.2 or earlier. BLE is only supported in 4.3 or later. I know that Dell has some
[Galaxy Note 3 Q&A, Help & Troubleshooting] GLAD.SY:
i bought (note 3 n9005 ) 4 months ago

and i did not root it or install any rom on it

but when i enter download mode my konx warranty void be like that

[IMG="http://im63.gulfup.com/webuAn.jpg"]http://im63.gulfup.com/webuAn.jpg[/IMG]

system status = official

knox warranty void = 0 X 1

is that mean my device is Used ?

because i bought it as a new :\

i took it to the Vendor and he said it is new and refused to change it :mad:​
[Galaxy Note 3 Q&A, Help & Troubleshooting] speedyjay:
If your knox is 0x1 then its been used or tampered with. Are you in the EU?
[Galaxy Note 3 Q&A, Help & Troubleshooting] GLAD.SY:
thnx but i am in turkey , but do you say that the phone is Certainly used ?
[Galaxy Note 3 Q&A, Help & Troubleshooting] speedyjay:
Yes, the phone wouldnt ship with a knox status of 0x1. The phone has definitely been used or tampered with. Tell him to swap it or you'll involve trading standards.
[Galaxy Note 3 Q&A, Help & Troubleshooting] antique_sonic:
:)

I think you bought an export set meant for Europe countries.

I did buy as well as some of my friends. Few of us got KNOX 0x0, but unfortunately 3 of us got KNOX 0x1.

That's why, if any of my friends want to buy export set again, I would suggest them to check in front of the supplier/retailer (before payment) by goin into download mode. If got trip, don't pay. :D
[Galaxy Note 3 Q&A, Help & Troubleshooting] GLAD.SY:
true my phone is european , it is have a Label written in spanish :/

but i bought it as a new phone but seems like the vendor is cheating
[Moto G Q&A, Help & Troubleshooting] EMINENT1:
I have this Moto G 3G Verizon model I'm using for an app for a radar detector. There is no service on it. I've turned off voice/Moto services, and anything that would be using battery when it's off. I am trying to use Llama to have an event turn off location when on battery and on when it's charging. Currently running into an issue where I have more drain than I want. I've also noticed in Llama when I select the location action, it says it may not work. Location toggle remains on too after I check. Is this because of the stock version and I need to be rooted?
[Moto G Q&A, Help & Troubleshooting] EMINENT1:
Anyone have a recommendation?
[Moto G Q&A, Help & Troubleshooting] 72off:
An app might turn off location on JB 4.3 but not on KK 4.4.2 and olders

unless app is a device manager, on newer android it will require user to click on the on/off button

Root maybe work and maybe not,depends if the app try to use the root way to turn of the location service

llama is a service that runs 24h so expect it to drain baterry, maybe it's using more because location should be off and it keeps trying to shutdown every second and fails and try again....
[Moto G 4G Android Development] Darkshado:
2016-09-25 Update:

_that has had an official 3.x build for some time now, built on top of a CM-based tree.

My device and kernel trees build TWRP 3.x on top of an Omni 6.0 codebase, see below for more instructions. I won't be posting images for the foreseeable future, I do not have time to provide any support or troubleshooting these days.

2015-04-08 Update:

Somcom3X has a few recent builds in this thread.

2014-08-18 Update:

Somcom3X has posted a new build here.

2014-08-06 Update:

I'm currently quite busy IRL and haven't had time to update my build in the last while. I don't expect to until sometime in September. However I will keep on checking in here on a regular basis to update the OP as needed.

@Somcom3X and @shabbypenguin have made more recent builds which have been reported as working well.

@meekrawb has packaged Somcom3X's build and mine in flashable zip files in this post.

---------------------------------------------------------------

Here's my current TWRP build for the Moto G LTE "peregrine".

Features:

TWRP 3.x

Boots.

Works with the external microSD card and USB OTG.

Known issues:

Build tree needs work so that falcon, peregrine, condor and titan can coexist easily. Well, this is still true, but far enough down the list that I don't expect it to happen.

Some microSD cards have been reported to work on the Motorola stock ROM and not with this recovery. Not much can be done about it unless those with the issue provide meaningful data for myself and others to look at. Device Tree Blobs (DTB) have been updated, shouldn't be an issue anymore.

Likely more to come, this has not been tested extensively.

Changelog:

2014-07-16 18:45

Changed kernel remote from OmniROM to @shabbypenguin's, at least until the Omni team pulls in the new Motorola kernel release.

Minor changes

Thanks

The entire TWRP team for their work, and in particular to @Dees_Troy and @cybojenix for their assistance.

Enjoy,

Darkshado
[Moto G 4G Android Development] Darkshado:
(Reserved post, just in case)
[Moto G 4G Android Development] NWKENT:
Thanks for your work on this..a donation is certainly awaiting..

:)

Sent by my Motorola Droid XYBoard MZ617-32 10.1_ICS 4.04
[Moto G 4G Android Development] Darkshado:
[MENTION=3333955]NWKENT[/MENTION] I just uploaded a working version. :D

(Thanks! I'll have to look into the donation stuff, will put up a link once that's done...)
[Moto G 4G Android Development] Triggeh:
Great work! I assume backups work or will we have to wait for a later build?
[Moto G 4G Android Development] Darkshado:
I've made some backups, haven't needed to restore yet. I tried to be exhaustive in terms of the partitions you could backup.
[Moto G 4G Android Development] NWKENT:
Thank you friend..please post a donation link..I will gladly contribute..

:)

Sent by my Motorola Droid XYBoard MZ617-32 10.1_ICS 4.04

---------- Post added at 11:37 PM ---------- Previous post was at 10:40 PM ----------

Report: v201407062144

Flashed with no problems..

(Install) option works perfectly..to install SuperSU for Root..

Vibrate and screen saver works great..

No SDCard recognized

No OTG-USB recognized

File Manager seems to work

Will boot into recovery from home screen with XPosed..

Will boot to recovery from bootloader..

EDIT: Backup have NOT completed due to lack of free space..

Hope this helps the Dev.

Sent from my 4.4.3_21.23.4

(Unlocked) XT1045 Moto G 4G LTE

http://waynekent.com/page6.html
[Moto G 4G Android Development] Darkshado:
I'm busy with something else at the moment, could you try the same things with mfastboot boot instead? If not I will look into this soon.
[Moto G 4G Android Development] NWKENT:
First try..my backup attempt failed..musta done something wrong myself..I have used TWRP for awhile now (about 1 year)..and have many backups on my other devices..I will try again..lol

EDIT: Backup fail because my device didn't have enuff free space, not your fault..mine only..lol

I will work on freeing up some space and try again..what would be "swell" is if we can choose the SDCard to back up to..and I realize once, if ever that issue is resolved, then we could backup to SDCard like SafeStrap..

Sent from my:

(Jaocagomex debloated)

4.4_19.6.3 (Unlocked)

XT1080M Droid Maxx #2

http://waynekent.com/page6.html

---------- Post added at 12:07 AM ---------- Previous post was at 12:03 AM ----------

I used mfastboot to flash your version..

Sent from my:

(Jaocagomex debloated)

4.4_19.6.3 (Unlocked)

XT1080M Droid Maxx #2

http://waynekent.com/page6.html
[Moto G 4G Android Development] Triggeh:
Backup and restore worked fine.

The OP needs to be updated

Features:

TWRP 2.7.0.1

should be 2.7.1.0
[Moto G 4G Android Development] rhyang:
Looks great, was able to back up boot/system/data to my SD card. Could not flash it, got a mismatched partition size error (I have an XT1045). Boots OK though.

I also noticed there was not an option to back up the recovery partition, like on some other TWRP's I've used.

Awesome start !
[Moto G 4G Android Development] mugabemkomo:
Thanks alot!
[Moto G 4G Android Development] SoulSeekerHS:
Not for me, but maybe that's a general TWRP issue? I used "mfastboot boot twrp.img", booted fine, battery shows "50+" as expected, I can backup data, system etc., but can't mount/access MicroSD. It's a Transcend 32GB Class 10 UHS1 MicroSDHC card. Works fine in the booted system, also accessible from PC when android is connected . DiskInfo app shows filesystem as "vfat".
[Moto G 4G Android Development] eteles:
I can confirm backup to external sd card working only if you boot from PC (fastboot boot recovery.img)... Using a 32GB sandisk ultra class 10...

Tested backup and tested restore... all fine...

Will we ever be able to backup to external SD without using a PC? Will the developer fix this issue or it´s some kind of limitation from this phone?
[Moto G 4G Android Development] USCanthony:
That is really up to TWRP and CWM. They both need to have some interest in officially supporting this phone. So far they have both showed very little interest and I think that is because there is some confusion about how critical the differences between the Moto G and the Moto G 4G LTE are. While the hardware differences are few, the ones that do exist are critical. XDA forums have not done the users of this phone any favors by including a development thread under the Moto G parent thread. You cannot use custom recoveries or custom ROM's created for the Moto G on a Moto G 4G LTE. I do understand that that that means that the differences are really in development but by not providing this phone it's own parent thread, XDA is helping to perpetuate the myth that the phones are the same. This in turn simply supports the thought over at TWRP and CWM that the existing Moto G custom recovery will work.