Sense ROM - Help needed - XPERIA X8 Q&A, Help & Troubleshooting

Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?

There is a decompiler for the .img file somewhere around the xda forum, i'll have a quick search for you and get back to you on it
Beans
Sent from my X8 using xda premium

Thank you very much, I will also need to recompile, I believe this can only be done on linux? or the AVD emulator? or can it also be done on windows? I know the decompiling can be

Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Both decompiling and recompiling can be done on wondows so far as i know with a linux emulator, or you could partition the hard drive on your pc and install linux on the second partition
Hope i helped
Beans
Sent from my X8 using xda premium

bbeanss said:
Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Hope i helped
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Thank you, the decompiling on windows works, I'm just not sure about recompiling as linux isn't my Forte so to speak.. also my AVD emulator doesn't seem to be loading any android VM's I have created..

The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium

smyth12 said:
Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?
Click to expand...
Click to collapse
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa

bbeanss said:
The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
That would be awesome please..
Superuser.Angga said:
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa
Click to expand...
Click to collapse
I was going to try some of the better known ROM libs just now, gonna send them through ADB because I can't use root explorer due to the "SD card removed" bug.. Decompile the libs and then recompile them then?
Where can I get the ramdisk?

Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium

bbeanss said:
Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Cheers mate, in the UK? me too haha...
I'll have a look through them probably tomorrow morning now, adb seems to be being a pain and not pushing the files across.. Thanks very much,
Good night mate ;D

Gud luck to you bro

phoenix883 said:
Gud luck to you bro
Click to expand...
Click to collapse
Thanks man, looks like I'm gonna need it lol

This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
Code:
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?

Superuser.Angga said:
This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so[/CODE]
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?
Click to expand...
Click to collapse
Wow thanks, so in theory I can take existing libs from working roms and replace the libs you mentioned and things will work?

You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way

Superuser.Angga said:
You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way
Click to expand...
Click to collapse
okay, Thank you, alot! I'm sure with a bit of time I should get this working...
Any fix for the 3g?
Edit: Vibration has come alive now..

Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium

match_stick said:
Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium
Click to expand...
Click to collapse
I'll keep you in mind my friend.. Just trying to figure stuff out at the moment but the typing things could be of use updates and findings etc... PM me your email?

Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!

jahlovePL said:
Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!
Click to expand...
Click to collapse
Thank you, aside from testing do you do any coding?
or anything along these lines? fine if you don't, beta testing is just as important!

Related

[Tool] Drawable XML generator for CM7 theme chooser

Hi guys, if you've tried making your own theme for the theme chooser from scratch, you'll know how ridiculously annoying it is to add every image to the concerned xml file. Well I got fed up with it and wrote a command line tool to generate the xml for you.
To use it, you put all the images that you want to add in a folder, and then run the following command (you need the Java runtime environment for your operating system) (note that your images can begin with "frameworks_res_" or other package names - the program will automatically detect most of the common package names and you can specify your own as shown below)
Code:
$java -jar XMLGenerator.jar [package_name_1] [package_name_2] [package_name_3] [etc] [/path/to/input/folder] [outputfile]
For a more detailed guide about how to set up java and use this program, see this.
Suppose you have a folder "myDir" with 3 images: com_nhnt11_image1.png, com_nhnt22_image2.png, and frameworks_res_image3.png.
Then run
Code:
$java -jar XMLGenerator.jar com_nhnt11 com_nhnt22 myDir output.xml
The output of the program would be a file "output.xml" containing this:
Code:
<item name="drawable/image1">@drawable/com_nhnt11_image1</item>
<item name="drawable/image2">@drawable/com_nhnt22_image2</item>
<item name="drawable/image3">@drawable/frameworks_res_image3</item>
Then you can copy and paste this to whichever XML you need.
Enjoy!
Here is a list of package names that are automatically detected
This is very helpful !!
Sent from my Optimus 2X
Much much love for this! Thanks man!
This will save me a lot of time..Thank you
Awesome, thanks.
thanks man!
I've been searching and I have the java sdk installed but is there a web page someone can point me to that can help me in what I need to run that command on windows?
tia
MrDSL said:
I've been searching and I have the java sdk installed but is there a web page someone can point me to that can help me in what I need to run that command on windows?
tia
Click to expand...
Click to collapse
Command prompt...
Sent from my Blade using XDA App
hehe i did actually figure that..i must have something wrong cause even after installing java sdk when i enter that command it errors out..ill look some more..
MrDSL said:
hehe i did actually figure that..i must have something wrong cause even after installing java sdk when i enter that command it errors out..ill look some more..
Click to expand...
Click to collapse
You probably havent set your path properly, look up stuff about putting Java in your path (environment variables)
Sent from my Blade using XDA App
This fixed me up, Might want to add to OP in case someone else has the issue! http://www.java.com/en/download/help/path.xml
I got it to work but had to change the command to:
java -jar XMLGenerator.jar drawable-hdpi/ Browser.xml
Click to expand...
Click to collapse
What it created:
<item name="drawable/com_android_browser_app_web_browser_sm">@drawable/com_android_browser_app_web_browser_sm</item>
<item name="drawable/com_android_browser_arcs">@drawable/com_android_browser_arcs</item>
<item name="drawable/com_android_browser_browser_thumbnail">@drawable/com_android_browser_browser_thumbnail</item>
<item name="drawable/com_android_browser_btn_close_window">@drawable/com_android_browser_btn_close_window</item>
<item name="drawable/com_android_browser_dialog_divider_horizontal_light">@drawable/com_android_browser_dialog_divider_horizontal_light</item>
<item name="drawable/com_android_browser_fav_icn_background">@drawable/com_android_browser_fav_icn_background</item>
Click to expand...
Click to collapse
I'm runnign Windows 7
You can use .txt for the output file too! Your choice!!!!
This is great Thanks again!!!!
djdarkknight96 said:
I got it to work but had to change the command to:
What it created:
I'm runnign Windows 7
You can use .txt for the output file too! Your choice!!!!
This is great Thanks again!!!!
Click to expand...
Click to collapse
Hmm, I should really add a feature to omit the com_android_browser part in the item name... I'll think about how best to implement it and update.
Sent from my Blade using XDA App
nhnt11 said:
Hmm, I should really add a feature to omit the com_android_browser part in the item name... I'll think about how best to implement it and update.
Sent from my Blade using XDA App
Click to expand...
Click to collapse
AH, I didn't even notice that:
Template:
<item name="drawable/btn_default_pressed">@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
Script:
<item name="drawable/frameworks_res_btn_default_pressed">@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
I guess it won't work till you fix it? well I rather hit Find "frameworks_res_" and press delete then type and copy paste!!!! Still better!!! Thanks for making life easier!!!
I have an Idea, can you have it use the original folder from the app before we rename it on the
<item name="drawable/frameworks_res_btn_check_on_disable_focused">
Click to expand...
Click to collapse
area anad then the folder with the files renamed for the
@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
???
I had the same idea, but that has some other complications... Right now I have 3 possible ways to implement this, and will update soon when I figure out which is best.
nhnt11 said:
I had the same idea, but that has some other complications... Right now I have 3 possible ways to implement this, and will update soon when I figure out which is best.
Click to expand...
Click to collapse
Saweet! I'll wait cause I'm lazy that way! Hehe
DarkGingered CM7 G2x sent this with the DarkXDA app!
OK, here's how I've done it - the program will automatically do it for common package names (it does it for all the ones that Androidian uses). However, you can specify additional package names for it to replace. Here's the new syntax -
$java -jar <packagename1> <packagename2> <etc> <input dir> <output file>
Example:
$java -jar com_upwardspiral_wallpapers com_nhnt11_dummyapp myDir output.xml
Here's the list of the package names it automatically does:
Code:
"frameworks_res_",
"com_android_systemui_",
"com_android_browser_",
"com_android_calculator2_",
"com_android_calendar_",
"com_android_camera_",
"com_android_contacts_",
"com_android_deskclock_",
"com_android_email_",
"com_android_fm_",
"com_android_inputmethod_latin_",
"com_android_launcher_",
"com_android_mms_",
"com_android_music_",
"com_android_phone_",
"com_android_providers_calendar_",
"com_android_providers_downloads_ui_",
"com_android_quicksearchbox_",
"com_android_settings_",
"com_android_wallpaper_",
"com_cooliris_media_",
"com_google_android_apps_genie_geniewidget_",
"com_google_android_carhome_",
"com_google_android_gm_",
"com_google_android_googlequicksearchbox_",
"com_google_android_talk_",
"net_cactii_flash2_"
Let me know if I'm missing anything.
nhnt11 said:
OK, here's how I've done it - the program will automatically do it for common package names (it does it for all the ones that Androidian uses). However, you can specify additional package names for it to replace. Here's the new syntax -
$java -jar <packagename1> <packagename2> <etc> <input dir> <output file>
Example:
$java -jar com_upwardspiral_wallpapers com_nhnt11_dummyapp myDir output.xml
Here's the list of the package names it automatically does:
Code:
"android_",
"frameworks_res_",
"com_android_systemui_",
"com_android_browser_",
"com_android_calendar_",
"com_android_camera_",
"com_android_contacts_",
"com_android_deskclock_",
"com_android_email_",
"com_android_inputmethod_latin_",
"com_android_launcher_",
"com_android_mms_",
"com_android_music_",
"com_android_phone_",
"com_android_providers_calendar_",
"com_android_providers_downloads_ui_",
"com_android_quicksearchbox_",
"com_android_settings_",
"com_android_wallpaper_",
"com_cooliris_media_",
"com_google_android_apps_genie_geniewidget_",
"com_google_android_carhome_",
"com_google_android_gm_",
"com_google_android_googlequicksearchbox_",
"com_google_android_talk_",
"net_cactii_flash2_"
Let me know if I'm missing anything.
Click to expand...
Click to collapse
Damn, that was fast! I'm diving in to try it out! Your awesome!
DarkGingered CM7 G2x sent this with the DarkXDA app!
djdarkknight96 said:
Damn, that was fast! I'm diving in to try it out! Your awesome!
DarkGingered CM7 G2x sent this with the DarkXDA app!
Click to expand...
Click to collapse
Test this please, I would myself but I have nothing to test it on

[Discontinued]Miui port

Hello!
Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.
This is what we're using so far: MIUI for Desire & Overflow ROM
So far this has been done:
ADB now working
Merged framework.jar from base rom with MIUI one
Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
Use libs, bin and xbin from base rom
Merged permissions
[Update 9.07.2011 - 17:48 GMT+3 DST]
Now using framework from CM7
Libs, and bins from CM7
Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
No more nasty error on boot (with stack dump and stuff...)
No need for logcat now because errors come from framework
[Update 11.07.2011 - 15:32 GMT+3 DST]
MIUI boots up and we have graphics BUT
It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
Gapps, Provision, and StatusBar force close so they need work
Removed ContactsProvider.apk and CalendarProvider.apk
[Update 14.07.2011 - 10:58 GMT+3 DST]
Fixed framework.jar - no more errors seem to come from it
New zip not made on mac so no low memory errors
New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
All apps are back because the errors don't come from them
[Update 28.07.2011 - 18:53 GMT+3 DST]
Added dalvik-cache to /cache script
New zip with init.d script and updated framework
Need to fix dead code in framework
Need new kernel
Need MDPI apks
Need libs that don't make the apks crash
Latest flashable zip:
http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth
(DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...
If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...
This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
4silvertooth
jazux
DJoptimus-One
Also i would like to thank overflow for his rom. It's the base for our miui so far.
Fantastic news! I can't wait too see how this works out. Good luck, you're gonna need it!
look forward to.
Thanks popdog
Will get into works as soon as i get my laptop back
Great news!
Waiting for testing release!
wow ! MIUI for o1 ?
oh sh*t this is what i've been waiting for so long !
looks good ill be happy to help, just ask for now im looking the motorola dump... maybe theres something that will help my team on galaxy 3 but anyway i subscribed tol this thread
EDIT: damn that motorola dump is useful, already found many, many tweaks thanks a million times for 4silvertooth
Hey can we use pastebin.com for all the logs.. it will be convenient and easy.
Sent from my LG-P500 using XDA Premium App
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
popdog123 said:
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
Click to expand...
Click to collapse
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
About the log.
The error so.lcddensity(something) is in build.prop you have to add it, it's using 160 by default.
All the missing class will have to be taken from the decompiled framework.
Sent from my LG-P500 using XDA Premium App
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Breaking news of the day! I'll one of the first tester Keep going, heroes!
popdog123 said:
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Click to expand...
Click to collapse
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Great news!
4silvertooth said:
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
+1 for this, it would be easier to download for people with a slow connection like me.
ok ok... will do that... but for now we have to make a good base to start off of...
4silvertooth said:
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Whaaat???
Nice to see another dev porting some other firmwares to our phone if you want help then I'm in
Sent from my LG Optimus One P500 using XDA Premium App
jazux said:
Whaaat???
Click to expand...
Click to collapse
Never mind back to that later.
Sent from my LG-P500 using XDA Premium App

[Tool] BlendMIUI Speed-Porting Software [V04.7] [Add NEO V][Fully working Auto-Flash]

Since I don't have much time to keep on updating my BlendMIUI so I decided to writte a program to give you guys the chance to build BlendMIUI for your own with latest MIUI sources in just few minutes!
Q:What is BlendMIUI Speed-Porting Software For XPERIA 2011
Ans:This is a short program trying to help you guys to build your own BlendMIUI rom for Xperia 2011 in just few minutes.
Q:How to use it?
Unlock Bootloader first!
1.Download BMSPS(BlendMIUI Speed-Porting Software) then unpack it to anywhere you like(Windows environment).Btw,you should install JAVA SE JRE first or it won't works because it needs JAVA environment to sign the rom.You can goto oracle.com/java to download the latest Java SE JRE.
2.Download latest MIUI rom for Desire HD from miui.us(or anywhere you want).
3.Rename the rom you just downloaded as MIUI.zip then put it into BMSPS/MIUI_DHD_ROM directory.(Do not rename it as MIUI.zip.zip!)
4.Run BMSPS_luancher.exe to start.
5.Do as follows then it will automatically create update.zip under the BMSPS directory.
Then you have two choices:
=>Help youself:
6.Put the update.zip rom to your SD-card.
7.Flash BlendMIUI kernel(I have put it into \BlendMIUI-kernel directory) or DooMKernel for MIUI.
8.Use CWM-recovery to flash the update.zip rom.
=>Use Auto-Flash Function
You don't need to do anything on your phone,it will help you to do all works automatically and boot into the new system!
Features:
1.Support Devices: Xperia Arc,Xperia Arc S,Xperia NEO,Xperia NEO V,Xperia Ray.
2.Latest CM7.2.0 rebuilted sources as base.
3.Automatically port MIUI for your device then output unpdate.zip and sign the rom to let you flash it into your device directly.
4.Your choice Function (addons)
5.Fully working Auto-Flash Function
P.S: CM7 sources and kernel for XPERIA RAY are come from bheremans.
Changelog for Version 02:
1.Add moded Packageinstall to let you chose where you would like to install your apps including SD-card.
2.Fixed function to remind you to install java-jre if update.zip is not created.
3.Small changes.
Changelog for Version 03:
1.Fixed PackageInstaller and Torch FC problem when using the ROM from www.miui.com as base.
2.Automatically recognize MIUI version (Depends on the MIUI rom you use) and change Build version for porting rom.
3.Add "Your Choice" function to help you customize your own BlendMIUI rom(BlendUI,DSPManager,Tweaks,Audios from SE).
4.[For DEVs] Whole-New Source code:More easy to read,more easy to add new language(I mean the BMSPS itself) and new functions.
Changelog for Version 04:
1.Disable echoing information for better display.
2.Fixes and improve performance of BMSPS.
3.Add "Auto-Flash" function to help you flash BlendMIUI automatically
Changelog for Version 04.3:
1.Add Xperia Ray ST18i support(All sources for Xperia Ray are come from bheremans).
2.Fixed Auto-Flash function.
3.Fixed ADB Detective bug which cause the software stuck at entering into Auto-Flash function when you input "yes".
Changelog for Version 04.7:
1.Add Xperia Neo V support.
2.Fully working Auto-Flash function (You don't need to do anything on your phone now until it boots into the new system.BMSPS will help you to do everything automatically.)
3.Some small changes
WARNING:This is not an update-package and you'd better delete all old files if you have installed early version of BMSPS.
Make sure you have unlocked bootloader before using this tool.Baseband 56 is recommanded.
Download links:
BMSPS V04.7: http://www.mediafire.com/?4xxna5rim6txmmn
Latest Source Code @ github.com/JasonStein
[Credit]
Bheremans,Eamars,FXP,DooMloRd,enzo...
Please report bugs with screenshots!
Great...!!!
Only one question...!!! What about the kernel...???
great tool !
Now everyone can make his own personal miUI !
thanks man
adiktz said:
Great...!!!
Only one question...!!! What about the kernel...???
Click to expand...
Click to collapse
here is what he said for the kernel.
7.Flash BlendMIUI kernel(I have put it into \BlendMIUI-kernel directory) or DooMKernel for MIUI.
Click to expand...
Click to collapse
Sounds so cool! thanks
Just tried it for 1.11.18 and it works perfectly, a million thanks!
EDIT:
Because I'm lazy and I don't wanna boot into Win7 each time (I just have it for gaming), I compiled the BMSPS_launcher for use on my Fedora installation. I thought I'd upload it here, if anyone else using Linux wants to give it a try.
You just need the zip and unzip packages installed, in addition to the pre-requisites mentioned by Jason.
I attached the modified source file and the binaries for 32 and 64-bit installations.
@Jason: I hope this is fine with you. If not, let me know and I'll remove them. Thanks again for all your work.
Wow! So nice of you guy.
Sent from my LT15i using XDA App
crimilde said:
Just tried it for 1.11.18 and it works perfectly, a million thanks!
EDIT:
Because I'm lazy and I don't wanna boot into Win7 each time (I just have it for gaming), I compiled the BMSPS_launcher for use on my Fedora installation. I thought I'd upload it here, if anyone else using Linux wants to give it a try.
You just need the zip and unzip packages installed, in addition to the pre-requisites mentioned by Jason.
I attached the modified source file and the binaries for 32 and 64-bit installations.
@Jason: I hope this is fine with you. If not, let me know and I'll remove them. Thanks again for all your work.
Click to expand...
Click to collapse
Sure,go ahead,it would be much convenient to Linux users.
Btw I have updated my latest sources on github and I will keep on adding more functions to BMSPS.
crimilde said:
Just tried it for 1.11.18 and it works perfectly, a million thanks!
EDIT:
Because I'm lazy and I don't wanna boot into Win7 each time (I just have it for gaming), I compiled the BMSPS_launcher for use on my Fedora installation. I thought I'd upload it here, if anyone else using Linux wants to give it a try.
You just need the zip and unzip packages installed, in addition to the pre-requisites mentioned by Jason.
I attached the modified source file and the binaries for 32 and 64-bit installations.
@Jason: I hope this is fine with you. If not, let me know and I'll remove them. Thanks again for all your work.
Click to expand...
Click to collapse
Btw you can compiled it for Linux and pack whole things into an package like what I did and give me the download link so that I can attach it to my post.
crimilde said:
Just tried it for 1.11.18 and it works perfectly, a million thanks!
EDIT:
Because I'm lazy and I don't wanna boot into Win7 each time (I just have it for gaming), I compiled the BMSPS_launcher for use on my Fedora installation. I thought I'd upload it here, if anyone else using Linux wants to give it a try.
You just need the zip and unzip packages installed, in addition to the pre-requisites mentioned by Jason.
I attached the modified source file and the binaries for 32 and 64-bit installations.
@Jason: I hope this is fine with you. If not, let me know and I'll remove them. Thanks again for all your work.
Click to expand...
Click to collapse
I have checked your file,there is a mistake:
Code:
if( Device==1 )
{
chdir("DATA/LT15i/");
system("zip -r -u ../../temp.zip *");
}
should be:
Code:
if( Device==1 || Device==2)
{
chdir("DATA/LT15i/");
system("zip -r -u ../../temp.zip *");
}
Cuz LT15i & LT18i share most files
WOW really thanks i just updated my BlendMIUI it works like a charm !
thank you soo much
Edit: Thanks for adding DSPManager !! ^_^
it works soo great on my ARC !!
JasonStein said:
I have checked your file,there is a mistake:
Code:
if( Device==1 )
{
chdir("DATA/LT15i/");
system("zip -r -u ../../temp.zip *");
}
should be:
Code:
if( Device==1 || Device==2)
{
chdir("DATA/LT15i/");
system("zip -r -u ../../temp.zip *");
}
Cuz LT15i & LT18i share most files
Click to expand...
Click to collapse
Ooops, you're right, I must've deleted it by mistake. Thanks for pointing it out!
I'll recompile the thing tomorrow morning and send you the package.
Sent from my LT15i using xda premium
Is there any way to edit this rom to something we want like which APKS are installed and default launcher that kinda stuff?
this is great. it would be accelent if i could chose the language that i whant to install instead of english(not in the cmd window, but for the ROM itself).
can you make a feature for this? only then you will not only be A king you will be THE king.
@Jason: Ok so I've compiled the v2 you posted for Linux 32bit/64bit and archived the whole thing:
EDIT: Reuploaded
http://www.mediafire.com/?9uemvociipaopnn
PS - the source code is attached to the post for your reference. I commented out the Windows-specific lines (instead of deleting them) and put the Linux version below for an easier comparison.
Just one thing, I noticed that even if the update.zip was properly signed and created, the program would still display "5. Failed!" but then clear the screen and show that update.zip was successfully created...
I added an extra condition like below in the Show_Progress function and now it's fine:
Code:
if( i==5 && Step==5 && Out_Check()==0 ) printf("Failed!\n");
crimilde said:
@Jason: Ok so I've compiled the v2 you posted for Linux 32bit/64bit and archived the whole thing:
http://www.mediafire.com/?8vz0xxpyq69afo3
PS - the source code is attached to the post for your reference. I commented out the Windows-specific lines (instead of deleting them) and put the Linux version below for an easier comparison.
Just one thing, I noticed that even if the update.zip was properly signed and created, the program would still display "5. Failed!" but then clear the screen and show that update.zip was successfully created...
I added an extra condition like below in the Show_Progress function and now it's fine:
Code:
if( i==5 && Step==5 && Out_Check()==0 ) printf("Failed!\n");
Click to expand...
Click to collapse
Yes,I made a little mistake:
Code:
void Sign_Rom()
{
Show_Progress(4);
system("java -jar signapk.jar testkey.x509.pem testkey.pk8 temp.zip update.zip");
system("del temp.zip");
Show_Progress(5); // Delete this line!!!
}
Code:
Show_Progress(5);
shouldn't be there.Just remove this line and it will be fine.
I will keep on updating my source code to add more useful functions to give you more choices and let it become not only a speed-porting software but also an MIUI rom customization tool.The early version of BMSPS is quite short with some basic functions and it's not written in a standard way.I'm going to do some changes and if you like to contribute to it,you can always fork my source code and add your own things including some useful functions and I will be appreciate.
P.S:
I will release next version of BMSPS with some useful functions before MIUI 1.11.25 released.
JasonStein said:
Yes,I made a little mistake:
Code:
void Sign_Rom()
{
Show_Progress(4);
system("java -jar signapk.jar testkey.x509.pem testkey.pk8 temp.zip update.zip");
system("del temp.zip");
Show_Progress(5); // Delete this line!!!
}
Code:
Show_Progress(5);
shouldn't be there.Just remove this line and it will be fine.
Click to expand...
Click to collapse
Yeah, you're right, it's better to just remove that line instead of adding an extra condition. I'm reuploading now and I'll update the link in my post above once it's done.
crimilde said:
Yeah, you're right, it's better to just remove that line instead of adding an extra condition. I'm reuploading now and I'll update the link in my post above once it's done.
Click to expand...
Click to collapse
And it's done.
Thanks. Updated the MIUI to the latest version. This is so awesome

Help needed to build ICS

Hi!
Im trying to build ICS rom but i got this error and cant complete the compile.
host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1
someone can help me?
thanks
__________________
DJ
Sent from my LG-P970 using XDA App
amit007us said:
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
what is this?
what instruction are you using?
Have you check the path?
It said "cannot find"
Is the path exist?
Sent from derp-mobile
Maybe this command is wrong? -lz or like agent said, the path might be incorrect...
You need zlib.
Oh yeah, google tells the same Here is the solution:
Code:
sudo apt-get install zlib1g-dev
Hope you can make it soon
Here another solution: http://stackoverflow.com/questions/3373995/usr-bin-ld-cannot-find-lz
Goodluck porting it bro
Thank you guyz i will try all of your ideas... anyway i installed zlib but doesnt work. Maybe i need uninstall and install it again. The prob is ive never used ubuntu before but im gonna try hope i can do it. I will post here the results!
Sent from my LG-P970 using XDA App
donjamal said:
Thank you guyz i will try all of your ideas... anyway i installed zlib but doesnt work. Maybe i need uninstall and install it again. The prob is ive never used ubuntu before but im gonna try hope i can do it. I will post here the results!
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
Goodluck !
host StaticLib: libpng (out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt]
still got it
i installed everything
You need zlib, yes, but development package of zlib. Your problem is that the linker (ld) cannot find z library to compile the source.
Sent from my LG-P970 using XDA App
First, you didn't mention what version of your Ubuntu, 32/64bit? But AFAIK 32bit won't work, so it can only built with 64bit Ubuntu based. Many tutorial how to prepare build environment, so what to do first is to make sure that all component/library are prepared...
http://forum.xda-developers.com/showthread.php?t=1354865
http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/
http://forums.androidcentral.com/hacking/144804-how-compile-ics-aosp-4-0-3-xoom-gnex-nexus-s.html
Last words, GOOD LUCK mate..
setting up a building machine
To set up the building machine I've used this script by Treken this might help link
hmmmm. great news
wish all the best
Thaks guyz, but non of the methods worked, so reinstall the whole ubuntu and im gonna make it again
one question.. ubuntu 11 or 10 64bit?
runtime_Err0r said:
You need zlib, yes, but development package of zlib. Your problem is that the linker (ld) cannot find z library to compile the source.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
If it gets to the linker, then the headers are already there - the development package is most likely installed.
What you need is the 32 bit zlib if you're on 64 bit.
Did you also try this here:
Code:
sudo apt-get install lib32z1-dev
???
Use the script to set up the building enviroment I posted, it works on ubuntu10.04 and 11.10 and also for 64 and 32 bits OSes

[DEV][7/17][FIXES + FASTER] Jellybean - Collab (less broken stuff)

It's important for everyone to know that since this is a development thread, most, if not all conversation should be dedicated to helping us boot the ROM. All questions related to and including "will our device be able to handle Jellybean?" should be moved to the following thread: http://forum.xda-developers.com/showthread.php?t=1736089
Our biggest problem so far: There are incompatibilities with Jellybean and the Adreno drivers, which our phone needs to function. We can't just remove the Adreno drivers and boot the ROM (I tested this, by removing them from our latest CM9 nightly, which wouldn't boot as a result. I also removed the Adreno drivers and used the Jellybean ramdisk, framework, libs, and bin files but still no boot.).
PureMotive's port
I booted my source-built Jellybean.
Status: ALPHA
Working
Root
ADB
3G
WiFi
Calls (outgoing and incoming)
Signal
UI
Soft keys + lights
RIL
GPS
Brightness settings
Sync
SMS
MMS
Gmail
Gtalk
Twitter
Facebook
Audio
Downloads
Native screenshot (should work now)
Google Now
Untested
Video
Bluetooth
Camera
Broken
Butter
Browser (default)
HWA
Click to expand...
Click to collapse
Albinoman's port
Check his thread located here
Click to expand...
Click to collapse
PORTING FILES:
Code:
Jellybean SDK: [URL]http://d-h.st/EUH[/URL]
Jellybean Ramdisk: [URL]http://d-h.st/XhF[/URL]
Boot.img used in Tiny's port: [URL]http://d-h.st/a0C[/URL]
Vicious Jellybean (VZW GNex port): [URL="http://rootzwiki.com/topic/28486-rom-vicious-toro-jellybean-v3-100-functional-franco-kernel-beats-audio-mods-optimized-link-in-op-for-stock-kernel-added-112am-06302012/"]Vicious Jellybean[/URL]
On vacation. When I get back next week I'll check it out
Sent from my unrootable DROID2
where the hell is the ramdisk
Just wanted to mention my scan of the ramdisk the other night didn't lead to anything conclusive. I checked real quick yesterday I think but didn't really have time to look in depth. I didn't see a problem with the way the system mounted so something else is causing it. I'm trying to port it right now. We'll see what happens.
Maybe I should give it a try.
How about paste bin a logcat?
Here is my current logcat
http://paste.ubuntu.com/1074131/
Sent from my Droid Incredible using xda premium
Shano56 said:
where the hell is the ramdisk
Click to expand...
Click to collapse
Posted in the OP.
PonsAsinorem said:
How about paste bin a logcat?
Click to expand...
Click to collapse
We cannot get a logcat with the Jellybean ramdisk, even with these edits to default.prop:
Code:
persist.sys.usb.config=mass_storage,adb
persist.service.adb.enable=1
persist.sys.strictmode.disable=true
persist.service.adb.root=1
ro.secure=0
ro.allow.mock_location=1
ro.debuggable=1
service.adb.root=1
The error that follows is this:
Code:
'system/bin/sh' failed no such file or directory
Adding a "sh" file to /bin results in other errors (don't have them right now)
The only way a logcat will work is if we use the ramdisk from a CM9 ROM in addition to the CM9 libs.
PureMotive said:
Posted in the OP.
Click to expand...
Click to collapse
hehe now u post it. ty
edit: i thought you needed it extracted
PureMotive said:
Posted in the OP.
We cannot get a logcat with the Jellybean ramdisk, even with these edits to default.prop:
Code:
persist.sys.usb.config=mass_storage,adb
persist.service.adb.enable=1
persist.sys.strictmode.disable=true
persist.service.adb.root=1
ro.secure=0
ro.allow.mock_location=1
ro.debuggable=1
service.adb.root=1
The error that follows is this:
Code:
'system/bin/sh' failed no such file or directory
Adding a "sh" file to /bin results in other errors (don't have them right now)
The only way a logcat will work is if we use the ramdisk from a CM9 ROM in addition to the CM9 libs.
Click to expand...
Click to collapse
I got a port booting with your jellybean ramdisk. It won't go far but I'm about to provide a logcat after testing some changes. Toolbox and busybox work. I ported from the gnex. No boot screen but it does start to load files. Maybe you guys can figure it out from here. I'll upload it and my logcat after I test my zip.
Logcat linked below:
http://paste.ubuntu.com/1075642/
Initial Port Below:
http://d-h.st/shx
Upload!!!! Lol
Sent from my Droid Incredible using xda premium
tiny4579 said:
I got a port booting with your jellybean ramdisk. It won't go far but I'm about to provide a logcat after testing some changes. Toolbox and busybox work. I ported from the gnex. No boot screen but it does start to load files. Maybe you guys can figure it out from here. I'll upload it and my logcat after I test my zip.
Logcat linked below:
http://paste.ubuntu.com/1075642/
zip file coming next.
Click to expand...
Click to collapse
Did you use the ramdisk from the OP or the boot.img I sent you? I got it to the point where it would load the framework .jar files, but haven't encountered what you did in your logcat so I'd consider it progress lol. Seems to be an issue with EGL...
EDIT: Nevermind lol
The error that follows is this:
Code:
'system/bin/sh' failed no such file or directory
Adding a "sh" file to /bin results in other errors (don't have them right now)
Sounds to me like you are missing /bin/mksh either in ROM or in symlink in updater
Sent from my PG06100 using xda premium
Just wanted to first of all say thanks for this - it's awesome that this is even being worked on. We have such an awesome dev community. Secondly, just wanted to offer my support in any way possible. I don't have a lot of experience with porting Android, but I do have pretty good Linux system knowledge and a willingness to experiment. Downloading tiny's build now, going to mess around with some system files and see what happens. Thanks again guys!
Cm is going to working on cm10.
http://briefmobile.com/cyanogenmod-cm10-coming-with-jelly-bean-source-code-release
Sent from my ADR6300 using xda app-developers app
tiny4579 said:
I got a port booting with your jellybean ramdisk. It won't go far but I'm about to provide a logcat after testing some changes. Toolbox and busybox work. I ported from the gnex. No boot screen but it does start to load files. Maybe you guys can figure it out from here. I'll upload it and my logcat after I test my zip.
Logcat linked below:
http://paste.ubuntu.com/1075642/
Initial Port Below:
http://d-h.st/shx
Click to expand...
Click to collapse
Hey tiny4579 could you post what you changed/added in your build?
Albinoman said:
Hey tiny4579 could you post what you changed/added in your build?
Click to expand...
Click to collapse
I don't remember quite what I did and I'm not in a position to test but what if you take evervolv as a base and replace the app and framework folders with the ones from my port and the boot.img with the one from the port. It probably won't work by a long shot but at least it's worth a try.
Sent from my Galaxy Nexus using Tapatalk 2
I see progress! I will download your port right now and see what I can help you with.
tiny4579 said:
I don't remember quite what I did and I'm not in a position to test but what if you take evervolv as a base and replace the app and framework folders with the ones from my port and the boot.img with the one from the port. It probably won't work by a long shot but at least it's worth a try.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I'll try that later today. What version of evervolv are you using?
Sent from my Droid Incredible using xda premium
Albinoman said:
I'll try that later today. What version of evervolv are you using?
Sent from my Droid Incredible using xda premium
Click to expand...
Click to collapse
I was testing with 2.2.0a1.
Sent from my Galaxy Nexus using Tapatalk 2

Categories

Resources