[FREE MOBILE][FreeWifi_secure][WIFI][EAP-SIM] HOWTO - HTC EVO 3D

Hi,
In France, the 4th Mobile Operator, FREE, is launching a wifi access for mobile phone. This access is relayed by all the Adsl Box from FREE ADSL.
The SSID of this Wifi Access is "FreeWifi_secure" and it is protect by WPA EAP-SIM.
FREE is solding some android phones with the ability to configure EAP-SIM but they do not share the changes they made it on their Roms.
I use an EVO 3D GSM with KingIceCobra3D 1.2. And i found a simple method to connect to this wifi.
In the file:
/data/misc/wifi/wpa_supplicant.conf
Code:
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
[COLOR="Red"]network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
[/COLOR]
Add theses Lines in red
Carefull to preserve the rigths of this file after the modification
1) Get the File and rename it to wpa_supplicant.conf
2)
Code:
adp push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
adb shell chown 1000:1010 /data/misc/wifi/wpa_supplicant.conf
adb shell chmod 660 /data/misc/wifi/wpa_supplicant.conf
adb shell ls -l /data/misc/wifi/wpa_supplicant.conf
-rw-rw---- 1 1000 1010 272 May 17 09:10 /data/misc/wifi/wpa_supplicant.conf
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
FXJumper.

Just checked on mwakious3Drom 4.0 ... works great

remerciements?
tuxstang said:
Just checked on mwakious3Drom 4.0 ... works great
Click to expand...
Click to collapse
I would like +1 on my "thank meter" and you will my first fan ;-)
merci,
fx

Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104

mgl2 said:
Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104
Click to expand...
Click to collapse
Use a root file browser. Root Explorer. Also, be sure to mount it as RW (advanced options)

Thank u for your help.
a) All right : I put the wpa_supplicant.conf into my phone but now i can't activate wifi due to an error
b) what the second code is for ? (what have i to do with this code ?)
thx
Edit : a) it's Ok now after editing the file : i don't have to replace the initial text but to add the red text from fxjumper (i'm an idiot cause that's what he said )
The B) point isn't resolve : what is the code for and when have i to put it inside ?

Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,

fxjumper said:
Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,
Click to expand...
Click to collapse
It works for you????
I did it and it can t connect to the network but it s trying now...
Any idea?

Precisions
(Google traduction --- sorry)
After a few questions in Private Message, here is a method from a blank file and edit it.
i) file format (dos or unix encode)
ii) to file permissions
This is how I propose to proceed
1) recovering the file on the computer
2) we change
3) upload it on the mobile
4) we check the consistency of the file (right)
------------------------
It is left
------------------------
1) I assume the phone is Rooted
we will save the file wpa_supplicant.conf that derail and recreate one:
Code:
adb shell
cd /data/misc/wifi
cp-a wpa_supplicant.conf wpa_supplicant.conf.sav
rm wpa_supplicant.conf
exit
Switch OFF/ON the wifi
Copy the file on the computer
pull adb shell /data/misc/wifi/wpa_supplicant.conf wpa_supplicant.conf
2) To modify the file I suggest you use notepad++
http://download.tuxfamily.org/notepa....Installer.exe
Edit the file, and add at the end
network = {
ssid = "FreeWifi_secure"
key_mgmt = WPA-EAP IEEE8021X
eap = SIM
priority = 5
}
save
3) is the upload
Code:
adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf.new
4) It checks the credentials and the owner and the old file
Code:
adb shell
cd /data/misc/wifi/
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
We crush our file
Code:
cat wpa_supplicant.conf.new > wpa_supplicant.conf
This should solve our problem of right and permissions
we check again:
Code:
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
Sincerely,

Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.

tuxstang said:
Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.
Click to expand...
Click to collapse
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????

B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Hello B_E_N,
In private message, you said you are using a motorola milestone xt720 under cronosx 2.3.7, a cyanogen mod 7 customized.
Now i sent you a patch with /system/framework/com.orange.authentication.simcard.jar
We are waiting your test ...
Sincerely,

CM9 nightlies + SGS
Hello,
I just tried this modification, but cannot find a way to make it work...even though I doublecheck both the permission and the content of the file
For information, I'm running CM9 nightlies for my Samsung Galaxy S.

Until now it doesn't work for me ... even with rom toolbox. Permissions and owners are checked and ok.
Next try : via adb & androisd sdk.
o2x - cm7 - FREE

One more thing : no more error message but wifi try to connect without result ...
o2x - cm7 - FREE

B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Here's how i proceede from ground up on my EVO 3D, with Mwakious, Predator and KingCobra ICS roms.
1/ go in settings and select FreeWifi_secure
2/ set a lock PIN as requested
3/ switch off WiFi
4/ open ES File Explorer
5/ check "Up to Root", "Root Explorer" and "Mount FileSystem" in ES File Explorer settings
6/ navigate to /data/misc/wifi
7/ edit wpa_supplicant.conf
8/ save
9/ switch on WiFi and select FreeWifi_secure
10/ unset lock PIN
Hope it helps.

it was that easy?????
should work on all rooted phone so
works like a charm on my evo

Don't work with my phone...
How do you change owners parameters with ES explorer ?
Regards.
o2x - cm7 - FREE

Hi,
maybe you can use an alternate method on post #11 in
http://forum.xda-developers.com/showthread.php?t=1639437&page=2
what's your phone by the way ?

I'm using CM7.2 on a Nexus One.
I edited the file with ES Explorer, saved, activated wifi...
But doesn't work... It tries to connect but fails.

Related

2.1 on Mini Pro exp ..

Hi All,
Here I am expressing the overall exp after upgrading my mini pro with german build no (I am from India).
Here are the things I noticed on this NEW mini pro -
1) The home is same like before. Only the lock screen is different. Look screen is nice for me
2) I found the speed is like 10-15% more than 1.6.
3) Some really good and useful widget has been given like Market, smart search, recent calls etc.
4) The setting app is different from look and feel point of view and nice also.
5) If you tap the member of recent call , you will get all the options like message, mail, call with a floating pop up- nice feature.
6) Phone book is more or less same
7) The games are like before. like ****.
8) Calculator got two screen, scroll left to get another screen.
9)live wallpaper support, but no live wallpaper given.
10)No app installer so if you cannot install anything from SD card unless by hook and crook you install a folder-explorer. You can install your first explorer like astro by sending via bluetooth. And then get everything from your SD card.
11) If you set live wallpaper then it will take ages to get the unlock screen. This can be fixed if you user other launcher - I am using AWD with some good theme.
So if you like default home + live wallpaper, you feel like to through your phone
12) Picking up the incoming call is really nice now (at least far better from previous version)
13) In call volume is more or less same I found.
14) Music player does not have album tab the same as before, sound quality is better I believe.
15) Camera has same options like before
16) Web browser got double tap for zoom in an out.
17) Now they have given places and navigation app, I don't have internet on my phone, so could not check it .
18) Album does is same before. No rotate functionality.
What is your opinion?
hi desh lit
Can u upload the german build prop thanks
Can you check if the phone calls recording works with 2.1?
I don't want to loose this feature.
Also
If I upgrade to 2.1 will it be possible to downgrade later ?
If I were you i should change to Launcher pro, it works much faster and so on but the only minus with launcher pro is that it does not have as much customizable things as adw launcher.
German build.prop would be very much appreciated
Sorry for the delay-
I have attached the build.prop.
HOW TO -
1) Open cmd from run in windows. Go to the directory where this build.prop is kept in your laptop.
2) copy or write - "adb push fbuild.prop /sdcard/build.prop" - this will copy the build.prop into your sdcard folder of your phone.
3) copy or write - "adb shell"
4) copy or write - "su" now you will get # in cmd promt
5) copy or write - "mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" - this will give you the write permission on the system folder.
6) copy or write - "busybox cp /sdcard/build.prop /system/build.prop" - replace the old build.prop with new one.
7) copy or write - "reboot".
After reboot connect your phone to PC Companion , that will do the rest.
desh_iit said:
Sorry for the delay-
I have attached the build.prop.
HOW TO -
1) Open cmd from run in windows. Go to the directory where this build.prop is kept in your laptop.
2) copy or write - "adb push fbuild.prop /sdcard/build.prop" - this will copy the build.prop into your sdcard folder of your phone.
3) copy or write - "adb shell"
4) copy or write - "su" now you will get # in cmd promt
5) copy or write - "mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" - this will give you the write permission on the system folder.
6) copy or write - "busybox cp /sdcard/build.prop /system/build.prop" - replace the old build.prop with new one.
7) copy or write - "reboot".
After reboot connect your phone to PC Companion , that will do the rest.
Click to expand...
Click to collapse
Thank you dude,I mixed Exploid - root for X10 mini & your method ..
I got an update. Upgrading now
But mine is E10i.I used build.prop for E10i.
1238-7173, u20i SG version comes with Application Installer. When u start it the application, it scans ur SD card for all apk files. So if you already backup all ur application to ur sd, its pretty useful.

[Q] Please help me change my android id

so i used all my offers for in game premium content and i would like to do them agin, i belive its possible if i change my id cause i did the same offers on my friends phone, am using rooted SE Live i have found settings.db in Data/data using root browser and opened the db with phone notepad, now can anyone help me out what should i edit to change my id and is there anything i need to do after it not to brick my phone, thx alot!
mladen190 said:
so i used all my offers for in game premium content and i would like to do them agin, i belive its possible if i change my id cause i did the same offers on my friends phone, am using rooted SE Live i have found settings.db in Data/data using root browser and opened the db with phone notepad, now can anyone help me out what should i edit to change my id and is there anything i need to do after it not to brick my phone, thx alot!
Click to expand...
Click to collapse
This is easy if you are rooted and have busybox:
It's easier to adb shell instead of manually typing this on a terminal emulator:
Code:
$ su
# cd /data/data/com.android.providers.settings/databases/
# sqlite3 settings.db
You will get a "sqlite>" prompt. enter the commands into the prompt:
Code:
insert into secure ("name", "value" ) values ("android_id","DEVICE_ID_GOES_HERE");
.exit
If you do not have a new ID to put in, I believe you can pick any 16 character hex number [A-F and 0-9].
Then after that, I would reboot just to be sure the change is reflected immediately.

[GUIDE] How to make a custom android rom with DragonFace.

Whats sup guys?I been using dragonface to make custom roms for my android device.So i decided to make a guide showing you how to make your own.Enjoy.Make sure to thank me! alright lets get started
Basic Requirements: - Dragonface V2.2.0 V2.2.3 (download here in this Forum)
- Dragonface Tutorial, and knowledge of the basic functions (download here in this tut)
- Windows Explorer
- Notepad++ (http://notepad-plus-plus.org/download/v6.6.9.html)
- ROM you want to modify
- Phoiexcard
If additional tools are requiered, they are mentioned in the regarding Instruction.
Common Steps for all modifications: STEP 1: extract your ROM (*.img) with Dragonface
STEP 2: change to Windows Explorer
ATTENTION: don't shut down DragonFace or copy the needed directories and
files some where else if you want to work "offline" (Directories: CPFOP, fsop -
Files: sysconfig.lhs), because DragonFace erases everything while shuting
down
STEP 3: Save the modified ROM with Dragonface
ATTENTION: If you worked "offline", do first Step 1, and then replace the
created Directories/Files with your modified
STEP 4: Flash your ROM (.img) with the Onda Suite
So let`s start.
PS.: If you try your own modification, it would be good to make only one after the other, and test between two modification. This makes it easier to solve problems when it´s not working like you except it, because you know what causes the problem.
HowTo - Increase the available space for your Apps (Firmware V1.0.0 - V2.1.3 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer ( must be set to show hidden Files/Directories!)
c:/User/..your Username../AppData/Local/Temp
3. Find the file sysconfig.lhs
4. Open it with Notepad++
5. Navigate to the following:
;------------------------------>mmcblk0p8/nande
[partition]
name = data
size = 4194304
user_type = 0x8000
6. Now change the value of size to the space you want
The current value of 4194304 stands for 2GB, that means you have to multiply 2097152 by the amount of GB you want to have for your Apps
for example: 6GB = 12582912
7. Save sysconfig.lhs
8. Save .img in Dragonface
9. Flash your ROM - Done!
Her is a link to a video tutorial (in chinese): http://v.youku.com/v_show/id_XODEzODEwNzQ4.html&usg=ALkJrhhE_ACHQznY8ibrYYK7wMCYzcWCJg
Since the test version of Android 5, there is no seperat app partition in the firmware anymore.
HowTo - PreRoot your ROM (Firmware V1.0.0 - V2.0.2 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/CPFOP/bootfs/skel
3. Find the file init.rc
4. Open it with Notepad++
5. Insert after Line 293:
su root
chown root root /system/app/superuser.apk
chown root root /system/xbin/su
chown root root /system/xbin/daemonsu
chown root root /system/bin/.ext/.su
chown root root /system/etc/.installed_su_daemon
chown root root /system/etc/install-recovery.sh
chown root root /system/etc/init.d/99SuperSUDaemon
chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/daemonsu
chmod 0777 /system/bin/.ext
chmod 6755 /system/bin/.ext/.su
chmod 0644 /system/etc/.installed_su_daemon
chmod 0755 /system/etc/install-recovery.sh
chmod 0755 /system/etc/init.d
chmod 0755 /system/etc/init.d/99SuperSUDaemon
chmod 0644 /system/app/superuser.apk
chmod 0755 /system/xbin/busybox
6. Save init.rc
7. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/fsop/system
8. create the directories and place or replace the needed files if not already present (check filesize, paths and files see
Step 5)
Download needed files here: https://mega.co.nz/#!XU5EFaBK!9ZFnDrzJnlGWoMOISkzQ-dczBKUB6cM8O3aswEjI2IY
Attention: Windows Explorer is not able to create the directory /system/bin/.ext, because it doesn't like the
leading dot.
So open "Command Prompt" and type mkdir .ext to create the directory (navigate before to ..system/bin)
9. Save .img in Dragonface
10. Flash your ROM - Done!
HowTo - PreRoot your ROM (Firmware V2.1.0 - V2.1.3 all Versions)
Step 1 - 10 are the same, only change:
Step 5:
chmod 0755 /sbin/busybox (Instead of: chmod 0755 /xbin/busybox)
Important: If you reopen a prerooted ROM with Dragonface, you have to recreate the .ext folder again and place .su again in it. During the extracting the .ext folder disappears due the restrictions of Windows. Saving without recreating breaks the prerooting!
HowTo - Theming your system:
The following instructions are made for the new V2.1 Firmware and should work with all Versions.
Indroduction: now we start modifying existing APPs. In the first step there are HowTo´s which can be easy done without using any app tools. The simple reason for that is, as long as we don´t take away or add graphics inside an app, and only modify them, for Android everything is fine. When we start to add or remove files inside the app or we want to change the behaviour of an app or add Features, for example in the Settings menu, we will need to de- and recompile and sign the app, ortherwise it won´t work. But this will come later.
Change the default Wallpaper:
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to default_wallpaper.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/framework and find: framework-res.apk
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
Change the Wallpaper on the LockScreen (Firmware V2.1.0 - V2.1.3 all Versions)
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to wallpaper_03.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/priv-app and find: JuiKeyguard.apk
Alternativ, on a running system, copy JuiKeyguard.apk to your PC, make the changes descriped in the next
steps and copy the modified apk back to the tablet. Don't forget to set the right permissions for the apk.
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
When you chance the Lockscreen Wallpaper direct on the tablet (already running system), wipe the Dalvik Cache, otherwise the Wallpaper won't change.
Change the icons in the Statusbar
additional needed programs: WinRAR
Paint.net (optional)
1. Do the steps 1&2 in the first Post
2. Navigate to fsop/system/priv-app and find: JuiSystemUI.apk
3. Open it with WinRar and navigate to the folder drawable-xhdpi
4. Look for the icons you want to change and notice the resolution
Optional: you can edit the icons by using Paint.net
5. Replace the icons you want with drag´n drop or replace the icon with an already existing in the folder (make a duplicate and rename the duplicate to the correct filename)
THEY SHOULD HAVE THE SAME RESOLUTION AND MUST BE IN .PNG FORMAT!
DON`T ADD OR REMOVE ICONS, ONLY REPLACE THEM USING THE CORRCT FILENAME - OTHERWISE YOU
CORRUPT THE APP
IF YOU WANT TO ADD OR DELETE ICONS OR ADD NEW FEATURES YOU HAVE TO DE- AND RECOMPILE IT
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
6. Close WinRAR and you are done!
7. Save .img in Dragonface
8. Flash your ROM - Done!
Enjoys and press Thanks!!!!!!!!!!!!!!!!!
Dragonface software
Hello,
Are there any guides/tutorials for the Dragonface software in english anywhere please? I have googled but they are in Chinese or some other other language. Something for Dragonface v2.2.5 would be appreciated.
Thank you.
trustytrev.
Sir this is tutorial for dragonface in english
more space for apps in V989 v1
Hello,
firmware
989 Air Core8 v1.0.6_v2.img
onda v989 v1
I use dragonface to add space for apps. then i use phoenixsuite to apply img file modified... but it no works!
i need to back 989 Air Core8 v1.0.6_v2.img
this table have 2Gb for apps 2gb RAM and 32Gb more...
heeelp please
Devmountsu77 said:
Sir this is tutorial for dragonface in english
Click to expand...
Click to collapse
Hello,
Sorry I was meaning how to video tutorials of using the dragonface software in english.
I have now found something that was suitable for me as a complete novice.
Thank you.
trustytrev.
A83T
I have tried using Dragon Face for A83T image file. But looks like I am stuck.
The Software does unpacking properly. But during packing image, I am not sure what goes wrong, the initial Green Progress bar of Flashing Firmware also does not show up in the device.
I have in fact tried - unpacking stock firmware and packing the firmware without making any changes to the Image.
It fails!
Any help will be greatly appreciated.
bumping this old thread trying to root this POS irulu tablet I got the firmware image rooted and resaved
flash it but it hangs at the pre-boot splash
edit: I am pretty sure its either a int.rc or su binary problem, if I flash just the stock boot/env it boots
so there is something in the init.rc it doesn't like
here is my init rc
https://pastebin.com/NwZ9ntEB
after hours of monkeying about with it I am pretty sure its a issue with dragonface
any attempt to modify int scripts results in it hanging on splash, possibly some form of boot image checking
I can modify system all day long but I can't touch the boot partition
I don't have the capability to build a generic twrp image for the A33 so I can't even get to a decent recovery
Bringing this thread back to life, is there a way to set the default launcher through file manipulation (as with the above tutorial) rather than with ADB or in the Android Settings app? I've been searching, but haven't found any good information.
Edit: Nevermind, it was an issue with the default launcher and possibly pheonixcard. Got it resolved

[Q] how to make writable external sd on kitkat? (yes again)

hi Everyone,
I'm sticked with the common issue of how to make writable the external SD.
I've read topics on the forum:
http://forum.xda-developers.com/desire-601/help/how-to-writable-external-sd-kitkat-t2877686
http://forum.xda-developers.com/desire-601/help/sd-card-permissions-off-t2833195
http://forum.xda-developers.com/showthread.php?t=2687734
Well ok, but I'm a noob so sometimes it's not clear, sometimes it's not working for me.
So let's explain:
- My device is rooted (it was made by a tech using TWRP if I'm right)
- SuperSU is installed
1/ I tried some apps like SDfix and Int-SDCard Write fix
> Result = KO
2/ I tried to manually modify the platform.xml file > sometimes the editor does not want to save the modification, sometimes it says OK but the file don't seem to be modified (the last modification date is still 2014). Permissions are: rw-r--r--
a. Using Rom Toolbox, I go the file and edit it with:
-FX TextEdit > Get a Warning = "This file is on read-only filesystem. You will not be able to save any changes unless you first remount it as read/write'
> Result = KO
- RB Text Editor: it seems i can edit it. Save the file without warning message 'Saved'. But once back on the /system/etc/permissions folder, nothing looks modified (not today's date). I can reopen the file and see the modification by the way. But once I reboot, I go back the my original issue.
> Result = KO
- ES Text editor: can't even save the file
> Result = KO
So what ?
I've seen this message coming along:
"if you are rooted then you doing something wrong (did you maybe forgot to mount system as R/W ?).
If you are unable to do modify platform.xml then you doing something wrong or yours device isnt rooted."
> At what moment is it possible to mount the system with R/W grants ?
I'm fed up with not being able to write on SD card....................
Thx in advance !!!!!
Opening a terminal on my phone:
- i can't 'cp file1.xml file2.xml' in /system/etc/permissions
- i can't 'chmod 644 file1.xml'
Each I get "Read-only file system"
Flash your stock kernel with insertcoin or kofilakernel

Video bootanimation on Amlogic boxes

In my search to find a way to disable the fixed bootanimation on my X96 I not only found the solution but also some nice "feature".
A normal bootanimation comes as a bootanimation.zip and usually without sound.
A video boot is a MP4 file with sound and all
To enable video boot a line in the build.prop needs to be edited/added:
service.bootvideo=1 this enables the bootvideo, service.bootvideo=0 makes use of the normal bootanimation.zip, same for not having this line.
The actual bootvideo is as said a MP4 file named bootvideo and is located in the etc folder of the system partition - if not you need to make one
Any resolution the box supports can be used here but for obvious reasons it should be only as long as the actual boot might take.
There should be a file bootplayer inside the /system/bin folder - this is used to play the video.
In case it still won't work with all the above files you need to add a service in the init.amlogic.rc file of your kernel.
Code:
service bootvideo /system/bin/bootplayer /system/etc/bootvideo
class main
user root
group system
disabled
oneshot
I tested and confirmed it works with basically any MP4 video on my X96 but assume it should work the same way on all 3.14 kernels.
Another option, you can do so
Code:
#service bootvideo /system/bin/bootplayer /system/etc/bootvideo
service bootvideo /system/bin/bootvideoplay.sh
class main
user root
group system
disabled
oneshot
and place to /system/bin/bootvideoplay.sh with this
Code:
#!/system/bin/sh
MARK=/data/media/0/Download/bootvideo
if [ -f $MARK ]; then
bootplayer /data/media/0/Download/bootvideo
else
bootplayer /system/etc/bootvideo
fi
If there is a file /data/media/0/Download/bootvideo (internal sdcard) , will be play this video
Nice one!
Did not even consider using a check in the init file - will keep that in mind for sure
Checked the way with the script but no matter what I try it simply shows no video at all.
But works fine by just using the medi folder instead of ETC, SDCARD won't work either.
For the SD it makes no difference is SDCARD is used for the path or the direct mountpoint.
Seems the bootplayer is a bit restricted if it does not run directly as a service.
But can't be bothered too much as I only use one video anyway LOL
Still image
There is a way to remove the X96 image as the first image? I changed the video all ok, but the image before bootvideo remains the same. What is tha file that I need to change? Thanks a lot!!!
That would be the bootlogo, flash a new one or use an app tp change it.
I only exchange them together with the firmware and so far did not bother otherwise.
Downunder35m said:
That would be the bootlogo, flash a new one or use an app tp change it.
I only exchange them together with the firmware and so far did not bother otherwise.
Click to expand...
Click to collapse
I searched all the bins for the bootlogo file, but I can't find it. Do you know in wich bin it is located?
No bin, inside the bootloader partition
Downunder35m said:
No bin, inside the bootloader partition
Click to expand...
Click to collapse
Hi, friend. Thanks for your reply. I'm a bit newbie. How can I access the bootloader partition and access its contents?
Downunder35m said:
In my search to find a way to disable the fixed bootanimation on my X96 I not only found the solution but also some nice "feature".
A normal bootanimation comes as a bootanimation.zip and usually without sound.
A video boot is a MP4 file with sound and all
To enable video boot a line in the build.prop needs to be edited/added:
service.bootvideo=1 this enables the bootvideo, service.bootvideo=0 makes use of the normal bootanimation.zip, same for not having this line.
The actual bootvideo is as said a MP4 file named bootvideo and is located in the etc folder of the system partition - if not you need to make one
Any resolution the box supports can be used here but for obvious reasons it should be only as long as the actual boot might take.
There should be a file bootplayer inside the /system/bin folder - this is used to play the video.
In case it still won't work with all the above files you need to add a service in the init.amlogic.rc file of your kernel.
Code:
service bootvideo /system/bin/bootplayer /system/etc/bootvideo
class main
user root
group system
disabled
oneshot
I tested and confirmed it works with basically any MP4 video on my X96 but assume it should work the same way on all 3.14 kernels.
Click to expand...
Click to collapse
Hello,
I set the 1 in the build.prop, added the line to the init.amlogic.rc and put my mp4 intro video and your attached files to the places. 1. Reboot -> I become your x96 bootvideo. I deleted the bootvideo file from your attached files and I dont become a bootvideo. Whats wrong? My bootvideo.mp4 is already in the system/etc/
getting permission error
unfortunately, I am getting permission issue. I have verified that I am root and write permission to root. I am using X96mini Amlogic Box . any help?
p281:/ # whoami
root
p281:/ # cp /sdcard/virtukiosk-video-v1.mp4 /system/etc/bootvideo1
cp: /system/etc/bootvideo1: Read-only file system
1|p281:/ # ls -ld /system/etc/bootvideo
-rw-r--r-- 1 root root 9149031 2017-10-09 09:31 /system/etc/bootvideo
p281:/ # ls -ld /system/etc
drwxr-xr-x 13 root root 4096 2017-10-09 09:48 /system/etc
p281:/ # ls -ld /system
drwxr-xr-x 20 root root 4096 2018-01-04 17:49 /system
p281:/ #
Thank you! works perfectly.
I just edit the build.prop seems it was there (bootvideo and bootplayer) already in my MXIII S802 box.
@ nigam214
Try to use EZ Explorer or any Root explorer for easy File transfer.

Categories

Resources