[TUTO]UPDATE08/23 script to root/clean/install/theme/bootscreen - XPERIA X10 Android Development

TRADUCTION STOPED, WORK CONTINUE IN ORIGINAL POST (FRENCH)
Reason : NO USER FEED BACK
Thanks to the author of X10 mini Exploit : http://android.doshaska.net/x10miniroot
This script pack is wrote under WINDOWS CMD, then to use on Windows.
These scripts are writen to help to :
Root X10 under ROM 023 or upper
make an INDUSTRIAL APK install (NO APPS IS INCLUDED, Make your choise)
Clean up some Constructor's packages
Install a Theme (NO THEME IS INCLUDED, Make your choise)
Install a BootScreen (NO BootScreen IS INCLUDED, Make your choise)
My scripts are included all INSTRUCTIONS Step by Step
MUST HAVE BEFORE :
Have an X10i (Not tested with X10a)
ROM 023 upper (Tested on DeBranded 026 and 023 )
Be under Windows
Installed SEUS (for drivers)
Change the Screen Time out to 10Mins (or more)
(Param/Sound&Display/Screen Time Out)
For the root step, Use the SONY WITGET for WIFI...
DURING THE SCRIPT RUNNING, PLEASE BE IN DEBUG MODE ON YOUR X10...
YOU CAN DOWNLOAD MY EACH MODULE IN THE ATTACHED FILE ON EACH RELATED POST
/!\ EACH RAR FILE MUST BE EXTRACTED ON C:\ /!\
0)THE MUST HAVE FILE (CORE) : Adb (Without this package, none worked)
DOWNLOAD : 0_CORE Only
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
YOU NEED TO COMBINE IT WITH ONE OF THE OTHER MODULE (or ALL)
Step 0(adb) + (Rooter / APK Installer / Cleaner / Theme / Boot Screen)
Each RAR file contain his own files
You can say YES when winRAR ask you to overwrite
/!\ Please give me a feed back... worked or not /!\
Click to expand...
Click to collapse
PS : some steps are requiered an Humain action, because for the FW 026 users, the su is Unsecured (then block all batch request...) sorry.. I must to learn VBScrit to release a Full batched script...

STEP 1 : ROOTING THE X10 (026) by the X10 mini Explot Method
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
I don't recommand to use the "1 Click" method, because, i want to test the peering of your X10 and your PC.. If your X10 is not detected and peered with your PC, step 2->5 can't be functional...
*********************************************************
Enable "USB Debugging" in "Settings/applications/developpement"
Put on the HOME the SONY's widget "Quick Settings" and enable the WiFi
Plug your phone to the PC
*********************************************************
Click to expand...
Click to collapse
-> Do that asked : Go to the USB DEBUGGING MODE
DISABLE WiFi from the SONY's widget SONY (onthe HOME)
HUMAIN ACTION : Type the command lines as requested
Click to expand...
Click to collapse
-> As wrote, YOU must type these command lines (Can't batch this step yet)
-> Copy/Past is allowed
rootshell
Click to expand...
Click to collapse
type this password : rootnow
cd /sqlite_stmt_journals/
./busybox cp /sdcard/bin/su /system/bin/
./busybox cp /sdcard/bin/busybox /system/bin/
chmod 6777 /system/bin/su
rm /system/bin/rootshell
exit
exit
Click to expand...
Click to collapse
At this step, your X10 is rooted... No need to reboot

STEP 2 : INDUSTRIAL APK INSTALL
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Put your APK files in this folder : (press Any key)
Click to expand...
Click to collapse
-> an Explorer window will pop up with path C:\KitThol_ENG\InstallAPK\app
-> Fill it with ALL your APK that you want to install
-> Press any key in the script window
-> My script will install ALL your APKs by it shelf

STEP 3: CLEAN UP SOME CONTRUCTOR"S PACKAGES
DOWNLOAD : 0_CORE + Here (FR)
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Cleaner V2(FR) : Backup on local drive before delete + Face Book and You Tube are NOT deleted
+ Some more deleted apps..
Check the cleansony.sh file if you want to know what i delete
Click to expand...
Click to collapse
-> Check the cleansony.sh file in C:\KitThol_ENG\Cleaner\
-> Delete lines where there package you want to keep (like youtube or facebook)
-> and save it
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> You MUST type these command lines (Not Batchable yet)
-> Copy/Past is allowed
su
Click to expand...
Click to collapse
on the X10 : ALLOW SU request(check Memorise/remember)
echo #WAIT the prompt "#"
Click to expand...
Click to collapse
-> Do that asked
cd sdcard
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
sh cleansony.sh
exit
exit
Click to expand...
Click to collapse
-> You will see some Error messages (": Not found" )...
-> Don't worry.. it's only due to Windows text formated (^M for return)
-> Some apps will be on error (we delete it )

STEP 4 : INSTALL A THEME
DOWNLOAD :0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Fill this folder with your APK theme (WITHOUT Framework) : [Press ANY KEY]
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\Theme\APK
-> Fill it with APPS APK theme (not the Framwork)
Put your FRAMEWORK APK in this folder : [Press ANY KEY]
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\Theme
-> Fill it with FRAMEWORK APK theme
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> you MUST type these command lines (not Batchable yet)
-> Copy/Past is allowed
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /sdcard/
sh applytheme.sh
exit
exit
Click to expand...
Click to collapse
-> Well done, your X10 will Rebooted (now or under few seconds )

STEP 5 : INSTALL A BOOT SCREEN
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Fill here your PNG files :
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\BootScreen
-> Fill it with the PNG(only png, not directory) of your downloaded BootScreen File
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> you MUST type these command lines (not Batchable yet)
-> Copy/Past is allowed
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /sdcard/Theme/BootScreen/
sh applyBootScreen.sh
exit
exit
Click to expand...
Click to collapse
-> Well done, your X10 will Rebooted (now or under few seconds )

Step 0 is the needed file for my all other modules...
If you want to do a full install, try to execute my scripts by order...
then else, if you need only ONE of theses module you MUST extract the module :
Step 0 + Step(s) needed...
Have fun.. i wait your feed back..

great post. thanks for all the info. can't wait to get started on all this stuff

Have you success what you need with my scripts ?

I fix an error of syntaxes, my Main folder name contain a space... and there no space in path used in scripts...
All must Running now...
I wait your feed back !

Nobody had tested my work ? :-(
It not helped you ?
is it useless ?
Please say something.. i have to continue to this way or i must stop now ?

My partner has an X10 that I would love to test this on but has recently been upgraded to the latest firmware. Sorry.
My worry would be not having tools like nandroid as a safety net.
Sent from my Nexus One using XDA App

First, Thank you for this reply...
my scripts aren't for UPGRADE FW, it goal is to
root (have an administrator access),
help to install MANY applications in one time
help to delete some constructor's applications (who get your device slowly)
Help to istall a theme (because it's a litle bit difficult on FW 026)
Help to istall a Bootscreen (because it's a litle bit difficult on FW 026)
Then you can test it... dont worry, i tested with my french testers...
I just want to help you... International users !!!

Debrand x10
wolf0491 said:
I would try but I'm still on 20 and I'm selling my x10 on 26 so not doing anything to it. I actually have no idea why mine has not updated to 26.
Sent from my X10a using XDA App
Click to expand...
Click to collapse
If you want to be on 026, try this method (Debrand) :
download the FW 026 here
unrar it, there 2 files..
launch SEUS, do a repair... SEUS will download the actual FW of your X10, flash it with it..
when done, go to C:/ProgramData/Sony Ericsson/SEMC OMSI Module/db/13740270/blob_fs (on Windows Vista/7 )
there 2 big files (16Mo and 130Mo)
copy the NAME of le 16mo's files in this directory (SEUS Directory).. past it on the 16Mo of the downloaded FW on my link. do the samething with the bigger file (130Mo)...
Replace the to files in SEUS directory with the 2 files downloaded...(overwrite)
launch SEUS and flash it again with the repair method...
It's done... your X10 will be on 026 after the flash...

Ok. You can use each functionality separately... try to change a theme or bootscreen ? There no danger..

It can be in both section... because it help to apply a theme AND to root a 02x fw.
It's not the probem.
I just want to know if there somebody has use my script ?
If not why you are afraid ?
I let my work here 1 month again... after, i delete it.. be cause i dont want to use this forum storage for something that nobody use it..

sorry double post

Related

[Howto] App2sd Step by Step

This new Turial is not from me credits go to tot31
I'm writing the how to my own way, hope this will more helpful..
How To : App2sd on Xperia X10i mini
Pre Installation.
I'm assuming that you have just fresh install 2.1/1.6 firmware and root your phone before you start the procedure. This is how I did with my phone.
1. Reinstall 2.1 firmware by using Sony Ericsson Update Service.
2. Root the phone by using SuperOneClick ( http://d01.megashares.com/dl/1xcuTic/Super...4-ShortFuse.zip ). More info on SuperOneClick, go here -> http://forum.xda-developers.com/showthread.php?t=803682
Note : Please disable any anti virus especially Kaspersky as it will give false virus alarm and will delete one of the file.
Step 1 : Preparing your micro SD Card.
Please refer to this link ( http://forum.xda-developers.com/wiki/index...rd_partitioning ) on how to prepare your micro sd card. For better performance I would advise that you use a Class 10 card instead of the original card that comes with the phone because the card is only Class 2 card. For more infomation on speed class rating of sd card please go here -> http://en.wikipedia.org/wiki/Secure_Digital
An excerpt taken from wikipedia :-
The following are the ratings of some currently available cards:
* Class 0 - These cards do not specify performance, which includes all legacy cards prior to class specifications.
* Class 2 - Minimum of 2 MB/s performance. Lowest speed for SDHC cards.
* Class 4 - Minimum of 4 MB/s performance.
* Class 6 - Minimum of 6 MB/s performance.
* Class 10 - Minimum of 10 MB/s performance.
Note : The recommended maximum size of ext2 partition is 1.4GB. I've tried 3GB before and ended up with unstable system and eventually crash the phone. So if you're really greedy since you've bought a 16GB or 32GB card to partition the ext2 more than the recommended size and if your phone is unstable, you've been warn.
Step 2 : Download the related files.
1. App2sd : see attachment
2. adb shell : see attachment
Step 3 : Enabling USB Debugging mode on you phone.
Go to Settings -> Applications -> Development -> USB Debugging (check this option).
Step 4 : Installing App2sd.
Create a folder name adb in your pc and extract all the files from adb.zip into this folder.
Connect your phone to your pc and mount the sd card. Extract all the file from app2sd2.1.zip to the root of your sd card. Make sure to unmount the sd card before continue the next step.
In your pc open up a dos terminal box by typing cmd in the Search programs and files box.
Type
cd /adb
then type
adb shell
then type
sh /sdcard/app2sd.sh
you'll be presented by this screen...
+________________________________+
|********************************|
|*Welcome To wolfilein's App2sd *|
|*installing script *|
|********************************|
+--------------------------------+
~this version should be go on any device ~
+___________________+
|********************|
|* Menu *|
|* *|
|*[0] install app2sd*|
|*[1] remove app2sd *|
|*[2] exit *|
|********************|
+--------------------+
[0]
now just press the enter key & wait.
Important : Make sure to set your phone screen timeout to the max because Superuser will ask for your permission to allow this script to run. If your screen goes blank, you can't see this prompt and the installation will fail.
after a while you'll get this..
busybox is /system/bin/busybox
rm failed for /etc/mount_sd.sh, No such file or directory
+________________________________+
|********************************|
| finished going reboot now |
|********************************|
+--------------------------------+
Don't worry, actually it does not fail. I also got the same message and I also thought it failed but when install all the apps and check using Minitool Partition Wizard and Linux Reader for windows, all my applications are installed into my card (see my previous post with screenshot).
The Explanation
If you look through the app2sd.sh script, command rm /etc/mount_sd.sh means remove/delete the mount_sd.sh file from /etc folder, since that file does not exist in the fresh install phone, it gives this error message but continue with other commands..
rm /etc/mount_sd.sh
mv /system/bin/sh /system/bin/sh_bak
cat /sdcard/sh.sh > /system/bin/sh
chmod 777 /system/bin/sh
busybox cp /sdcard/mount_sd.sh /etc/mount_sd.sh
echo "
+________________________________+
|********************************|
| finished going reboot now |
|********************************|
+--------------------------------+
"
sleep 1
reboot
Finally after a reboot, your phone is ready with app2sd. From now on when you install any applications it will save into your sd card.
Disclaimer : Do this at your own risk. I will not responsible if any injuries or damage occur to you or your phone
wolfilein said:
/!\Warning this is for testing only/!\
¯¯ ¯¯
here is the script that "should work on the x10 minni"
i hadn't one so i can't say if it works
install is verry easy just
first make a second ext2 fomratted patition on the sdcard
extract the zip in the root of your sd-card
open an adb shell
and type in
sh /sdcard/app2sd.sh
then press just enter and app2sd will be installed
yout phone will reboot and then say me if it give errors
wolfilein
Click to expand...
Click to collapse
it says the folder do not exist
when said it this??
does the actually work?
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh
anyone check this please
just a question.... do it "should work on the x10 minni PRO" ?? ( device with phisycal qwerty) ?
Sorry for my bad english !!
init.rc
what if i enter contents of drm.sh to init.rc?
check please this out!!
in the init.rc it seems the pregram must be a service
wolfilein said:
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh
anyone check this please
Click to expand...
Click to collapse
init.rc
i'm not comfy editing init.rc.
I'm gonna try Autostart application from market first.
are you ignoring me ??
and you the autostartapp can't start before it's loaded on boot that means that you must first load the apps
hwconfig.sh
there is no hwconfig.sh in etc folder.
2 thing create one
and check if it excuted
and
check this file
/system/drm/DxDrm/init_drm.rc
wolfilein said:
2 thing create one
and check if it excuted
and
check this file
/system/drm/DxDrm/init_drm.rc
Click to expand...
Click to collapse
added code to init_drm.rc
did not work.
trying hw_config.sh
i will try to edit the init.rc
if i succes i will say it
no luck with hw_config.sh
so ive edit my script and i will upload it now on both
x10 an x10 minni this script should work on every android phone
so now your script is good also for x10 mini pro ??
simple way apps2sd
First, you have to make two partitions on your sdcard - Fat32 and ext2 (ext3)
Second, Mount ext2(ext3) on your device
Third, ln -s /system/app/xxx.apk \sdcard\ ext partition\ way you want\xxx.apk
Caution - never try to remove sdcard after this operation - very dangerious for the health of your device.
your way is not so good
and yes it !should! work now buti cannot test it
garbage
MasterKira said:
so now your script is good also for x10 mini pro ??
Click to expand...
Click to collapse
not really, this time it froze my phone on bootup at the SE logo.
I fear i might have to reflash n lose all my settings!

[App]Market HighRes Fix[May 3rd] (2.3.6) Eclair| (2.3.4)Floyo | GiggleBread (No)

Mar 14th : 2002304 version Fixed work fine for me on 2.1 stock ROM.
only 964×544 faked Res
maybe you will need an other version if you run on a Custom Mod, post below if it worked or not for you ad which rom
WORK FOR MINI & PRO (and maybe others phones)
Here are the Versions :
2002306 (2.3.6) 544×964 faked Res teapea's work (thanks him) : http://www.megaupload.com/?d=STR8DHKW
---------------------------------------------------------------------------------------
To use older version : delete or rename marketupdater.apk
2002304 544×964 faked Res version: WORKING
Code:
http://www.megaupload.com/?d=L18MP8HY
signed 2002304 544×964 faked Res version: report as working
Code:
http://www.megaupload.com/?d=570LCOE0
the both versions are reported as WORKING on 2.1 stock ROM, I can't know if they work on any custom mod untill you confirm it.
******************************************************
floyo's custom mod this one WORKING :
http://www.megaupload.com/?d=WAPZVYD8
*****************************************************
giggleBread provided by ctalcant
http://www.megaupload.com/?d=S05I08YH NOT TESTED
http://www.megaupload.com/?d=GSEOQVMQ (signed version) NOT TESTED
compare results before and after and please reports below
************************************************************
here the old one (2002013) for those who hate the new userInterface (don't forget to delete/move marketupdater.apk
Code:
unsigned 2002013 version :TESTED/WORKING
http://www.megaupload.com/?d=19JB1BK2
http://www.mediafire.com/?aep26ecp55184rj
signed version 2002013: NOT TESTED
http://www.megaupload.com/?d=TXBQYD80
http://www.mediafire.com/?ssszch5r6as27r8
How to :
0- download and put the file on your sdcard, unmount your sdcard
0.5 - rename it "com.android.vending.shokmah.apk" (without the quotes)
1-activate FlightMode
2-goto settings > applications > manage applications > [menu bouton] filter > all
2.5 - select market then uninstall update, and force stop
3- activate usb debugging and launch adb on your computer then type these line
Code:
adb shell
su
mount -o rw,remount /dev/block/mtdblock0 /system
cat /system/app/Vending.apk > /sdcard/Vending.bkp.apk
rm /system/app/Vending.apk
rm -r /data/data/com.android.vending
rm /data/dalvik-cache/[email protected]@[email protected]
cat /sdcard/com.android.vending.shokmah.apk > /system/app/Vending.apk
For rm /data/dalvik-cache/[email protected]@[email protected] don't pay attention if you got an error !
If you found "adfree android" or 3544 (or +) results for video , it's worked.
If you want to thanks me, just choose the megaupload link.
Greetz:
Inteks for the old version
Orion for His Easy APK Disassembler
and what exactly are the benefits with this version compared to that one: showthread.php?t=742608
or that one: showthread.php?t=645286&highlight=market
i still dont know why it keeps saying, that im not allowed to "post outside links" when i write a link to another topic...
I dont know but inteks's version was "erased" by market updater so I take the update and Fake the resolution.
New users Are not allowed to post links
that's why I put mine with code "tag"
sorry for the english
Thanks, but there is no com.android.vending.apk in /system/app. Do you mean Vending.apk?
yes, mine disapearred after some tests, then I push it to com.android.vending.apk and it work well.
User report me that with Vending.Apk name it also work.
It works great! Can confirm it's the new version 2002012.
Thanks shokmah
Thanks for this shokmah!!
Whats the difference? ive done the patch, but i dont see any different...
I don't know the entire difference Between the Stock original One, but It may add new features such as Instant search, apk auto-update option, and many others features.
The patched version allow you to view app which require 320×480 screen Display, some of theses apps work great on our 240×320 screen Display.
I may add support for greater Screen resolution but more you Increase Resolution, More unlocked app will not work smoothly.
Sorry for the english, it's not my native language !
EDIT :
to verify if it work :
search for adfree android and you should found the app
search for video you should have 3544 found result
thanks a lot!
Now I can download "adfree android" app, but "video" string result get 2202 result..
ps: Xperia X10 mini pro, and 2.1
maybe it's different for other , I've french market
Worked for me
Thanks!
you know it works if you search "video" and see results for "video ringtones"
"video ringtones" : 46 matches
Thanks. Worked for me.
When i search "video", i get 3368 results.
How can i prevent the market from getting self-updated in the future? I dont want to disable the data traffic for ever
simplest way to hack the market is here by me..http://bit.ly/9E3Bii
Root explorer's way seem to be simplest way , but adb's way is powerful and completely free and normaly you should pay for RoOt Explorer .
@MonteChristo1979 : you have to delete marketupdater.apk in /system/app, for new update I or Someone will post a patched Vending.apk again
the market is not the problem ! its the marketupdater !!! delete it and everything is fine
badboybiky said:
simplest way to hack the market is here by me..http://bit.ly/9E3Bii
Click to expand...
Click to collapse
nope ! the simplest way you get here ->> http://forum.xda-developers.com/showthread.php?t=845130
wow, YOu made an awesome work, a GUI for those who are affraid of command lines is Great.

[BUGLIST] AOSP 2.2 ROM Bugs and Fixes | Post questions here

If you ...
find a bug or problem on 2.2, post here
find a solution on how to fix the bug, post here
want to get help on how to fix the bug, post here
anything else, goes here
This thread are meant for bug/problem solution and reported bug list of 2.2 custom ROM which i will try to manage, so people are not posting same bug, and asking for same solution all over again in X10 Custom ROM AOSP thread.
Limitation
Cannot Mount via USB
2.2 Custom ROM put the SYSTEM partition on your phone memory and the DATA partition in your SD card. That is why you cannot dismount the SD card from Android to mount to your PC.
No App2SD
2.2 Custom ROM is still running on 2.1 Custom Kernel which not supporting this.
Bug list
#0001 - WiFi not working - Fixed on 2.2
#0002 - Random android.process.media force close - Fixed on 2.2
#0003 - Home button not working, and no Lock Screen - Fixed on 2.2
#0004 - Cannot install certain APK (Angry Bird)
#0005 - No radio, no network and flashing Home - New on 0.0.2
#0006 - ADB shell have SU access, but Titanium Backup cannot work - New on 0.0.2
#0007 - SD Card non-ascii folder show as ???
#0008 - Facebook Contact Sync not available
#0009 - CPU Governor set to performance by default
Solutions for bugs
#0001 - How to enable WiFi on 2.2 Custom ROM
1. Try to enable WiFi, of course it will not work.. just do it.
2. WiFi will goes off automatically
3. Run
Code:
adb shell /system/bin/wlan_tool
4. If the adb stucks, just press CTRL+C
5. Repeat step 4 until you crash the phone
6. After reboot, your WiFi will work.
or
Code:
adb shell killall servicemanager
Post Reference
#0002 - android.process.media FC solution
0.0.1 compiled with prefilled databases which invalid for your phone
Code:
adb shell
cd /data/data/com.android.providers.media/databases
rm *
reboot
or this will ensure no invalid data anymore but will remove fixes for bug #0003
Code:
adb shell
cd /data/
rm -r data
mkdir data
reboot
Post Reference
#0003 - Fix Home Button & Lock Screen
Download sqlite here
First pull the db file first.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Then add value to its content
Code:
sqlite3.exe settings.db
sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');
sqlite> .exit
Then push back the db
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Then reboot.
Post Reference
#0004 - Solving installing APK problems
Currently the 2.2 Custom ROM does not support app2sd, and some APK may configure it self to be installed in sdcard.
So we force it to install on internal with code below
Code:
adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk
Post Reference
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
Post Reference
#0006 - Fixing SU access for Titanium Backup
Run this command
Code:
adb shell chmod 4755 /system/bin/su
Post Reference
#0007 - Fixing SD card mount command to show unicode letters
Modify your chargemon file so its enables utf8 for non ascii letter.
You need to do this on 2.1 ROM, not 2.2 ROM. The file is located in /system/bin
look for this
Code:
mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd
and change into this
Code:
mount -t vfat -o rw,noatime,nodiratime,utf8 /dev/block/mmcblk0p1 /sd
Notes:
You must use a Unix/Linux format capable text editor for this. Notepad will not work.
You can try ultraedit for it.
Post Reference
#0008 - Fix Facebook Sync
Download the ContactsProvider.apk here, then install to your Android using push command
Code:
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb reboot
Post Reference
#0009 - Using SetCPU
By default is Performance, fast but wasting too much battery.
Use SetCPU and set to OnDemand.
Post Reference
2.2 Custom ROM FAQ
How and what happened if upgrade from 0.0.1 to 0.0.2?
Just copy data.img and system.img replacing your current one in FreeX10 folder.
This will replace all your 0.0.1 data, be sure to back up first with Titanium Backup
WiFi is running and connected, but cannot browser
This problem seems to be occurring on selected few.. You can set static IP to your android.
Go to Settings -> Wireless ... -> WiFi, then press menu button. From there you can se static IP
Is there a possibility of Timescape and Mediascape for 2.2 Custom ROM
The answer is yes, its possible.
I managed to install Mediascape.apk into 2.2 Custom ROM, but cannot run.
The reason it cannot run is because UX is using a lot of things in Framework-res.apk, images, layout, styles, and etc which cannot be copied directly from SE 2.1 into 2.2 AOSP. It requires someone to properly put all values, resolving conflicts inside Framework-res.apk before the UX can run, which will take months or at least weeks if someone dedicated his or her day job for it. Then after that we still need to deal with external files. So in conclusion, while it still possible, i don't think anyone will do it because of the time demanding process.
I want to help devs solving bugs, i found one but i don't know what actually happend.
While usb connected, from command prompt, type
Code:
adb logcat > logcat.txt
This will output a lot of debugging info into logcat.txt file, later if you find bug, you take a look inside the file.
See anything error or info related to the bug, and post here.. When writing the logcat.txt output, but them inside
Code:
brackets.
Do not post everything.. post few lines related to the bugs.
2.2 Custom ROM Testing Tools
Service Menu
WARNING: DO NOT INSTALL THIS UNLESS YOU DO DEVS, END USER DO NOT INSTALL
PURPOSE: MAYBE FOR TESTING DEVICE FEATURE, MIGHT BREAK SYSTEM APPS
Enable SE Service Menu for device testing. For devs only. You need to put adb stuff in the directory for install.bat to run.
Install framework
Code:
adb push permissions /system/etc/permissions
adb push lib /system/framework
adb reboot
Install applications
Code:
adb install app\bootinfo3.apk
adb install app\ServiceMenu2.apk
adb install app\com.laac.launcher.servicemenu.apk
Nice work. THis is handy
As i posted in the Main thread!
I think some of the force closes, (mainly acore and google framework) and the fact that the market crashes, come down to importing a vcard!
I imported vcard, get many force closes, market stops working, I clean install and don't install the vcard. Everything functions fine.
I do believe this is the reason!
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Ahmed radi said:
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Click to expand...
Click to collapse
Please read the main post!
sorry but no one answer me there
Thanks
Thanks for this ,hopefully a post like this is made for the 1st post on 2.1
http://forum.xda-developers.com/showpost.php?p=9134882&postcount=1
awesome thread, very helpful. Hopefully more people will read this rather than constantly posting the same bugs in the main thread.
Ahmed radi said:
sorry but no one answer me there
Click to expand...
Click to collapse
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
bsthost said:
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
Click to expand...
Click to collapse
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
angry birds on my x10 is working well....i take it from a previous backup and restrored on 2.2 with mybackup pro
Please post to http://forum.xda-developers.com/showthread.php?t=835308&page=9999 thread instead.
We don't need to create two discussion thread.
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
17mayis said:
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
Click to expand...
Click to collapse
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
New crash this morning : i tried to connect my BT headphone after that i've activated BT => BT has desactivated itself then the phone reboots.
zephyrix said:
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
Click to expand...
Click to collapse
i appreciate your answer man if you could tell me how to do this ? through adb shell or something else?
17mayis said:
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
Click to expand...
Click to collapse
Google is your friend!
i have flashPlayer10.1 problem it,s to slow when i play on any website any solution what might be ?

[ROM] Miui v4 ICS

Miui v4 ics
V1 Pre Alpha :
Bad:
Not rooted (V2)
Big size (it's a MIUI) its an ext4 take more place but faster then ext2
Good :
Faster
Mount internal and external in same time on usb storage
http://www.multiupload.nl/YOJJ6EGDTB
Need this Fota :
http://forum.xda-developers.com/attachment.php?attachmentid=1340004&d=1348112866
Can use this fota for Jb too
1634 Score Quadrant Bench
Update kernel lzo compression faster boot :
http://www.2shared.com/file/elX9vC8e/zImage.html
If you have some prob with lock tell me
Ps : MIUI better on Nand more place more faster
Do i just replace previous ?
basbulletje said:
Do i just replace previous ?
Click to expand...
Click to collapse
yes
so it's a beta... i'm just trying it!
Devriel said:
so it's a beta... i'm just trying it!
Click to expand...
Click to collapse
Just kernel for ICS now
I will try tomorrow with full version of this cfw
Very good job! I congratulate you!
This is one of the most complete truth Roms?.
Will you do a video to see the optimization?
Update :New kernel
Also for now i can upload Slim ICS with optimisation...
MIUI coming later not finished...
Tigrouzen said:
Incoming :
MIUI V4 ICS
Kernel :
Super optimised
Swap
Sd mount external USB storage
Boot on 39sec
Super Fast
....
For now you can test kernel and install SwapperApp test it with any ICS rom for wave of course
Or you can test it like this :
Before make a backup your sd :
You need have on your sd second parition swap
on android terminal or adb shell
fdisk /dev/block/mmcblk1
p
d
(delete all partition)
n
p (primary)
1 (first)
first sector : (enter)
last sector : +3400M (if your card are 4go)
t
b (fat32)
n
p
2
enter
enter
t
2
82
w
after :
mkswap -c /dev/block/mmcblk1p2
and:
mkfs.vfat -c /dev/block/mmcblk1p1
then :
vi /etc/fstab
write this :
/dev/block/mmcblk1p2 swap swap defaults 0 0
for save like this :
:z or :w (cause im on azerty keyboard)
then quit:
:q
Or other way in windows :
notepad
copy past line
and save file name fstab
with no extension
(you need to choice in option folder to see extension on file in windows for no mistake)
and adb push fstab /etc/
or copy it on sd and on terminal android if you dont have adb shell do this :
cp /emmc/fstab /etc/
then in terminal or shell :
chmod 0755 /etc/fstab
finaly reboot and on terminal android :
swapon /dev/block/mmcblk1p2
if you want all time swapon start you need to add on script in /etc/init.d/ folder
SlimFast with optimise and debug :
170Mo Free
TvOut
Rooted...
Upload
Click to expand...
Click to collapse
can you please add liveOC and voodo.colour support to your swap enabled kernal.
---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------
liveOC + swap enabled would be really.nice and smooth.
m90ultimate said:
can you please add liveOC and voodo.colour support to your swap enabled kernal.
---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------
liveOC + swap enabled would be really.nice and smooth.
Click to expand...
Click to collapse
LiveOC Rebellos can do it, need to be change on kernel
Tigrouzen said:
Incoming :
MIUI V4 ICS
Kernel :
Super optimised
Swap
Sd mount external USB storage
Boot on 39sec
Super Fast
....
For now you can test kernel and install SwapperApp test it with any ICS rom for wave of course
Or you can test it like this :
Before make a backup your sd :
You need have on your sd second parition swap
on android terminal or adb shell
fdisk /dev/block/mmcblk1
p
d
(delete all partition)
n
p (primary)
1 (first)
first sector : (enter)
last sector : +3400M (if your card are 4go)
t
b (fat32)
n
p
2
enter
enter
t
2
82
w
after :
mkswap -c /dev/block/mmcblk1p2
and:
mkfs.vfat -c /dev/block/mmcblk1p1
then :
vi /etc/fstab
write this :
/dev/block/mmcblk1p2 swap swap defaults 0 0
for save like this :
:z or :w (cause im on azerty keyboard)
then quit:
:q
Or other way in windows :
notepad
copy past line
and save file name fstab
with no extension
(you need to choice in option folder to see extension on file in windows for no mistake)
and adb push fstab /etc/
or copy it on sd and on terminal android if you dont have adb shell do this :
cp /emmc/fstab /etc/
then in terminal or shell :
chmod 0755 /etc/fstab
finaly reboot and on terminal android :
swapon /dev/block/mmcblk1p2
if you want all time swapon start you need to add on script in /etc/init.d/ folder
SlimFast with optimise and debug :
170Mo Free
TvOut
Rooted...
Upload
Click to expand...
Click to collapse
Dude, i'm not getting it will you put on a simple TUT please. or anyone
Thanks in advance
Update Slimfast for test use...
Tigrouzen said:
Update Slimfast for test use...
Click to expand...
Click to collapse
testing right now ..
Edit ; Just copied rom files to internal memory and booting to android after badadroid screen phone is turn off ? why ?
hero355 said:
testing right now ..
Edit ; Just copied rom files to internal memory and booting to android after badadroid screen phone is turn off ? why ?
Click to expand...
Click to collapse
Its difficult to find this bug o Wave II no lcd and ddms show me all time screen... I need Wave I...
Tigrouzen said:
Its difficult to find this bug o Wave II no lcd and ddms show me all time screen... I need Wave I...
Click to expand...
Click to collapse
after badadroid screen phone is turning off
hero355 said:
after badadroid screen phone is turning off
Click to expand...
Click to collapse
Did you see lockscreen ?
Tigrouzen said:
Did you see lockscreen ?
Click to expand...
Click to collapse
Nothing after first badadroid logo phone is turning off
hero355 said:
Nothing after first badadroid logo phone is turning off
Click to expand...
Click to collapse
Ok
Hello there!
Yep, he's right. I can't see anything after first "badadroid" logo.
Update
Its slim rom optimised ICS im working on MIUI more fatser JB but making mistake i lost all my work...
Sd working browser work....
coming later for MIUI

[VENDOR] [surya/karna] Unified - All Custom ROMS [10] & [11]

PHP:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
FEATURES
. The first, the one and the only custom vendor for dynamic partition in the world : I challenge you all to show me who did it before !
. If you find any custom rom with similar work since the first release of this one : it is just a copied and a stolen work [fake Google roms +++] !!!
. Compatible with all regions / basebands / firmwares / device variants
. Works with All AOSP/CAF based ROMs [10] & [11], Experimental, Official & Unofficial [TESTED]
. May works on fake Google roms but i don't take any responsibility
. Mount RO/RW available with no bootloop after reboot ! [Magisk/SU required]
. SafetyNet passed
. Full test passed : audio, ril, wifi, bt, fm radio, camera, sensors, fp scanner, nfc, ...
. All known hardware issues on custom roms are fixed : camera, wifi, bt, hdr playback, chrome ... and overheating !
. Custom Kernel with stock zImage [untouched +++]
IMPORTANT !
. NO firmware change is needed from the user side, so don't repeat this question many times ... just read up again !
. Formatting /data is required when you flash this vendor the first time +++
. Never go back to the previous versions due to the possible build.fingerprint change [Old releases are automatically removed] +++
. Dirty Update : always delete with file/root explorer or in TWRP this folder :
/data/property and reboot
You must delete these files & folders in /product partition from your custom rom
[File/Root explorer needed] :
/product/vendor_overlay/29/etc/audio
/product/vendor_overlay/29/etc/audio_policy_configuration.xml
/product/vendor_overlay/29/etc/audio_policy_engine_configuration.xml
/product/vendor_overlay/29/lib/soundfx
/product/vendor_overlay/29/lib64/soundfx
&
/product/vendor_overlay/29/etc/wifi
/product/vendor_overlay/29/overlay
& finally
/product/vendor_overlay/29/etc/qdcm_calib_data_nt36672c_huaxing_fhd_video_mode_dsi_panel.xml
/product/vendor_overlay/29/etc/qdcm_calib_data_nt36672c_tianma_fhd_video_mode_dsi_panel.xml
Already included in this vendor ... and since i'm the original author !
[ OPTIONAL ]
If you have the madness and the paranoia with security like Google, you can still relock /vendor again to the stock RO state ... But you will not be able to mount /vendor RW again even with root until you reflash the provided vendor.zip again !
How to [terminal or adb shell] :
su
tune2fs -O verity /dev/block/dm-1
*******
!!!
MIUI Users : sorry for you, but this is for custom ROMS " ONLY "
TROLLS & NOOBS, stay away ... Please !
!!!​
Prerequisite:
POCO X3 NFC = surya
POCO X3 [no NFC] = karna
No matter where you live : india, china, russia, europe, usa or africa ... !
Kernel Source [Prebuilt] : Here
Created : 2021-02-27
Latest Update : 2021-03-21
DOWNLOAD
RESERVED for "Changelog"
Update : [2021-03-21] Highly Recommended !
- overlay folder [/vendor] : secure & total remove ... R.I.P forever !
You can now remove it from here too ... with no issue :
/product/vendor_overlay/29/overlay
[As always : no /data formatting is required if done in the previous builds !]
Update : [2021-03-20]
fix compatibility with all custom roms [10] & [11] +++ :
- build : preserve AVB structure [R/W still available in root mode]
- tune2fs : restore some stock feature flags [dir_index, huge_file, extra_isize]
- fstab [kernel & vendor] : small update
- vendor selinux : property_contexts fix
- build.prop : clean-up
Update : [2021-03-18]
clean-up & rework from scratch :
. all audio config [over 20 files +++]
. all media_codecs config
. new mixer_paths
[=> Exclusive]
- true resampling fix : r.i.p audio crackling and all audio issues in UX, Dialer, emulators ... etc [forever]
- improve audio & camera recording
- audio/video playback [Speaker, Headphones & BT] : Hi-Fi quality, loud & noiseless
[but first, you must delete these files with your File/Root Explorer:
/product/vendor_overlay/29/etc/audio
/product/vendor_overlay/29/etc/audio_policy_configuration.xml
/product/vendor_overlay/29/etc/audio_policy_engine_configuration.xml
/product/vendor_overlay/29/lib/soundfx
/product/vendor_overlay/29/lib64/soundfx]
Update : [2021-03-12]
- move to global 12.0.8.0 as firmware base [boot & vendor]
- ramdisk :
. disable mi_thermald and re-enable again thermal-engine
[on all custom roms : mi_thermald breaks the proximity sensor & suspend service in deepsleep => avoid hand wave gesture & AOD to work properly !]
. clean up & update
- vendor_selinux : add more camera permissions in property_contexts
- media_codecs : remove unused .xml
- ueventd.rc : rework from scratch
Update : [2021-03-07]
- ramdisk :
. update cpuset & schedtune settings
. improve memory multitasking
. make that "damn" fingerprint truly responsive
. enable UFS powersaving
. some clean-up & disable MIUI audio service
- media_profiles :
. rework from scratch
. add slow motion profile support : up to 1080p/120 fps & 720p/960 fps
. front video camera : add 4K support
- build.prop :
=> update parameters for : camera, ril, performance, playback ... and more
Update : [2021-03-05]
- rework from scratch : init.qcom.sh & init.qcom.post_boot.sh
- ramdisk : clean-up and add init.qcom.power.rc
. fix CPU instability : set 300 mHz as CPU minimum frequency for all cores / update schedutil governor parameters
. cpu_boost : improve touch responsiveness
. add built-in display power saving [for both huaxing & tianma panels]
- vendor permissions : rebuild from scratch / fix wronlgy settled paths (by Xiaomi) in some qti.xml
- camera : rework from scratch ISO/lowlight config
- remove dummy hbtp folder ... since there is no binary to load or device specific config
- targetconfig : update CoreCtlCpu to [0,6]
- build.prop : clean up and move NFC parameters to build_surya.prop
- [Bonus] : Wi-Fi signal improved (x2) !!!
. 2.4 Ghz : 144 => 300
. 5 GHz : 433 => 866
[but first, you must delete this folder, with your File/Root Explorer :
/product/vendor_overlay/29/etc/wifi ]
Update : [2021-03-01]
- update msm_irqbalance.conf
- update audio_effects.conf & remove audio_effects.xml
- universal vbmeta & vbmeta_system added
Update : [2021-02-27]
- initial release
- rework all build.prop (vendor & odm) from scratch
- debloated from unused MIUI folders, files & configs
- Kernel :
. enforcing selinux by default
. workqueue enabled in cmdline => better dynamic refresh rate handling by the CPU & stellar deep-sleep
. fstab reworked from scratch
the image you made is for enable rw or not?
my phone is poco x3 nfc surya
janhammer504 said:
To make things clear :
POCO X3 NFC = surya
POCO X3 (no NFC) = karna
No matter where you live (india, china, russia, europe, usa or africa) ... Choose the right vendor.img for your device !
[Both images were tested by me]
Click to expand...
Click to collapse
please share the surya image
aallii2 said:
please share the surya image
Click to expand...
Click to collapse
check the DOWNLOAD link up !
janhammer504 said:
check the DOWNLOAD link up !
Click to expand...
Click to collapse
tnx bro i'm downloading n i'll test
its not working after restart didnt boot n just go to recovry
aallii2 said:
its not working after restart didnt boot n just go to recovry
Click to expand...
Click to collapse
Wich firmware version you had just before flashing ???
The vendor provided must match the firmware version that you have !!!
janhammer504 said:
PREREQUISITE
- adb enabled (developer options)
- root (Magisk/SU)
- adb for Windows (Minimal ADB and Fastboot, provided)
- USB cable always connected
LIVE Flashing :
adb shell
su
dd if=/sdcard/vendor.img of=/dev/block/dm-1
View attachment 5232189
Reboot your phone right away ... then use your File/Root Explorer to test the mount RO/RW option and reboot again to check that there is no bootloop !
(Optional)
If you have the madness and the paranoia with security like Google, you can still re-enable AVB/Verity again ... But you will not be able to mount /vendor RW again even with root until you reflash the provided vendor.img again !
tune2fs -O verity /dev/block/dm-1
Check the full tutorial here to build your own custom vendor ... if you want !
DOWNLOAD
Click to expand...
Click to collapse
... so, I can confirm that this is indeed working nicely, flashed RW vendor for Surya, just for the sake of the functionality, because I'm not sure about benefits I can get from writeable vendor (forgive my ignorance)...
... Thank you very much for your hard work...
just FYI I did flash it in Ofox recovery in built-in terminal, and also directly from running Android via Termux, so you don't need PC for it, just saying...
jeryll said:
... so, I can confirm that this is indeed working nicely, flashed RW vendor for Surya, just for the sake of the functionality, because I'm not sure about benefits I can get from writeable vendor (forgive my ignorance)...
... Thank you very much for your hard work...
just FYI I did flash it in Ofox recovery in built-in terminal, and also directly from running Android via Termux, so you don't need PC for it, just saying...
Click to expand...
Click to collapse
i use adb shell because terminal is too small for me, and for making tutorial.
the benefit ??? well there are a bunch of fixes to do in /vendor... check here for example
(the images i provided are clean with no modification, so i let developers or users doing their own modifications)
janhammer504 said:
Wich firmware version you had just before flashing ???
The vendor provided must match the firmware version that you have !!!
Click to expand...
Click to collapse
india 12.0.9
magisk 21.4
jeryll said:
... so, I can confirm that this is indeed working nicely, flashed RW vendor for Surya, just for the sake of the functionality, because I'm not sure about benefits I can get from writeable vendor (forgive my ignorance)...
... Thank you very much for your hard work...
just FYI I did flash it in Ofox recovery in built-in terminal, and also directly from running Android via Termux, so you don't need PC for it, just saying...
Click to expand...
Click to collapse
hey bro how you flashed in orangefox?
i tried but this happened:
sh: adb: command not found
aallii2 said:
hey bro how you flashed in orangefox?
i tried but this happened:
sh: adb: command not found
Click to expand...
Click to collapse
in recovery adb not needed, just use
dd if=/sdcard/vendor.img of=/dev/block/dm-1
now i cant install any rom :
updater process ended with error 7
pls help
aallii2 said:
now i cant install any rom :
updater process ended with error 7
pls help
Click to expand...
Click to collapse
O.M.G
it looks like you never used terminal
this is not a flashable file, it's a command line.
open terminal in your recovery to do that.
or use adb shell
janhammer504 said:
O.M.G
it looks like you never used terminal
this is not a flashable file, it's a command line.
open terminal in your recovery to do that.
or use adb shell
Click to expand...
Click to collapse
jeryll said:
in recovery adb not needed, just use
dd if=/sdcard/vendor.img of=/dev/block/dm-1
Click to expand...
Click to collapse
Now this came:
write error: Operation not permitted
jeryll said:
in recovery adb not needed, just use
dd if=/sdcard/vendor.img of=/dev/block/dm-1
Click to expand...
Click to collapse
Now this came:
write error: Operation not permitted

			
				
Use Minimal ADB and Fastboot.zip, it's the simplest and the fastest way.
Unzip and click on Minimal ADB and Fastboot.exe
type :
adb shell
su
It works like terminal in Windows. You can't go wrong !
Follow the instructions (1 post) !
aallii2 said:
india 12.0.9
magisk 21.4
Click to expand...
Click to collapse
wtf man, you should pick vendor.img from karna folder not surya !
janhammer504 said:
Use Minimal ADB and Fastboot.zip, it's the simplest and the fastest way.
Unzip and click on Minimal ADB and Fastboot.exe
type :
adb shell
su
It works like terminal in Windows. You can't go wrong !
Follow the instructions (1 post) !
Click to expand...
Click to collapse
i installed 12.0.7.0 global with magisk 22.0 then flashed vendor.img v12.0.7.0 but when restarted it stucked n i pressed power .phone boot but root explorer can't mount rw n just added shell in magisk

Categories

Resources