Hi,
I've decided to write my first app for android and get stuck. Due to developer.android.com I've installed android-sdk and create HelloWorld application using sdk command line tools.
I entered next command:
Code:
android create project \
-t 1 \
-n HelloWorld \
-p ./HelloWorld \
-k com.example.android.helloworld \
-a HelloWorld
where "-t 1" is "android-4.0".
So there is new empty project was created. Then I cd into it and type:
Code:
ant debug
Ant reports that everything was compilled. And I pushed app on emulator and on device with:
Code:
adb -e install bin/HelloWorld-debug.apk
adb -d install bin/HelloWorld-debug.apk
On emulator everything looks fine:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But on device app window shrinks and looks like:
I have Samsung Galaxy Nexus with ISC 4.0.2 downloaded from google code.
Does anybody has the same issue and how can I fix it?
Related
this is alternative way to root the Huawei Mediapad 7 lite
credits vampirefo for his id command root check
my model was/is S7-931w which has wifi
1) use google playstore to install a terminal apk
2) download an apk to sdcard called Root Master (english Version).apk
http://www.nextwap.net/mobile/vE4C-rxxce/root_master__english_version_.html
3) allow your device to install unknown sources
4) install apk and open it
5) you will see 3 options, system info....root....and manager......choose the middle one
it will take some time with some animation
the first time it ran.....I checked inside the terminal to see if id command worked correctly.....it did not
6) reboot the phone and try again
If successful, in a terminal you are looking for the su command to change the prompt from $ to #
AND then run the id command and you must see only 2 responses...... user id and group id
---if you get a third response you have to redo it and reboot it
correct image is attached
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi, I'm going to show you how to enable freeform windows, (floating windows).
First some pics
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First enable un developers options "force activities to be resizable".
Then go to terminal emulator and write this lines (without the $, the $ means a new line)
$ su
$ cd /system/etc/permissions
$ mount -o rw,remount /system
$ sed -e "s/live_wallpaper/freeform_window_management/" android.software.live_wallpaper.xml >freeform.xml
$ mount -o ro,remount /system
Reboot, I highly recommend to use low DPI
Go to settings --> developer options --> smallest width set it to 500 or 520 (my recommendation)
Use this app to open more apps without going to the home, you have all the apps in a corner
https://play.google.com/store/apps/details?id=com.farmerbb.taskbar
Enjoy!
Sorry for my English
Sent from my ONE A2005 using Tapatalk
Not work on Samsung A5 2017
Ive already root my A5 2017 with twrp and already do the instruction. But, its not working for my device. Please help
So, I tried compiling .dtb files from .dts files using device-tree-compiler.
First when I used the command
Code:
dtc -I dts -O mt6757_j7maxlte_swa_ins_01.dts
it returned me with the error :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after searching a bit on ze interwebs, i came across a script :
Code:
#!/bin/sh
echo "----compiling test device tree------"
# replace abc with your file name
IDE=abc
SRC=$IDE.dts
TMP=$IDE.tmp.dts
DST=$IDE.dtb
cpp -nostdinc -I include -undef -x assembler-with-cpp $SRC > $TMP
dtc -O dtb -b 0 -o $DST $TMP
rm $TMP
I tried that script but it returned me with some more errors :
Opening the mt6757.dtsi file revealed this :
The above pic clearly shows that there is an include path in the file mt6757.dtsi in the line 11
im running Ubuntu 16.04 LTS
i updated the device-tree-compiler too but no luck
Can anybody please help me compiling .dtb files from .dts files ?
I ask this question here because it miserably fails at me using WSA ( version 2209.40000.28.0 ) . Running LOGCAT ( the main, system, and crash buffer set is used by default ) shows me that HOUDINI isn't get loaded at all though this ARM-to-INTEL translator is present in WSA.
My researches resulted in fact that In WSA the ARM-To-INTEL-Translator related files are present as shown next
/system/lib64/libhoudini.so
/system/lib/libhoudini.so
/vendor/lib/libhoudini.so
/vendor/lib64/libhoudini.so
/proc/sys/fs/binfmt_misc
/vendor/etc/binfmt_misc/arm64_dyn
/vendor/etc/binfmt_misc/arm64_exe
/vendor/etc/binfmt_misc/arm_dyn
/vendor/etc/binfmt_misc/arm_exe
but they obviously aren't used by default though are loaded via /etc/init.windows_x86_64.rc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also neither file /system/build.prop nor file /vendor/build.prop doesn't contain the related entries
Code:
ro.vendor.enable.native.bridge.exec=1
ro.dalvik.vm.isa.arm=x86
ro.vendor.enable.native.bridge.exec64=1
ro.dalvik.vm.isa.arm64=x86_64
ro.dalvik.vm.native.bridge=libhoudini.so
as shown here.
They are empty files. Have tested it with
Code:
adb shell 'echo "$(cat /system/build.prop)"'
adb shell 'echo "$(cat /vendor/build.prop)"'
Would be great it can be answered with YES and is shown to me a solution.
Same experience: Not any arm app get's installed and running.
Error gone since I upgraded to WSA version 2211.40000.7.0 for Windows 11 what features Android 13
Hardware & software spec:
ManufacturerBLOWNameSmart TV Android BoxModelZQNBLOWChipsetAmlogic S905W 4-core ARM Cortex-A53GPUMali-450 MP, OpenGL ES 2.0 9d52114EMMC ROM16GBDDR RAM2GBAndroid version9API version28Fingerprint partAmlogic/p281/p281
9/PPR1.180610.011/20210426
SU is available in the original firmware using ADB. I started to combine something with Magisk, but it was not possible to install and an error appeared:
Code:
FBE found but FBE support not present in TWRP
I decided to uninstall Magisk but now I don't have SU in ADB:
Code:
adb shell
p281:/ $ su
/system/bin/sh: su: not found
127|p281:/ $
How to restore SU?
I tried to restore the boot partition using a previously made backup in TWRP but it doesn't help :-(
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unfortunately, I did not make a copy of the system partition.
Where to download stock firmware?
Could someone make a copy of the system partition and send me? Thanks.