So I have 2 TM-210R "Galaxy Tab 3 8Mb" tablets that I installed KidsRom on them but were acting a little slow, so installed Blackhawk kernel, and then also tried to install TweakDrypt.. I noticed right away that chown function used by TDT is not working properly as it attempting to do a "chown -f 644" and that is not supported in 4.1.2, since I am a newbie I can't post on that sub thread in developers for TDT. The strange thing is that TDT worked on 1 tablet but not the other, I believe one tablet has the new bootloader and the other doesn't but besides that and some of the games loaded they should be pretty much the same, however when I installed TDT on one tablet Wifi refused to start, and would not come back until I backed out TDT, and all its mods. And after I rebooted Wifi Started but under "about tablet" it shows "Unavailable" for the IP address but the device is still connecting to the internet and play store and etc. I believe that due to the chown syntax being wrong some permissions are incorrect and hoping maybe someone has a permissions santizer script to set all permissions properly for 4.1.2?
Related
I've been working on this for days and I'm on the verge of giving up and send my android tablet back to the retailer but, on the off chance that someone can help, I thought I'd post a plea for help.
I have been playing with my mother's birthday gift, an android tablet, in an attempt to put a bird watching app on it. I'm not used to this OS, so it took me a few days to get the hang of it, and then the wifi stopped working.
From a user perspective, you turn on the wifi and, after 20 seconds, it turns itself off and the tick disappears.
I decided to look a little further into the problem, as I didn't believe it was the hardware so soon, and used LauncherPro and SuperOneClick to root the tablet and ddms to see what was going on.
Anyway, I think I have tracked the issue to the wpa_supplicant file. I can load up the wifi interface from the command line:
insmod /system/lib/modules/8192cu.ko
busybox ifconfig wlan0 up
But when I ran the original wpa_supplicant in /system/bin/ it simply said "not found"
The file was there - I could copy it onto a usb stick and open it in a hex editor on my PC, but whatever I did, it would say "not found" if I tried to use it (chmod 777 as well).
When I got no joy from that, I started to look for alternative wpa_supplicants (there was no sign of a direct replacement for my disgo8100 2.3.3 version) and found the ad-hoc enabled ones.
I have tried a selection, but the one that comes closest to working (I mounted the system rw and replaced the original before mounting it ro again) insists on running as "wifi" (or 1010) when the original ran as "system" (or 1000).
This seems to mean that, although the supplicant runs happily, it doesn't create the /data/system/wpa_supplicant/wlan0 file in a form that other programs can access (wrong group/permissions, I think).
So, this has become very frustrating (but I've learned a lot about android, and how it differs from linux).
Can anyone provide an explanation for why the original file says "not found"? Could it be corrupt? If so, could someone provide a replacement from the disgo 8100? Could it be relying on a library that's not there?
What about the ad-hoc version I have? Can I force it to run as system.system instead of wifi? Am I wasting my time and should try to get disgo to provide a whole replacement rom (they have an update apk, but I believe you need to connect to the Internet to do an OTA update, which I can't).
As I said, I'm ready to send this tablet back, but I hate to admit defeat!! Any help would be gratefully received.
Cheers.
Never mind. Made some progress with the ad-hoc supplicant in this thread:
http://www.freaktab.com/showthread....pa_supplicant-file&p=3600&viewfull=1#post3600
Disgo 8100 Rooting
On the basis that there doesn't seem to be much information about the Disgo 8100, I thought I would post my findings.
I initially tried z4root, universalandroot and gingerbreak, but none of these worked. However, I didn't understand that I needed (or how) to enable USB debugging.
Once I did, I installed LauncherPro-0.8.6.apk and configured a shortcut to the development tab, which let me enable the USB debugging option.
I then downloaded android-sdk_r18-windows and modified the android_winusb.inf file by inserting the following at the end of the [Google.NTx86] and [Google.NTamd64] sections:
;Disgo8100
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_1F00
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_1F00&MI_00
When I plugged in the Disgo 8100, windows XP asked for drivers and I pointed it to the edited .inf file so that they could be installed and the disgo was recognised.
I then used SuperOneClickv2.3.3-ShortFuse on the PC to root the tablet - it all worked perfectly and reported success.
Installing term.apk got me a terminal emulator and I could su into root. Hopefully you can get yours rooted, too.
Disgo 8100 Android Market/Vending/Google Play
Whilst I managed to root the tablet, I couldn't get any form of the vending system to work.
I got the play dot google dot com site to recognise my tablet as a T-Mobile Samsung Nexus S using the information in this thread:
http://www.techknow.t0xic.nl/forum/index.php?topic=770.0
But market 2.3.6, 3.4.4 and the latest Google Play all fail with various errors (although I noticed that play only [email protected] out when the wireless is enabled - the others may do the same).
I have taken a log capture of google play failing using ddms and will look through it.
By the way, grabbing the hwver for this tablet gives:
console=ttySAC3,115200 androidboot.mode=normal mem=512M hwver=81.1.0.0 mtdparts=imapx200:[email protected](ramdisk),[email protected](kernel),[email protected](resv),[email protected](system),[email protected](userdata),[email protected](cache),[email protected](Local-disk),[email protected](panic) androidboot.mode=normal
Google Play working on Disgo 8100
Drawing this one to a close, in case anyone is interested:
I have Google Play installed and working. I downloaded com.android.vending-3.5.15.apk from the link in this thread:
http://www.theandroidsoul.com/download-google-play-store-apk-3-5-15/
I renamed it "Vending.apk" (the capitalisation may be important, not sure), mounted /system as rw (mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system) and copied it into /system/app. I changed permissions to "666".
I cleared the data/cache from the YouTube application and deleted YouTube.apk from /system/app (because it kept locking up) and replaced it with signedy244.apk (renamed as YouTube.apk) from http://forum.xda-developers.com/showthread.php?t=1529715 (the WifiHD version).
Rebooting the tablet, I connected to the WiFi and ran YouTube (in order to confirm my gmail account), which worked fine, and then Google Play, which (to my amazement) worked fine too.
Hope yours does too
Excellent thread! Wish I could thank you but I don't seem to have a Thanks button. Anyway, do you mind if I ask a couple of questions re. rooting the 8100:
1) Was your tablet running Android 2.3.3, kernel 2.6.35.7, build number GRI40?
2) Could you explain in a bit more detail what you did when you "configured a shortcut to the development tab"?
a3d35232 said:
Excellent thread! Wish I could thank you but I don't seem to have a Thanks button. Anyway, do you mind if I ask a couple of questions re. rooting the 8100:
Click to expand...
Click to collapse
Glad you like it.
a3d35232 said:
1) Was your tablet running Android 2.3.3, kernel 2.6.35.7, build number GRI40?
Click to expand...
Click to collapse
Yes.
a3d35232 said:
2) Could you explain in a bit more detail what you did when you "configured a shortcut to the development tab"?
Click to expand...
Click to collapse
a. Install launcherpro
b. Press home in the top left corner
c. Choose launcherpro
d. Press and hold a blank part of the screen
e. Choose shortcuts
f. Choose activities
g. Choose settings (scroll down to it)
h. Choose development (scroll down - not in alphabetical order)
i. Press ok
You should now have a desktop icon that lets you turn on USB debugging.
Enjoy
Thanks. Everything worked as you describe except the signedy244 version of YouTube. Whenever I launch it I get an error message "There was a problem with the network [400]". Searching on the net, it seems a lot of people are seeing this error and there may have been an update to the app which isn't in the signedy version. Are you still able to run it?
a3d35232 said:
Thanks.
Click to expand...
Click to collapse
No problem.
a3d35232 said:
Everything worked as you describe except the signedy244 version of YouTube. Are you still able to run it?
Click to expand...
Click to collapse
Yep, didn't have an issue - dropped it into the app folder, chmod and rebooted; worked first time and tested it a few times. The file I downloaded was 2,554,313 bytes, in case you want to check.
FYI, the issue I was having with the YouTube app was that it was making requests to the server with "restriction=ZH" in the uri. The server was replying with a HTML 400 error (bad request) because ZH is a language code, not a country code. Anyway, I've patched the app further to remove the restriction parameter from the request. I've posted details in the YouTubeHD thread (about half-way down page 36) if you're interested.
Any chance of telling a idiot how to get google play on the Disgo 8100?
My dad got given one at work but the app store sucks and I'm a little confused by the above
Many thanks
Recently I decided to try Slim Bean on my phone, seeing they released a new version a few days ago. I had been running Cyanogenmod 7 but decided it was time for a change. Initially, everything worked great, I was able to reinstall all my old apps, send texts, and things functioned well.
About 12-14 hours after doing this however, my phone stopped having signal. I didn't reboot it or anything, just no longer would it pick up a signal. Checking the about phone revealed it saying it had an unknown baseband and IMEI, I wasn't too concerned, I had backups of the EFS files, so I turned on USB debugging, plugged my computer in, and used an adb shell to move the backup to the main system. However, this still didn't work for my phone.
According to the Slimrom's FAQ, there are two solutions to this: delete the 00check and 98tweaks files in the system/etc/init.d folder, or just reinstall the ROM. However, using an adb shell or a terminal emulator on my phone, both with superuser powers, I can't remove those files. chmod spits back that they are read-only files. lsattr shows only the A tag active, which shouldn't be standing in my way. I seem powerless to get rid of these, and I can't find any guide as to how to do so. I've tried restoring to factory defaults and reinstalling the ROM, and this time I don't have signal right from the start. Can anyone help me figure out what to do about this? I've searched around and can't find any answers, which is making me think I'm just missing something really stupid. Any help would be appreciated!
Update: Figured it out. The system partition was mounted as read-only, and I thought I had tried remounting it but must have tried a higher level directory or botched the command. mount -o remount,rw /system gave me the ability to delete those files. Sorry for the trouble!
I had this problem like 1 year ago, when I turned on bluetooth the phone restarts and keep looping at boot screen.
Problem was the bluetooth paired device reached to 10 or around some limit which causing this. Last time I deleted a file which contains all the bluetooth devices info and all worked perfect. But now again same problem as I forgot to manually remove the paired device after use. However, now I no longer remember which forum was it or what was the link or which file I deleted. I've been searching and searching but cannot find it.
I'm using HTC Desire S running ICE DS V.8.0(latest).
Can you please tell me which file contains the paired devices info so I can remove it.
Thank you
Nevermind, found it. It was
Code:
adb shell su -c "busybox rm -rf /data/misc/bluetoothd/*"
Posted this in the wrong place, i guess this is the right
Hi everyone,
I have a 10.1'' chinese tablet with a rk3066 chip, suddenly the firmware got damagend, there is no way to find the original, i've tried with over 100 different firmwares from here or rockchipfirmware, nothing worked, but there is 1 version that barely works (PlayerMomo12 release 3) but the screen is inverted in both axis (X and Y), i've tried different methods to fix it, with apks, with usb debugging, and nothing worked, the apps just doesn't works, even one of them dissapeared and i was unable to install it again, using my laptop doesnt works because the directory that should mount doesn't exist, i don't know why but i've tried all the methods, even mounting with a terminal inside the tablet (you can imagine how hard was writting with the screen like a mirror), then i thought the only solution was using the kitchen to modify the file script.bin, but again, a lot of problems, i couldn't open the image, found this thread:
http://forum.xda-developers.com/show...33246&page=555
-------------------------------------
Originally Posted by biglcny
just running sysrw and sysro would return this:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
rather than no output as usual. I believe there may be another version of mount that takes different parameters. When a rom is flashed and you connect to it with adb shell there is a version of mount in /system/bin that is different and accepts options in a different format.
simply typing running mount at the command line or in a shell script uses that one instead of the busybox one.
dr.notor replied:
Well, the above is an example of totally screwed up mount binary, dunno which phone and ROM you are using but the guy who produced the above would deserve a bit hit with a cluebat into their head.
If you have similar broken crap, simply edit the scripts to call busybox mount and not mount.
-------------------------------------
well, this is the point (after a lot of days working on this) when i give up, this tablet was bought in China and the company (scope) doesn't sell it anymore, and they don't reply the emails, even the webpage is half empty, this is the point when i ask, if someone can help me sending a working kernel based on this rom (PlayerMomo12 release 3) or the firmware with the script.bin modified to invert both axis, if no one can, then it's the moment to smash the tablet with a giant hammer and send it back to China
i could bought 2 galaxy tab 4 if i wasn't wasted so much time on this
here is the firmware if someone wanna to try
http://www.rockchipfirmware.com/cont...-tnt-release-3
(I'm running cuoco92 stable release, so I also posted in that thread. But maybe this section here is a better place for my problem)
Hi there!
Right after charging, the notification area and the "Home" and "Recent" buttons stopped working ("Back" still works). I also can't access the Settings>Users and Developer Options menus ("Developer options are not available for this user").
Most fixes I could find relate to other phones like Motorola and LG, but with the LeEco everything seems a little different. Those guides pretty much all tell the same thing:
1. Try a different user account (doesn't work, because I can't access it anymore) and
2. create an Activity Widget with Nova Launcher pointing to SetupWizard/.SetupWizardTestActivity (or com.google.android.setupwizard/.SetupWizardTestActivity). It also can have slightly different names like TestActivity, SetupExitActivity, or WizardFullActivity.
Problem is: I can't find any of those. There's LeEco Setup Wizard/.EnableSetupWizardActivity but it just says "App isn't installed" when I click on the widget.
Wiping the cache partition and re-installing the ROM also didn't work. I really hope someone can help me with this, because I don't have time for a complete wipe right now...
splicehere said:
(I'm running cuoco92 stable release, so I also posted in that thread. But maybe this section here is a better place for my problem)
Hi there!
Right after charging, the notification area and the "Home" and "Recent" buttons stopped working ("Back" still works). I also can't access the Settings>Users and Developer Options menus ("Developer options are not available for this user").
Most fixes I could find relate to other phones like Motorola and LG, but with the LeEco everything seems a little different. Those guides pretty much all tell the same thing:
1. Try a different user account (doesn't work, because I can't access it anymore) and
2. create an Activity Widget with Nova Launcher pointing to SetupWizard/.SetupWizardTestActivity (or com.google.android.setupwizard/.SetupWizardTestActivity). It also can have slightly different names like TestActivity, SetupExitActivity, or WizardFullActivity.
Problem is: I can't find any of those. There's LeEco Setup Wizard/.EnableSetupWizardActivity but it just says "App isn't installed" when I click on the widget.
Wiping the cache partition and re-installing the ROM also didn't work. I really hope someone can help me with this, because I don't have time for a complete wipe right now...
Click to expand...
Click to collapse
That's odd, the same thing happened to me 2 days ago on RevengeOS. I thought it must be a bug in ROS... Anyway, I was able to get the phone back along the lines you mention above. Through adb:
adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Or just launch a terminal app on the phone, type su and then:
am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
mjoach said:
That's odd, the same thing happened to me 2 days ago on RevengeOS. I thought it must be a bug in ROS... Anyway, I was able to get the phone back along the lines you mention above. Through adb:
adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Or just launch a terminal app on the phone, type su and then:
am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Click to expand...
Click to collapse
Thanks for your suggestion!
Unfortunately, it went how I suspected it would. I'm getting:
Error Type 3
Error: Activity class {...} does not exist.So, this Setup Wizard is just not part of the ROM, it seems. There must be something equivalent in it somewhere, but where to find it?
I also tried:
am start -a android.intent.action.MAIN -n com.letv.android.setupwizard/.EnableSetupWizardActivityand got "Error: Activity not started, unknown error code -2".
But i only guessed the package name since I have no idea how to find those names. I only know the folder structure is "/system/priv-app/letvsetupwizard/letvsetupwizard.apk" and it shows up in activities as "LeEco Setup Wizard/.EnableSetupWizardActivity".
The only other thing I could think of is to create a new user via terminal. Is that possible?
But yeah, I'm running out of options. Should've looked into TWRP backups sooner. Was just about done perfectly configuring everything...
So, I got it working again, today!
First, I created a new user with
pm create-user User_Nameand switched to the new user with
am switch-user User_IDand back again to my old user.
(This first step might be unnecessary, can't tell after the fact.)
That action restored seemingly everything but the soft buttons. I then used this command I found after some googling:
settings --user 0 put secure user_setup_complete 1and it restored everything else!
So, maybe this can be of help for someone in the future if everything else fails...