yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] saraghon:
Ok. Thanks. I'll try it. keep it up.

---------- Post added at 01:05 PM ---------- Previous post was at 01:02 PM ----------

This could help in editing framework.jar : http://xdaforums.com/showpost.php?p=18283014&postcount=1

---------- Post added at 01:44 PM ---------- Previous post was at 01:05 PM ----------

I flashed the test4 zip and here is the report:

- There is no data. But the progress is that I can search networks and change the network type in settings.

- No more dual sim in status bar. but systemui force closes and no status bar then.

- No more dual sim settings.

- Wifi, FM, Bluetooth, ADB are working.

- The phone can searchNetworks but can't find anything. I think this is related to IMEI issue.

- Still showing unknown phone IMEI.

- Can't turn off radio. (because it's not on I think ;) )

- In phone Status it's showing:

* My phone number: Unknown

* Network: Unknown

* Mobile network type: Unknown

* Imei: Unknown

* Imei SV: Unknown

- typing *#06# in phone app shows:

________________

| Device ID

| IMEI 1: null

| IMEI 2: null

|________________

Ithink all the issues are related to IMEI problem. Framework.jar must be edited and we have to replace some *.dex files with ones from our phone's stock framework!!!!

That's all folks!

:D
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Does it give an error when you choose "search for network"?

Also, how's overall performance? Graphics animations, apps loading speed... etc

Also, try deleting the usecne line in the build.prop and reboot. Tell me if that makes a difference.
[Android Software/Hacking General [Developers Only]] saraghon:
It's giving no error. Just searching.

Performance and graphics are good. No issues.

I'll try deleting the usecne.

Edit: After deleting usecne line: phone doesn't searche and shows error while searching networks!

everything is as is but Signal Strength changed from 0 dBm 0 asu to -99 dBm 7 asu
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Could you also please upload the log? Thanks

Also, in setting > about, what does it say about the baseband?
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Thats very interesting because that means the OS was able to start the radio :)

Edit: I read thru some android documentation and found that /framework/base/com/java/internal/telephony must match the baseband libs installed in the ROM. All my zips since test2 had baseband libs from our XT530.

Now we should turn our focus to copying telephony parts from XT530 to XT532 framework.jar

Edit2: Could you please try copying this phone.apk to /system/app and tell me what happens. Put phone to airplane mode before replacing apk, repair permissions, reboot.
[Android Software/Hacking General [Developers Only]] rituj_b:
Can u please upload them.

Please.............:o
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
There you go :)
[Android Software/Hacking General [Developers Only]] saraghon:
Ok. One moment plz.

That's good. So it's almost resolved! Great!

What about the force closing errors:

com.android.phone (related to Phone.apk)

com.android.acore (related to Contacts.apk)

com.android.systemui (related to Systemui.apk)
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I think those errors will go away once we fix ril.
[Android Software/Hacking General [Developers Only]] saraghon:
That's what I think too.

what permissions should I give to phone.apk? 755?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
@all

Hey friends I managed to get Radio Wifi ADB Bluetooth SD Card and everything else working with 2.6.35.11-perf kernel.

I just wanna know more errors to do some more testing before giving you all the update.

Can anyone let me know any more errors they got? Thanks

All of you did a wonderful job. :)
[Android Software/Hacking General [Developers Only]] saraghon:
With 2.3.5 or 2.3.7 Rom?

And the graphic issues?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Yeah graphic issues too(solved).

With 2.3.5. (We'll edit build.prop for it don't worry :P)

Edit: If you could provide me the build.prop of different sbf's that would be great.

I've for Indonesian and European. If you can provide with any others that would be great. Thanks.

Edit : @7amdoun. High Five bro we did it again ;)
[Android Software/Hacking General [Developers Only]] saraghon:
Is build.prop the only diffence between 2.3.7 and 2.3.5? I don't think so.

I just have the European One.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Thats excellent news, thanks.

How did you fix the WiFi? Please release a zip quickly :P I'm very excited :D

I would recommend you stay away from playing build.prop. Its not worth the it!
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
No there is a lot of difference but I think our motive was to get more and more things stable.And we are almost done. :)
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
For build.prop I just wanted to release everything separately for separate ROM(s) because I think build.prop may conflict with different regions. And I want to include build.prop because I want to change it to 2.3.7 :P

Edit : I think you must know how to solve it. I'm getting white screen on playing videos.

And Wi-Fi not completely solved it fails to connect but shows access points. :(
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Oops, I forgot that we need to to switch rendering to GPU to fix graphics. I guess we'll have to include build.prop!!

---------- Post added at 05:00 PM ---------- Previous post was at 04:55 PM ----------

Yeah, thats the same problem I had yesterday before giving up :(
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Hey bro see edit in last post I need your help.

And just replace wlan.ko and wifi folder from etc and repair permissions. Wi-Fi works but doesn't connects. Fails to obtain IP. :( (disappointed now)

May be some lib related issue let me see through it.

Edit: Do you remember what you did when you fixed WIFI in 2.3.7?
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I managed to decompile framework.jar but I'm not stuck with recompiling errors.

For those who wanna try, there are two folderd to be replaced. /android/telephony and /com/android/internal/telephony

@awesomeabhijeet: can you do this?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
I'm also getting errors in recompiling.

I think our themer zhalx knows how to do it correctly. Because he modded our android.policy.jar
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Could you please ask him to help us with this?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Okay I will ask him if he's free for this.
[Android Software/Hacking General [Developers Only]] saraghon:
which tool are you using?
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Apktool and baksmali. Both didn't worked in recompiling.
[Android Software/Hacking General [Developers Only]] rituj_b:
Even aux isn't working. When i connrct headphones to it, it does not respond and keeps on playing music through the phone speaker.

On 2.3.5 with new kernel.
[Android Software/Hacking General [Developers Only]] saraghon:
New compiled framework.jar

I did it with success and here is the new compiled framework.jar

I didn't try it yet.

Edit: So did anyone try the new framework.jar with 7amdoun's 2.3.7 zip?

I'll do once I have time.
[Android Software/Hacking General [Developers Only]] saraghon:
I tried it by adding it to the test4 zip and flashing and after formatting data/cache and rebooting the phone reboots just after start playing the bootanimation. I don't know why. Maybe because of signature lost after editing framework.jar

I'm still trying to find the issue. Keep it up gyus! :)

---------- Post added 23rd December 2012 at 12:08 AM ---------- Previous post was 22nd December 2012 at 11:45 PM ----------

I found the issue. could someone give me the framework.jar from the stock Sbf.

I think this time it's gonna work. :o
[Android Software/Hacking General [Developers Only]] Otero90:
thanks!! :good:
[Android Software/Hacking General [Developers Only]] saraghon:
New compiled modded framework.jar

Here is the new fixed framework.jar

I replaced the folder /android/telephony and /com/android/internal/telephony with the ones from stock framework and recompiled with no errors.

I tried it by adding it to 7amdoun's test4 zip and flashing and after formatting data/cache and rebooting the phone reboots just after start playing the bootanimation.

Anyone have any idea?

Logcat in attachements.
[Android Software/Hacking General [Developers Only]] rituj_b:
Guys did you read my post, even the aux isn't working.

On the stock 2.3.5 with gb kernel.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
I think while rebuilding you build it as .jar. Remember you have to recompile it as classes.dex then replace with classes.dex in the framework with the modified one using 7-zip.
[Android Software/Hacking General [Developers Only]] saraghon:
This is what I did. I edited the post. Reread it.

---------- Post added at 05:26 AM ---------- Previous post was at 05:23 AM ----------

I am going to sleep. It's 03:24 am here in Morocco. the framework.jar took me a lot of time but didn't work. I'm disappointed. I'll try to find the solution after waking up.

Try opening it with 7zip.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Here is the relevant part of the log:

I think the problem is not with compiling the framework.jar but rather with the files we added to it, I'll have a look at it once I'm back from school.

Edit: for the mean time, I would recommend that you add contacts, contacts provider, phone, telephonyprovider apks from 2.3.5 to the zip and trying again.
[Android Software/Hacking General [Developers Only]] rituj_b:
Please spmebody help me i need the aux to work.

Please........ :o:o:o:o:o:o:o:o
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
We are trying to sort out problems one by one.

Please have patience.
[Android Software/Hacking General [Developers Only]] rituj_b:
I just need you to upload the files/libs related to aux from the 2.3.7.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I think I found out the cause of the crash. The services.jar is calling a method in the frameworks.jar that is not available.

This means we have to edit services.jar too. I'll search for the exact cause of the problem and tell you how to fix them.
[Android Software/Hacking General [Developers Only]] saraghon:
Ok that's really good. Can't we try the services.jar from 2.3.5 with the new framework.jar?
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I don't know! It might break other things.

Try it if you can and upload the log.
[Android Software/Hacking General [Developers Only]] saraghon:
Ok I am doing it. I'll replace services.jar from stock and see what's happening.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
If it doesn't work, we can edit the services.jar and recompile.
[Android Software/Hacking General [Developers Only]] saraghon:
Yes. I am flashing now. did you know what to change in services.jar?

Edit: It didn't work. Here is the log after replacing services.jar from stock.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
In com/android/server/

TelephonyRegistry.smali

TelephonyRegistry$1.smali

TelephonyRegistry$Record.smali

and maybe all connectivity service stuff.
[Android Software/Hacking General [Developers Only]] saraghon:
Ok I will replace those ones first. If it doesn't I will replace all the connectivity stuff. Editing now.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Thanks for the logs. They make debugging so much easier :)

Dalvik VM crashed probably because of the incompatible framework.

---------- Post added at 05:02 PM ---------- Previous post was at 05:01 PM ----------

Please upload the log after replacing the first 3 files.
[Android Software/Hacking General [Developers Only]] saraghon:
Welcome. I am recompiling now and will flash. Stay there!!!

Edit: We are almost done.

Phone starts and the entire bootanimation with sound but reboots at the moment it normally shows the desktop.

The log in attachement. I just replaced the 3 files.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
I'm looking at log now.

Edit: We'll, this is a bit of a mess here!! Try pushing settingsprovider.apk from XT530 to your phone using ADB, Reset to factory defaults and reboot and get me the log again.
[Android Software/Hacking General [Developers Only]] saraghon:
OK. One moment plz

Edit: ADB shows error: device offline

Ithink I have to reflash sbf and new boot.img and retry because adb and bootmenu not working.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
OK, give me some time before you flash anything else.
[Android Software/Hacking General [Developers Only]] saraghon:
Ok take your time.
[Android Software/Hacking General [Developers Only]] s.rana71:
Will we be able to port ics after kernel port it will be successful?
[Android Software/Hacking General [Developers Only]] Taki2011:
I think that I've A u8800 And Ics working with stock 2.3 kernel
[Android Software/Hacking General [Developers Only]] saraghon:
Perhaps but we are now just focusing on getting 2.3.7 with new kernel from xt532 working on xt530. This will be the start of a lot of coming Roms. :)
[Android Software/Hacking General [Developers Only]] s.rana71:
So, why kernel upgrade can't we get 2.3.7 on 2.6.32 kernel i.e xt 530 kernel.

Also will new kernel omprove battery life also

Also is this to get ics as moto denied an upgrade to the device

Or its just for GPU

PLEASE ANSWERR AND SOORY FOR STUPID QUESTION AS I AM NOOB
[Android Software/Hacking General [Developers Only]] saraghon:
@ 7amdoun

Here is the last log after replacing SettingsProvider.apk

Nothing changed I think. There is a little change from the last log I gave you.

I think we have to edit the framework again and replace providers folder.
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
This problem is quiet challenging actually. If there is one thing I hate about linux (Android), its dependencies.

We'll need to modify 3 things: (copy from XT530).

In framework.jar

/android/app/ (folder)

/android/provider/ (folder)

/android/content/ (folder)

/android/database/sqlite (folder)

In services.jar

/com/android/server/am (folder)

/com/android/server/SystemServer.smali

/com/android/server/SystemServer$1.smali

In apps:

ApplicationsProvider

SettingsProvider

Phone

TelephonyProvider

Contacts

ContactsProvider

This'll either fix everything or break everything :D

Edit: in build.prop

delete dalvik init:jit

and change v=n,o=a,u=y to m=y
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Sorry. I wasn't available today.Great job by you guys. I think we are very near in getting new kernel. :cool: . And I'm very near in getting wifi working on stock ROM. :)

Three things reported not working are :

1. Aux

2. Video

3. Camera.

I will try to resolve them as sson as possible.

Keep your work up guys.
[Android Software/Hacking General [Developers Only]] zhalx:
very happy to hear that.

keep up the great work guys.

:good::D
[Android Software/Hacking General [Developers Only]] saraghon:
:D Just don't zap.

I am editing.
[Android Software/Hacking General [Developers Only]] petterbregen:
Yeah! Works like a charm, Thanks!
[Android Software/Hacking General [Developers Only]] saraghon:
@ 7amdoun

I did everything as you mentioned and here is th last log.

My phone plays the full bootanimation with sound and restarts at the moment it must show the desktop.
[Android Software/Hacking General [Developers Only]] Ben531:
You guys are genious i would never think that we will be able to get somehow a new rom, hopefully everything goes well and in the future who knows... we might get ICS.:good:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
This is very strange!!

I'm too tired to think about it now. I'll see what else we can do tomorrow. Hopefully awesomeabhijeet can fix the WiFi issue on 2.3.5 by then.

Edit: Try replacing the following:

/system/lib/libandroid_servers.so

/system/lib/libandroid_runtime.so

/system/lib/libbinder.so

/system/lib/libc.so

/system/lib/libdvm.so

/system/lib/libandroid_servers.so

/system/lib/libutils.so

/system/lib/libsqlite.so

/system/lib/libsqlite_jni.so

/system/bin/app_process

If it still doesn't work, try using stock 2.3.5 service.jar again after replacing those libs.
[Android Software/Hacking General [Developers Only]] saraghon:
I'll do that tomorrow incha Allah. Today I'm really so tired.

By the way if you can upload a new zip with modded build.prop, libs, and everything that we will change so I can just add the new compiled framework.jar and services.jar and flash.

Edit: I did replace all the mentioned libs and bin.

After flashing phone is stuck on M logo .

Here is the log (log_237.txt).

I didn't understand what's going wrong.

Edit 2: The same thing with services.jar from stock 2.3.5

Here is the log (alog.txt)
[Android Software/Hacking General [Developers Only]] BTiwari:
http://xdaforums.com/showthread.php?t=2043636

hey can any one see this may be this will help us to unlocking our bootloder
[Android Software/Hacking General [Developers Only]] saraghon:
This is for Samsung Galaxy Note 2. No hope.
[Android Software/Hacking General [Developers Only]] BTiwari:
:crying::crying::crying:
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
In both logs, the system is stuck on loading /system/bin/netd binary. Try replacing it with one from 2.3.5

@awesomeabhijeet:

Try to copy the netd binary from 2.3.7 to 2.3.5 and see if that fixes the WiFi issue we have.

I wonder which ROM will be fully fixed first :P :D
[Android Software/Hacking General [Developers Only]] s.rana71:
Will it result in success or not

Also can someone tell how much prject is complete
[Android Software/Hacking General [Developers Only]] Taki2011:
Sry Its Off Topic but I've Wifi Issue with all Sbfs ! My Conectify Wifi Access Piont disconnect every 1 min ! I tried indian and brazil and Chili 2.3.4 Sbf And ive the same result .. When i connect to the Other routers it works fine .. Can I Edit Wpa Config file to make it work without disconnect ?
[Android Software/Hacking General [Developers Only]] saraghon:
Maybe the problem is with your router. Try to reset it!!
[Android Software/Hacking General [Developers Only]] s.rana71:
But wifi disconnects every min even in stock rom eith stock kernel.

Ithink its problem with motorola device.

---------- Post added at 10:21 PM ---------- Previous post was at 10:14 PM ----------

Where's the progress reached

I think no development today
[Android Software/Hacking General [Developers Only]] saraghon:
Failed again: Stuck on M logo.

Here is the log.(237241212.txt)

I think we have to replace a lot of binaries from stock bin folder.

Here is the log with stock services.jar (237241212SVC.txt)
[Android Software/Hacking General [Developers Only]] saraghon:
Developpement progress:

2.3.7 ROM with new kernel 2.9.35: everything is working but Radio (GSM/UMTS) and we are trying to fix that.

2.3.5 ROM with new kernel 2.9.35 and updated adreno200 graphic libs: everything is working but wifi & aux.
[Android Software/Hacking General [Developers Only]] s.rana71:
Its so nice thanx man

Canu pleade tell me can we hope fully working in near future.

Thnx again.
[Android Software/Hacking General [Developers Only]] saraghon:
I think we are almost done with the two roms. Just be patient and hit the thanks button under my reply if I helped you to support this thread. Thanks.
[Android Software/Hacking General [Developers Only]] Taki2011:
i've no router i use wifi card to get a wifi a.p By Connectify app .. Any way to enable ad hoc ?
[Android Software/Hacking General [Developers Only]] sid5291:
I used connectify with a static ip used to work .... havent tried for a long time .
[Android Software/Hacking General [Developers Only]] Taki2011:
Ok But how can i use static ip ?
[Android Software/Hacking General [Developers Only]] sid5291:
The advance settings in Wi-Fi ...
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
Unfortunately, this is a dead-end here!! The phone is just not accepting the frameworks.

I think we should return back to the stable test4.zip till I think of another way to go.
[Android Software/Hacking General [Developers Only]] Taki2011:
Can SomeOne make updater script That Can Flash boot img .. And give me the way to extraxkt the sbf .. I'll make An Miui And Lewa Os Port
[Android Software/Hacking General [Developers Only]] Dr. Hurt:
One more test. Replace the /system/bin/port-bridge with one from stock 2.3.5 and tell me what happens.
[Android Software/Hacking General [Developers Only]] saraghon:
I think we must search deeply if we can port a Dual Sim Rom. And what exactly to change.

I'm going to search for all the folders and files controlling Radio on all Android phones.

Can't we try to port cyanogenmod 7.2 from a Motorola ARMv6 based phone like the Morrison? I think this is gonna be easy somehow with the new kernel. I'll try to make a ROM based on Cyanogenmod and test4.zip and see if it will work and what will be the issues ther.
[Android Software/Hacking General [Developers Only]] Taki2011:
i MAde an MIUI Port And I Works Fine ;) I'll Upload it
[Android Software/Hacking General [Developers Only]] saraghon:
Here is log after replacing port-bridge.

Something going wrong with usb & modem: always stuck on M logo.
[Android Software/Hacking General [Developers Only]] saraghon:
OK. That's good. Is everything working there? No issues?

Give the link please.

Witch kernel is it working with?
[Android Software/Hacking General [Developers Only]] usf197:
CWM Error on my phone

i had installed the cwm on my phone by your method and it worked fine ... However, i flashed my phone with the stock rom ( it went through a boot loop ) then routed it ... now when iam trying to install the cwm it says error: device offline

the phone is connected to the pc and on the debugging mode and everything looks fine ... what i should do about that ?? :\
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Use RSD lite to flash your stock ROM.

See my works debrick your xt
[Android Software/Hacking General [Developers Only]] saraghon:
Hi abhijeet. Any news about the wifi fixing?
[Android Software/Hacking General [Developers Only]] usf197:
Thx for reply

Thx , i found the problem .. it was an error in the adb interface on my laptop , nothing to do with the phone
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Trying moved a step ahead.

It once got stuck on authenticating...
[Android Software/Hacking General [Developers Only]] saraghon:
Maybe some binary controlling wifi have to be replaced.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
I tried replacing wpa_supplicant as I saw in the log that this is only controlling the wifi but it didn't worked. And I tried replacing netd I got stuck at boot. :/
[Android Software/Hacking General [Developers Only]] saraghon:
Did you replace wifi libs from 2.3.7 ROM.
[Android Software/Hacking General [Developers Only]] aweosomeabhijeet:
Yeah tried.

Give me a list of them may be I missed some.

Edit : I think there is only one lib for it.
[Android Software/Hacking General [Developers Only]] rider011:
---

I have try on my XT530 and it work. After selected 2nd-init the unit is restart and stop on the motorola red eye

so i put out the battery and restart normal.

Like u say, the file 97bootmenu was delete.

I have already one copy in the sdcard so is easy to put back and change permission.

Good work! :good: