I Have the android source code and i'm doing some mods... My question is: Do I need to add any APNs to the source... or once compiled, can I just flash and it'll auto work with t-mobile, etc... ?
You know, APNs can be configured through the UI.
whitemonster said:
I Have the android source code and i'm doing some mods... My question is: Do I need to add any APNs to the source... or once compiled, can I just flash and it'll auto work with t-mobile, etc... ?
Click to expand...
Click to collapse
what exactly are you modding
I know, but I dont want to have the end-user have to type in their APNs... I rather it be built in... So are they built in or must I add them to the source before building?
I'm modding the whole thing... like why make the menu come out of the bottom? why not the side? lol..., etc, etc... adding to BIN and some other stuff...
whitemonster said:
I know, but I dont want to have the end-user have to type in their APNs... I rather it be built in... So are they built in or must I add them to the source before building?
I'm modding the whole thing... like why make the menu come out of the bottom? why not the side? lol..., etc, etc... adding to BIN and some other stuff...
Click to expand...
Click to collapse
Good luck with the new ROM whitemonster!
alritewhadeva said:
Good luck with the new ROM whitemonster!
Click to expand...
Click to collapse
yea i'll need it.... just me and my java for dummies lmao
so does anyone have the answer to my APN question?
I can't tell you how to build it into the source but if you place apns-conf.xml in /system/etc then it will ues those APNs, you can even just copy one out of a current build and place it there. You may have to resign the update.zip though.
Hope this helps!
Here's presenting stock Slimbean ROM with just 2 commits reverted which prevented users from adding the big menu button to navigation bar and SlimPie. Besides this, this is pure Slimbean without any modification whatsoever. I'm not a developer, in fact I learnt to install linux because I wanted the menu button so bad. I thought maybe I should share this with similar minded people. I'm going to upload updates as and when Slim team releases 4.3 updates as I'm not sure about the changes that would be made in 4.4. I won't be able to take any request as I am totally unaware of how to make any modifications, cherry picks or anything else. Hope you enjoy this ROM.
Code:
Disclaimer: We are not responsible for any damages on your device.
Original Slim Features:
The Real Dark Slim
SlimPIE
Notification drawer Shortcuts
Full hardware key rebinding!
Keyboard rotation
SlimCenter, SlimIRC and much more
Full feature list and changelog can be found on Slimroms website.
Installation instructions
For most users
Please keep in mind if a special instruction is needed it will be noted in the changelog.
Download the latest build from
Addons
!Recommended! Full wipe, and manual format /system
Flash ROM and the addons you want, reboot
Source
This ROM and kernel uses stock Slimbean code, which again can be accessed through Slimroms website.
Credits:
mar5hal
Nebucatnetzer [Slimroms forum]
NeB [Slimroms forum]
kufikugel
Entire Slimroms team for the source code.
Slim team has done an excellent job, please consider donating them.
Download Link:
http://d-h.st/DDf
[If you want to make a mirror, please contact me to update the OP]
Reserved...
another one... just in case...
@gururoop thank you so much for this, the one main thing missing from slim, Menu Button. In theory there shouldn't be any issues since its only 2 extra commits. Downloading now :good:
Just some screens to confirm. Everything is running smooth, no issues whatsoever
Sent from my Nexus 4 using XDA Premium 4 mobile app
Great, thanks a lot
edit: glad to have the menu button back.
However, I think it's better if you just make a small patch instead of rebuild the whole rom.
dark_ente said:
However, I think it's better if you just make a small patch instead of rebuild the whole rom.
Click to expand...
Click to collapse
That would be great, indeed. :good:
dark_ente said:
Great, thanks a lot
edit: glad to have the menu button back.
However, I think it's better if you just make a small patch instead of rebuild the whole rom.
Click to expand...
Click to collapse
finistere said:
That would be great, indeed. :good:
Click to expand...
Click to collapse
i wish i knew how to do that, but if you guys know how to, please guide me and i'll do it...
anyway, just compiled a new build so uploaded it here... OP updated with new link... enjoy...
gururoop said:
i wish i knew how to do that, but if you guys know how to, please guide me and i'll do it...
anyway, just compiled a new build so uploaded it here... OP updated with new link... enjoy...
Click to expand...
Click to collapse
Changelog what is changed?
The new official one has the statusbar mods now. Hate to leave it for the menu key but I might. Thanks for the build.
Sent from my Nexus 4 using Tapatalk
smartymcfly said:
Changelog what is changed?
Click to expand...
Click to collapse
No changelog... Just wanted to check how long does it take to compile in a virtualbox so synced the latest code and compiled...
Sent from my Nexus 4 using xda premium
scottx . said:
The new official one has the statusbar mods now. Hate to leave it for the menu key but I might. Thanks for the build.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
What statusbar mods are you talking about? This build is pure stock with just 2 reverts which enable us to add the menu button, apart from that no other change. The latest build was synced on 5th November, so maybe the statusbar mods were added later.
Sent from my Nexus 4 using xda premium
gururoop said:
i wish i knew how to do that, but if you guys know how to, please guide me and i'll do it...
anyway, just compiled a new build so uploaded it here... OP updated with new link... enjoy...
Click to expand...
Click to collapse
Please correct me if I'm wrong.
I guess you revert the change in framework-res.
In that case, you just need to create an update.zip which replace the old framework-res with your framework-res, and user only need to flash that file instead of the whole ROM.
dark_ente said:
Please correct me if I'm wrong.
I guess you revert the change in framework-res.
In that case, you just need to create an update.zip which replace the old framework-res with your framework-res, and user only need to flash that file instead of the whole ROM.
Click to expand...
Click to collapse
i revert the following 2 commits to achive the desired change:
5dd205257a8cfba3278ddb4ffbdd1897b1feaed7-packages/apps/Settings
8108afc56d15553c1d4abc83c9e9e27ac5b7cb36-framework/base
don't know exactly how many files or what else changes due to that. If you could figure that out, i'll be more than happy to help. and can u tell me whether there is any way i can compile some selected files instead of the whole rom?
gururoop said:
i revert the following 2 commits to achive the desired change:
5dd205257a8cfba3278ddb4ffbdd1897b1feaed7-packages/apps/Settings
8108afc56d15553c1d4abc83c9e9e27ac5b7cb36-framework/base
don't know exactly how many files or what else changes due to that. If you could figure that out, i'll be more than happy to help. and can u tell me whether there is any way i can compile some selected files instead of the whole rom?
Click to expand...
Click to collapse
What I mean is you still compile the rom, but only make a flashable zip of these two files and put it here. It would be easier for both you and me.
From the commit, I guess the two files are settings.apk and framework-res
Sent from my Nexus 4 using Tapatalk 2
dark_ente said:
What I mean is you still compile the rom, but only make a flashable zip of these two files and put it here. It would be easier for both you and me.
From the commit, I guess the two files are settings.apk and framework-res
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
now its getting too embarassing for me, but do you have any easy guide to help me create a flashable zip for these two files??
gururoop said:
now its getting too embarassing for me, but do you have any easy guide to help me create a flashable zip for these two files??
Click to expand...
Click to collapse
No problem mate.
The easiest way is to extract your rom to a new folder, delete boot.img, go to system folder and delete everything except the two files you want to keep. (you must also keep the folder structure). Inside these 2 folders are only files you want to copy (in this case settings.apk and framework-res)
Then go to META-INF\com\google\android\ folder and use notepad to edit the updater-script file like this
After that, you can compress them as simple zip and flash via twrp.
Next time you can just replace 2 files, compress again. No need to edit updater-script
Sent from my Nexus 4 using Tapatalk 2
dark_ente said:
No problem mate.
The easiest way is to extract your rom to a new folder, delete boot.img, go to system folder and delete everything except the two files you want to keep. (you must also keep the folder structure). Inside these 2 folders are only files you want to copy (in this case settings.apk and framework-res)
Then go to META-INF\com\google\android\ folder and use notepad to edit the updater-script file like this
After that, you can compress them as simple zip and flash via twrp.
Next time you can just replace 2 files, compress again. No need to edit updater-script
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
So what you are saying is that if someone or I can just extract those 2 apks and add to a flashable zip I have lying round and menu button will be added to normal slim?
Would have been quicker!!
Sent by mobile telephone.
^^^^LOL I agree... Sidenote its funny how many people can creates so much goodness with building or modding files but dont know how to create flashable zips... LOL
dont re-invent the wheel I believe just get a gapps zip and mod away...
OH yea my bad thanks for the rom I too am a big fan of the menu and choose to live with it
Well this Guide with all its spelling mistakes somehow made it to portal
Click to expand...
Click to collapse
For Developers: If you are planning to compile your ROM, and want to use this mod, then read This Post
Background Story:
I was missing the CyberShot Camera too much and found Google Camera has been ported to JB And I also wanted to try the Moded LifeLog app, which somehow was not working on my Pacman Rom.
These were the reasons I Decided to come back to JB Stock Base. I had a previous Nandroid Backup of Lovin's Z2 ROM for XV. I took all my Call-Log and SMS Backups and also took backup of some apps that I used. Then I restored the NAND Backup today.
after that I started restoring the apps+data. Everything was fine.
After few hours of using, As I always do, I took the periodic backup of my Call Logs again. That's when I noticed, the previous Logs were 700+ and now after making some calls, it came down to 500. after Some test, I found out, this is not problem of Backup software.
A little Google search revealed Android has a default call log limit set to 500 Calls.
I searched for Xposed Mod for this, found TrimNot. But it showed error. Most probably, it is only for KK. Then I thought why not MOD it myself?
That's how it all started...
The research & work procedure:
I first thought, OK, I need to find where the Calls are stored. After passing some time with Google, I found, the Logs are stored in a SQlite3 Database, in
Code:
/data/data/com.android.providers.contacts/databases/contacts2.db
There is no limit in this database storage. So, the limit must be in the code.
After another couple of hours, I found that Android checks if the contacts has reached 500 then removes the older. Searching with
Call Log Android
Click to expand...
Click to collapse
in android API reference, where I found some leads on my research.
"public class CallLog" which is under "android.provider.CallLog"
Something told me, to look for this class, in the actual source code. But that's almost 30 GB and I don't have time. from some prior Java knowledge I knew, all class have their own source file, with the same name, So the name would be "CallLog.java"
Now I searched Google, with it and found exactly what I was looking for. The search took me to a Git page android/platform_frameworks_base
And here I found this code.
Java:
private static void removeExpiredEntries(Context context) {
final ContentResolver resolver = context.getContentResolver();
resolver.delete(CONTENT_URI, "_id IN " +
"(SELECT _id FROM calls ORDER BY " + DEFAULT_SORT_ORDER
+ " LIMIT -1 OFFSET 500)", null);
}
The file is located in
Code:
platform_frameworks_base/core/java/android/provider/CallLog.java
and from the name I guessed, this should be inside framework files. Then I went into action. I first tried to de-compile the framework-res.apk file. I used Advanced APKTool by BDFreak
Using the windows search tool, I searched for "call log". I found nothing. Then I tried to de-compile "framework.jar". For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
after the de-compiling was Done, I found there is a "android/provider" folder. Yes, it look similar to "platform_frameworks_base/core/java/android/provider/CallLog.java"
So, here should be the files. And I found Two files
Code:
CallLog$Calls.smali
CallLog.smali
I opened both with Notepad++,
CallLog.smali gave me noting.
But after a careful search, I found the exact query inside the ]CallLog$Calls.smali file.
I found this line -
Code:
const-string v2, "_id IN (SELECT _id FROM calls ORDER BY date DESC LIMIT -1 OFFSET 500)"
I just changed 500 to 100000 and I knew my task was done.
I then recompiled the framework.jar and took backup of my original framework.jar (took Nandroid backup ), replaced the original with my modified JAR file. Set the permission rw-r-r or 644. Then rebooted my phone.
Testing:
After the phone started, I made a call, then took backup of the Call Log with Call Log Backup Restore it showed 501.
This means my task is done.
Then I thought, why not share the whole experience today in XDA. So I started Writing this Guide.
F.A.Q.
Why I need more than 500 Call Log ?
- Well I work in Billing Department of a GSM Phone Exchange/Gateway. I periodically cross check my phone Call Logs with the Exchange SoftSwitch Data. Except for that, It's just fun to try something new.
Why this guide has no steps or required steps?
- Because, if anything I missed, those will be added later in the FAQ, from the comments.
Is this tested on any device?
-Yes,
My # Xperia V with LOVINS X™ Z2 ROM 9.2.A.2.5
# Xperia V NeoWave™ ROM
# Xperia TX OmniRom
# Xperia TX (unknown ROM )
# Xperia Z2 (unknown ROM )
# Xperia P Stock ROM
#Xperia P JB based Enigma v7.2 ROM
#CyanogenMod 11 M11 and M12
Can this work on my T/TX/TL/Z/Z1 etc. etc.
- Theoretically it should work on any Device and any ROM. But, practically, I don't know, why don't you try yourself and let me know
I'm newbie, can you provide me more simple guide?
- Well I'm a Newbie myself Just take a Nandroid Backup and start the process. What can go wrong? At most you'll have to restore the backup.
Go to every link and read those too. And Don't forget to Thank those people who provided the Tools and Guides.
Still If you don't understand my guide, read it twice, if it doesn't work read again.
Ha Ha Ha kidding. Here you go A Simple guide
Update:
If you are planning to compile your ROM, and want to use this mod, then read This Post
I switched to NeoWave™ ROM and just as usual applied my MOD. Restored 800+ Call Log from Backup. Now I find another limitation. It's in the Dialer. In the KitKat Call History, there is a Statistics option. Here it always shows
TOTAL: 500 Calls,....
Click to expand...
Click to collapse
So Now I'm digging the sources again to make the stats go higher.
Update: The issue was caused because, after sometimes (any call), the call history automatically turned to 500. Because the framework.jar was odexed and i guess, odex file had the old value set again. And for the NeoWave I used android MultiTool, it showed one error while compiling, Unsigned Short value exceeds, I didn't notice that. My bad. Now I have done the Mod again with Apktool (Lovins shared one) and removed the odex file and then Everything seems fine. Even the Statistics Shows, TOATAL: 1203 Calls, ....
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
Thanks for the Confirmation. I am updating the Tested Device & ROM. Your device is TX, Right? I guessed from the signeture
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
Would you like to share the Xposed module you used before?
pollob666 said:
Thanks for the Confirmation. I am updating the Tasted Device & ROM. Your device is TX, Right? I guessed from the signeture
Click to expand...
Click to collapse
Yes, I have a TX.
tianzhisun said:
Would you like to share the Xposed module you used before?
Click to expand...
Click to collapse
It's the same one linked in the OP, except it's named TrimNot, not TimNot. I thought it might be a different one given that the one linked above didn't work for @pollob666, but I guess it's because I'm on a 4.4 ROM.
It's the same one linked in the OP, except it's named TrimNot, not TimNot. I thought it might be a different one given that the one linked above didn't work for @pollob666, but I guess it's because I'm on a 4.4 ROM.
Click to expand...
Click to collapse
Oops.. It was a Typo Yes, TrimNot works on KK but not on JB. that is why I needed to modify my Android Framework.
This is great and I will try it out.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
acb123 said:
This is great and I will try it out.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
Click to expand...
Click to collapse
for the clock there is this guide http://forum.xda-developers.com/showpost.php?p=53591001&postcount=6 give it a look
acb123 said:
This is great and I will try it out.
Click to expand...
Click to collapse
After trying, give us the update.
But there is also another ridiculous limitation, that is the maximum of 20 alarms you can have in the clock
Click to expand...
Click to collapse
I didn't notice that. Let's see what we can do about that
pollob666 said:
I didn't notice that. Let's see what we can do about that
Click to expand...
Click to collapse
give a look at the link in the post above yours... it's for z2 but it could work also for other version
Works fine on Xperia P running JB based Enigma v7.2
It works on stock based Xperia P. pollob666 small typo. How about renaming "tasted" to "tested"
usb2 said:
give a look at the link in the post above yours... it's for z2 but it could work also for other version
Click to expand...
Click to collapse
Yeah, saw that, going to try it tomorrow. Hopefully, here I can find some DB sources too.
prasadkumar013 said:
It works on stock based Xperia P. pollob666 small typo. How about renaming "tasted" to "tested"
Click to expand...
Click to collapse
Sorry about that, I guess I'll have to check the whole OP
Please make the steps simple for a newbie
Well, I was looking for this feature since Google invented Android!:good:
I was using MIUI because of they're giving unlimited Call log. Then some one invented TrimNot on Aug 15, 201, I came again to OzcanRom (My Fav). Trim not doesn't work at all.
My question is, Can you make this step more simple. I'm a new bie. :fingers-crossed:
pollob666 said:
Background Story:
I was missing the CyberShot Camera too much and found Google Camera has been ported to JB And I also wanted to try the Moded LifeLog app, which somehow was not working on my Pacman Rom.
These were the reasons I Decided to come back to JB Stock Base. I had a previous Nandroid Backup of Lovin's Z2 ROM for XV. I took all my Call-Log and SMS Backups and also took backup of some apps that I used. Then I restored the NAND Backup today.
after that I started restoring the apps+data. Everything was fine.
After few hours of using, As I always do, I took the periodic backup of my Call Logs again. That's when I noticed, the previous Logs were 700+ and now after making some calls, it came down to 500. after Some test, I found out, this is not problem of Backup software.
A little Google search revealed Android has a default call log limit set to 500 Calls.
I searched for Xposed Mod for this, found TrimNot. But it showed error. Most probably, it is only for KK. Then I thought why not MOD it myself?
That's how it all started...
The research :
I first thought, OK, I need to find where the Calls are stored. After passing some time with Google, I found, the Logs are stored in a SQlite3 Database, in
Code:
/data/data/com.android.providers.contacts/databases/contacts2.db
There is no limit in this database storage. So, the limit must be in the code.
After another couple of hours, I found that Android checks if the contacts has reached 500 then removes the older. Searching with
in android API reference, where I found some leads on my research.
"public class CallLog" which is under "android.provider.CallLog"
Something told me, to look for this class, in the actual source code. But that's almost 30 GB and I don't have time. from some prior Java knowledge I knew, all class have their own source file, with the same name, So the name would be "CallLog.java"
Now I searched Google, with it and found exactly what I was looking for. The search took me to a Git page android/platform_frameworks_base
And here I found this code.
Java:
private static void removeExpiredEntries(Context context) {
final ContentResolver resolver = context.getContentResolver();
resolver.delete(CONTENT_URI, "_id IN " +
"(SELECT _id FROM calls ORDER BY " + DEFAULT_SORT_ORDER
+ " LIMIT -1 OFFSET 500)", null);
}
The file is located in
Code:
platform_frameworks_base/core/java/android/provider/CallLog.java
and from the name I guessed, this should be inside framework files. Then I went into action. I first tried to de-compile the framework-res.apk file. I used Advanced APKTool by BDFreak
Using the windows search tool, I searched for "call log". I found nothing. Then I tried to de-compile "framework.jar". For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
after the de-compiling was Done, I found there is a "android/provider" folder. Yes, it look similar to "platform_frameworks_base/core/java/android/provider/CallLog.java"
So, here should be the files. And I found Two files
Code:
CallLog$Calls.smali
CallLog.smali
I opened both with Notepad++,
CallLog.smali gave me noting.
But after a careful search, I found the exact query inside the ]CallLog$Calls.smali file.
I found this line -
Code:
const-string v2, "_id IN (SELECT _id FROM calls ORDER BY date DESC LIMIT -1 OFFSET 500)"
I just changed 500 to 100000 and I knew my task was done.
I then recompiled the framework.jar and took backup of my original framework.jar (took Nandroid backup ), replaced the original with my modified JAR file. Set the permission rw-r-r or 644. Then rebooted my phone.
Testing:
After the phone started, I made a call, then took backup of the Call Log with Call Log Backup Restore it showed 501.
This means my task is done.
Then I thought, why not share the whole experience today in XDA. So I started Writing this Guide.
F.A.Q.
Why I need more than 500 Call Log ?
- Well I work in Billing Department of a GSM Phone Exchange/Gateway. I periodically cross check my phone Call Logs with the Exchange SoftSwitch Data. Except for that, It's just fun to try something new.
Why this guide has no steps or required steps?
- Because, if anything I missed, those will be added later in the FAQ, from the comments.
Is this tested on any device?
-Yes,
My # Xperia V with LOVINS X™ Z2 ROM 9.2.A.2.5
# Xperia TX OmniRom
# Xperia TX (unknown ROM )
# Xperia Z2 (unknown ROM )
# Xperia P Stock ROM
Can this work on my T/TX/TL/Z/Z1 etc. etc.
- Theoretically it should work on any Device and any ROM. But, practically, I don't know, why don't you try yourself and let me know
Click to expand...
Click to collapse
---------- Post added at 11:08 AM ---------- Previous post was at 10:10 AM ----------
Can you please share the framework.jar file that edited and recompiled by you? If you can make a edited framework.jar for OzcanRom 4.2, I will be very thankful. I spent almost two nights on this and failed. Please help. :silly::fingers-crossed:
Antiga Prime said:
Tested on OmniRom and works as expected. I've used an Xposed module before which does the same thing, but
it's always nice to find new ways to implement things without having to use Xposed.
Click to expand...
Click to collapse
A Simpler guide
jamoen said:
My question is, Can you make this step more simple. I'm a new bie. :fingers-crossed:
Can you please share the framework.jar file that edited and recompiled by you? If you can make a edited framework.jar for OzcanRom 4.2, I will be very thankful. I spent almost two nights on this and failed. Please help. :silly::fingers-crossed:
Click to expand...
Click to collapse
No need to Quote the whole OP
My framework.jar won't work for you. We need to modify your ROM's framework.jar if you can provide me that file, I can MOD it for you.
But, I am giving the Simple steps. I would be very happy if you can do it yourself.
I am assuming you already have Notepad++ or Similar text editing tool and know how to pull files from /system
Step 1: Download APKTool of your choice. I used Advanced APKTool by BDFreak
Step 2: Decompile your framework.jar. For this, I followed guide by Rizal Lovins - [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar
Step 3: Open the CallLog.smali file and any other files that starts with CallLog ( like in my case CallLog$Calls.smali ) in Notepad++ or any other Text Editor.
Step 4: search for "SELECT _id FROM calls ORDER BY" or similar lines. You will find LIMIT -1 OFFSET 500 change 500 with any number you want.
Step 5: Save the modified file smali, and recompile the jar file.
Step 6: Just to be safe, take a NANDROID backup.
Step 7: Take a backup of the original framework.jar, delete it from system and push the modified framework.jar to System and change permission to rw-r-r or 644. Reboot.
Step 8: test
I couldn't find Provider folder. Please help.
I couldn't find Provider folder. Please help.
Failed! Please help
pollob666 said:
No need to Quote the whole OP
Click to expand...
Click to collapse
Thank you for the reply.
I could not find any folder called Provider. Searched all folders and failed to find a call entry.
I took the framework.jar from system folder. Any wrong?
Attached my framework.jar file. Please help me.
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
---------- Post added at 02:31 PM ---------- Previous post was at 02:09 PM ----------
jamoen said:
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
Click to expand...
Click to collapse
Unfortunately.. The method failed. Going back to MIUI in tears..
jamoen said:
Found the string in framework2.jar and edited. Success!!
Please help me to push it again...
Can I use esfile explorer?
---------- Post added at 02:31 PM ---------- Previous post was at 02:09 PM ----------
Unfortunately.. The method failed. Going back to MIUI in tears..
Click to expand...
Click to collapse
WOW, you really did it. Sorry I was in training my juniors at office, didn't reply earlier.
You can use es explorer, or if you have adb, then you can use some shell commands. I can give you the commands, if you haven't done it already.
It should work. Let me check and mod a it for you.
Edit: Sorry, I don't have the framework2.jar. ant the ROM is too big for downloading now at office. But for Samsung device, I guess the re-compile process needs a bit working. you need to recompile the file, then open it in 7zip or WinRAR replace the AndroidManifest file with the file of the original, (then sign it then zipalign it not sure for jar file though). Then push it to the system.
pollob666 said:
WOW, you really did it. Sorry I was in training my juniors at office, didn't reply earlier.
You can use es explorer, or if you have adb, then you can use some shell commands. I can give you the commands, if you haven't done it already.
It should work. Let me check and mod a it for you.
Edit: Sorry, I don't have the framework2.jar. ant the ROM is too big for downloading now at office. But for Samsung device, I guess the re-compile process needs a bit working. you need to recompile the file, then open it in 7zip or WinRAR replace the AndroidManifest file with the file of the original, (then sign it then zipalign it not sure for jar file though). Then push it to the system.
Click to expand...
Click to collapse
I double checked it. Again extracted the framework.jar and decompliled it.The string of 100000 is there. But this thing is not working. I don't know why.
Can I share you the framework2.jar with you?
jamoen said:
I double checked it. Again extracted the framework.jar and decompliled it.The string of 100000 is there. But this thing is not working. I don't know why.
Can I share you the framework2.jar with you?
Click to expand...
Click to collapse
I will modify it and upload it for you. But I guess I will need the framework-res.apk with it. if there is any. But, I'm going home now, I'll update you by 11pm.