[Q] CM Flare S100/Karbon A9+ rom dumping - Android Q&A, Help & Troubleshooting

I'm developing my first own rom in CM Flare S100/Karbon A9+, and i want to dump the system.img/recovery.img/boot.img to make a flashable zip for it.
I saw this way on how to dump, but i dont know what's the block names of my phone model
adb shell
su
dd if=/dev/block/mmcblk??? of=/sdcard/system.img
dd if=/dev/block/mmcblk??? of=/sdcard/recovery.img
dd if=/dev/block/mmcblk??? of=/sdcard/boot.img
Click to expand...
Click to collapse

UP
iamjaepii said:
I'm developing my first own rom in CM Flare S100/Karbon A9+, and i want to dump the system.img/recovery.img/boot.img to make a flashable zip for it.
I saw this way on how to dump, but i dont know what's the block names of my phone model
Click to expand...
Click to collapse
someone?

Related

Modem for AT Command

Hi All
someone knows where is the modem in ls /dev??
In my Ideos Huawei it is in ls /dev/smd7.
I want try to send AT Command using the Terminal Emulator.
Best.
the same Q!
alextreme said:
Hi All
someone knows where is the modem in ls /dev??
In my Ideos Huawei it is in ls /dev/smd7.
I want try to send AT Command using the Terminal Emulator.
Best.
Click to expand...
Click to collapse
May there be someon can help~~~:angel:

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?

[REQ][ICS][GSM] Notification Drop Down Toggles

Hi
I loved the drop down toggles on Epsilon rom and I was wondering if any dev by any chance could make one for stock GSM razr ics? That would be awesome because the you cant get rid of the notification icon on the apps that is in the market. I would really appreciate that and I hope it's not that big of a problem. A recovery zip that is compatible with bootmenu 0.2.7(the latest version on market) and something in the style of the epsilon rom clean and goes with motoblur stock? http://miralaonline.net/images/7g2av.png
Thank you!
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
FrAsErTaG said:
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
romdroid. said:
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
Click to expand...
Click to collapse
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
sevenup30 said:
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
Click to expand...
Click to collapse
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
romdroid. said:
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
Click to expand...
Click to collapse
i don't know if it will work, i never tried, it's a little bit complicated to make it working, if you never mod APK it's hard to do it.
oh OK I'll check if I am de-odex or not but I hope this thread can stay here so maybe someone can make flashable zip for official ICS releases:good:
and maybe someone can make flashable file for odexed?
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
romdroid. said:
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
Click to expand...
Click to collapse
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
sevenup30 said:
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
Click to expand...
Click to collapse
Thanks. Found this guide -> http://technologic101.wordpress.com/2012/07/24/tutorial-how-to-deodex-a-stock-android-rom/
Is it that way you de-odex the system and is the guide according to your knowledge also compatible with RAZR?
it seems to be fine, i worked for ics
sevenup30 said:
it seems to be fine, i worked for ics
Click to expand...
Click to collapse
Thanks mate, question about your guide
must have /system rw or do it from bootmenu, go to custom recovery mount /system then :
Click to expand...
Click to collapse
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
romdroid. said:
Thanks mate, question about your guide
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
Click to expand...
Click to collapse
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
sevenup30 said:
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
Click to expand...
Click to collapse
Hmm OK I would be grateful if you could edit the code because I will simply copy it and paste it :laugh::good:
I followed that guide and I think I am de-odexed now, I ran your code
Code:
adb shell
ls -l /system/app/ | grep odex
and I got this
Code:
C:\Program\Android\android-sdk\platform-tools>adb shell
ls -l /system/app/ | grep [email protected]_spyder:/ $
de-odexed or not?
Also if I just want notification toggles, do I need to copy this whole code or is it unnecessary?
Code:
adb push SystemUI.apk /tmp/
adb push services.jar /tmp/
adb push android_policy.jar /tmp/
adb shell
su
mv /system/app/SystemUI.apk /tmp/SystemUI.apk.bak
mv /system/framework/services.jar /tmp/services.jar.bak
mv /system/framework/android_policy.jar /tmp/android_policy.jar.bak
mv /tmp/SystemUI.apk /system/app/
mv /tmp/services.jar /system/framework/
mv /tmp/android_policy.jar /system/framework/
chmod 644 /system/app/SystemUI.apk
chmod 644 /system/framework/services.jar
chmod 644 /system/framework/android_policy.jar
reboot
I only downloaded toggle_battery.zip unpacked it and put it in android-sdk\platform-tools
correct?
PS. I only need the notification toggles and not the 1% battery, is there a way to just flash the notification toggles seperate?
Appreciate your help and time, sevenup30

[URGENT] LG Lx II SERIES USERS I NEED YOUR HELP

!!! VERY URGENT !!!​
if you have LG Lx and Lx II SERIES and ROOT
I need your help to support your devices in my splash boot logo tool
Please run the attached dumping-tool* and zip the logo.img and attach to your post
ENSURE TO INCLUDE YOUR MODEL NUMBER
*if you on linux or such open the .sh and see what i need
DOWNLOAD​
EDIT :
I HAVE :
1 E430 mine
2 P700 thx @F4uzan
3 E431 thx @gattytto
4 E610 thx @aidasaidas75
5 E400 thx @giaki3003
6 P710 thx @maxx_hr
7 P713 thx @the_vanya1
8 E425 thx @vuminhduc_1998
9 E435 thx @Kerfin
VIDEO PROOF OF BOOTING WITH CUSTOM SPLASH LOGO​
sorry 4 quality (recorded with potato from 2008) and shaky hand (i got exited i will not have to look at lg logo no more )
Lg l7 ii p710
Where is that logo.img file?
Lg p713 (l7 ii)
Where is that file? It is not generated either in computer, nor in the phone.
Hmmm
wizzardsk said:
Where is that file? It is not generated either in computer, nor in the phone.
Click to expand...
Click to collapse
Thanks for trying
it should be in folder you run the .bat from
also there should be a backup copy in root of your sdcard
maxx_hr said:
Lg l7 ii p710
Click to expand...
Click to collapse
the_vanya1 said:
Lg p713 (l7 ii)
Click to expand...
Click to collapse
Thanks Guys
I tried it twice and no file was generated anywhere. LG E455, Windows 7.
wizzardsk said:
I tried it twice and no file was generated anywhere. LG E455, Windows 7.
Click to expand...
Click to collapse
Thanks i'm on win7 too
your partition layout must be little off
i need a "dd" dump of your partition 22 mmcblk0p22
please if you could try to replace line 2 in file dump.sh
with line
Code:
dd if=/dev/block/mmcblk0p22 of=/sdcard/logo.img
or with line
Code:
dd if=/dev/block/platform/msm_sdcc.1/mmcblk0p22 of=/sdcard/logo.img
one of them should work
nope
Hmmm
wizzardsk said:
nope
Click to expand...
Click to collapse
ok no problem thanks for fast feedback
i will ask again when i make special tool for L4 L5 II seems like the MTK Lg is not same ..
wizzardsk said:
nope
Click to expand...
Click to collapse
sorry could you please run
Code:
adb shell ls -laR > info.txt
or
Code:
ls -laR > /sdcard/info.txt
in terminal emulator
and upload info.txt file
here is it
IGGYVIP said:
sorry could you please run
Code:
adb shell ls -laR > info.txt
or
Code:
ls -laR > /sdcard/info.txt
in terminal emulator
and upload info.txt file
Click to expand...
Click to collapse
Great i think i found it
wizzardsk said:
here is it
Click to expand...
Click to collapse
could oyu open cmd inside the tool folder and run
Code:
adb pull /system/media/images/boot_logo
and upload "boot_logo"
IGGYVIP said:
could oyu open cmd inside the tool folder and run
Code:
adb pull /system/media/images/boot_logo
and upload "boot_logo"
Click to expand...
Click to collapse
Here you are
no .img after process
there's no .img after the bat finishes
device: LG L4 II e465g TV
What should I send to get D605 listed?
Avamander said:
What should I send to get D605 listed?
Click to expand...
Click to collapse
hi sorry i'm delaying the release of tool but life gets in my way ...
seems like lg has made it even more difficult than rest of the qualcomm side of series
the partiton doesnt seem to be there unless they hid behind some new innovative name
could you run tool attached ?
hopoefully that will reveal the location of the darn thing
How soon tool will be ready for use? Sorry for my English, I'm from Russia (4PDA, P713). Logo.img (Qualcomm) is RLE image (RGB565) with unknown features.
I have tool which can convert rle (img) to png, but the converse operation leads to hard bricked phone.
IGGYVIP said:
hi sorry i'm delaying the release of tool but life gets in my way ...
seems like lg has made it even more difficult than rest of the qualcomm side of series
the partiton doesnt seem to be there unless they hid behind some new innovative name
could you run tool attached ?
hopoefully that will reveal the location of the darn thing
Click to expand...
Click to collapse
Sent you the output

Unpack G850FXXU2ANHD_G850FOXX2ANH7_G850FXXU1ANHD_HOME.tar

Hi can someone help me to unpack
G850FXXU2ANHD_G850FOXX2ANH7_G850FXXU1ANHD_HOME.tar
i got problems to extract system.img
i tried to unpack with ext4_unpacker_exe
but unknown file error
It is not working I did try it also, and I think nobody because otherwise there was already someone that put a Rom here
dack23 said:
Hi can someone help me to unpack
G850FXXU2ANHD_G850FOXX2ANH7_G850FXXU1ANHD_HOME.tar
i got problems to extract system.img
i tried to unpack with ext4_unpacker_exe
but unknown file error
Click to expand...
Click to collapse
Maybe "Total Commander" does the trick? There is a free Demo Version available. TC helped me out a lot of times when nothing else worked...
First you need to run s2img (not sure about the name) it is part of the CM tree. After that you can mount it as a loopback device.
out/host/linux-x86/bin/simg2img system.img system.img.raw
mount -o loop system.img.raw /mnt
already done from beginning first Rom was out....
use Android Kitchen
Can anybody port a system dump then?
dajumper said:
Can anybody port a system dump then?
Click to expand...
Click to collapse
it will be easy to dl kitchen and do it, i have to build rom and upload it... not easy as i'm not a developer....
i have only deodexed stock rom to test apps on S4
_alex74_ said:
it will be easy to dl kitchen and do it, i have to build rom and upload it... not easy as i'm not a developer....
i have only deodexed stock rom to test apps on S4
Click to expand...
Click to collapse
Can you post the deodexed Alpha ROM?
Can someone send files from g850F - boot.img , recovery.img ,build.prop to this site ,
one m8 acepted to make recovery to us,be fast please
Could someone with a the phone please post /proc/mtd. My phone didn't arrive yet.
modpunk said:
Could someone with a the phone please post /proc/mtd. My phone didn't arrive yet.
Click to expand...
Click to collapse
post deleted, moved to correct thread.

Categories

Resources