hi i im trying to change in a .jar file, i did follow this post http://forum.xda-developers.com/showthread.php?t=549309
but im getting this error
C: \ Users \ julle \ Documents \ android-sdk_r06-windows \ android-sdk-windows \ tools> java
Baksmali.jar-jar-o classout / classes.dex
java is not an internal command, external command,
program or batch file.
dosen anyone know why? thanks
Java is not installed or not in your PATH.
If java is installed, read this document
MoxFulder_CH said:
Java is not installed or not in your PATH.
If java is installed, read this document
Click to expand...
Click to collapse
i did read that but what shud the path be?
Hi friends,
a short tutorial for rooting Ventos 10.1 from simple user Linux Ubuntu, when ADB doesn't recognise the device using Root_with_Restore_by_Bin4ry_v33 from this thread.
Disclaimer: The following rooting guides take software from third-party sources and are not products of danjde. I cannot be held responsible for any effects on your device resulting from this rooting guides. Please attempt only after reading through and understanding the guide(s) and proceed with caution.
ATTENTION: TABLET BATTERY MUST BE CHARGED!!
ALL FROM LINUX CONSOLE/TERMINAL WITHOUT EXTERNAL APPLICATIONS
1) edit from super user editor and add the correct USB Ids to /var/lib/usbutils/usb.ids:
2207 RocketChip
now lsusb should show the device properly
lsusb
Bus 001 Device 012: ID 2207:0010 RocketChip
2) add udev rule in /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
3) restart udev service
service udev reload
4) optionally add vendor id in ~/.android/adb_usb.ini or in the same adb location
0x2207
5) extract the content of Root_with_Restore_by_Bin4ry_v33 and give executions permission to all fro semplicity (compessing whith zip have lost attributes)
chmod -R 755 "extracted-folder"
6) cd into the utility "Root_with_Restore_by_Bin4ry" directory
cd stuff
7) restart adb server
./adb kill-server
./adb start-server
8) connect Ventos and enable usb debugging.
9) now adb devices shows the device.
./adb devices
224DDD88E8722FA848300A20B9F8XXXX device
10) run as normal user
./RunMe.sh
[IMPORTANT: if you obtain on 64bit linux machine: "/stuff/adb: error while loading shared libraries: libncurses.so.5..."
install lib32ncurses5: apt-get install lib32ncurses5 and try again]
11) select normal mode
12) wait until 5 minus
finish!
tested :good:
Dear Danjde,
I habe a Trekstor Surftab Ventos 10.1 that I would like To root.
It appears, however, hat there exist At least 2 Version oft the tablet.
In Android settings it is called ST10216-2A.
Can you confirm your Version?
Also, is it possible To root the device fron a local shell via the same commands AS in the *.SH file?
Thank you so much!
Andreas
Hi der.einstein,
I confirm that two are the ventos 10.1 versions,
mine is the second, and from my research the method shown applies to both models.
For the second question the answer is: no
ciao!
Hey, There . We Are Suffer problem While Shutdown Windows 8 & 8.1 .Because there are no power off button. We Press Manual to shutdown. Either Alt+F4 or Going to settings.
So, I am Gonna to Show to How to shutdown Windows 8 & 8.1.[And You can also add to your Desktop.]
STEPS —
1.TO DO OPEN NOTEPAD and TYPE THE FOLLOWING
Code:
C:\Windows\system32\shutdown -s -f -t 000
2.And SAVE AS it
3.Select all files(*.*)" type the name of the file, you name file is anything but remember to add *.bat after the name of the file. Then its work.
DONE YOU MADE IT.
[Disclaim]
Mod at your own risk and I don't hold any responsibility for any consequence that may have been caused by this mod.
Remember to make a backup first though I have tested on my pixel.
[Background]
My company uses channel 132,136,140,144 to broadcast 5G wifi, however, the wifi region code on my phone is set to 'CN', so my phone could not even detect the wifi. For a complete list of available wifi channel in each region, please refer to this wiki.
I tried to set wifi_country_code via 'settings put global wifi_country code US' or add 'country=US' in /etc/wifi/wpa_supplicant.conf, but without vain. Then I came across this post https://forum.xda-developers.com/showthread.php?t=2368501, and I decide to hack the setCountryCode function in the wifiservice to force the country to be 'US'. According to the wiki, region 'US' has the most available number of channels.
This post will tell you how you could bypass this restriction on your phone. Your phone shall be rooted, of course.
[Step to step guide]
1) Setup tools, which includes
a) adb
b) jdk
c)baksmali https://bitbucket.org/JesusFreke/smali/downloads
2) Connect your phone and pull all the related files ( actually only wifi-service.odex and boot.oat is needed )
adb pull /system/framework framework
3) Decompile the odex file by using the following command
java -Xms1g -jar baksmali-2.2b4.jar x -d framework/arm64 framework/oat/arm64/wifi-service.odex -o wifi-service
The output goes to wifi-service folder
4) Mod wifi-service/com/android/server/wifi/WifiServiceImpl.smali
Search for 'method public setCountryCode', which is around line 5605, basically we just want to force the country code to "US".
a) Change .register 8 to '.register 9'
This is because we are going to use one more register to hold the static content 'US', aka, your desired country code
The original code uses 8 registers, aka, v0 - v4 for local varialbe, v5-v7 for parameter, they are also alised to p0-p2.
After this change, we can use the register named v5, v6-v8 will be aliased to p0-p2.
b) Add a line under const-string/jumbo v2, "WifiService"
const-string/jumbo v5, "US"
Therefore, v5 hold the content 'US', which is the desired country code.
c) Replace all p1 with v5 inside this method
Originally the country code is passed from outside the call, we just force it to 'US', which is stored in variable v5
5) Repack by the following command
java -Xms1g -jar smali-2.2b4.jar a -o classes.dex wifi-service
jar -cvf wifi-service.jar classes.dex
6) Install on the phone
adb push wifi-service.jar /sdcard/
The following commands shall be executed on the phone and with root prividelege
mount -o rw,remount /system
#Make a backup first
cd system
cp -p framework/oat/arm64/wifi-service.odex framework/oat/arm64/wifi-service.odex.bak
cp -p framework/wifi-service.jar framework/wifi-service.jar.bak
#Install the new file
cp /sdcard/wifi-service.jar /system/framework/
chown root.root framework/wifi-service.jar
chmod 644 framework/wifi-service.jar
rm framework/oat/arm64/wifi-service.ode
reboot
A modified wifi-service.jar is also uploaded and I have tested on my pixel. Everything seems fine.
Hi,
Thanks your your tutorial. I just have one question.
5) Repack by the following command
java -Xms1g -jar smali-2.2b4.jar a -o classes.dex wifi-service
jar -cvf wifi-service.jar classes.dex
Click to expand...
Click to collapse
How do I execute this command(s)?
When I try them as 2 commands;
> 'jar' is not recognized as an internal or external command
Just found it, just be sure to set java/bin as Path in system settings. Even if "java -version" just works.
Thanks!
Hi,
Please Help
After I do step 2 (pull framework )
Why i did not get folder framework/arm64 or framework/oat/arm64 ?
In my country, using 2.4Ghz wifi
And I have a problem with the channel. I hope to be able to switch to channel 14. (JP)
Thanks +
oatspunk said:
Hi,
Please Help
After I do step 2 (pull framework )
Why i did not get folder framework/arm64 or framework/oat/arm64 ?
[...]
Click to expand...
Click to collapse
I think it's "dex", not "odex".
Channel 149
Thanks for your description.
Is it also possible to reach channel 149 ?
I tryed it but without success.
I need this channel to connect my android phone with my copter.
Regards
Markus
markus.marus said:
Thanks for your description.
Is it also possible to reach channel 149 ?
I tryed it but without success.
I need this channel to connect my android phone with my copter.
Regards
Markus
Click to expand...
Click to collapse
Set region as "EU", and it should work
Thomasvt said:
Hi,
Thanks your your tutorial. I just have one question.
How do I execute this command(s)?
When I try them as 2 commands;
> 'jar' is not recognized as an internal or external command
Just found it, just be sure to set java/bin as Path in system settings. Even if "java -version" just works.
Thanks!
Click to expand...
Click to collapse
Can anybody help in this thread https://forum.xda-developers.com/zenfone-ar/help/zenfone-ar-verizon-wifi-t3684905#post75254641
...
I just released an Xposed module that does the same thing. Thanks @op for the tip.
https://forum.xda-developers.com/xposed/modules/mod-change-wifi-region-to-enable-5ghz-t3396936/
Thank you so much, it worked
You really are awesome
hello
I have problem with Wi FI connection in TV Box M8S+
as I understand may be
wi fi is corrupted in this android ?
[email protected]@[email protected]
Hello all of you in the forum
I am very kindly asking for help in unlocking the bootloader
smartphone LG G4 H815.
I have a situation like a screencast.
By typing a command in the CMD:
* bootlader C: \ Users \ whitewolf1608 \ Desktop \ Tools
terminal corresponds to the message
Adb is not recognized as an internal or external command, operable program or bath file.
Moving to a folder with the cd command in the terminal works, but the terminal still responds