[Complete] Huawei U8510 Ideos X3 (Vodafone) Australian stock ROM - Miscellaneous Android Development

Hello All,
I have Huawei u8510 x3 (Vodafone branded) Australian (Model: HUAWEI U8510-7).
I rooted my phone, took ClockWorkMod backup and flashed generic stock ROMs (Phones 4 U - UK Generic Stock ROM).
When I revert to my saved backup, I notice that my boot animation has changed. After lot of reading I have realized that ClockWorkMod (did not backup /cust and /userdata2 partition that contained the Vodafone stock branding).
Can anyone please update a Australian Stock ROM (U8510-7 Australian Stock ROM) for this device? If not, can you please link to a backup of the /cust and /userdata2 partition and instructions on restoring this?
Thanks so much in advance.

I have the same phone, still in stock condition. Could back up these folders and upload the data somewhere for you, if you like.
Incidentally, I have been trying to root this phone with no success. How did you do it?

Steps to backup stock /cust and /userdata2 partition prior to flashing new ROMs.
AimUnit111 said:
I have the same phone, still in stock condition. Could back up these folders and upload the data somewhere for you, if you like.
Incidentally, I have been trying to root this phone with no success. How did you do it?
Click to expand...
Click to collapse
Thanks mate. What OS are you using? I used Windows 7 as Windows XP did not work for me.
Even with Windows 7, I had to manually install the driver (device manager, update driver, path to driver files downloaded).
Follow the guide here: http://forum.xda-developers.com/showpost.php?p=19246491&postcount=1
to root your phone. Meanwhile I'll find out instructions for fool proof stock recovery partition backup. For now I have out they only way to backup /cust and /userdata2 partition here:
http://66.163.168.225/babelfish/tra...lash-partitionen-von-supertoast-anpassen.html
Here is another way to completely take a backup of your stock ROM prior to flashing new ROMS:
http://androidarea51.com/q-kernel-a...?PHPSESSID=nk8an4uv09a23ta6q0t05nk3j0#msg2503 --> Follow steps in Reply#2
OK, I have thought about this and reread the backup partitions from the 1st Link in this post. Essentially the steps to take a backup of the /cust and /userdata2 partitions are:
1. Root your phone (If you follow guide: http://forum.xda-developers.com/showpost.php?p=19246491&postcount=1, ClockWorkMod recovery would have been installed.)
2. Download backup_partitions.zip from here http://66.163.168.225/babelfish/tra...change_partition_layout/backup_partitions.zip and save it somewhere in your sdcard (/sdcard is recommended)
3. Reboot into recovery mode (reboot phone, press Vol+ and Power ON button at the same time when restarting)
4. In CWM Recovery mode, Install zip from sdcard and choose backup_partitions.zip (downloaded in step 2)
5. Reboot phone.
6. Check the root of your sdcard. You should see the following files:
cust_backup.tar --> Backup of your /cust partition (with Voda boot logo and branding)
userdata2_backup.tar --> Backup of your /userdata2 partition (more oem stuff I think)
If you have reached thus far, I would really appreciate if you could please zip the above 2 .tar files and load it in Dropbox/rapidshare etc.
Am certain that the above 2 files will NOT have any confidential data. All of your confidential data (account information, sdcard backup etc are in data.img)
Am happy to help anyway I can when you get stuck rooting or taking the backup.
UPDATE: Found another method of backup data in /cust partition.
I quote a post by knzo from: http://pzieye.centelia.net/blaze/viewtopic.php?id=7 (requires registration)
---
Here's a tutorial on how to remove the crap from your operator such as vodafone. You need root for this.
0. Backup first (optional but highly recommended)
- Download busybox installer from market, run it and install busybox (1.19 on /xbin for example)
- Download terminal application from market, run it and do these commands (without the ""):
- "su" (click allow when it asks you for root privileges)
- "mkdir /sdcard/custbackup" (you'll need a microSD card for this)
- "cp -r /cust/* /sdcard/custbackup"
- Done, backed up contents will be in your microSD card on the custbackup folder
1. Removal
- Run these commands on terminal application:
- "su"
- "ls /cust/" (take note of your brand; in this case, let's assume it's vodafone)
- "mount -o remount,rw -t yaffs2 /dev/block/mtdblock8 /cust"
- "rm -r /cust/vodafone/"
- "reboot"
- Enjoy your unbranded device
2. Restore (optional, needs step 0 to been made)
- Run these commands on terminal application:
- "su"
- "mount -o remount,rw -t yaffs2 /dev/block/mtdblock8 /cust"
- "cp -r /sdcard/custbackup/* /cust"
- Done
Last edited by knzo (2011-09-17 05:35:11)
---

Vodafone Stock ROM Restore for U8510-7
Thanks to a kind member koolchamp81 in Whirlpool Aussie Forums, we now have a full backup to the Australia Vodafone STOCK ROM for U8510-7 X3.
Before you start, you need to download the following:
1. Whirlpool member Koolchamp81's Stock ROM backup
2. Koolchamp81's /Cust partition backup
3. Koolchamp81's /Userdata partition backup
4. restore_partitions.zip from Android-life.de
Follow these instructions for restoring to Stock ROM. We have confirmed success reports on restoring to stock ROM based on these instructions.

Related

[Recovery] CDMA Sprint [07-Mar-2010] RA-heroc-v1.6.2

This recovery is NOT yet fully compatible with the new apps2sd method! (as implemented in CM5.0.7)
This is a custom recovery based on Cyanogen's v1.4 recovery.
The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
This recovery if for the HTC Sprint Hero only, if you have an :
- HTC Hero you should go here.
- HTC Dream/G1 you should go here.
- HTC Magic/MT3G you should go here.
This recovery is for the CDMA based Hero from Sprint only!
Ext4 is NOT supported because we don't have the kernel Source of the HTC Sprint Hero yet... Sorry
Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).
Always check recovery.log before posting your issues!
Please make sure that your ROM supports apps2sd if you plan to use the ext-features! (/system/sd MUST be available in the ROM)
Features
full ADB access in recovery mode
Awesome Care-Bear version! (Blame packetlss for talking me into it )
Busybox v1.15.3
HW-Key navigation (volume keys + CALL-ANSWER) option
Extended menu :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore (recovery partition not included!)
Nand backup :: Make a Nand backup
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
BART backup :: Make a BART backup (Nand + ext)
BART restore :: Restore latest BART backup
Flash zip from sdcard :: Flash a zip update file from your sdcard
Wipe
Wipe data/factory reset :: Wipe /data and /cache
Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
Wipe SD:ext partition : Wipe the ext partition on your sdcard
Wipe battery stats : Wipe the battery stats in /data
Wipe rotate settings : Wipe the sensor settings in /data
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
SD:ext3 to ext4 :: Convert ext3 to ext4
Other
Fix apk uid mismatches :: Does extacly that
Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Scripts available from console :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.0.1 (Backup and Restore Tool) : enter "utility" to start.
switchrom.sh V1.1 : enter "switchrom" or "u" to start.
sdparted v0.6 : enter "sdparted" to start.
Install
There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
via adb -> Requires a custom recovery (with test-keys)
Code:
Copy recovery-RA-heroc-v1.6.2.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-heroc-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-heroc-v1.6.2.img /sdcard/recovery-RA-heroc-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
adb shell reboot
Download
Latest :
recovery-RA-heroc-v1.6.2.img (Click here to download from a Mirror) - MD5Sum: 8382266e4cea526c3cd49d9610f083e0
recovery-RA-heroc-v1.6.2-green.img (Click here to download from a Mirror) - MD5Sum: 41d833b6489aec0617eda0fd4415af8a
recovery-RA-heroc-v1.6.2-blue.img (Click here to download from a Mirror) - MD5Sum: 7ab7e13bbd3e0ad7d84398760398bb77
recovery-RA-heroc-v1.6.2-pink.img (Click here to download from a Mirror) - MD5Sum: c9d4d456acfd1440adddc6d989847219
Old versions :
recovery-RA-heroc-v1.5.2.img (Mirror) - MD5Sum: ccaff51d3a28861240fa9d455924a50f
Change-log :
v1.6.2
Code:
- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
[COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
Androidappcritics for the reboot idea in BART
rikupw for the ideas and toggle_ums script.
MLIGN for the idea to port my recovery to the Dream.
http://www.androidspin.com for hosting ^^
http://theunlockr.com for all the awesome video’s ^^
Cyanogen for his dedicated work! , buy him a beer!
JesusFreke for his awesome JFv1.43's recovery , donate
Quick shoutout to the_miker and jmanley69 for helping with the testing.
i love you... In a non homo way. But seriously, you are great. Thanks for helping us CDMA users.
Agreed. Thank you all so much. Now is it possible to include apps2sd in the image or do we have to wait for a Rom foe this?
chuckhriczko said:
Agreed. Thank you all so much. Now is it possible to include apps2sd in the image or do we have to wait for a Rom foe this?
Click to expand...
Click to collapse
Apps2SD is usually part of a modded rom, it's possible to do now that you guys have root, but the recovery is not involved in any of that though (except making it easier to fiddle with the phone).
Yes but I know the latest recovery image for the dream had an apps2sd option. I just figured that would be easier.
how do you root cdma hero?
edit: i found info.. thanx amon_ra for the recovery
@Amon_RA - well done mate this is great news for all our American cousins and a major break though in my opinion.
The image works like a charm! I tried installing MoDaCo's 2.9 Image and it just hung at the HTC screen but the nandroid backup from the image restored fine and dandy.
thecodemonk said:
The image works like a charm! I tried installing MoDaCo's 2.9 Image and it just hung at the HTC screen but the nandroid backup from the image restored fine and dandy.
Click to expand...
Click to collapse
you have to wait for ROMs with a CDMA kernel
mopodo said:
you have to wait for ROMs with a CDMA kernel
Click to expand...
Click to collapse
Yeah I figured...just thought it was worth trying to see if something might just happen to work out of the box.
ive been trying for like 2 hours to install this rom to my sprint hero and i cant get it someone help
how do you get it to not stick on the htc screen on reboot after flash?
Do I load this the same way as other recovery images? Like I did with my myTouch and my G1? Thanks. Just confirming before I **ck up my friend's Hero.
I tried to adb into recovery but I can't, as I do on the G1, hit Alt-L by the triangle. I hate to be a n00b about this but this one seems to be entirely new to me.
thorracing1 said:
ive been trying for like 2 hours to install this rom to my sprint hero and i cant get it someone help
Click to expand...
Click to collapse
This isn't a ROM, it's just a recovery image used to INSTALL a ROM (and perform backups and other things).
Can you walk us through what you did, step by step, so we can figure out where the problem may be?
AndroidAppCritic said:
Do I load this the same way as other recovery images? Like I did with my myTouch and my G1? Thanks. Just confirming before I **ck up my friend's Hero.
I tried to adb into recovery but I can't, as I do on the G1, hit Alt-L by the triangle. I hate to be a n00b about this but this one seems to be entirely new to me.
Click to expand...
Click to collapse
I don't know how the myTouch did it but there's a guide you can follow to get it in the CDMA forum: (root AND flashing the recovery image)
http://forum.xda-developers.com/showthread.php?t=581577
(If you're on a Mac: http://forum.xda-developers.com/showthread.php?t=581686)
OR you can follow that guide or perform the flashrec method:
http://theunlockr.com/2009/08/27/how-to-root-your-htc-hero-in-one-click/
(substitute the newest version of flashrec from http://zenthought.org/content/project/flashrec and use the Recovery image from this thread instead of the one mentioned in the link above)
The flashrec doesn't give you root but you can just drop the image in I believe still.
thecodemonk said:
I don't know how the myTouch did it but there's a guide you can follow to get it in the CDMA forum: (root AND flashing the recovery image)
http://forum.xda-developers.com/showthread.php?t=581577
(If you're on a Mac: http://forum.xda-developers.com/showthread.php?t=581686)
OR you can follow that guide or perform the flashrec method:
http://theunlockr.com/2009/08/27/how-to-root-your-htc-hero-in-one-click/
(substitute the newest version of flashrec from http://zenthought.org/content/project/flashrec and use the Recovery image from this thread instead of the one mentioned in the link above)
The flashrec doesn't give you root but you can just drop the image in I believe still.
Click to expand...
Click to collapse
Yeah, I realized I was being a n00b and didn't bother to search too much before asking. But I figured someone else was going to ask anyway so I'd take any flaming if need be. Thanks a lot. I had it rooted when I asked but wanted busybox and the other goodies from the recovery. The easiest root ever.
uses for recovery image
This is my first phone root and I've gotten everything done and complete and just want to learn a little more. I searched but probably not for the correct terms but I'm wondering what for/when some of these options on the recovery image are needed. If there is an explanation somewhere, just point me, otherwise, I appreciate the help with answers! Thanks!
o Wipe data + cache (factory reset) DO YOU LOSE ROOT/RECOVERY IMAGE FLASH?
o Wipe ext partition on SD-card WHAT FOR/WHEN?
o Wipe Dalvik-cache on SD-card (NOT on /data !) WHAT FOR/WHEN?
o Repair ext filesystem WHAT FOR/WHEN?
o Convert ext2 to ext3 THIS IS FOR APP2SD TO WORK RIGHT? **nevermind found answer to this one
o Fix package UID mismatches WHAT ARE UID MISMATCHES?
o Fix auto-rotate issues WHAT ISSUES?
jirafabo said:
This is my first phone root and I've gotten everything done and complete and just want to learn a little more. I searched but probably not for the correct terms but I'm wondering what for/when some of these options on the recovery image are needed. If there is an explanation somewhere, just point me, otherwise, I appreciate the help with answers! Thanks!
o Wipe data + cache (factory reset) DO YOU LOSE ROOT/RECOVERY IMAGE FLASH?
Click to expand...
Click to collapse
This formats the data and cache partition on the phone. Data is where the installed applications and system settings are stored normally. Basically it factory resets the phone back to an unconfigured state. You do not lose root or recovery.
o Wipe ext partition on SD-card WHAT FOR/WHEN?
Click to expand...
Click to collapse
Often we used an ext2/3/4 partition on the SD card to store applications (instead of storing them on the data partiton in the phone) This is what's called Apps2SD that you're seeing all over the forum, it allows us to install much more applications since the ext partition can be much bigger than the internal data partition. Wipeing this means that the entire ext partition is cleared.
o Wipe Dalvik-cache on SD-card (NOT on /data !) WHAT FOR/WHEN?
Click to expand...
Click to collapse
Dalvik is the program that runs all the Android applications (written in Java). It needs to store a cache of the compiled versions of that somewhere so it doesn't have to compile them every time they run. This is normally done on the data partition, but some people choose to move this to other places (like the SD cards ext partition). This option lets them wipe it easily. At this time I don't think there are any Hero customs roms that use this feature.
o Repair ext filesystem WHAT FOR/WHEN?
Click to expand...
Click to collapse
Sometimes the filesystem can become corrupt (for example if the battery runs out just as the phones write to the filesystem). This option tries to repair it.
o Fix package UID mismatches WHAT ARE UID MISMATCHES?
Click to expand...
Click to collapse
On android each installed application is assigned it's own userid (uid) in the operating system. This is for security purposes. If you have your apps on an ext partition on your card (apps2sd), and you install a new rom, there will be a mismatch between the uid assigned to the files/directories on the card and what the Android OS thinks the apps uid is. This option runs a script to try and correct that.
o Fix auto-rotate issues WHAT ISSUES?
Click to expand...
Click to collapse
Some phone (mostly G1s and Sapphires) sometimes have issues with the calibration of the accelormeter. The calibration data is saved in a specific file. This option just removes that file to reset the calibration to factory value. I've never heard of the Hero having these issues and the option is there just in case basically.
packetlss said:
This formats the data and cache partition on the phone. Data is where the installed applications and system settings are stored normally. Basically it factory resets the phone back to an unconfigured state. You do not lose root or recovery.
Often we used an ext2/3/4 partition on the SD card to store applications (instead of storing them on the data partiton in the phone) This is what's called Apps2SD that you're seeing all over the forum, it allows us to install much more applications since the ext partition can be much bigger than the internal data partition. Wipeing this means that the entire ext partition is cleared.
Dalvik is the program that runs all the Android applications (written in Java). It needs to store a cache of the compiled versions of that somewhere so it doesn't have to compile them every time they run. This is normally done on the data partition, but some people choose to move this to other places (like the SD cards ext partition). This option lets them wipe it easily. At this time I don't think there are any Hero customs roms that use this feature.
Sometimes the filesystem can become corrupt (for example if the battery runs out just as the phones write to the filesystem). This option tries to repair it.
On android each installed application is assigned it's own userid (uid) in the operating system. This is for security purposes. If you have your apps on an ext partition on your card (apps2sd), and you install a new rom, there will be a mismatch between the uid assigned to the files/directories on the card and what the Android OS thinks the apps uid is. This option runs a script to try and correct that.
Some phone (mostly G1s and Sapphires) sometimes have issues with the calibration of the accelormeter. The calibration data is saved in a specific file. This option just removes that file to reset the calibration to factory value. I've never heard of the Hero having these issues and the option is there just in case basically.
Click to expand...
Click to collapse
Really appreciate the reply. Know it wasn't a short one!
One more... for uids, the uid stays the same if I just reinstall the same ROM? The ROM determines the uid correct? I played with my phone so much yesterday that by the end of the day I had flashed my backup and modaco over top 3 times in all. Didn't have any problems with apps and apps2sd looks to be running well, so I assume the uid's stay the same if you stick with the same rom.

[CWM] Motorola Fire / Spice Key: xt311 / xt316 / xt317

Hey Motorola Fire owners!
Here's ClockWorkMod for our beloved QWERTY phone [With nandroid backup minor issues]
Any damages, you're responsible of it.
The Steps:
1- Download busybox from playstore, i prefer stericson's one, install busybox binary.
2- Download Pimp My Rom from playstore, open it, click > Universal init.d support, then click > activate
3- Download latest zip (bootmenu 3-12-12.7z)
4- Extract it, and run Install-boot-menu.bat
If you want to know what the script does:
5- Download latest bootmenu folder, extract it, copy "bootmenu" folder to /system/ (by using any root browser of your choice)
6- Fix permission of all the files inside "/system/bootmenu/binary/" to: RWXR--R--
7- a- Create a new file with no extention, rename it to 97bootmenu, put it inside "/etc/init.d/" set it's permissions to RWXRWXRWX (full permissions)
7- b- inside this file paste this code and save it:
Code:
#!/system/bin/sh
stop
exec /system/bootmenu/binary/bootmenu
-Then Reboot
Now focus, while you're seeing motorola logo, the capacitive keys' leds will light up at certain timing, quickly press VOL- button before the lights go off, if you later, don't want to boot to bootmenu, just don't press the VOL- button, the phone will boot normally to system
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​To restore backed up nandroid system.yaffs2.img
In terminal emulator or adb shell type:
cd /sdcard/clockworkmod/backup/YYYY-MM-DD.HH.MM.SS/
md5sum *.img > nandroid.md5
Where <YYYY-MM-DD.HH.MM.SS> is the folder of your backup.
Then go to cwm again and restore ( i prefer advanced restore > system )
Or with fastboot: By typing: "fastboot flash system system.yaffs2.img"
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now the most important part, press thanks button, it motivates me
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'd like to thank those who made this dream come true: GentryLamp - 7amdoun (Thanks alot bro) - Aweosomeabhijeet - Mr. indigo - Andrewidya - AndYRo - Chen2011521
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
Changelog:
3-12-12
-Added automatic installer (abhijeet's idea)
1-12-12
-Booting to bootmenu through volume down button (Thanks alot 7amdoun!)
-Now you don't have to delete 97bootmenu at all
-Unified bootmenu-recovery background
30-11-12: Very old build
-Removed ability to backup data via clockworkmod since it probably is corrupted, causing bootloops when restoring, you can backup the whole rom using onandroid backup instead
-Ability to restore nandroids
28-11-12: Very old build
-Fixed font size of the recovery, (Thanks chen2011521)
-Changed wallpaper because i got bored
25-11-12: Very old build
-Modified Stock.sh so when you select [+boot] > [stock] it boots normally to stock system, Without needing pc. (Thanks aweosomeabhijeet)
-Fixed some mounting issues, may be able to backup .android_secure
24-11-12: Very old build
-First alpha release
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
Downloads:
Removed old builds, for the user not to download them and use the new incompatible steps.
Just registered!
---------- Post added at 04:40 PM ---------- Previous post was at 03:43 PM ----------
Only just created a bunch of commands to mount secure.android. After normal backup of system and data, gave me this error:
Backing up .android_secure...
Freeing space...
sh: dedupe: not found
Done freeing space.
sh: dedupe: not found
Already did it!!
Waiting for more to come
:good::good::good::good::good:
No more dedupe error, tar generated correctly! but more mounting problems! The last logs lines:
Backing up .android_secure...
com.joelapenna.foursquared
com.google.android.youtube
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
So fstab is sill umcomplete!
---------- Post added at 05:59 PM ---------- Previous post was at 05:42 PM ----------
Im startint to think that every sbf has diferents mounts...
xt316 chinese 2.3.5
97bootmenu permission 744
and reboot into bootmenu
but not full permission.
Backup stuck at /system
....
Did you port the recovery from source? You can change it font smaller.
Mazen.kh said:
Hey Motorola Fire owners!
Here's CWM for our beloved QWERTY phone [Still have issues with nandroid backup]
Okay so first of all this is not only my work
I only built CWM6 and put it inside the bootmenu, also helped in discovering init.d support, and when you nandroid backup, i fixed the creation of system.img and data.img (with help of dear friends from taringa.net) :angel:
The Steps:
1- Download busybox from playstore, i prefer stericson's one, install busybox binary.
2- Download PimpMyRom.apk from attachments and install it, because the one in the market have some errors causing FCs
3- From Pimp my rom, click > Universal init.d support, then click > activate
4- Download bootmenu.zip, extract it, copy "bootmenu" folder to /system/ (by using any root browser of your choice)
5- Fix permission of all the files inside "/system/bootmenu/binary/" to: RWXR--R--
6- a- Create a new file with no extention, rename it to 97bootmenu, put it inside "/etc/init.d/" set it's permissions to RWXRWXRWX (full permissions)
6- b- inside this file paste this code and save it:
HTML:
#!/system/bin/sh
stop
exec /system/bootmenu/binary/bootmenu
7- Reboot
After reboot, android bootmenu will appear, choose recovery, then select custom recovery
Now you entered CWM 6 :cyclops:
Please don't select the "mounts" section, still needs fixes, might be dangerous
If you take nandroid it will successfully backup system.img and data.img without sd-ext.
You may not be able to restore them through cwm.
But you can restore them through FASTBOOT.
I flashed many zips through this recovery successfully.
PS: to boot again to system, normally connect the device through adb, and type:
adb shell
rm -r /system/etc/init.d/97bootmenu
Then reboot using "adb reboot" or reboot function in bootmenu
Now the most important part, press thanks button, it motivates me to keep up the good work
I'd like to thank those who helped in getting this bootmenu to work:
- Gentry Lamp
- 7amdoun
- Aweosomeabhijeet
- Mr. indigo
- Andrewidya
- AndYRo (from Taringa.net)
probably others that i forgot to mention
I'll keep updating the recovery until it becomes perfect
Click to expand...
Click to collapse
Hey Mazen I would like to suggest you something.
Open bootmenu folder go to script folder and open stock.sh
and add
Code:
rm -r /system/etc/init.d/97bootmenu
reboot
Then if you select boot>Stock your phone will reboot twice and boot normally.
then no need of using adb in PC.
I make everything as u say and restarted it above 6 times but nothing happens and my device starts normally!!!
EDIT: try to change permissions of 97bootmenu to rwxr-r- & restart 2 times but nothing happened!!
chen2011521 said:
xt316 chinese 2.3.5
97bootmenu permission 744
and reboot into bootmenu
but not full permission.
Backup stuck at /system
....
Did you port the recovery from source? You can change it font smaller.
Click to expand...
Click to collapse
I built it online and modded some files, couldn't build from source, the font is not so important right now so i'm working on fixing the nandroid backup
aweosomeabhijeet said:
Hey Mazen I would like to suggest you something.
Open bootmenu folder go to script folder and open stock.sh
and add
Code:
rm -r /system/etc/init.d/97bootmenu
reboot
Then if you select boot>Stock your phone will reboot twice and boot normally.
then no need of using adb in PC.
Click to expand...
Click to collapse
I tried that once and it booted to the bootmenu again but i will retry, thanks :laugh:
wrong :|
I follow ur steps and I fail in problem! just tell me what shoud I do NW?
and nothing wrong in my device!
EDIT: I change some permissions and it's work but I forgot what I do and I reboot without need PC!
I advice u guys to make that suggest by aweosomeabhijeet it's awesome
Ok remember to use reboot after rm command.
Sent from my XT530 using xda app-developers app
european sbf
Hey guys has anyone an european sbf for the xt311, i really need it.
Hey Mazen,
How did you manage to get CWM to make a full backup. I tried everything but it just freezes on system. I edited recovery.fstab to point to /dev/block/mtdblock* for every partition but it keeps complaining that it can't find that volume to mount.
7amdoun said:
Hey Mazen,
How did you manage to get CWM to make a full backup. I tried everything but it just freezes on system. I edited recovery.fstab to point to /dev/block/mtdblock* for every partition but it keeps complaining that it can't find that volume to mount.
Click to expand...
Click to collapse
I added mkyaffs2image
and AndYRo fixed a couple of mounting errors, if you build CWM 6 online you can take our xt311's modded files and only replace "recovery" file in /recovery/sbin/, with the corresponding one in your CWM 6
Mazen.kh said:
I added mkyaffs2image
and AndYRo fixed a couple of mounting errors, if you build CWM 6 online you can take our xt311's modded files and only replace "recovery" file in /recovery/sbin/, with the corresponding one in your CWM 6
Click to expand...
Click to collapse
Edit: I ported CWM6 to my phone manually and it loads and backs up boot and recovery but still gets stuck on /system
Any ideas?
Moderator warning.
Thread has been cleaned. Remember forum rules when posting.
Mazen.kh said:
Hey Motorola Fire owners!
Here's CWM for our beloved QWERTY phone [Still have issues with nandroid backup]
Okay so first of all this is not only my work
I only built CWM6 and put it inside the bootmenu, also helped in discovering init.d support, and when you nandroid backup, i fixed the creation of system.img and data.img (with help of dear friends from taringa.net) :angel:
The Steps:
1- Download busybox from playstore, i prefer stericson's one, install busybox binary.
2- Download PimpMyRom.apk from attachments and install it, because the one in the market have some errors causing FCs
3- From Pimp my rom, click > Universal init.d support, then click > activate
4- Download latest bootmenu.zip, extract it, copy "bootmenu" folder to /system/ (by using any root browser of your choice)
5- Fix permission of all the files inside "/system/bootmenu/binary/" to: RWXR--R--
6- a- Create a new file with no extention, rename it to 97bootmenu, put it inside "/etc/init.d/" set it's permissions to RWXRWXRWX (full permissions)
6- b- inside this file paste this code and save it:
Code:
#!/system/bin/sh
stop
exec /system/bootmenu/binary/bootmenu
7- Reboot
After reboot, android bootmenu will appear, choose recovery, then select custom recovery
Now you entered CWM 6 :cyclops:
Please don't select the "mounts" section, still needs fixes, might be dangerous
If you take nandroid it will successfully backup system.img and data.img without sd-ext.
You may not be able to restore them through cwm.
But you can restore them through FASTBOOT.
I flashed many zips through this recovery successfully.
PS: to boot again to system, normally:
In bootmenu select [boot] > [stock]
OR
Connect the device through adb, and type:
adb shell
rm -r /system/etc/init.d/97bootmenu
Then reboot using "adb reboot" or reboot function in bootmenu
Now the most important part, press thanks button, it motivates me to keep up the good work
I'd like to thank those who helped in getting this bootmenu to work:
- Gentry Lamp
- 7amdoun
- Aweosomeabhijeet
- Mr. indigo
- Andrewidya
- AndYRo (from Taringa.net)
probably others that i forgot to mention
I'll keep updating the recovery until it becomes perfect
Click to expand...
Click to collapse
Thanks for creating a thread!
I'm trying with UAE sbf, unfortanelly I have to reflash it, since there's a problem with my Init.d support.
*Can we able to change the font size in the recovery not in the bootmenu? cuz it's looks bigger
PS. i make oNandroid backup and I delete it to try the backup section in the recovery when I make it it's stuck on
backup system.....
and no progress bar like any CWM recovery!
If build from source,android.mk in bootable/recovery can change font.
smaller font looks well on xt311/6
I have built one, but some problem not solve.
chen2011521 said:
If build from source,android.mk in bootable/recovery can change font.
smaller font looks well on xt311/6
I have built one, but some problem not solve.
Click to expand...
Click to collapse
Upload it so i can mix things and fix the font

[Q] Is there a way to install temporary recovery on SGR

Hi I am a new member on this forum, though I had been browsing this forum for long long time, I had not registered. Recently I had the courage to root and install omnirom on my phone (as my phone is getting old, i was ready to take the chances of bricking my device. I verified my device with eMMC brick bug tester and my device is frees from that bug, probably as my motherboard was changed under warranty). After toying with omnirom, I am back on stock rom. I went to Samsung Service Center and got my factory firmware installed for Rs 225/- (I had taken nandroid backup with epsilon 6.0... version of CWM, but it missed preload partition and restored the backup with philz recovery and my preload partition was erasaed and have to go for SSC).
I have few queries regarding the SGR, please help me with them:
1. Is there a temporary recovery for SGR (ie, can be flashed with stock recovery and returns back to stock on reboot. The zip file has to be maintained on SD card)
For SGS2: http://forum.xda-developers.com/galaxy-s2/general/guide-root-unroot-stock-ics-firmware-t1501719
2. In order to restore the partition on my own, I tried and searched net for recovery using testdisk and had taken a file image of the SGR internal flash disk. I opened it with testdisk, but testdisk was not able recognise the partitions I tried EFI GPT as suggested and Intel partiton table type and both did not work. Do you know the partition table type for this?
recovery link: http://www.df.lth.se/~jokke/androidfilerecovery/
3. I was just curious if becoming root (on adb shell) is just running su, thought I would copy su binary from superuser zip ro sdcard and run it with the path, but it just runs and nothing happens (I need this to remove few samsung apps esp, vlingo. I plan to do it from recovery -> adb shell -> su and delete apk & odex files).
This has been a great forum and helped me a lot. Thank you guys for all your effort.

J7 PRIME (sm-g610y) EFS FILE

I JUST CREATED THIS ACCOUNT IN XDA FOR HELP!
My Phone IMEI, BASEBAND, SN has Unknown value in settings after random reboot and I think it random Reboot because of Full Storage. LINK > SCREENSHOT LINK OR SEE ATTACH FILE
so Does anyone have J7PRIME (SMG610Y) EFS Backup File ?
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
-J7 PRIME - (SM-G610Y)
-CUSTOM ROM (RESSURECTION REMIX LATEST)
-MAGISK ROOTED
-CUSTOM RECOVERY (TWRP)
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
PLEASE UPLOAD AND SEND LINK TO ME FOR THOSE WHO HAVE THE FILE ❤
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FLASH STOCK ROM 4FILES USING ODIN (DOES_NOT_RESTORE_EFS)
FLASH STOCK ROM 4FILES USING SAMSUNG TOOL PRO CRACK (DOES_NOT_RESTORE_EFS)
FORMAT & MOUNT EFS USING
Code:
adb shell
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
(MAKES IMEI AND SN e.g.000000000000000)
WHOLE DAY OF RESEARCH OF J7PRIME (SM-G610Y) EFS FILE FOR 3 DAYS
AND MORE(ICANTREMEMBER).
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IF I FIX MY PHONE I WILL REPLAY TO THIS THREAD FOR PROCEDURE
edit:
DATE_UPLOADED: February 14, 2021 12:50PM
J7 PRIME_0914 said:
I JUST CREATED THIS ACCOUNT IN XDA FOR HELP!
My Phone IMEI, BASEBAND, SN has Unknown value in settings after random reboot and I think it random Reboot because of Full Storage. LINK > SCREENSHOT LINK OR SEE ATTACH FILE
so Does anyone have J7PRIME (SMG610Y) EFS Backup File ?
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
-J7 PRIME - (SM-G610Y)
-CUSTOM ROM (RESSURECTION REMIX LATEST)
-MAGISK ROOTED
-CUSTOM RECOVERY (TWRP)
MY PHONE:::::::::::::::::::::::::::::::::::::::::::
PLEASE UPLOAD AND SEND LINK TO ME FOR THOSE WHO HAVE THE FILE ❤
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FLASH STOCK ROM 4FILES USING ODIN (DOES_NOT_RESTORE_EFS)
FLASH STOCK ROM 4FILES USING SAMSUNG TOOL PRO CRACK (DOES_NOT_RESTORE_EFS)
FORMAT & MOUNT EFS USING
Code:
adb shell
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
(MAKES IMEI AND SN e.g.000000000000000)
WHOLE DAY OF RESEARCH OF J7PRIME (SM-G610Y) EFS FILE FOR 3 DAYS
AND MORE(ICANTREMEMBER).
What I Tried::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IF I FIX MY PHONE I WILL REPLAY TO THIS THREAD FOR PROCEDURE
edit:
DATE_UPLOADED: February 14, 2021 12:50PM
Click to expand...
Click to collapse
Without a backup it's hard to restore your efs/imei.
Have s look at this guide:
[GUIDE] Recover phone from a formated /efs partition
I'm just writting this because i've recently had this problem. I managed to sort it out by my own but didn't really find it written anywhere, just bits and pieces scavenged from so many pages that might point to a solution (granted, part of my...
forum.xda-developers.com
If you use Repartition Tool then revert it back to its original (pls find its thread) before flashing its stock firmware (you may use other country firmware). I restore my own when flashing stock rom from samfirm (pls. flash updated firmwares using odin).
After 4Months of no mobile data I Successfully legit Restore my EFS Files/SerialNumber/Baseband.
So Here's the step it's very very simple
1). Download Custom ROM name Arrow OS.
Link https://sourceforge.net/projects/ar...x/GSI/27_Jan_2020/system_arm64_a.zip/download
2). Download Project Treblue.
Link https://forum.xda-developers.com/t/treble-arm64-vendor-project-treblue-for-g610x.4098877/
3). Download CreateVendor.zip.
Link https://drive.google.com/drive/mobile/folders/1aX0WBy9juWZpIlFWTw9L6P_PR46JCj0H?usp=sharing
4). Download UniversalRepatitioner
Link https://forum.xda-developers.com/t/...epartition-script-for-vendor-support.4143541/
After you download all the files above follow this steps
1). Reboot to Recovery
2). Flash CreateVendor_2.0.zip
3). Wipe All Include/Exclude Vendor and Internal Storage
Note before step 4 : Flash Universal Repartitioner if System Partition is less than 4GB see recovery log for the size
Edit: BTW wipe all partition as universalrepartitioner sad in the log.
4). Flash Arrow OS 10 that you've downloaded earlier after flashing Rom
5). Flash Project Treblue
Optional: Resize System Partition in Wipe>AdvanceWipe>RepairOrChangeFS
6). Reboot
Edit: I'm the one who created this thread but different account!
And As I promised I reply to this if I fix or restore the problem.

cant access system partition in twrp

hey i want to install a custom rom (gsi) so i hope some people can help me out
main info: i have a ulefone note 9p with mediatek 6762 (runs with mediatek 6765 android scatter) and android 10.
this twrp is a twrp 3.4.0. built for ulefone note 9p i downloaded from here:
unofficial twrp 3.4.0 Root Ulefone Note 9P - unofficial twrp
download unofficial twrp 3.3.1 root Ulefone Note 9P, user who own Ulefone Note 9P can root it by following the below instructions
unofficialtwrp.com
after going to the painful procedure of unlocking bootloader flashing stock and twrp modified rom + rooting the device
i stuck at the procedure to install a gsi image via twrp.
i already know that the device must be unrooted and i have already gained some experiences in flashing the rom
even after a few softbricks, so i will try installing this image with a stock rom and twrp after i received the help i need.
i use a sd card because twrp always disappears when i transfer a file via my phone and i land on stock recovery.
this problem solves when i root my phone via magisk. as i heard flashing gsi's dont work in a heavy modified state (like with magisk),
so a sd card solved this problem to run files on recovery mode without file transfer and rooting.
the problem i have is the following: i followed some instructions saying to wipe some data first in advanced wipe
- also the system partition which is not available. after that tried to install the image directly. as it finds the rom from my sd card i have to select the partition type to flash image
i only have boot recovery and super available but i need the system partition. i looked in the internet further (the painful process) and it gave me some hints going to mount.
there it finds the system partition but when i set a checkmark on it nothing changes, so this hint didn't helped me.
what should i do now? i'm stuck in some dead end and i don't know what to do it seems like this is the only way for me to get it work.
please help.
i think i found something. since my phone is rooted i also tried to delete system apps which also don't work. i tried many system app removers but it always give error. i think the problem lies in permissions that are not given to this phone. how can i get full access to \ system to gain full permission rights? i also have busybox installed btw
You've to mount the /system partition as RW in order to access this storage location.
Example code:
Code:
adb devices
adb shell "su -c 'mount -t auto -o rw,remount /system'"

Categories

Resources