yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Ok I'll try it now.

Till that you see this.

This a "how to" of porting a AOSP stock ROM which Andrewidya sent me.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
This would be very difficult and would take a very long time to make and debug. I neither have the skills nor the time for such a project.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Same here.

BTW I tried it still doesn't works.

Still status 0 error

Edit : sorry Status 6 error
[Android Software/Hacking General [Developers Only]] pg4:
Kernel can be changed for the stock rom....?????? If yes then the procedure
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Hmmm, try with this updater script. I think the "mount /system" line was the problem.

Mount /system manually using CWM before flashing.

Edit: Error 6 means non-unix script. I'll fix that and reupload script.

Edit 2: Here it is. Turns out I forgot to add the ";" after the delete lines.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Will give it a try in sometime after I get back home.

BTW I saw in a script to mount system using busybox.

run_program("/sbin/busybox", "mount", "/system");
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I found out that the problem was not with mount. There were some missing things in the script.

Use this script: http://xdaforums.com/attachment.php?attachmentid=1536209&d=1354637925
[Android Software/Hacking General [Developers Only]] BTiwari:
can we unlock bootloder of our phone or not :confused::confused::confused:
[Android Software/Hacking General [Developers Only]] Sena97:
why I always fail in backup system??:confused:

Stuck on "backuping system.....":rolleyes:
[Android Software/Hacking General [Developers Only]] saraghon:
Any news guys about the custom ROM?

Envoyé depuis mon XT530 avec Tapatalk
[Android Software/Hacking General [Developers Only]] sid5291:
Can some one pls post the nandroid backup file for the XT532 ?

And was anyone able to successfully boot up with stock .35 kernel ??
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
I'm but WIFI not working.

Graphics too laggy.

SD card keeps on mounting un-mounting.

And other problems too.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
@7amdoun

When I flashed the kernel of XT532 CWM didn't worked.

I tried to re-install with the laggy screen did it successfully but no luck.

Any Idea?

Edit : Did it somehow and flashed the zip but now stuck at "M" 15 minutes gone.

Edit 2 : I'm thinking about flashing system.img of XT532 via fastboot with the kernel extracted via onandroid.
[Android Software/Hacking General [Developers Only]] katsadim:
Nice Work Guys! I made the backup and it is all fine! Thank u!
[Android Software/Hacking General [Developers Only]] sid5291:
How do we put the device in fastboot mode .. the bootloader is locked isnt that impossible ? :confused:
[Android Software/Hacking General [Developers Only]] Mazen.kh:
no it's possible,

adb reboot-bootloader
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Before changing anything, boot into stock recovery and format /data (factory reset) and see if it boots. Also try adb logcat to see why its hanging.

Edit: You won't be able to flash system via fastboot as the image is larger than the partition.
[Android Software/Hacking General [Developers Only]] chen2011521:
Me too ,

A long time later, lt told me

Error in /cache/recovery/log (No space left on device )

When get errror report, recovery.log is too large( 150 + M ) , it must be system backup. ,but somewhere is wrong. ..
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Yeah, the phone boots after clearing data.

And about fastboot after deleting some of the non usable apps it becomes to the same size of our system.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Congratulations :)

So, are graphics, sd card, wifi working now?

You can't modify the system.img because that would remove signature and brick the device. The only way would be to use cwm zips.
[Android Software/Hacking General [Developers Only]] pg4:
Is is done successfully d kernel... Please post the procedure..
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Sorry man some misunderstandings are there :

I didn't tried factory reset.

I will try today and will tell you the results.

Sorry I read something else and answered it.

And for system.img we will delete the apps before making a backup.

I have tried it before deleting apps the system.img was of 165 mb or so and after deleting some apps and making backup the backup was made of 147 mb or so.
[Android Software/Hacking General [Developers Only]] pg4:
Are we any were near achieving the successful kernel upgrade...
[Android Software/Hacking General [Developers Only]] Mazen.kh:
I guess the problem "status 0 error" is caused by the recovery, not the zip, when i try to install zips like beats audio it gives me that error

:/
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
No that is due to wrong update-binary.

And don't install beats audio it results into bootloops.

Good news friends.

I tried 2nd-boot like defy which would allow custom kernel(with some limitations) in our phones.

But I don't know much about these, a more skilled developer can work on it.

I tried the 2nd-boot.sh of defy with our own *.rc files.The phone just started with soft button leds only and hanged there. I think it tried to boot but something stopped it to do so.

Or the defy's 2nd-boot.sh doesn't suits our phone.

Anybody suggesstions?
[Android Software/Hacking General [Developers Only]] sid5291:
Can you upload the files the .sh and .rc file so we can have a look..
[Android Software/Hacking General [Developers Only]] rioseko:
Thanks a lot!! :victory: waiting for a custom rom :P
[Android Software/Hacking General [Developers Only]] robokop84:
Motorola XT532 Flash Software

Hello

Does anybody know what kind of software I have to use to flash my Motorola XT532 . I already have the image file.

Thanks
[Android Software/Hacking General [Developers Only]] rioseko:
with a custom ROM we will be able to use the GPU Adreno 200 to render games and other stuffs?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Rsd lite.

See in my works.
[Android Software/Hacking General [Developers Only]] robokop84:
Motorola XT532 Flash Software

I tried RSD Lite, but it does not recognize my phone .
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Make sure you connected it the way it is mentioned.

And motorola drivers are a must.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
2nd-boot

Here is 2nd-boot

Add files and folders to their respective places.

@7amdoun

If you are free I request you to have a look at it.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
@aweosomeabhijeet

Have you been able to get the stuff from the XT532 working? If not, have you tried logcat to see where its hanging?

Maybe we need to add the frameworks to the zip!
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
yeah I tried that didn't worked.

Logcat stuck there with no output.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Hmm, that means it crashing during early boot.

Do you know anyone with an XT532. Ask him/her to delete as many apps as he can, then create a nandroid backup. Restore the image, then clear the data and cache partitions.

---------- Post added at 02:37 PM ---------- Previous post was at 02:34 PM ----------

I think its too early to mess around with 2nd-boot. We can't even get the ROM from the XT532 to boot. Once we get it to work, we can move on to more advanced things.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Okay.

I have requested people on XT532's thread to give me a backup.

Still there is no reply from that side.

Lets wait and see what can they do.
[Android Software/Hacking General [Developers Only]] saraghon:
Can this files help?

http://en.sourceforge.jp/projects/sfnet_xt530.motorola/

Envoyé depuis mon XT530 avec Tapatalk
[Android Software/Hacking General [Developers Only]] BTiwari:
can this help

http://xdaforums.com/showthread.php?t=566235

or this on

http://androidforums.com/developer-101/8665-how-signing-roms.html

i hope the custom rom with new kernel will out soon :good::good::good:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I'll upload another zip tomorrow that contains apps, frameworks, bin, lib, etc, xbin.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Something you must have a look on :

This was posted on CWM thread of xt316 by andryo2008

"I was checking the modifications in recovery.sh file.

## Unmount partitions and kill remaining processes

$BB_STATIC umount -l /system

$BB_STATIC umount -l /data

Lazy umount detachs the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. It does not kill anything, so the partition will never stop being busy, and never will be really unmounted. Proof of this is that services continue running in the background, as /system/bin/ServiceManager or ADB that works, except the shell.

In brief, /system is detached from the filesystem, but still mounted and in use."

Maybe he's right. what you say about it?
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Well, he is right about lazy unmount. But he apparently didn't notice that I used fuser (at the end of the scrip) to kill all remaining processes using the partition. ADB is part of and loaded by CWM. No sure about servicemanager. Will see about it once I get home.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Give this recovery.sh a try and see if it makes any difference. I added killall adb and servicemanager
[Android Software/Hacking General [Developers Only]] andrewidya:
I've tried this, when I get into bootmenu and start cwm then I plug my phone to use adb to remove 97bootmenu in previous bootmenu package, then when we got unmount/mount partition issue I've tried to unmount it manually from adb but system gives me error result said that partition is busy, I dont know that we need to pay attention on this till I read this post :confused:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I believe this problem has been fixed in the last (official) version.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Tried. No difference. Atleast for me.
[Android Software/Hacking General [Developers Only]] saraghon:
For me too.

Envoyé depuis mon XT530 avec Tapatalk
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Here is a zip from XT532 containing apps, bin, xbin, lib, etc, framework.

http://www.mediafire.com/?9ccq73948sajc8b

Make sure you have newer kernel. Clear data and cache partitions after flashing, before rebooting.
[Android Software/Hacking General [Developers Only]] sid5291:
After a clean flash using RSD lite ... i installed CWM and backup doesnt work :( .. Stuck at "Backing up System" ... anyone know how to solve this ..
[Android Software/Hacking General [Developers Only]] BTiwari:
unmount all thing accept sd card and format data and cach it worked for me hope u will also get success good luck
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Congratulations man.

Everything is working perfectly except radio. There are 2 Sim slots showing and no network coverage is found on either.

I thought to push our "Phone.apk" back but a discovered that adb is showing device offline tried everything possible.

Things working :

Graphics are good with no lags, even the UI is much smooth :good:

Wi-Fi Turns on but doesn't discovers any access Points.

SD card working perfectly.

Kernel Version is Apps_2.6.35.11-perf

Android version is 2.3.7

Things not tested :

Bluetooth

And other things.

Let my mobile charge then I'll test everything and tell you the results.

And I'll not be available till next week due to test week.

So meet you all after a week. :)

Good luck and wish you and other members can solve all the related issues. :)
[Android Software/Hacking General [Developers Only]] sid5291:
I still have not understood how you were able to change your kernel version ... can someone pls explain ... im a noob ... sorry ..
[Android Software/Hacking General [Developers Only]] BTiwari:
thats a great news :good::good::good::good:
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Let "us" completely solve the issues then I'll make a good tutorial for all of you.
[Android Software/Hacking General [Developers Only]] sid5291:
Mmm... I just want to help I've helped in the development of ROMs for other phones and have some background in Linux... if you could just point me in the correct direction maybe i could be of some help ...:good:

Thanks for all your work..
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Another good news is that I found a updater-script that will be perfect for our device and will let the system boot after installing Custom ROM.

All the things are going well day by day for our XT. :)
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
If know about theming you could surely help me and others.

Pull framework-res.apk and SystemUI.apk from you phone and give the phone complete ICS and JB(mix) feel.

Then that would be great for everyone. Take help of the guides available in XDA like centering the clock and adding swipe-to-clear notifications and etc.

Good luck :good:

Edit : You can use this. but don't forget to give the credits to the dev. [Modify it more because that is not enough.]

PS The top bar which shows application name is simple make it full black see this.

And if you want any help you can PM me.

Once you are done with all pass the files to me I'll make a flash-able zip and because I already have a thread for this. So lets keep XDA organised.
[Android Software/Hacking General [Developers Only]] BTiwari:
:thumbup::thumbup:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
This is wonderful news

CONGRATULATIONS EVERYONE :laugh: :laugh:

Yes, please do thorough testing of everything and tell me about all the things that don't work so that I may fix them and provide an updated zip.

The radio problem probably needs the ril libs from the XT530 SBF.

Once we make 2.3.7 stable, I'll release an updated version of CWM to allow flashing kernel too. That way people can flash the zip and get kernel + ROM in one easy step.

Edit: Here are the ril libs for our phone. Copy them to lib folder, repair permissions and reboot. Also, replace the build.prop with the one I provided.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Yeah I too thought about flashing the kernel with the zip.

I tested everything

Wi-Fi turns on but doesn't detect any access points

Tried replacing phone.apk no effect found just force closes all times.

And yeah two sims are showing and settings has a option of dual sim.(we don't require it)

adb not working confirmed else everything is perfect.

And yes I found the updater-script.

which let XT615 users Custom Rom to boot.

I have read it and think it is perfect. :thumbup: :rolleyes:

Edit : I can't try now. So sorry.

I'm having tests from tommorow. So will not get time. Will not get time this week. :cool:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Phone.apk is not the problem. The problem is with libril stuff. I'll try to see what the problem is with WiFi and adb. I think its a problem with problem with permissions.

As for settings, I think we can replace the settings.apk with one from our phone to fix this.

Good luck in your exams.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Thanks. And yeah settings.apk must solve this.

I'll give a look to permissions of everything in updater-script.(If I got time)

For meantime could you tell me which files are responsible for adb?

I have full night to deal with it. :D
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Problem is not in updater-script.

I don't know what is responsible for ADB. Do you have debugging on? Have you tried rebooting phone? try a different USB port on your computer.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Tried this all and every other thing possible but no result.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Try deleting the adbd file and replace it with the one in the one attached below, repair permissions but DON'T restart.

Then try ADB again.

Also, try uninstalling the moto drivers and install those.

http://www.rundle.us/downloads/razr/MotoHelper_2.1.40_Driver_5.5.0.exe

Edit: And here is my attempt at fixing WiFi. Delete the wifi folder in /system/etc and copy the one attached below, repair permissions and reboot. Tell me if it works, and if ADB and radio work after changes.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I'm working on a new zip with some updates, huge performance improvements. I'll release it once we fix the remaining bugs.
[Android Software/Hacking General [Developers Only]] lucianoc:
CONGRATULATIONS!!!!

Really good work. I had regretted buying this phone, but not anymore, thanks to all your effort.

I saw this thread and have been following your progress day by day, and I have to say I'm impressed with you all. Would have offered help, but I know pretty much nothing about what you were talking about.

I'm really looking forward to installing your modifications on my phone. Congrats again!!

:D
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Hey what I think I would not be able paste these patches to their folders because I don't have root and or adb. I'll try after adding su and superuser.apk to their respective places than flashing the zip.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
You will need to modify the updater script too for su to work. If you want, I'll upload a modified version once I'm home.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Since your going to modify the zip, you might as well change the wifi and radio stuff as well.

Copy and replace the files in the radio folder to /system/lib

Delete the entire wifi folder in /system/etc and copy new one to its place.

Place su in /system/xbin and superuser.apk in /system/app

Place the updated script in its usual location.

PS. Don't use the files I attached before. Use the ones attached to this post.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Wi-Fi confirmed not working after applying new one too.

and yeah there is nothing in sbin folder. In old files there was uevented too.

Will test adb when I get home.

One strange thing I'm still not able to paste anything anywhere though I have root.

I see' "App" has been granted SU permissions' but in the app itself it fails.

Edit : Radio also not working.

Oh its my bad day today. :( By mistake I placed su in bin instead of xbin.

I'm going to study now will try out in night time.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Here are the phone apks from the XT530.

Add those files to /sytem/app in the zip (with the libs from my last post) before flashing and tell me if that fixes the radio.

As for WiFi, I'll do some searching to see what the problem is.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Reports ：phone.apk doesn't resolves the problem.(I tried it just before you posted)

2. I don't think replacing these will have any effect.(but I'll try)
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
OK, just noticed that the XT532 has a different baseband. This is probably the reason for the Radio and WiFi to not work.

Attached below are the XT530 baseband libs. Add them to the zip (along with phone apks and libs I uploaded before).
[Android Software/Hacking General [Developers Only]] urfrndsandy:
Guys I was a busy few days.. can someone please tell me what's the WiFi problem?? Where do we have problem? I read back the threads didn't get when this started
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Just flashed. :D Hope it works the phone is turning on. :rolleyes:

Edit : Stuck at "M". :(

Edit 2 : After flashing with old re-flashed and it booted but no issue is solved. :(
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Hmm, what could it be this time?

Maybe there is a lib that we forgot to replace so a conflict occurred. I'll see about it.

---------- Post added at 08:12 PM ---------- Previous post was at 08:04 PM ----------

Edit 2: I don't understand what you did here. Try deleting libqmiservices.so (from zip). Also don't forget to erase data and cache after every flash.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Hmmm I do that after every flash.

I'm saying that after flashing with XT530's sbf with RSD I tried again and succeeded in it,

But no issue is solved.

Will try this later on, its late here.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Did you add the wifi, radio, baseband stuff in the zip?

Did root work? If so, replace the build.prop with this one attached below and reboot. If it still doesn't work, delete libqmiservices.so and reboot again. If still no signal, try deleting libcne, cneapi, cneutils from lib folder and again reboot. If still no, delete wlan.ko from /system/lib/modules. This way we can trace the problem down to its source.

This would be much easier if you had root, so try getting super user working before attempting all that.

Good Luck
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Root didn't worked.

Yeah I added them all to zip.

I will try all stuff tomorrow,
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Try to follow the stepts at post 490: http://xdaforums.com/showpost.php?p=35271772&postcount=490 to be able to trace the root of the problem.

Good Luck
[Android Software/Hacking General [Developers Only]] sid5291:
Im facing a few problems with our recovery:

Whenever i try to restore a backup using CWM ...my phone softbricks and i have to reflash ...

Also the backup only works after a factory reset if you download apps and maybe put link2sd then the backup breaks i dont know what causes this ...

After using Fix Permissions everything force closes and apps stop working

And another thing which im not sure if its my fault or not but if you could pls tell me what im doing wrong ... after i factory reset the phone from cwm (clearing cache and data).

I lose Root and then if i try rooting again i get an error in superone click :

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

export PS1=""

# export PS1=""

getprop ro.build.version.release > /data/local/tmp/output 2>&1

export TEMPRANDOM=56526

export PS1=END:$TEMPRANDOM;cat /data/local/tmp/output

cat: not found

END:56526export PS1=""

getprop ro.product.manufacturer > /data/local/tmp/output 2>&1

export TEMPRANDOM=37916

export PS1=END:$TEMPRANDOM;cat /data/local/tmp/output

cat: not found

END:37916

Is anyone else facing these problems is there i a work around ...

thank you for any help ..
[Android Software/Hacking General [Developers Only]] Mazzen.kh:
I don't advise you to restore backups with cwm itself, i don't advise anybody to do that

restore with fastboot only!

also i don't advise restoring data.yaffs2.img :)

---------------------------------------------------------------------------------------------------------------------------------

Press thanks so i can heal this new account quickly :P