A guy on Chinese forum had released some font apks which is not originated from SmartWorld,and its working.
Have tried simply replacing ttf file in the apk,seemed not working.
Any ideas to change custom fonts without root?(Cant know how the font apk works...)
rexx0520 said:
A guy on Chinese forum had released some font apks which is not originated from SmartWorld,and its working.
Have tried simply replacing ttf file in the apk,seemed not working.
Any ideas to change custom fonts without root?(Cant know how the font apk works...)
Click to expand...
Click to collapse
It's not that simple. You can replace the ttf files under /system/fonts that relate to LG's default font changer. They all start with HY. Replace the files of the font you don't like/use with those that you do. You need a regular type and a bold one. Also, you need to do this in a Linux environment. Make sure you correct security contexts when you finish, or it won't work.
ashkan-khatar said:
It's not that simple. You can replace the ttf files under /system/fonts that relate to LG's default font changer. They all start with HY. Replace the files of the font you don't like/use with those that you do. You need a regular type and a bold one. Also, you need to do this in a Linux environment. Make sure you correct security contexts when you finish, or it won't work.
Click to expand...
Click to collapse
Hello,/system/fonts seems to be Read-Only?
rexx0520 said:
Hello,/system/fonts seems to be Read-Only?
Click to expand...
Click to collapse
You need to mount it as a re-writable partition. Use the command below:
Code:
mount -o loop,rw -t ext4 image-file.img the-folder-you-want-to-mount-the-image-in
Then, when you're done, use this:
Code:
umount the-folder-you-mounted-the-image-in
You can find attached a screenshot of what the process will do in the end. I have replaced Foxrain.
ashkan-khatar said:
You need to mount it as a re-writable partition. Use the command below:
Code:
mount -o loop,rw -t ext4 image-file.img the-folder-you-want-to-mount-the-image-in
Then, when you're done, use this:
Code:
umount the-folder-you-mounted-the-image-in
You can find attached a screenshot of what the process will do in the end. I have replaced Foxrain.
Click to expand...
Click to collapse
It seems that the phone has to be rooted...?
rexx0520 said:
It seems that the phone has to be rooted...?
Click to expand...
Click to collapse
Do you know where to use those commands?
ashkan-khatar said:
Do you know where to use those commands?
Click to expand...
Click to collapse
Nope...seems to be adb in linux?
I've just installed Ubuntu
confused about everything...Which img file should I mount?And where to mount...
sorry for my basic english
rexx0520 said:
Nope...seems to be adb in linux?
I've just installed Ubuntu
confused about everything...Which img file should I mount?And where to mount...
sorry for my basic english
Click to expand...
Click to collapse
Oh, well, use KDZ Extractor to get a stock system.img from a KDZ. Then open a terminal in the folder where you have the image and use the following commands:
Code:
sudo
mkdir something
mount -o loop,rw -t ext4 system.img something
Then modify what you want, and, when you're done and have corrected security contexts using "ls -lZ" and "chcon", use this:
Code:
umount something
ashkan-khatar said:
Oh, well, use KDZ Extractor to get a stock system.img from a KDZ. Then open a terminal in the folder where you have the image and use the following commands:
Code:
sudo
mkdir something
mount -o loop,rw -t ext4 system.img something
Then modify what you want, and, when you're done and have corrected security contexts using "ls -lZ" and "chcon", use this:
Code:
umount something
Click to expand...
Click to collapse
Find only python and windows version KDZ extractor,should i use the python one?
after system.img modded,how do i flash it in to my phone?any method to pack it back to kdz?
thanks for your helping..
rexx0520 said:
Find only python and windows version KDZ extractor,should i use the python one?
after system.img modded,how do i flash it in to my phone?any method to pack it back to kdz?
thanks for your helping..
Click to expand...
Click to collapse
Oh, I'm not familiar with Python. Why did you install ubuntu? You could just boot it through VMWare or something. I think you'd need either Windows or Mac to use KDZ Extractor.
You don't need to re-pack your modded system.img into a KDZ to flash it. Use the guide in this thread to do so.
ashkan-khatar said:
Oh, I'm not familiar with Python. Why did you install ubuntu? You could just boot it through VMWare or something. I think you'd need either Windows or Mac to use KDZ Extractor.
You don't need to re-pack your modded system.img into a KDZ to flash it. Use the guide in this thread to do so.
Click to expand...
Click to collapse
should i start with step 1 or 9?
rexx0520 said:
should i start with step 1 or 9?
Click to expand...
Click to collapse
Step 1. It won't work otherwise. The port needs to be opened, and that's what LGUp does.
By the way, you can mod your ROM in many ways, not just fonts and stuff. The security contexts are very important, don't forget correcting them after you're done modding.
Related
As i dont have access to a linux box, would somebody mind uploading an unpacked factoryrs.rfs from the OFFICAL JI6 build?
Uploading it now.
lqaddict said:
Uploading it now.
Click to expand...
Click to collapse
You sir, are a saint!
Here you go http://www.megaupload.com/?d=3DM54Q10
ahh, that rfs isnt unpacked
well does anyone have to skills to unpack it? you can get the actual file from the above post
im pretty sure you need linux to do so, but i might be wrong
*edit* posted tut to unpack it
mopodo said:
I came from HTC Hero to the Samsung Galaxy S GT-I9000
So I had never problems with cooking something up, but in the Galaxy I faced .rfs files and a flashing tool I can't use on linux...
So I searched through some boards to find a way to extract the .rfs files here a working guide for the S I9000.
What you need
Linux (tested with Debian testing)
It's pretty simple, execute this commands as root on your computer
SHORT WAY (thanks to mimocan)
Code:
# mount -o loop factory.rfs /some_dir
LOOOONG WAY
Attatch the rfs file to the loop device
Code:
# losetup /dev/loop0 /somedir/factoryfs.rfs
Create a directory to mount the device
Code:
# mkdir /somedir/mnt
Mount the device
Code:
# mount /dev/loop0 /somedir/mnt
the content of the rfs is NOT saved on the sdcard! you have to copy it!
Now you can copy the content from the /sdcard/tmp directory to the sdcard
Code:
# cp -R /somedir/mnt /somedir/factoryfs
hope this is helpful for someone
Click to expand...
Click to collapse
You can unpack rfs by loading it through magiciso on windows
Free trial version will work fine hehe
oswade said:
You can unpack rfs by loading it through magiciso on windows
Free trial version will work fine hehe
Click to expand...
Click to collapse
looks just like ultra ISO, and i have ultra ISO ill check it out
uhhh? adb pull /system? and rar it up? or adb pull /?
if you want the full thing? not that complex
Also, You can get a VM setup. To do it in linux.
karimsaud21 said:
As i dont have access to a linux box, would somebody mind uploading an unpacked factoryrs.rfs from the OFFICAL JI6 build?
Click to expand...
Click to collapse
here u go
http://www.megaupload.com/?d=1QHR83RH
rhcp0112345 said:
uhhh? adb pull /system? and rar it up? or adb pull /?
if you want the full thing? not that complex
Also, You can get a VM setup. To do it in linux.
Click to expand...
Click to collapse
ya i wouldve just pulled the system but im not running the OTA on my phone
and i have a sole linux box back home so dont need to install a VM
demo23019 said:
here u go
http://www.megaupload.com/?d=1QHR83RH
Click to expand...
Click to collapse
THANKS!
Here's a NON-flashable, fully deodexed version of the OTA-JI6 /system directory, yeah, I know its not the full contents of factory.rfs, but its a start.
http://www.4shared.com/file/bn2lTCKf/JI6_OTA_Deodexed.html
cheers
Sorry man, misunderstood your request. Let me get on my linux box and unpack it.
Ok, unpacked it, transferring back to my home PC, and will upload to megaupload.
Sorry for the goof.
lqaddict said:
Ok, unpacked it, transferring back to my home PC, and will upload to megaupload.
Sorry for the goof.
Click to expand...
Click to collapse
I unpacked and already uploaded
Sent from my SGH-T959 using XDA App
demo23019 said:
I unpacked and already uploaded
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Thanks demo, didnt see your update.
Thank you everyone, yall have been a great help
Thread moved to Q&A.
hy everybody.
i try mod the system.img on ubuntu linux with unyaffs and mkfs.yaffs2, i "hacked" the symlinks(because the armv6 unyaffs doen't like) so now everything is ok, unyaffs works well. BUT:
when i flash the other sin files with flashtool, my x8 is restart after a green sony ball. i gave to all file in bin folder: rwx-rx-rx and the all other files got rw-r-r permissions.
so, i don't know what is the problem with this method.
//my system.img was flashed with a method in "clean and pre-rooted 2.1 rom" thread.//
in attachment the filesunyaffs and mkfs.yaffs2.x86)
unfortunately unyaffs-x86 does NOT preserve all file permissions if image is extracted and reassembled in Linux x86.
You have to extract/assemble on the phone to keep permissions.
Or, alternatively, you can fix permissions by using xRecovery tool, there's a menu "fix permissions".
To see why exactly your phone reboots, use adb logcat from PC.
racht said:
unfortunately unyaffs-x86 does NOT preserve all file permissions if image is extracted and reassembled in Linux x86.
You have to extract/assemble on the phone to keep permissions.
Or, alternatively, you can fix permissions by using xRecovery tool, there's a menu "fix permissions".
To see why exactly your phone reboots, use adb logcat from PC.
Click to expand...
Click to collapse
yess, thank you! now i found a mkfs.yaffs2 for arm processors for android. it's verry slow.
so i made my sdcard to ext2, and now i try to "extract" my img.
so ... It's used to ?
trapacska said:
hy everybody.
i try mod the system.img on ubuntu linux with unyaffs and mkfs.yaffs2, i "hacked" the symlinks(because the armv6 unyaffs doen't like) so now everything is ok, unyaffs works well. BUT:
when i flash the other sin files with flashtool, my x8 is restart after a green sony ball. i gave to all file in bin folder: rwx-rx-rx and the all other files got rw-r-r permissions.
so, i don't know what is the problem with this method.
//my system.img was flashed with a method in "clean and pre-rooted 2.1 rom" thread.//
in attachment the filesunyaffs and mkfs.yaffs2.x86)
Click to expand...
Click to collapse
i've created sh script to view your current permissions.
it could be useful to re-set the permission manually to create the ROM
how:
upload to root of sdcard
run
Code:
su
cd /sdcard
sh plist.sh
it will create folder "permissions" on your sdcard.
all files permission listed there
open with notepad++
propc said:
i've created sh script to view your current permissions.
it could be useful to re-set the permission manually to create the ROM
how:
upload to root of sdcard
run
Code:
su
cd /sdcard
sh plist.sh
it will create folder "permissions" on your sdcard.
all files permission listed there
open with notepad++
Click to expand...
Click to collapse
it's cool! thank you. now i try to debrand the oroginal x8 rom.
trapacska said:
it's cool! thank you. now i try to debrand the oroginal x8 rom.
Click to expand...
Click to collapse
you know what. i've found a better method to change permissions
1-mount original system.img
Code:
mkdir tmp/1
sudo mount -o loop /your/system.img/path /tmp/1
2-clone permissions from original system.img to your system folder
Code:
chmod -R --reference /tmp/1 /your/new/system/path
and the permission fix done!
EDIT: tested. and worked. I've finally created my own modified ROM (running on sdcard)
EDIT2: some problem with root permissions, will work on it
thank you i found a way to fix permissions too:
1. unyaffs original system.img
2. in busybox shell mount it to r/w
3. copy xrecovery and su and superuser to fresh rom.
(for me it works well without xrecovery fix permissions)
if there is some error, you can fix it with xrecovery
Hello,
Can you try to change the /system image with one from froyo ? You can find such image in the X10 forum. I thing that if we change the contents of the /system with such from froyo it should work. With the standard kernel from eclair.
Please try this and let me know.
bnight said:
Hello,
Can you try to change the /system image with one from froyo ? You can find such image in the X10 forum. I thing that if we change the contents of the /system with such from froyo it should work. With the standard kernel from eclair.
Please try this and let me know.
Click to expand...
Click to collapse
i tried it. no luck. too many files. where are the files that need to be edited?
/system/lib?
propc said:
i tried it. no luck. too many files. where are the files that need to be edited?
/system/lib?
Click to expand...
Click to collapse
/system/framework (for a skin)((but the all folder))
trapacska said:
/system/framework (for a skin)((but the all folder))
Click to expand...
Click to collapse
thanks. will try porting from htc legend 2.2 rom later.
Hi,
I'm considering buying the Xperia-S but I have no information about Sony's policy in modding & tweaking. I don't plan to install custom kernels / recoveries / rom's initially & would only want to root the device & maybe customise it a little.
How good is Sony's support in updates & How easy is it to stay close to stock & still be rooted ?
I was browsing the development subforum & came across the thread with the stock firmware at : http://forum.xda-developers.com/showthread.php?t=1527319.
I downloaded Xperia_S_(LT26)_6.0.A.3.62_1252-0023.rar & LT26i_6.0.A.3.62_NCB World.ftf. I've extracted both the files & managed to get the system.sin files but I dont know how to browse / extract them.
I found a link to an old utility 'Xperia ROM Manager' which comes with mkyaffs.exe, SIN2IMG.exe & unyaffs.exe but I'm stuck as I cant get the output from the sin to img to mount in linux.
Any pointer in the right direction would help. Thank You.
Snmjm said:
Any pointer in the right direction would help. Thank You.
Click to expand...
Click to collapse
Yes, not to create new topic and continue discussion in the right thread.
I'm Sorry to have offended you but which is the right thread for a question like this ?
I thought posting something on the dev thread would be wrong & the thread with the utilities ( mkyaffs.exe, SIN2IMG.exe & unyaffs.exe) wasn't in the Xperia S forums but a year old thread for other SE devices.
Hey.
Use our FreeXperia/CM sin2img converter. It works better than the windows tools.
https://github.com/defer/semc-xperia-tools/blob/master/sin2img.py
After that extract the partitions, but its not yaffs its ext4. So if you are running linux system you can simply mount with:
mount -o loop system.img /home/yourname/folderwhereitgetsmounted
Have fun
Thank You so much.
I'm new to Xperia but not to android. I know how to root my desire-hd & a little about theming. Is there a wiki where general information about Xperia is available ?
Right, I am sorry for the above. I focused more on you topic name, rather than post itself. I apoligize.
Snmjm said:
Thank You so much.
I'm new to Xperia but not to android. I know how to root my desire-hd & a little about theming. Is there a wiki where general information about Xperia is available ?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1526866
No worries.
Bin4ry said:
Hey.
Use our FreeXperia/CM sin2img converter. It works better than the windows tools.
https://github.com/defer/semc-xperia-tools/blob/master/sin2img.py
After that extract the partitions, but its not yaffs its ext4. So if you are running linux system you can simply mount with:
mount -o loop system.img /home/yourname/folderwhereitgetsmounted
Have fun
Click to expand...
Click to collapse
I am getting the below error when running the script with system.sin from .62 firmware
Code:
Traceback (most recent call last):
File "sin2img.py", line 52, in <module>
convert (sin, img)
File "sin2img.py", line 28, in convert
bt = sinfile.read(2)
File "D:\Python32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 130: character maps to <undefined>
I tried it in linux & it worked. Maybe you can try it using a live cd or install linux in a vm
Bin4ry said:
Hey.
Use our FreeXperia/CM sin2img converter. It works better than the windows tools.
https://github.com/defer/semc-xperia-tools/blob/master/sin2img.py
After that extract the partitions, but its not yaffs its ext4. So if you are running linux system you can simply mount with:
mount -o loop system.img /home/yourname/folderwhereitgetsmounted
Have fun
Click to expand...
Click to collapse
Hi, i have debian installed, how can i use sin2img.py? i mean, what commands and what packages do i need to make it work? because i only get "command not found" error
Yakandu said:
Hi, i have debian installed, how can i use sin2img.py? i mean, what commands and what packages do i need to make it work? because i only get "command not found" error
Click to expand...
Click to collapse
use your python path, for example i'm using redhat and my python path is /usr/bin/python, then the command is
# /usr/bin/phyton sin2img.py system.sin system.img
The g9 has a good file app can it be extracted to use on a phone like the atrix ? What I'm looking for is the network browser part.
My goal is to use my g9 as a media server use my old phone with the HDMI and connect it to a TV the TV has a USB that will charge the phone then I have a make shift Google TV
probably wont work but here i'll upload the apk for you
http://www.mediafire.com/?j5f3jaofx2m0j4m
Wow that was fast thank you I'll post back if it works
Also if you don't mind could you explain how you got it so in the future I can do it myself! Well need a new computer first lol
robertlawson225 said:
Wow that was fast thank you I'll post back if it works
Also if you don't mind could you explain how you got it so in the future I can do it myself! Well need a new computer first lol
Click to expand...
Click to collapse
you can find it in /system/app
I don't think it will work however since it's odexed. perhaps a deodexed version would work better.
Have you tried ES Explorer?
Sent from my LG-VM670 using Tapatalk 2 Beta-2
2 weeks ago i have tryed to install the apk off archos file manager (is very nice and intuitive) on my lg optimus one with gyanogen but it doesn't work as told here. pity. ciao
It didn't work for me just won't install
Shano56 said:
you can find it in /system/app
I don't think it will work however since it's odexed. perhaps a deodexed version would work better.
Click to expand...
Click to collapse
Does anyone know how to deodexed this app?
robertlawson225 said:
Does anyone know how to deodexed this app?
Click to expand...
Click to collapse
you'll have to install this whole rom http://forum.xda-developers.com/showthread.php?t=1551682
Shano56 said:
you'll have to install this whole rom http://forum.xda-developers.com/showthread.php?t=1551682
Click to expand...
Click to collapse
Thanks for the info but this is my sons g9 and I don't want him to have root can just the app be extracted or does it have to be loaded on the tablet then extracted?
robertlawson225 said:
Thanks for the info but this is my sons g9 and I don't want him to have root can just the app be extracted or does it have to be loaded on the tablet then extracted?
Click to expand...
Click to collapse
you could ask someone else who has the deodex version
You can mount ext4 image as loop but you need linux (virtual machine will do)
tapatalked from Desire
gen_scheisskopf said:
You can mount ext4 image as loop but you need linux (virtual machine will do)
tapatalked from Desire
Click to expand...
Click to collapse
Do you have a link for instructions I do have a live USB Ubuntu will that work?
robertlawson225 said:
Do you have a link for instructions I do have a live USB Ubuntu will that work?
Click to expand...
Click to collapse
1. You need at least 600 MB of free space on USB (archos.ext4.zip and place to unpack)
2. Open terminal in the folder where archos.ext4 is located and:
Code:
mkdir mnt
sudo mount -o loop archos.ext4 mnt
3. Do whetever you wan to with files in ext4 image, then
Code:
sudo umount mnt
[optional] rm -r mnt
gen_scheisskopf said:
1. You need at least 600 MB of free space on USB (archos.ext4.zip and place to unpack)
2. Open terminal in the folder where archos.ext4 is located and:
Code:
mkdir mnt
sudo mount -o loop archos.ext4 mnt
3. Do whetever you wan to with files in ext4 image, then
Code:
sudo umount mnt
[optional] rm -r mnt
Click to expand...
Click to collapse
i will try thanks
robertlawson225 said:
i will try thanks
Click to expand...
Click to collapse
However keep in mind that apk may depend on system framework to work properly (in other words- I can't say if it will work on other device or not)
gen_scheisskopf said:
However keep in mind that apk may depend on system framework to work properly (in other words- I can't say if it will work on other device or not)
Click to expand...
Click to collapse
i know its a shot in the dark still want to try
ok i tried the steps you gave me but i must be missing something steps i took
i made a new folder dropped the .zip into the new folder, opened terminal i typed cd then drag and drop my new folder then hit enter
then i typed
mkdir mnt
sudo mount -o loop archos.ext4 mnt
i get "file type must be specified" or something like that
what did i miss?
You have to unpack the .zip
gen_scheisskopf said:
You have to unpack the .zip
Click to expand...
Click to collapse
OK will give it another shot
success I'll post a link once it uploads all apps and framework
Link http://db.tt/egAavEFX
Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc
xracerx123 said:
Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc
Click to expand...
Click to collapse
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.
V0latyle said:
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.
Click to expand...
Click to collapse
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Is it possible, to edit right on the /etc itself? without going through twrp?
Is there any tools that can help?
xracerx123 said:
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Click to expand...
Click to collapse
It mentions using ADB, which can only be used either through system or recovery.
xracerx123 said:
Is it possible, to edit right on the /etc itself? without going through twrp?
Click to expand...
Click to collapse
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
xracerx123 said:
Is there any tools that can help?
Click to expand...
Click to collapse
Yes...TWRP.
V0latyle said:
It mentions using ADB, which can only be used either through system or recovery.
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
Yes...TWRP.
Click to expand...
Click to collapse
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/
xracerx123 said:
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/
Click to expand...
Click to collapse
Details like this are beneficial when asking questions.
The short answer to your original question is no, what you want to do is not possible.
is your bootloader even unlockable?
https://www.xda-developers.com/how-to-unlock-bootloader-root-magisk-google-pixel-6a
xracerx123 said:
I am using Pixel 6A, currently there is no TWRP.
Click to expand...
Click to collapse
but there is Evolution X custom recovery at least
https://forum.xda-developers.com/t/4514881