[Discontinued] Unified Chargemon [Please Read All Mini Pro Users] - Sony Ericsson XPERIA X10 Mini

This was discontinued, now you can just flash CWM recovery, it have Unified Chargemon

Good work

thank you for ur work!
this is really required as there doesnt seem to be any consistency in the 'boot hijack' script (/system/bin/chargemon) used on different roms
there is a real need for such a unified chargemon
THANKS AGAIN!

why 2 zips man!
well to be honest made me laugh xD
unified and 2 zips looked into them and why not make 1 zip?
change this line
if [ -f /system/custom.bin ]; then
to something every cm rom have!
if [ -f /system/etc/CHANGELOG.txt ]; then
this way it will look more unified xD
PD: i don't know for sure the file is called changelog.txt
it is something with changelog inside the /system/etc folder
and i know every cm rom have it!

owain94 said:
why 2 zips man!
well to be honest made me laugh xD
unified and 2 zips looked into them and why not make 1 zip?
change this line
if [ -f /system/custom.bin ]; then
to something every cm rom have!
if [ -f /system/etc/CHANGELOG.txt ]; then
this way it will look more unified xD
PD: i don't know for sure the file is called changelog.txt
it is something with changelog inside the /system/etc folder
and i know every cm rom have it!
Click to expand...
Click to collapse
if [ -f /system/etc/CHANGELOG-CM.txt ]; then
Done, thanks owain, you allways with better ideas will upload zip

D4rKn3sSyS said:
if [ -f /system/etc/CHANGELOG-CM.txt ]; then
Done, thanks owain, you allways with better ideas will upload zip
Click to expand...
Click to collapse
you are welcome mate

I just dont understand... why is this so useful? I already read that make a dev life better... and Im more than ok with that and I will flash this at this moment... but I really like if u explain me more this...
Note: If this is so usefull.. why dont u put this in every roms and flash "automaticly" (sry, i dont remember how to writte this xD)... i mean if we just need to flash that... include in your own rom and thats it...

ocovarr112 said:
I just dont understand... why is this so useful? I already read that make a dev life better... and Im more than ok with that and I will flash this at this moment... but I really like if u explain me more this...
Note: If this is so usefull.. why dont u put this in every roms and flash "automaticly" (sry, i dont remember how to writte this xD)... i mean if we just need to flash that... include in your own rom and thats it...
Click to expand...
Click to collapse
I already added it to my rom

D4rKn3sSyS said:
I already added it to my rom
Click to expand...
Click to collapse
Maybe i am stupit but google can also not tell me what and for what it is.
Can you explane ?
MiKa

D4rKn3sSyS said:
*This will NOT add any feature or something like that, it's only for make easier the work of some devs
Click to expand...
Click to collapse
It's on the first post

D4rKn3sSyS said:
It's on the first post
Click to expand...
Click to collapse
I read that but what wil be easyer for the dev's..

mika-nl said:
I read that but what wil be easyer for the dev's..
Click to expand...
Click to collapse
Developing apps, identifying device.. etc etc etc

Related

[Support 4 All] Flashable ZIP File Request

Hello There Guy's
I Had An Idea ... Sometimes we delete files that were not meant to be deleted
u can a make a zip file to be flashed with that file in order to put the file back were he belongs ... Saving some time in restoring a backup or re-flashing ROM
Or ... U just Simply need that file to be flashed, problem is ... many of us dont know how
And for those u dont know how I'm opening this post!
Just Send Their Requests and i'll make a flashable zip of those files and posting them here in order to help other's tat may need it aswell!
I'll be making this in a Daily Bases ... So ... Fire Way With Requests
Note: Only System Files Can Be Requested
Note 2: Done Requests Will Be Added On 2nd Post
Note 3: To Flash Zip Files You'll Need CWM Recovery And Root ( Files For Both Things Can Be Found On Attachment
Installation Notes:
Flash (From Stock Recovery) Root.zip and then CWM.zip
Center Clock ( CM7 ) - | LINK |
Good initiative
Sounds like a good idea, but surely you can just extract any missing files from a ROM Zip.
Sent from my GT-S5830 using Tapatalk 2
NathanBookham said:
Sounds like a good idea, but surely you can just extract any missing files from a ROM Zip.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
True! but my intent on this is help the folks that dont know how
And save them a re-flash or a restore
Sent from my GT-S5830 using xda premium
hey can i get the center clock flashable zip for cm7 roms ?
thanks
edit :for de-odexed ones....i m using cm7.2 by T.A. right now
-RDR- said:
hey can i get the center clock flashable zip for cm7 roms ?
thanks
Click to expand...
Click to collapse
What CM7 ROM. Please specify so they'll know.
Shadow xD said:
What CM7 ROM. Please specify so they'll know.
Click to expand...
Click to collapse
Doesn't matter,they all have the same file structure.
@snow,nice initiative
Sent from the year 3000 using a SGA where sheep's are not present.
-RDR- said:
hey can i get the center clock flashable zip for cm7 roms ?
thanks
edit :for de-odexed ones....i m using cm7.2 by T.A. right now
Click to expand...
Click to collapse
Can u give me the specific files ? So i can be accurate at what i'm doing ?
SnowPluralism said:
Can u give me the specific files ? So i can be accurate at what i'm doing ?
Click to expand...
Click to collapse
Lol man ......do u want the systemui.apk? ?? ...I wanted Tht zip which everyone had ( even I had ...now its deleted ) before centre clock was implemented by default in cm7 Roms .....well I guess u can ignore my request
-RDR- said:
Lol man ......do u want the systemui.apk? ?? ...I wanted Tht zip which everyone had ( even I had ...now its deleted ) before centre clock was implemented by default in cm7 Roms .....well I guess u can ignore my request
Click to expand...
Click to collapse
I'll do it ... I just didint want to download a rom for one file
Sent from my GT-S5830 using xda premium
-RDR- said:
Lol man ......do u want the systemui.apk? ?? ...I wanted Tht zip which everyone had ( even I had ...now its deleted ) before centre clock was implemented by default in cm7 Roms .....well I guess u can ignore my request
Click to expand...
Click to collapse
Added to 2 Post
SnowPluralism said:
Added to 2 Post
Click to expand...
Click to collapse
cool ! :good::good::good::good:
thanks a lot
Is it possible to make a flashable zip file so that battery is shown in percentege instead of an icon in stock roms like cm roms?
situ1962 said:
Is it possible to make a flashable zip file so that battery is shown in percentege instead of an icon in stock roms like cm roms?
Click to expand...
Click to collapse
yes it is .....u didnt tell your rom .....its possibly in stock roms....
use UOT kitchen ....or ask snowpluralism

Custom ROMs for ICS on Wave 1 ? If Any ?

Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
danishprakash said:
Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
Click to expand...
Click to collapse
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Soxix said:
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Click to expand...
Click to collapse
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
All are Under ubuntu ? or ..
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
Mounting the img file needs Linux (you need something like mount -t ext2 -o loop polishblood_Nightlyi1.img ../the_folder_you_created_for_mountpoint) but if you just want to make smaller modifications (eg. replacing one apk, or editing some configfile) adb on Windows is enough. If you use my kernel then you will have write access to /system, too.
As a "proof of concept" I "ported" a firmware from Galaxy S (AOKP). You can experiment with it, just replace the polisblood_Nightly1.img (and preferably replace data.img and cache.img with the original ones.)
Here you are:
http://dl.dropbox.com/u/27419363/polishblood_Nightly1.img
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1702861
WinHex can open and extract files/folders from *.img ...
https://dms.ospserver.net/v1/device...?pkgID=FW-20120626-14658&service=fumo&wrkID=W
To build... not tested yet... But I think also more Windows Tools exists...
But for starting research WinHex is enough.
Best Regards
Thanks For your Replies
I have mounted polishblood_Nightly1.img using "sudo mount -o loop polishblood_Nightly1.img ../android"
and added some .apk files to the app folder....now how to unmount..???
umount ../android
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Nitesh19 said:
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Click to expand...
Click to collapse
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
anghelyi said:
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
Click to expand...
Click to collapse
is there any tut for this???
where to find scripts???
all under ubuntu????
thx :good:
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
Could you tell me how you did that?

Need Help with update-script

Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
gavster26 said:
Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
Click to expand...
Click to collapse
just give me the updater script. file
here it is thanks
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
sandy7 said:
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
ok i'll try thanks
mihahn said:
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
Click to expand...
Click to collapse
i think i'll just give up i'm no dev lol
my next attempt still cant get it right please someone help me
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
sandy7 said:
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
Click to expand...
Click to collapse
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
gavster26 said:
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
Click to expand...
Click to collapse
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Wechy77 said:
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Click to expand...
Click to collapse
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
gavster26 said:
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
Click to expand...
Click to collapse
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Wechy77 said:
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Click to expand...
Click to collapse
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
gavster26 said:
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
Click to expand...
Click to collapse
delete extension
but the best way is open one of the updater-script (download any flashable zip) and edit with notepad++
(be sure you edit with notepad++ othervise you will see status6 error when flashing)

Perfect repair, JB, led bar, tutorial

The tutorial is very simple,
First of all I would like to thank @NoobCoder, IF script, although is wrong! But I want to thank him!
1: unpacking the kernel, in init.rc
Search
Set this property so surfaceflinger # is not started by system_init
Setprop system_init.startsurfaceflinger 0
Let's add
# xiangxin: fix LED
Start data_restore
Then in the last added
# Xiangxin: FIX LED service
Service data_restore /sbin/data_restore.sh
User root
Oneshot
Disabled
OK, init.rc is corrected, download the attachment to data.tar, data_restore.sh
Added to the kernel, the /sbin directory!
The attachment of the system directory into your ZIP package!
OK tutorial end!
xx214718247 said:
Please moderator, don't move this post, I just write my method! Please stay one day!
Download the attachment, there is a modified file and not modified files!
Click to expand...
Click to collapse
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Little Zed said:
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Brother, you really fast!
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
jb! ics works natively because it's official from sony!
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
he worked only for stock...so i believe stock 4.1
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
kantry123 said:
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Kernel maker, added to the kernel? My accessory, which is not a comparison?
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Yes, restart, manual setting! If you can find a better way, please tell me, or have a better idea, please tell me? Thank you
NoobCoder said:
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
Click to expand...
Click to collapse
At present, I have no better way, let him after the restart does not need to be manually set? You study? If you can, please tell me?
is this ready to flash ?
i tried and says installation aborted
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
sv2hqx said:
is this ready to flash ?
i tried and says installation aborted
Click to expand...
Click to collapse
No. This is a kernel authors!
xx214718247 said:
No. This is a kernel authors!
Click to expand...
Click to collapse
ok
didn't know
xx214718247 said:
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
Click to expand...
Click to collapse
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
I will try! Thank you very much
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
Brother, your statement should not!
if [ -e /data/light_themes ]
then
# do nothing
exit
else
/sbin/busybox rm -r /tmp/data.tar
/sbin/busybox cp /sbin/data.tar /tmp/data.tar
busybox tar zxvf $tar_file
fi

How to build custom rom as system.img file (not .zip) ?

[SOLVED]
Is there a tool/tutorial which explain how to build a custom rom in the form of .img file (system.img) and not zip file for phone which don't have custom recovery ?
I saw a lot of kitchen which build zip but not a single one which build .img file with proper permission/ownership/selinux label.
The same for tutorial...
Thanks.
[SOLVED]
I see... when it's about zip file for kiddo on samsung phone, there is people.
When it's about real stuff, there is nobody anymore.
w1nst0n sm1th said:
I see... when it's about zip file for kiddo on samsung phone, there is people.
When it's about real stuff, there is nobody anymore.
Click to expand...
Click to collapse
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.
casual_kikoo said:
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.
Click to expand...
Click to collapse
Oh yes, what a coincidence.
By the way i found :
http://forum.xda-developers.com/showthread.php?t=1974014
ext2simg may be usefull or not according the implementation of ext4 in android... --> Test needed.
Before flashing, make a dump file [dd] of current fs and convert it with ext2simg. Flash it back with fastboot if things go wrong. [Tested]
Udate
I was able to flash a personnal remix os custom rom, rooted with init.d support [the init.rc hook] and busybox preinstalled [but need to be finaized in android].
ext2simg is a necessity since fastboot doesn't support native ext4 format.
casual_kikoo said:
Oh my god I never see someone so disrespectful on XDA. Well, when I saw your first post, I would have been happy to help you, but you second post cooled me.
Search by yourself.
Click to expand...
Click to collapse
Pretty mature reaction there................. not.
barbi_bimbo said:
Pretty mature reaction there................. not.
Click to expand...
Click to collapse

Categories

Resources