yashsingh1/xdaforums huggingface dataset:
[Asus Fonepad 7] MEHRDAD595:
ive a q!

does anybody knows how we can have such a view in landscape on our tablets?

i mean about dock bar in landscape

i think its about a launcher,isnt it? coz i use nova launcher and when rotate device dock is standing at right side of screen!

and if its connected to screen size then ive a 10.1 tab too.ill be happy to tell me how to do it!? :)
[Asus Fonepad 7] fabiocr:
I was calmly surfing when fonepad became slow and unresponsive... I could not know what it was, but something was sure, there were a service that wanted to use the network... to Reboot, to remove programs or any other try was worthless. I waited, but 2 days passed.

I attached adb, and tadà!

I found out that fonepad is trying to contact Asus desperately.... what is attached is a netstat command.

shell@android:/ $ netstat -p

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp6 1 0 ::ffff:192.168.20.18:58179 ::ffff:103.10.4.159:9000 SYN_SENT

tcp6 1 0 ::ffff:192.168.20.18:58146 ::ffff:103.10.4.159:9000 SYN_SENT

tcp6 1 0 ::ffff:192.168.20.18:58082 ::ffff:103.10.4.159:9000 SYN_SENT

tcp6 1 1 ::ffff:192.168.20.18:58042 ::ffff:103.10.4.159:9000 LAST_ACK

tcp6 1 1 ::ffff:192.168.20.18:58052 ::ffff:103.10.4.159:9000 LAST_ACK

tcp6 56 0 ::ffff:192.168.20.18:58149 ::ffff:103.10.4.159:9000 FIN_WAIT1

tcp6 1 1 ::ffff:192.168.20.18:58174 ::ffff:103.10.4.159:9000 LAST_ACK

tcp6 1 1 ::ffff:192.168.20.18:58022 ::ffff:103.10.4.159:9000 LAST_ACK

tcp6 56 0 ::ffff:192.168.20.18:58171 ::ffff:103.10.4.159:9000 FIN_WAIT1

tcp6 1 1 ::ffff:192.168.20.18:57938 ::ffff:103.10.4.159:9000 LAST_ACK

tcp6 0 1 ::ffff:192.168.20.18:40874 ::ffff:173.194.44.58:80 CLOSE_WAIT

...and so on... for a very very long last list (excuse the pun)
[Asus Fonepad 7] Dr. Psycho:
I haven't received my FonePad yet (the courier company is being very uncooperative), but I was browsing the web for rooting instructions and came across this. I went through the discussions in this thread and elsewhere, and I think there might be a way to root this device.

The update packages seem to be signed using the test Android key. I looked around and there's no sign of any other verification mechanism in the package. Even META-INF/com/android/otacert, which had me worried at first has the test key.

It would be easy to add the su binary and re-sign the update file. Could someone try this and report? Be careful not to change the file timestamps. I think I saw some code that checks the timestamps in the update package.

I've attached the test signing keys if it helps.

Thanks and good luck.
[Asus Fonepad 7] MEHRDAD595:
i can try but dont know the exact way!

if u help me i can be a tester! :)
[Asus Fonepad 7] Dr. Psycho:
Without a device to test with, I'd be shooting in the dark, but I guess I can try.

If any of you have NOT applied the OTA updates and are willing to test, send me a private message. I'll send you a file or two that you can flash.

Of course, the usual disclaimer applies - this is purely experimental, and testing may (although it's unlikely) brick your device or cause other unwanted issues. If any issues do arise, I shall not be held responsible.
[Asus Fonepad 7] MEHRDAD595:
sadly ive updated to latest! :(
[Asus Fonepad 7] Dr. Psycho:
some ingdoJu

Latest meaning 5.2.2?
[Asus Fonepad 7] MEHRDAD595:
Yeah
[Asus Fonepad 7] Dr. Psycho:
Okay, I think I can make a file for 5.2.2. There's a small chance that the certificates have been changed in 5.2.2, but let's hope not.

I'll send you a file that you can try to flash by copying it as Asus_update.zip, just like the OTA updates.

Even if this works, please don't share this file until we confirm that it works for a few more people and that it doesn't cause any unwanted side effects. There are too many people who carelessly flash anything they see.
[Asus Fonepad 7] Lord Childe:
You simply need to change launchers, mate. Try Go Launcher or Launcher Pro... no problems keeping dock at bottom. There are some launchers and browsers that just switch the dock to the left/right side in landscape mode - stupidly, in my opinion.
[Asus Fonepad 7] Maverick1965:
Source Code available

http://www.asus.com/Tablets_Mobile/ASUS_Fonepad_7_ME372CG/#support

ASUS FonePad 7 Kernel Source Code for Android OS (V5.2.3)

Is this what we need to root the device?
[Asus Fonepad 7] Dr. Psycho:
No. The kernel sources are useless for now.
[Asus Fonepad 7] MEHRDAD595:
i know that i need to change launcher!

i mean any mod or what launcher i must use that have bottom dock and not side!?

build v5.2.3?

so why we dont have any update on our device which is v5.2.2? :\
[Asus Fonepad 7] Lord Childe:
Read my post carefully... I've suggested launchers to use.
[Asus Fonepad 7] MEHRDAD595:
tried both,not satisfied with them!

need another one! :(
[Asus Fonepad 7] tapioco2000:
Have you tried apex launcher?
[Asus Fonepad 7] CoaBalboa:
apex has that options. options, homescreen opt i enable tablet ui.

ASUS FonePad 7 via TapaTalk
[Asus Fonepad 7] MEHRDAD595:
Tnx,tried it,nice one

but No any other launchers?
[Asus Fonepad 7] Harwest:
Because Asus has not yet prepared a OTA update based on new source code:D

And in general.... i think it debilizm - publish the source code but not to give ability to compile and flash the device for advanced users!!

Yesterday i prepared signed Update.zip, containing installer script, SU-binary, daemonsu and Superuser.apk (as manager) for update through droidboot. All files taken from the threads about root Android 4.3 x86 (by Chainfire & Quinny899)

I tried different file names like as 'update.zip', 'Asus_update.zip' e.t.c.

Droidboot does not see this file, he needs a full system image in xxxx.img.gz format.
[Asus Fonepad 7] fabiocr:
Asus_bundle.zip
[Asus Fonepad 7] Dr. Psycho:
Does anybody else want to help me test? My FonePad 7 will take a few more days to get here. I have a modified su installer package that needs to be flashed like an OTA.
[Asus Fonepad 7] d0p3d:
Unfortunately still waiting to receive one, might arrive monday, willing to test then
[Asus Fonepad 7] fabiocr:
Yes! I am bere. Link the file!
[Asus Fonepad 7] Lord Childe:
My Fonepad might be a suitable guinea-pig as it's still (I'm proud to say) on 4.2.2 - but no, the risk of bricking my perfectly manicured device is too great. But full-marks to you, mate, for trying to discover the secret of rooted life in our 7" machines.
[Asus Fonepad 7] Dr. Psycho:
Great. It'll help to have a non-updated device to test with too. There's a small chance Asus fixed the last vulnerability in the 5.2.2 update.

Which version of the ROM is your tablet running? The update package must be tailor-made for every version.

Also, MEHRDAD595 reported that if the flashing doesn't work, the device factory resets itself (/data and /cache are wiped), so you need to back up important data before trying.

No problem. I initially wanted to test on my own tablet, but the shipping company has been extremely slow (never use Aramex) and I won't have much time in the coming weeks, so I want to finish this ASAP.
[Asus Fonepad 7] Lord Childe:
Assuming test go well... mine was shipped from Taiwan, so my version is TW, not WW.
[Asus Fonepad 7] Dr. Psycho:
Does it show you an update? If yes, can you grab the URL and check if it's the same as the one posted in this thread?
[Asus Fonepad 7] Lord Childe:
URL? Sorry if I seem a little slow. An update is available but I choose not to update, so at present it's still v3.2.4
[Asus Fonepad 7] Redevill:
try the King ROOT app for pc,it must help.
[Asus Fonepad 7] Dr. Psycho:
I need the link to download the update file. Follow these instructions to get it:
[Asus Fonepad 7] Lord Childe:
Doc, followed instructions... got capture file:

2014_01_18_060101.pcap

What do I do with it?
[Asus Fonepad 7] Dr. Psycho:
Send it to me.
[Asus Fonepad 7] Lord Childe:
oh :laugh:

I can't upload it as an attachment here on xda (invalid file)... and I can't see your email address in your profile. You can mail me at jason@lordchilde.com and I'll send you the attachment.
[Asus Fonepad 7] Harwest:
If the tablet find a file with the same name, then copy this file to /cache partition and formatting /data partition - you take a full factory reset!!!

Updater-script is not recognized and not processed.
[Asus Fonepad 7] Dr. Psycho:
Can you upload it to a file sharing site and send me a link?

---------- Post added at 01:04 PM ---------- Previous post was at 12:55 PM ----------

I believe it is, if you make the right modifications to make it look like a legitimate OTA update.
[Asus Fonepad 7] Lord Childe:
If you want to keep your email address private, fine - just create a new one. I'm not going to mess about signing up to a file-sharing site simply to share one 10kb file
[Asus Fonepad 7] Dr. Psycho:
No need for the temper, there's absolutely no compulsion. I won't be able to use this file until we actually get root working anyway. And it'll only be useful for TW devices.

If you want to, you can upload it here without signing up: http://wikisend.com/
[Asus Fonepad 7] Lord Childe:
wikisend... brilliant

http://wikisend.com/download/354222/2014_01_18_060101.pcap
[Asus Fonepad 7] Dr. Psycho:
Thanks, but unfortunately, the request I needed wasn't logged in it. I only see requests to Facebook servers.

Give it another try if you're willing to. There's no hurry though.
[Asus Fonepad 7] Lord Childe:
this one? http://wikisend.com/download/782394/2014_01_18_090815.pcap

I'm going to bed
[Asus Fonepad 7] Dr. Psycho:
Nope, no luck.

Let's let it go for now. I'll post another request for the URL if/when it's actually needed.
[Asus Fonepad 7] fabiocr:
I'm a 4.2.2 (3.2.4) user too. Proudly.

Look, you cannot insert a file in cache or data folder. The only way is to reboot with droidboot and let him copy your ota update file (renamed Asus_bundle.zip) in sd card onto cache folder.
[Asus Fonepad 7] Dr. Psycho:
Brilliant. I'll send you a file to flash via private message in ten minutes.

---------- Post added at 03:49 PM ---------- Previous post was at 03:42 PM ----------

I think Harwest meant to say that the file is automatically copied to /cache and the /data partition is wiped.
[Asus Fonepad 7] fabiocr:
For ALL USERS:

DO NOT try to root your FonePad with enabled internet connections. Asus will see your rooted tablet and void your warranty. Keep things always offline and if you succeed, before returning online remove or rename CMclient and DMclient apks and their data and cache!

Ninja-pad!!!
[Asus Fonepad 7] Harwest:
Yes, i put my custom 'Asus_bundle.zip' into root of internal memory (/storage/emulated/0).

In droiboot menu i select Sdupdate and press power button, after that system is copied my 'Asus_bundle.zip' to /cache partition, wipe /data partition (at this step i say 'MU..R F..K', but all my data lost :mad:).

Install script is not run without any error message, accordingly Root files isn't appear in /system/bin, /xbin, /app folders.

You say about CMClient.apk & DMClient.apk and *.odex pairs in /system/app ?

According to Rus laws root does not remove the device warranty :)
[Asus Fonepad 7] Dr. Psycho:
Alright guys, MEHRDAD595 and fabiocr have helped me test, but the results were negative each time.

I'll try some more when I get the FonePad 7 and post here if it works.
[Asus Fonepad 7] tcruz:
Thanks for your information.

But how root my Fonepad? Exist a manual?

Very Thanks
[Asus Fonepad 7] jack_Q:
same touch screen issue here ! :(

sometimes it stop responding for 1-2 seconds or registers a wrong touch , then start working normally !

device updated to 4.3 version .

hope it is a software related problem :|

Does anyone have the same problem ???
[Asus Fonepad 7] fabiocr:
No, there is no manual, no guide. We are writing FonePad history here, and that's all we found!
[Asus Fonepad 7] fabiocr:
I mailed Asus for the ACK SCAN that they were trying to do in my Fonepad (and also in YOUR one).

They obviously did not reply in the right manner, telling me that the "defect" could be resolved upgrading the system...

ahahah I laugh!

After some research I found out the ack scan is perpetrated by CMclient and DMclient and their ASUS DEVICE TRACKER (a we-can-track-you-use-your-phone-copy-your-data-view-your-ROOT-avoid-your-warranty service! )

I mailed a reply telling them I want to rescind this contract, do the same my friends.
[Asus Fonepad 7] d0p3d:
Just got this phablet and am loving it already. Guess there is no way to remove the bloatware though without root I guess?

---------- Post added at 02:05 PM ---------- Previous post was at 02:02 PM ----------

Only when some apps are about to update in the background
[Asus Fonepad 7] Lord Childe:
Without root, no. We can only disable them... but even then there are stock apps like Facebook that can't even be disabled, permanently running in the background. I have only 17% free memory at best - and a lot of junk with it
[Asus Fonepad 7] MEHRDAD595:
ive disabled most of them such as FB,dictionary,.... as easy as possible!

how do u say u cant!

ive much free ram!

while i cleared all, i got about 460 mb! :)
[Asus Fonepad 7] CoaBalboa:
u can disable it but not delete to free up space.

ASUS FonePad 7 via TapaTalk
[Asus Fonepad 7] Lord Childe:
godsake, read the first line of my post.

And yes, quite right, FB can be disabled... can't be disabled directly from running apps where I was looking.
[Asus Fonepad 7] Dr. Psycho:
I have some news about rooting - I'll let you guys decide how good or bad it is.

TL;DR - I think we still have a chance, but even if it works, it won't be easy to do for most users.

I've verified it over and over again, and I'm now 100% sure that my suspicions were right - the only form of verification that update packages undergo is the test-key signing. This, of course, can be trivially abused for root access.

The reason my tests didn't work was that droidboot on this tablet doesn't actually flash Asus_bundle.zip files. Even if you use the actual update package from Asus, flashing fails with this message - "E: No goto ASUS_BUNDLE_FILE". Basically, no matter what kind of Asus_bundle.zip file you place in your SD card (legitimate or not), droitboot will NOT flash it. Droidboot is simply useless unless the update app sets a flag that an update needs to be done.

While this may make it look like Asus has blocked the last usable vulnerability, there is one other - the update process uses a non-encrypted plain HTTP connection to the update server. This means that it should be possible to serve fake updates (with root) with a PC placed somewhere between your tablet and your broadband router in your network topology - the easiest way would be to create a WiFi hotspot on a PC.

I've analyzed the HTTP traffic from the update process, and it looks like it should be possible to set up a web server to do this.

I'll run some tests on this and will let you know if it works. The biggest issue is that even if it works, it will be very difficult to do for most users.

EDIT: I forgot to mention that even if my method works, 5.2.2 user will NOT be able to use it, at least until another update is available. This is because, the download part of the update process is unencrypted, but the checking-if-updates-are-available part isn't.
[Asus Fonepad 7] Lord Childe:
I had a devil of a job rooting my last device - It was enough that I barely understood ADB, fastboot, and all that jazz - but if its at all possible then I think that most users will take time out to learn the "how to" stuff, given the necessary tools. From your description it appears devilishly hard, but more power to you.
[Asus Fonepad 7] fabiocr:
So, if we use my method to run update check and close the connection when it wants to download the update changing gateway and DNS settings and providing a web server it would go like a charm... or are there other checks?
[Asus Fonepad 7] Dr. Psycho:
I didn't quite understand what you're trying to say, but the basic technique would be to set up a DNS server and a web server and do an MITM attack to force the tablet to download a rogue update. I've already done this, but there seem to be something I'm missing. There is a chance that the initial check-for-update process also sends a verification checksum, but I hope not - that would complicate things even more.

I was able to get this far (notice the update name - "Root-DrPsycho"):

But the file doesn't install. It fails some sort of verification. I'm still working on it.
[Asus Fonepad 7] wissem5400:
Very nice job, good luck

Envoyé de mon K00E en utilisant Tapatalk
[Asus Fonepad 7] Harwest:
What are the keys you used to sign your's update files?

Tablet requires a production key.
[Asus Fonepad 7] Dr. Psycho:
No, it doesn't. Go through the posts made over the past few days in this thread.

The build signature says "release-keys," but for some reason, Asus chose the Google test key to be the "release-keys" for this tablet.
[Asus Fonepad 7] nicolap8:
[MENTION=5670138]Dr. Psycho[/MENTION]

Some thoughs:

- have you checked the file META-INF/com/android/metadata ? It can be relevant

- if you try to reuse an original update from Asus it works in any mode?

For now I'm not able to do testing because the Fonepad is of my girlfriend and I've already deleted all once :o :angel:
[Asus Fonepad 7] Dr. Psycho:
Yes, I've tried to make my update packages as close as possible to the original ones.

The official update packages don't work unless they are downloaded and installed by the update app.
[Asus Fonepad 7] eagleofdeath13:
For the MITM attack, i know that (at least in France) we can make a DNS registering in local (in our ISP boxes), so we can easily redirect the download process, then only a webserver would be needed, so easy to explain :D

(i've a 5.2.2 Fonepad 7, but if an update come, i'll be happy to try :D)
[Asus Fonepad 7] Dr. Psycho:
Success!! (Partial)

I successfully flashed a root update package, and can now get root access via adb shell.

But there seems to be an issue preventing apps from gaining root access. I'm trying to figure this issue out.

EDIT: I now have full root!

Screenshot:

I have an idea to help all of you (who haven't updated to 5.2.2) get root. It'll involve me setting up a fake update server. You guys should be able to get root by changing your WiFi settings and running an update. It'll probably take a few days for me to set this up though. I'll keep you informed.
[Asus Fonepad 7] Harwest:
Congratulations :)

I wanna root my tablet, please write solutions for rooting procedure :D

Wath version of busybox you install?
[Asus Fonepad 7] eagleofdeath13:
Guy, you rock!!!

Will you make a server for everyone with a proxy or a local webserver for us to launch?
[Asus Fonepad 7] Harwest:
Asus could theoretically fix this vulnerability by releasing a full update (it will automatically reset root permission), which is then subsequently updated https protocol with data encryption :p
[Asus Fonepad 7] d0p3d:
Cool!! Are you gonna make a new thread for the info?
[Asus Fonepad 7] Harwest:
I am for a new topic.

But it should be called correctly: correct names for this tablet: ME372CG (not GC), K00E, Fonepad HD 7 (but Fonepad 7 is old model - ME371)
[Asus Fonepad 7] Dr. Psycho:
I haven't decided yet, but most probably, it'll be something similar to a proxy server.

Yes. Asus has a lot of control over non-rooted tablets. DMClient allows Asus to force any update they want.

Yes, in time. Unfortunately, I don't have much time these days. It'll probably take me a few days (maybe even a week) to set everything up.

There is no "Fonepad HD 7." The full name is "FonePad 7." The old one was just "FonePad."

I'm curious though, how many of you haven't updated your tablets?
[Asus Fonepad 7] d0p3d:
I'm on 4.3 JB, V5.1.6
[Asus Fonepad 7] Dr. Psycho:
That won't be an issue. As long there is at least one update available (and Asus hasn't tried to foil our plans), I can trick the device.
[Asus Fonepad 7] d0p3d:
Will this also mean custom roms are an option?
[Asus Fonepad 7] Dr. Psycho:
Not an option right now, but certainly a possibility. We'll first need a working recovery, which may not be easy to make for this device.

Personally, I'm perfectly satisfied with the stock ROM. Other than the spyware and the remote-control force-update thing (both of which can be removed with root), it's brilliant.
[Asus Fonepad 7] d0p3d:
True, but with only 1 gig of ram it would be nice running kitkat since that seems to be more optimized for these kinda devices. Agree that stock is very nice though!
[Asus Fonepad 7] eagleofdeath13:
And i would love to see omniRom on it :D

(or being able to make a full Linux distro run on it :D)
[Asus Fonepad 7] d0p3d:
Maybe the OP could add Solved to the title and link to Dr. Psycho's answer?
[Asus Fonepad 7] samisama:
Honestly Dr. Psycho you are an awesome dude.

Going so far as using a DNS server and hosting a local website to fake the update package.

Keep rocking bro
[Asus Fonepad 7] RootOfAmirul:
problem also

Same with me! still waiting new update..

---------- Post added at 10:11 AM ---------- Previous post was at 10:06 AM ----------

Dr. Psycho. I think u must create whatsapp group for asus fonepad 7 users.we can do experiment together
[Asus Fonepad 7] Dr. Psycho:
It turns out I'll have more time than I initially estimated. I may be able to get the update server running by tomorrow.

I'll need a few volunteers to help me test before releasing a guide. I'll need at least one person each -

Using WW v3.2.4 - have 1 volunteer

Using WW v5.1.6 - have 1 volunteer

Using TW v3.2.4 - have 1 volunteer

Using TW v5.1.6

Separate update packages must be made for each case.

You'll need to change your WiFi connection settings and install an update. I'll give you a basic text guide. It'll also help if you can grab screenshots while doing so, to make it easier for me to make the final guide. Additionally, TW users will need to send a few lines from the build.prop file and capture a URL using tPacketCapture. In exchange for your help, you'll get to be among the first people to get root :)

If you're interested, let me know, either in this thread on through a private message.

EDIT: I'll send the volunteers a message with the guide when the server is ready.

[MENTION=5247775]samisama[/MENTION] and everyone else who complimented me - Thank you! :)
[Asus Fonepad 7] d0p3d:
You can count me in!
[Asus Fonepad 7] RootOfAmirul:
5.2.2

How about 5.2.2? Can me downgrade to 5.1.6?
[Asus Fonepad 7] eagleofdeath13:
We can't root 5.2.2 until Asus send another update :(
[Asus Fonepad 7] Harwest:
Don't cry bro, kernel update 5.2.3 coming soon :cowboy:
[Asus Fonepad 7] eagleofdeath13:
I keep hope :D
[Asus Fonepad 7] nicolap8:
Why not? It's not logic... Please argument!
[Asus Fonepad 7] eagleofdeath13:
Read all previous posts and you'll know ...
[Asus Fonepad 7] saikoz:
how about mine version?
[Asus Fonepad 7] eagleofdeath13:
You are on 3.2.2 you can ask Dr. Psycho to test its rooting method! :D

(he seems to not have your version on its list)
[Asus Fonepad 7] Harwest:
You can apply legacy update from 3.2.2 to 5.1.6, next stage - take root :)
[Asus Fonepad 7] fabiocr:
Wait. You can try with framaroot or srsroot
[Asus Fonepad 7] Dr. Psycho:
No, it won't work. My tablet came with 3.2.2 too. 3.1.4 was the last vulnerable version IIRC.

I could make an update for you too (if you help me test and do everything else I asked the TW owners to do), but it would save both of us quite a bit of time if you updated to 3.2.4. It's a minor update and won't break anything.

So update to 3.2.4, and then follow my guide, which shall be posted soon.
[Asus Fonepad 7] eagleofdeath13:
Just to be sure, Factory Reset only Reset Data? I can't rollback to a previous firmware version with it?
[Asus Fonepad 7] fabiocr:
Last vulnerable one would be 3.1.8. (Just for readers)

---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------

No. You can't.
[Asus Fonepad 7] jack_Q:
yes . u cant roll back by factory reset !
[Asus Fonepad 7] samisama:
Sadly we can't, I tried.
[Asus Fonepad 7] RootOfAmirul:
Still waiting new update from asus. keyboard always stuck on 5.2.2 JB 4.3.. :(
[Asus Fonepad 7] spyrakos7:
Has anyone tried "Root many devices" yet?
[Asus Fonepad 7] RootOfAmirul:
Source?
[Asus Fonepad 7] Harwest:
Use Google keyboard or install Swype.

Asus keyboard isn't usability.