yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] findnerd:
By the help of FPDI library, I tried to write some exsiting pdf files but able to wirte only single page of pdf.

Below is my code:

require_once '../includes/fpdf/fpdf.php';
require_once '../includes/fpdf/fpdi.php';
$pdf = new FPDI();
$pageCount = $pdf->setSourceFile("contractFinalTrans.pdf");
$tplIdx = $pdf->importPage(1);
$pdf->addPage();
$pdf->useTemplate($tplIdx, 10, 10, 200);
//set position in pdf document
// now write some text above the imported page
//$pdf->SetFont('Arial');
$pdf->SetFontSize(10);
$pdf->SetTextColor(255,0,0);
$pdf->SetXY(50, 50);
$pdf->Write(0, "page 1");///print this output
$pdf->SetAutoPageBreak(true,22);
$pdf->addPage();
$tplIdx = $pdf->importPage(2);
//$pdf->addPage();
$pdf->useTemplate($tplIdx, 10, 10, 200);
//set position in pdf document
// now write some text above the imported page
//$pdf->SetFont('Arial');
$pdf->SetFontSize(10);
$pdf->SetTextColor(255,0,0);
$pdf->SetXY(100 , 100);
$pdf->Write(0, "page 2");
$pdf->Output();

Can anyone suggest me how to Edit Existing multiple pdf using fpdf Library in PHP

I have explored many php developer forum related to this issue but I am unable to get satisfactory solutions. Hope this forum help me out for the same issue.

How to connect MySQL database in Java ?

I am coding a module in java that need a database connection with MySQL. I heard about DriverManager but I think it is pretty old method for database connection. Is there any newer and efficient way of doing the same. This Java questions and answers forum comprises of large number of tech and coding expert, So I expect quick and satisfactory solution or full set of instruction/ code require for this.

Connect mysql Java, Java mysql connection, DB connection in Java

http://findnerd.com/askquestion/java

I am coding a module in java that need a database connection with MySQL. I heard about DriverManager but I think it is pretty old method for database connection. Is there any newer and efficient way of doing the same. This Java questions and answers forum comprises of large number of tech and coding expert, So I expect quick and satisfactory solution or full set of instruction/ code require for this.
[LG G Flex 2] il magnifico:
ciao a tutti, non riesco a fare il root sul mio g flex 2 h955 v15a EUR con android 5.1.1, ci sono tante guide in giro ma non quella per la versione che ho io...... Qualcuno può aiutarmi a fare il root??? grazie
[LG G Flex 2] TheAxiks:
read the forum rules! or look the vid for dummys

the forum language is ENGLISH, no spanish ... ich kann hier auch alles auf deutsch schreiben und nicht alle verstehen das :D

this should help you, but it is in english

Root for LG-H955 on 5.1.1

Ps: thank you Google translator

Ps2: The Video 4 noobs
[LG G Flex 2] Sj12345:
That is not spanish ha-ha I think is italian
[LG G Flex 2] il magnifico:
Yes I'm Italian. I downloaded the rootedsystem.img but it's corrupted, how can I do? Is there another link where I can download the file? Thanks. Sorry for my mistakes
[LG G Flex 2] TheAxiks:
then i have a bad memory ^^

try the file from my post here:

http://xdaforums.com/showpost.php?p=62215718&postcount=175

it is normal that you can't open the .img in the .rar from windows without ext2explorer, but it's a .rar, so you should extract it and you shouldn't rename it or do other things with it :D
[LG G Flex 2] Le_Zouave:
The rar for the root was made with a recent version of winrar you need a recent version of winrar or a beta version of 7zip because the stable wasn't updated since 2012.
[LG G Flex 2] il magnifico:
Ok I 'll try. Thanks
[LG G Flex 2] il magnifico:
root ok

yes.......yes......yes....... I rooted my g flex 2 5.1.1 ver15a EUR-XX...... I used the rootedsystem.img..... thanks to all
[LG G Flex 2] S_surfer:
Hi,

could you please help me i follow all the steps in the link, i even tried with two versions of the rootedsystem.img but nothing seems to work.... :eek: it goes in to download mode -i even copied-pasted the commands to save any typo- but then nothing.

Any one of you had the same problem? any help is appreciated ....

Btw mine is also 5.1.1 ver15a
[LG G Flex 2] il magnifico:
root done

hi, I follow all the steps in the link, and at step 11 I write the command for my version of LG that is " for international h995 (ver15a) / 959 V15a. But my telephone version is h955 v15a EUR-XX. After 2 minutes I saw the # and then the step 12. Then I power off the phone and when I power on there is the SUPER SU installed so the root is ok..... hope this helpful........ Sorry for my english
[LG G Flex 2] izzeddine9:
little bit to late but does it also work on lg g flex 2 h955 v15c? i have the rootedsystem.img for v15c? but maybe its someting in the script
[K3 Note Q&A, Help & Troubleshooting] buick71:
I just bought Lenovo K3 Note.

1. In Contacts I have People with their names and phone numbers. When I recieve income call - the name of a person from Contacts is not shown on a screen but only its number. If someone can help me how can I resolve this?

2. In weather widget there is not possible to add other cities than those pre added with Chinese letters!?

Thanks for help.
[K3 Note Q&A, Help & Troubleshooting] Magnum_Enforcer:
http://xdaforums.com/showthread.php?t=863209

Thread closed
[AT&T Samsung Galaxy Note5] amwbt:
I know this is not the right place to ask. I need to know. Do we have developers working on root for this model?
[AT&T Samsung Galaxy Note5] jaaluk:
Yes and No...still having booloader issues!

And yes wrong place...this post belongs in Q&A!
[AT&T Samsung Galaxy Note5] TechNyne66:
We need firmware release so we can restore after. Tell then no one really wants to try because just messing with options in recovery disables the phone.

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=N920
[AT&T Samsung Galaxy Note5] amwbt:
Will firmware release happen for our model?
[AT&T Samsung Galaxy Note5] TechNyne66:
AT&T has to because it's open source. They however can keep it for like 6 months to a year or something. With the cracks down on root AT&T and Verizon it might be a long wait with the locked bootloader saidly and we need a custom kernel to get root and we can't flash kernels with locked bootloader. Just watch the website I linked and when we get our firmware then we can possibly expect root and someone to try and unlock the bootloader. I'm not sure if there is a "anti root" in the AT&T phone because I'm not going to lose my phone. I already had to return for warranty due to defective screen and spen. Look at how long it takes the new iPhone software to get jailbroken.
[AT&T Samsung Galaxy Note5] WizeGuyDezignz:
Needing a custom kernel for root is actually a false statement. A custom kernel is not needed to get root for this device. The AT&T S6 for example got root without the bootloader being unlocked or a custom kernel.

Which leads me to the bootloader being unlocked. There is probably a 100% chance that we don't get an unlocked bootloader for this device. It's extremely difficult and there hasn't been an AT&T device in a very long time that has had it unlocked.

And since we would need that for a custom kernel and aosp roms, those things will probably never happen unfortunately.

The very best we can hope for is root and a recovery like FlashFire like the S6 got. And even then we would be limited to only Touchwiz roms.
[AT&T Samsung Galaxy Note5] TechNyne66:
We will more then likely need custom kernel with permissive set. AT&T and Verizon are saying there's anti root and that would be in the kernel and would need to be killed. If we do obtain root with stock kernel the phone is said to not boot.

http://www.idigitaltimes.com/samsun...d-features-att-and-verizon-models-wont-468357
[AT&T Samsung Galaxy Note5] Radimus:
It is one of those things where they're will be zero development until some Uber-geek cracks the bootloader issue. Then there will be 20 devices or more that will be released from developer quarantine...
[AT&T Samsung Galaxy Note5] MrBaltazar:
AOSP will never happen without unlocked bootloader.

I do have hope for a root such as Ping Pong. Honestly, with how clean these phones ship nowadays, all I want root for is to replace emojis with iOS style throughout the system so I can grasp more context from my text messages lol. Also, LCD Density change would be nice too.
[AT&T Samsung Galaxy Note5] ambervals6:
Is there anybody working on root for this phone?

Sent from my SAMSUNG-SM-N920A
[AT&T Samsung Galaxy Note5] Jainyankee1993:
Have no need for root either except for xposed. Only want root for like 4 xposed modules.. Otherwise this device is nearly perfect
[AT&T Samsung Galaxy Note5] Franko_74:
I need to change muy dpis :(

Enviado desde mi GT-N7100 usando Tapatalk 2
[AT&T Samsung Galaxy Note5] jellybear456:
Planning on getting this phone today..

I have rooted and installed ROMs on almost every phone I have owned and really hope that eventually a safe way of rooting is obtained.
[AT&T Samsung Galaxy Note5] garyd9:
heh. I know what you mean, but I'm grumpy this morning so I'm going to pick this apart anyway. ;)

If root is found on a boot loader locked device, it's usually via an exploit... Basically, most rooting mechanisms are similar to computer viruses. Sure, most of them are controlled viruses, but they exploit and expose security holes that something malicious could use just as easily. Instead of copying a "su" binary, that same exploit could install something that uploads your private data somewhere, or monitors the android keypad entry when you type credit card numbers, etc.

Don't get me wrong... I don't think that most of the root exploits here on XDA are doing that... but any time you use one, you should seriously consider that it might be. It would only take a single mishap to completely destroy your life outside of XDA.

To that end, you should REALLY pay attention to the entire filesystem both before and after an exploit is applied. See what files, if any, are modified and/or added. If an exploit adds a "su" binary (which most of them do), try to replace that "su" binary with one from a trusted source BEFORE you put personal data on your phone. Never "root" a device that has any data on it.

Remember that no matter what precautions you might be taking, a rooted device has a lower level of security than one that isn't. Not only have you added a "simple" root mechanism, but you likely had to defeat the security mechanisms that are part of the security enhanced linux kernel. (There are exceptions to this, of course, but I've never seen the exceptions here on XDA or any other sites that aren't focused on security.)

If this message made you a bit more paranoid, that's a good thing. You should be paranoid about it. I'm not saying not to do it, and I'm certainly not saying that XDA is overflowing with malicious code...
[AT&T Samsung Galaxy Note5] jellybear456:
Yes, I do realize that rooting a device often does take advantage of any security holes found, and I also realize that there is no, in the literal sense, "safe" way to root a phone considering it is exploiting security flaws. Personally, I have never had such an issue of having something malicious on my phone after rooting(at least not to my knowledge:eek:)

By "safe" I meant a way to root without having the phone locked down and unable to boot. I am not worried about AOSP ROMs as I am completely content with using an AOSP themed launcher. But I would love to be able to uninstall bloat, ad block, greenify/amplify etc.

But I do appreciate your input on the subject as I have never put much thought into the security of the phone before and after root, or replacing the su binary with one from a trusted source or checking if it is from a trusted source.

It is also great to see someone else on the forums from Pittsburgh:highfive:
[AT&T Samsung Galaxy Note5] skoobbarnes:
I have n920a. Please share the path to rooting this phone.
[AT&T Samsung Galaxy Note5] mickey_kazz:
Cuando se podra rootear el dispositivo Samsung Galaxy Note 5 N920A?
[AT&T Samsung Galaxy Note5] vahalaru:
Possible way to root?

I don't know if this would work. But what about flashing one of those new root.tar eng kernal then manually pushing the survey binary and super apk into phone then reflash stock kernal. I'm just intermediate at all this stuff. So idk if it would work or if this is stupid.
[AT&T Samsung Galaxy Note5] billa:
It's possible, after flashing the eng-boot do this:

adb shell mount -o rw,remount /system

Then manually push SuperSU to system, or install King/Kingo Root

Just be careful this is still a tethered root.
[AT&T Samsung Galaxy Note5] TechNyne66:
I have posted a teathered root process that Michael31 found from the AT&T s6 section. It works and you can get reboots with hoot booting. The locked bootloader causing issues with the kernel needed add commands on hard boot to change to permissive mode. Few of us have tried to fix this issue and haven't found anyway yet.
[AT&T Samsung Galaxy Note5] -Epix-:
Nothing yet?
[AT&T Samsung Galaxy Note5] cdarg00@gmail.com:
Can someone help me. I heard that in order to make it so I can get free gold bars in candy crush soda I need to root my phone however I have the note5 att and you guys are saying I can't root my model of phone. So any other ways. Thanks
[AT&T Samsung Galaxy Note5] TechNyne66:
I have another method I'm going to try. Just need time, it will allow custom kernels to boot on locked bootloader.
[AT&T Samsung Galaxy Note5] jellybear456:
As always, keep us updated when you can and thanks :svetius:
[AT&T Samsung Galaxy Note5] zounduser:
What about the galaxy S7 method?
[AT&T Samsung Galaxy Note5] TechNyne66:
Doesn't work on note 5 without eng kernel for marshmallow.
[AT&T Samsung Galaxy Note5] IiDevastation:
Any updates? Been waiting 4 months. I just need to root it so I can finally be able to save wifi passwords without having to re type the password every time.
[AT&T Samsung Galaxy Note5] MrBaltazar:
No root. S7 got lucky because engineering kernel was leaked.
[AT&T Samsung Galaxy Note5] Jairconnor:
Hi everbody i have a issue on my phone, they have a legend " reboot phone to dissmiss any unauthorized actions", this legend display at the notification bar !, someone please helpme??, excuseme im mexican, my english is not good, please anyway help me, thanks!

NOTE: in te downloadmode display: "status: custom"
[AT&T Samsung Galaxy Note5] TechNyne66:
Just ignore it. It is pointless and useless. Has no control over /system

---------- Post added at 12:42 PM ---------- Previous post was at 12:40 PM ----------

Sounds like you have the eng Kernel. Almost getting my desktop updated, I work 60 hours and have 2 kids to take care of and a wife. I'm trying guys.
[AT&T Samsung Galaxy Note5] Jairconnor:
but isn´t the real problem, when i shutdown wifi.. the passwords they forget :(

any ideas??, i think the problem is in the kernel or any mod on the system ..
[AT&T Samsung Galaxy Note5] redklaver:
I have that experience when still Lollipop OJ1.. but since updated to MM, it fixed..
[AT&T Samsung Galaxy Note5] Cassius12:
Are there very many devs even working on rooting the n920a? Like is it popular interest?
[AT&T Samsung Galaxy Note5] TechNyne66:
I think I'm the only one trying. Currently on vacation and will resume Tuesday afternoon.
[AT&T Samsung Galaxy Note5] wilf100ried:
what about ... no news ??? :confused: :confused: :confused:
[AT&T Samsung Galaxy Note5] TechNyne66:
Problems with linux, still getting everything set back up. Doesn't help I only get about 2 hours a day at most.
[AT&T Samsung Galaxy Note5] bmatney:
Read the XDA rules, no ETA's. It's disrespectful of the devs. Pretty much all of them do this in their free time. Also, for most of them this is simply a hobby. It's something they do for fun. It's not fair of us to make demands of them.

I am extremely hopeful that we get root, but I knew when I bought this phone that it wasn't guaranteed.

/rant
[AT&T Samsung Galaxy Note5] wilf100ried:
Sorry, that was not my goal. I just wanted to know if there was a sequel... I was looking for the root since but without success and it annoys me a bit ... sorry again :silly:
[AT&T Samsung Galaxy Note5] he shen:
N920a有大神在尝试root吗
[AT&T Samsung Galaxy Note5] Cassius12:
What do you mean firmware release? Are you saying AT&T to release the open source code for the firmware? Do they do that? Is it also a possibility that there will never be a root for this phone? Also I heard someone mention a tethered root for this phone is that possible?

Sorry for all the questions I'm just amazed how strong AT&Ts bootloader code is. I wonder if root in 10 years from now won't be possible.

---------- Post added at 05:53 PM ---------- Previous post was at 05:40 PM ----------

I'm also curious if an exploit was found where would this exploit originate? As in a flaw in the security during boot up? Also can the system be temporarily compromised with an apk so an exploit can be used? I'm curious because I got a virus on my phone the other day that asked for administrator permissons. It wasn't root but I guess Samsung has some sort of administrator user permissions without root I don't know but once I gave it access I couldn't take the permissions away or anything I had to restore my phone.
[AT&T Samsung Galaxy Note5] killernos:
Just a suggestion is there any way we can run VMware or a program like that, there is an os remix os could we run it and run a virtual machine and run it then we could gain root access that way just a thought.

http://www.jide.com/remixos-for-pc
[AT&T Samsung Galaxy Note5] IiDevastation:
I can't update to MM, att hasn't release it or something I've also been waiting for that update. How did you updated it?
[AT&T Samsung Galaxy Note5] skoobbarnes:
Att update

I hadn't gotten an update since earlier this year. My n920a was running like poo, so I backed all up and reset to factory default. Then My phone downloaded four or five updates. The latest is from 09-01-2016. 6.0.1 mm. This phone stinks without root.
[AT&T Samsung Galaxy Note5] redklaver:
Since I'm not living in US region, I have too update it myself via adb sideload. You can download the file on many sources, I believe someone here in forum has posted that file before..
[AT&T Samsung Galaxy Note5] epictwiglet:
Suggestion. Everyone leave AT&T? And get a unlocked phone like the rest of us? I got screwed as I bought my Note 5 in England, un locked. But it's former life was as an AT&T whore so I'm now screwed too as of course I didn't know about this stupid networks restrictions.

Not happy.
[AT&T Samsung Galaxy Note5] TechNyne66:
I left for a sliver international and it is super responsive compared to the AT&T one. Both stock of course.
[AT&T Samsung Galaxy Note5] Yamaha169:
For all of you rooted still on 5.1.1 through the eng kernel (adb/systemless root)

http://xdaforums.com/att-galaxy-s6-...-how-to-fix-systemless-root-wifi-bug-t3335912

All the same from this device applies to yours....

Also...

To fully reboot you need to set selinux to permissive... which can be done through adb .... (after each reboot)

But it saves from having to root/unroot all the time...

Reboot instructions (by me) on page 5 of this thread...

PS: dont update to marshmallow yet if you can avoid it!

Also... i can tell someone where to pull their stock system.img. modem.img boot.img etc if this device is lacking support for firmware!

NOTE: Stock boot can only be pulled if you achieved root through recovery rooting (voided warranty) ) otherwise you flashed over this with the modified eng kernel and lost your stock boot.img SO pulling that does you no good :)

Not to mention! Also... to get rid of that annoying (modification have been detected please reboot to undo changes)

You can do this two ways, titanium backup (with full root)

Or package disabler pro (without full root)

You need to freeze the service call (security log agent)

And i would also freeze updates ... updater (version installed)

(This requires full root)

Deepsleep (for those of you having that issue) i flashed a file to my device to fix it (used the s6 deepsleep fix file) which did work for my device ... s6 edge plus ... it SHOULD work for note 5 also...

BETTER BATTERY STATS ... YOUR BEST FRIEND to ever find a battery drain ;)

I know the note 5 is notorious for the deep sleep issue...

Good luck... :)

(If anyone has an engboot.img for s6 edge + G928A marshmallow) or a way to achieve even TEMPORARY root... im interested... please share so i can develope for MM on this device :) 5.1.1 engboot no longer working for 6.0.1
[AT&T Samsung Galaxy Note5] droidvoider:
dirtycow discussion only, if you're patched for dirtycow you need a new exploit. Here's my working plan although I don't have unlimited to to work on it. "farm-root" technology is being stolen

1. Design a binary that will replace dumpstate. This binary will actually just check if files differ, if they do differ it will replace them. (/init, /init.rc and etc)..

(yawn factor 100: this binary is easily done already)

2. Toolbox is also replaced. It waits for the proper context + privs, when it has them it also compares file differences if they differ it replaces by calling setprop dumpstate at the right privs+contexts.. (can't execute a file in the context we need, this works around that)

3. When files don't differ, we've replace init. Now replace the easy ones, file_contexts, service_contexts, and a prop tweak or TWO..

4. Replace recovery-from-boot.p

5. Reload init

6. dd replace kernel.

7. profit

8.... lots of coding and testing, give me your thoughts.

9. monday sucks
[G2 Q&A, Help & Troubleshooting] lsalamun:
Hey guys, so, my G2 (802) is about 7 months old now, and i started to see that the whole right side of the screen is a bit greenish and the left side purplish, just to notice, it is barely visible, only if i concentrate enough i can see it on white background, but i'm scared that this will just get worse.

Is it common, do you also see that?

I just want to know if i sohuld be prepared for warranty or not.

Cheers.
[G 2014 Q&A, Help & Troubleshooting] pabgarxda:
I was going to unlock the bootloader of my Moto G when i just care about Windows 10 is not one of the supported OS. Someone knows if the sdk works in Windows 10? If it doesn´t, could it brick my device?

Sorry if i had bad english ;)
[G 2014 Q&A, Help & Troubleshooting] Vidhanth:
Nope you won't brick your phone. Sdk works fine here on windows 10
[Advantage X7500, MDA Ameo ROM Development] yarod_g14:
Hello everyone,

Has anyone got VOIP working yet?

I did the TMobile upgrade posted on this site on a locked UK T-mobile Ameo and I cannot find any options for VOIP.

I use Skype and I am very happy with it but I have to use wired head set, no bluetooth GRRRRRR!!!!

This is a right nuisance, I noticed a thread explaning that it may be missing from our ROMS and its all the fault of the cook!!!!

OH NO!!

Anyone done any investigation and got this going?
[Advantage X7500, MDA Ameo ROM Development] edeplano:
You will find this thread useful: http://xdaforums.com/showthread.php?t=299950

and

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

I have managed to get it working through our corporate asterisk server.
[Advantage X7500, MDA Ameo ROM Development] ruyzalim:
hello, i use skype with a stereo sony bluetooth headset with no problem!
[Advantage X7500, MDA Ameo ROM Development] dhillonbros:
sip voip solved

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

tested and working
[Advantage X7500, MDA Ameo ROM Development] dhillonbros:
works great

http://xdaforums.com/showthread.php?t=596682 . d