[Q] How to install Punjabi Fonts on MIUI ROM - Samsung Galaxy SL i9003

Dear Friends ! Please help me installing Punjabi fonts on MIUI ROM. I tried with the help of Terminal emulator but it didn't helped. This was the command i gave $ su (then wait for the superuser screen and press yes)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 4755 /system/fonts/DroidSansFallback.ttf
# dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
# reboot Please help me as punjabi alphabets appear as blocks in Facebook application and Stock and Opera Mobile Browser. Thanks

Any kind fellow willing to help?
Sent from my GT-I9003 using XDA

lubob2011 said:
Dear Friends ! Please help me installing Punjabi fonts on MIUI ROM. I tried with the help of Terminal emulator but it didn't helped. This was the command i gave $ su (then wait for the superuser screen and press yes)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 4755 /system/fonts/DroidSansFallback.ttf
# dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
# reboot Please help me as punjabi alphabets appear as blocks in Facebook application and Stock and Opera Mobile Browser. Thanks
Click to expand...
Click to collapse
You can rather use Rootexplorer,right?
That is prertty simple.

I tried with root explorer but was of no help.
Sent from my GT-I9003 using XDA

lubob2011 said:
I tried with root explorer but was of no help.
Sent from my GT-I9003 using XDA
Click to expand...
Click to collapse
You tried the Gurmukhi thing which I posted in the MIUI Q&A thread?
Try that.
Because, THat worked for me in stock.

bangalorerohan said:
You tried the Gurmukhi thing which I posted in the MIUI Q&A thread?
Try that.
Because, THat worked for me in stock.
Click to expand...
Click to collapse
Yes Rohan ! I tried Gurmikhi font from the link given by you, but still script is rendered as blocks. I had read online that there's some compatibility issue with ROMS other than stock with regional fonts. Should I try on stock ROM ?
Sent from my GT-I9003 using XDA

Eventally another font of a theme is used. Try to make a your own theme that only has your font files in it.
Sent from my GT-I9003 using XDA

Please help kind developers as this is a very minor issue for you guys. Please support me with a solution. I will be grateful to you. Regards.
Sent from my GT-I9003 using XDA

lubob2011 said:
Please help kind developers as this is a very minor issue for you guys. Please support me with a solution. I will be grateful to you. Regards.
Sent from my GT-I9003 using XDA
Click to expand...
Click to collapse
Try it on Stock ROM

On Stock ROM, it works..
Try the Gurmukhi thing TWICE>

Try this, download the Arial Unicode font from this link and replace it as DroidSansFallback.ttf,
http://elfadwaps.com/arial-unicode-...ts-most-of-the-asian-and-indic-languages.html
I think it should support punjabi font also. If it does not work replace original file.
Sent from my GT-I9003 using Tapatalk

This method works: http://forum.xda-developers.com/showthread.php?t=2309286

Related

[APP] New Android Market 3.0.26

Here is the new Android Market. Version 3.0.26
Just installed and this thing looks sweet.
awesome too bad videos dont play on rooted devices
So how do I install it if I just have a rooted phone??
What the other 3 page thread about the same thing wasn't good enough for you?
Hey thanks alot man! The new market looks pretty tight.
Sent from my LG-P999 using XDA App
Playing movies on rooted Devices!
original post by : ogdobber
you can rent the movie with a rooted device...you just can't watch it (but you can with this trick)
open terminal on phone
Code:
su
mount -o rw,remount /system
mv /system/bin/su /system/bin/mu
close terminal and you will be able to watch rented movies on your rooted device
to revert open terminal
Code:
mu
mount -o rw,remount /system
mv /system/bin/mu /system/bin/su
google movie looks for su by name, easy work around because naming it to mu you still have suid, but rooted apps (as well as google movie) are looking for su "name" as well..with the terminal you can tell it suid is mu
gsript doesn't work on this because it too looks for su on the revert
you can copy the code to a notepad and paste it in terminal so you don't have to type every time
This is the only page on here.. where is the other link at for that?
and for everybody that dont know if you dont want to do the above mentioned code you can rent with market and then just watch it in your browser whether your rooted or not..
KingDavid63 said:
and for everybody that dont know if you dont want to do the above mentioned code you can rent with market and then just watch it in your browser whether your rooted or not..
Click to expand...
Click to collapse
Brilliant. Thank you.
I don't even have a movies tab lol, is it because it senses root? Like the new layout though..
Sent from my LG-P999 using XDA App
jland22 said:
I don't even have a movies tab lol, is it because it senses root? Like the new layout though..
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Yeah me neither I tried even installing it manually thru the help tab on the market but no go I guess some people got the movie tab and some dont.......
Sent from my LG-P999 using XDA App
speedy00002 said:
This is the only page on here.. where is the other link at for that?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1166247
Please continue discussion here: http://forum.xda-developers.com/showthread.php?p=15596000#post15596000

[APP] S2e for Cyanogenmod 10.1

I was having problem with s2e when I installed cm10.1 ,so I searched Google and XDA too
Then got a working S2e.
Download: http://db.tt/qLJWMJP5
Note: I am not the developer of the files supplied, I am just sharing.
This will work on cm9 too!!
Press the thanks button
Original link: http://forum.xda-developers.com/showthread.php?t=2082174
Sent from my Nexus⁴
does this swap the external and internal sd ?
faddys123 said:
does this swap the external and internal sd ?
Click to expand...
Click to collapse
This will help in increasing your internal memory!
Press the thanks button
Sent from my Nexus⁴
Razor! said:
I was having problem with s2e when I installed cm10.1 ,so I searched Google and XDA too
Then got a working S2e.
Click to expand...
Click to collapse
Great, thanks for sharing.
FYI to get this working properly, after installing and running the S2E apk for the first time, I had to set the correct permission on its boot script by doing:
Code:
busybox chmod +x /data/local/userinit.d/simple2ext
Trevinho said:
Great, thanks for sharing.
FYI to get this working properly, after installing and running the S2E apk for the first time, I had to set the correct permission on its boot script by doing:
Code:
busybox chmod +x /data/local/userinit.d/simple2ext
Click to expand...
Click to collapse
Welcome. .
Sent from my GT-I9082 using Tapatalk 2
???
How do we set the permission on boot script. Sorry if I sound like a noob...
Trevinho said:
Great, thanks for sharing.
FYI to get this working properly, after installing and running the S2E apk for the first time, I had to set the correct permission on its boot script by doing:
Code:
busybox chmod +x /data/local/userinit.d/simple2ext
Click to expand...
Click to collapse
Set permission using root explorer
Sent from my GT-I9082 using Tapatalk 4 Beta
Thankyou for this..
Downloading it rightnow :victory:

Copy language from rom1 to rom2

Hi there,
The problem is that when i have cell broadcast on my battery is empty in 8 hours.
My phone is rooted.
Using the stock rom.
The strange thing is, i can't turn it of, it is grayed out and it can't be turned off.
Now i have installed another rom (Htc_explorer_Europe_stock) from http://www.filecrop.com/search.php?w...m=1&engine_4=1
The Htc_explorer_Europe_stock have the option to turn cell broadcast off (yeah!) but it is not in my language.
My preinstalled rom is in my language but i can't turn off cell broadcast.
Is it possible to copy the dutch (netherlands) language from rom 1 to rom2?
Greets Kees.
Hi its pretty easy to copy language support(which means seeing your language in messages,email etc.,but you won't see your language in options, phone settings etc. ) from one Rom to another. Check the FAQ sticky thread for that.
For actual language in all the Rom and apk ,its a hard work. But there are tools for that as well ,I think in the general section of our forum.. .not sure.. search out.
Sent from my HTC Explorer A310e using xda app-developers app
BANNED said:
Hi its pretty easy to copy language support(which means seeing your language in messages,email etc.,but you won't see your language in options, phone settings etc. ) from one Rom to another. Check the FAQ sticky thread for that.
For actual language in all the Rom and apk ,its a hard work. But there are tools for that as well ,I think in the general section of our forum.. .not sure.. search out.
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
I will it in the whole rom, or i will in rom1 the cell broadcast menu is not grayed out and i can get it off.
I can't find it on the forum, searching many many days on the forums but with no luck
knorde said:
I will it in the whole rom, or i will in rom1 the cell broadcast menu is not grayed out and i can get it off.
I can't find it on the forum, searching many many days on the forums but with no luck
Click to expand...
Click to collapse
Guess you're not a good searcher
http://forum.xda-developers.com/showthread.php?p=24040330
But the rest in your hands. I can't help you there.Read the whole thread for more info. You can ask experts here for the how to s?
BANNED said:
Guess you're not a good searcher
http://forum.xda-developers.com/showthread.php?p=24040330
But the rest in your hands. I can't help you there.Read the whole thread for more info. You can ask experts here for the how to s?
Click to expand...
Click to collapse
I found that by myself but that tool will only change the apk files and not the system files (like settings etc.).
Correct me if i'm wrong
knorde said:
I found that by myself but that tool will only change the apk files and not the system files (like settings etc.).
Correct me if i'm wrong
Click to expand...
Click to collapse
System properties like settings are also apk.
These apk are present in /system /apk
Settings is called settings. Apk and settings provider. apk
Sent from my HTC Explorer A310e using xda app-developers app
BANNED said:
System properties like settings are also apk.
These apk are present in /system /apk
Settings is called settings. Apk and settings provider. apk
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
I have tryed it but it don't works.
The script says executing and loading and loading and loading... nothing happens.
Rebooted the phone and same problem...
Is it possible to copy manually al the apk's in /system (rom1) to the english rom and place it in /system (rom2)?
In this case, is everything translated, the whole phone?
What file enable cell broadcast settings?
Is it possible to put that in the dutch rom?
knorde said:
I have tryed it but it don't works.
The script says executing and loading and loading and loading... nothing happens.
Rebooted the phone and same problem...
Is it possible to copy manually al the apk's in /system (rom1) to the english rom and place it in /system (rom2)?
In this case, is everything translated, the whole phone?
Click to expand...
Click to collapse
Possible. .but you will have the same effect of graying out. Or you can miss just that apk~ I guess that's messages app and wap receiver app.. .
Don't know about scripts man.. as I said, I can't help you there. Wait for someone else to answer. ..
Sent from my HTC Explorer A310e using xda app-developers app
Anyone?
knorde said:
Anyone?
Click to expand...
Click to collapse
There are ways to integrate languages into ROMs while building them. As you know during ROM compilation each APK is built from its package source that has been downloaded during the repo sync. I have found a script for it which can be used by ROM builders to integrate multiple Language packs.. this is by @cybojenix made originally for the p350 .. I am not an expert in ROM building so haven't tried this yet.. but here is the shell script :
Code:
#!/bin/bash
##cos I'm lazy and don't want to watch it all day##
## get the the right place##
cd /var/lib/jenkins/cm9
##################
## polish from english ##
## english is stock device config ##
cd device/lge/p350
prevlang=en_GB
newlang=pl_PL
sed -ie "s/$prevlang/$newlang/" p350.mk
cd ../../..
. build/envsetup.sh
brunch p350
mv out/target/product/p350/cm-*.zip ~/languages/$newlang-cm9.zip
## polish to turkish ##
cd device/lge/p350
prevlang=pl_PL
newlang=tr_TR
sed -ie "s/$prevlang/$newlang/" p350.mk
cd ../../..
brunch p350
mv out/target/product/p350/cm-*.zip ~/languages/$newlang-cm9.zip
##turkish to spanish ##
prevlang=tr_TR
newlang=es_ES
cd device/lge/p350
sed -ie "s/$prevlang/$newlang/" p350.mk
cd ../../..
brunch p350
mv out/target/product/p350/cm-*.zip ~/languages/$newlang-cm9.zip
## TODO: look up the line "PRODUCT_LOCALES := \", clear the language after it, and insert a new language, so it is universal to all device configs, to whatever language they are compiled in.
##TODO: automatically add the required files to a flashable zip and upload to ftp server/dropbox with an auto link generator so I don't have to be there at all ;)
I take no credits for this. Just sharing.
Cheers

Linux, ubuntu,debian and backtrack 5 on android [mytouch 4g]

SO, I WAS READING ( as i always do) AND CAME ACROSS A GROUP OF DEVELOPERS WHO HAVE MANAGED TO GET UBUNTU,LINUX,BACKTRACK 5 AND OTHER OS's TO RUN ON ANDROID.
THE GOOD NEWS IS THAT U DONT HAVE TO FLASH IT AS A ROM OR ANYTHING. AND IT ALSO DOESNT MESS UP YOUR ANDROID SYSTEM. ITS WORKS LIKE A VIRTUAL MACHINE, TO BREAK IT DOWN IT RUNS ON TOP OF YOUR ANDROID OS JUST LIKE ANY APPLICATION WOULD DO. BUT IT NEEDS A KERNEL THAT SUPPORTS LOOP DEVICES.(Dont really know what that is)
I PERNSONALLY TRIED IT ON THE MYTOUCH 4G AND IT WORKS VERY WELL, ONLY FOR A LITTLE BIT OF SLOWNESS (that happens when u have lots of apps running in the background.) SO I SUGGEST YOU RUN IT AFTER A REBOOT.
I TESTED IT ON THESE ROMS AND KERNELS
ROM KERNEL
***DARK UNICORN RESURECTED**** ****COMB_KERNEL_WOB****** (dont know about the rest of thier kernels).
***PACman_GLACIER v22.0.1********* ************3.0.66_CODERZS_KERNEL_2************
*****CYANOGENMOD 7.2*************** ************ COMB_KERNEL_WOB*****
THERE MIGHT BE OTHER ROMS AND KERNELS THAT MIGHT WORK. SO YOU HAVE TO TEST THEM AND FIND OUT.
NOW HERE IS A LINK TO THE WEBSITE
[[ http://linuxonandroid.org/ ]]
FOR IT TO WORK YOU WOULD HAVE TO DOWNLOAD THE LUNCH APP (Its an APK file). THEN YOU DOWNLOAD THE IMAGE OF YOUR CHOICE BEING IT UBUNTU, LINUX,DEBIAN,BACKTRACK5 ETC....
FOR DOWNLOADS, YOU CAN VISIT THESE SITES:
FOR THE APK OR THE LUNCH APP VISIT
HERE: [[ http://sourceforge.net/projects/lin...omplete_Linux_Installer_08012013.apk/download ]]
OR
[[ https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid ]]
FOR THE IMAGES YOU CAN VISIT
HERE: [[ http://linuxonandroid.org/downloads/ ]]
OR FOR SPECIFIC IMAGES, YOU CAN VIST THESE SITES
NOTE: SOME OF THE OS's HAVE CORE,SMALL AND FULL IMAGES. THE CORE IMAGES, WELL CONTAIN THE CORE FILES WITH JUST A COUPLE OF APPS INSTALLED.(I wont post the link for the core images but if you want it visit the link posted above). THE SMALL IMAGE HAS LIMITED SOFTWARES PRE-INSTALLED WHILES THE FULL HAS MANY OR A WIDE RANGE OF SOFTWARES PRE-INSTALLED.
**********UBUNTU*******************
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...tu/12.04/full/ubuntu1204-v4-full.zip/download ]]
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/lin.../12.04/small/ubuntu1204-v4-small.zip/download ]]
**********BACKTRACK*************
IMAGE
LINK: [[ http://sourceforge.net/projects/lin...ktrack/Image/backtrack-v10-image.zip/download ]]
**********FEDORA****************
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...ktrack/Image/backtrack-v10-image.zip/download ]]
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Fedora/Small/fedora-BETA-small.zip/download ]]
********OPENSUSE*******
CORE IMAGE (its the only image available at the moment)
LINK: [[ http://sourceforge.net/projects/lin...nSUSE/Core/opensuse-ALPHA-core.zip/download]]
*********DEBIAN**********
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/Small/debian-v4-small.zip/download ]]
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/Large/debian-v4-large.zip/download ]]
*******ARCHLINUX*********
SMALL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...Linux/Small/archlinux-BETA-small.zip/download ]]
FULL IMAGE
LINK: [[ http://sourceforge.net/projects/lin...Linux/Large/archlinux-BETA-large.zip/download ]]
THATS ABOUT IT FOR THE IMAGES FOR NOW.
NOTE: FOR THIS TO WORK ROOT IS NEED AND A FULL INSTALLATION OF BUSYBOX AND TERMINAL EMULATOR AND ANDROID VNC VIEWER. AND ALSO, I TAKE NO CREDIT FOR THIS, I AM JUST HELPING OUT SO THAT PEOPLE CAN KNOW ABOUT IT.
HELP IS GIVEN IN THE APK. SO HOW HARD CAN IT BE
SO I THINK THATS ALL FOR NOW GUYS.
IF I HAVE HELP YOU, PLEASE USE THE THANKS BUTTON.
Why are you yelling?
THEindian said:
Why are you yelling?
Click to expand...
Click to collapse
you mean the CAPS?? Sorry Lol.
Lol. Yeah you don't need all capitals calm down xD.
Sent from my MyTouch 4G using xda app-developers app
Nice find
Sent from my HTC Sensation 4G using xda app-developers app
I'm gonna install Ubuntu and see how it is.
Sent from my MyTouch 4G using xda app-developers app
N_otori0us_ said:
I'm gonna install Ubuntu and see how it is.
Sent from my MyTouch 4G using xda app-developers app
Click to expand...
Click to collapse
Sure. Go ahead and try. its nice. And after messing around with it you would like it.
And most of its commands work on android in the terminal emulator.
Haha I actually like it. But how do I find wifi in Ubuntu small image.
Sent from my MyTouch 4G using xda app-developers app
http://maddox.xmission.com/keyboard4.jpg
You have to open the terminal in Ubuntu. Then u type
"sudo -s" (it would ask for your password, enter it.)
Then type
"iwlist scan"
It would give you a whole number of interfaces. But WiFi should be on "p2p0".
Or u can type
"sudo -s"
"iwlist p2p0 scanning"
Sent from my myTouch 4g using xda app-developers app
estallings15 said:
http://maddox.xmission.com/keyboard4.jpg
Click to expand...
Click to collapse
Ahahah
Sent from my HTC Merge using xda app-developers app
coderzs said:
Ahahah
Sent from my HTC Merge using xda app-developers app
Click to expand...
Click to collapse
Very Funny
I try backtrack working fine.
Tip: due to small screen size you can install vnc viewer on desktop and connect your android Linux.
Sent from my myTouch 4g using xda app-developers app
loading issues
I followed all the instructions but this is what i get
sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#
Sorry if the solution is obvious im new to this
HÆÐÉS said:
I followed all the instructions but this is what i get
sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#
Sorry if the solution is obvious im new to this
Click to expand...
Click to collapse
What did you try to run.
Sent from my myTouch 4g using xda app-developers app
HÆÐÉS said:
I followed all the instructions but this is what i get
sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
<inuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/backtrack.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
Error: Unable to mount the loop device!
sh-3.2#
Sorry if the solution is obvious im new to this
Click to expand...
Click to collapse
Its because your current kernel doesn't support loop device. You have to flash a new kernel. If you are using a mytouch 4g, and you using a non sense ROM, you can flash coderz 3.66 kernel or try other kernels.
Sent from my myTouch 4g using xda app-developers app
N_otori0us_ said:
What did you try to run.
Sent from my myTouch 4g using xda app-developers app
Click to expand...
Click to collapse
I tried to run backtrack
---------- Post added at 09:14 AM ---------- Previous post was at 09:03 AM ----------
mickeyasamoah said:
Its because your current kernel doesn't support loop device. You have to flash a new kernel. If you are using a mytouch 4g, and you using a non sense ROM, you can flash coderz 3.66 kernel or try other kernels.
Sent from my myTouch 4g using xda app-developers app
Click to expand...
Click to collapse
Doesnt this mean im supposed to be able to support loop devices
sh-3.2$ fgrep loop /proc/devices
7 loop
sh-3.2$
HÆÐÉS said:
I tried to run backtrack
---------- Post added at 09:14 AM ---------- Previous post was at 09:03 AM ----------
Doesnt this mean im supposed to be able to support loop devices
sh-3.2$ fgrep loop /proc/devices
7 loop
sh-3.2$
Click to expand...
Click to collapse
I guess its the scripts that comes with the app,these same scripts are the ones which launches the backtrack distro. I personally faced some problems with the new scripts but i have the old version which works fine on my device. I would try uploading it or you could search for an old version of the apk.
Edit
Do you have busybox installed??
Pls install it if u don't have it.
Sent from my myTouch 4g using xda app-developers app
After messing around with it i've got a new problem
sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
sh-3.2# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/bt5.img
sh: applet not found
sh-3.2#
What applet is it
HÆÐÉS said:
After messing around with it i've got a new problem
sh-3.2$
sh-3.2$ cd /sdcard/external_sd/backtrack
sh-3.2$ su
sh-3.2# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/external_sd/backtrack/bt5.img
sh: applet not found
sh-3.2#
What applet is it
Click to expand...
Click to collapse
I Dont really know but i guess it has something to do with busy box.
What ROM are u running and do u have busy box installed?
Sent from my myTouch 4g using xda app-developers app

{DEV}[APP] Touchpads Fixer Application

Hello there Xperia PLAY forum!
So, after an entire week of work, I can release my first android application here:
it is an utility to enable touchpads on any rom that is supported (if you want me to support your rom, please post here) .
Description:
It is composed by 2 main apps (or code-talking by 2 main Activities):
A build.prop fixer
A flashable.zip extractor
The build.prop fixer basically modifies some of your build.prop values to match these values, in order to have a proper recognition of the device by games or apps.
The flashable.zip extractor extracts into your sdcard (into a path specified by the app itself) a flashable.zip which contains the fixed framework.jar and the Touchpads Activator app by farenheith for the rom you choose.​
Sources
Here​
APKs
Here​​
So here we are! If you find any bug just let me know.
Changes into v1.0.1:
updated a wrong string that I forgot to update lol
added credits to krisdee as well
Lol just saw a broken boolean: gonna fix this
Sent from my R800i using xda app-developers app
Changes into v1.0.2:
fixed a boolean value inside Fixer activity
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
|SavageD| said:
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
Click to expand...
Click to collapse
This app is meant to be used on Cyanogenmod (9 and 10) based roms, it won't fix touchpads on Gb :/
But there's a n64 emulator that allows u to use touchpads, i think it is called Mupen, unless you're using cm7
Sent from my R800i using xda app-developers app
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
fma965 said:
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
I thought of doing this way, but idk how to do it lol
Sent from my R800i using xda app-developers app
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
fma965 said:
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
CriGiu said:
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
fma965 said:
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
Click to expand...
Click to collapse
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
CriGiu said:
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
Click to expand...
Click to collapse
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
fma965 said:
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
Click to expand...
Click to collapse
YW man
Feel free to ask me, or look at my sources for a quicker help
Sent from my R800i using xda app-developers app
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
crazymonkey05 said:
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
Click to expand...
Click to collapse
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Touchpads
CriGiu said:
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Hiya I hope that you are still around, I am still interested in the xperia play especialy as it looks like kitkat will come out for it any time soon. I am having trouble with the touchpads on my xperia play
I have a Jellybean rom, called SONYCM10 FINAL perfect in every way BUT a major issue that i was not expecting.
Touchpad Activator which is included in the build fails to work when pressing the (activate just for this app) button, it came back with
Error 1: android.view.ViewRoot, the touchpads failed to work in anything
I then installed your touchpad fixer, i have clicked the framework and buildprop buttons and restarted into recovery mode (lupus jb v13) and installed from zip file the framework (I gather that this is how you flash it?). When i restart the phone and test the touchpads there is still no recognition AND when i go back into your fixer app it still says text in red that i have still not fixed my buildprop. I also coppied the framework manually into my system folder and overwrote the original with the new one just incase the installer was not working.
What am I missing? am I not flashing it properly or what? Again I did not flash but just installed from recoverymode the framework zip...
The only thing I can think of that I have not tried is to extract your buildprop somehow and manually overwrite the one in my system directory?
Any Help would be most welcome...
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
dj___ said:
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
Click to expand...
Click to collapse
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Vortelf said:
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Click to expand...
Click to collapse
Okay, gonna definately tell about the result

Categories

Resources